<commit_before>package tv.extrememoderation.sec

import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.stereotype.Component

/**
 * Created by Steve on 12/15/2014.
 */
@Component
interface UserRepository extends MongoRepository<User, String> {
}<commit_msg>Created the first bit of integration between the API and the UX application.  the user service can get users by their usernames.  Rejoice!<commit_after>package tv.extrememoderation.sec

import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.data.repository.query.Param
import org.springframework.stereotype.Component
import org.springframework.web.bind.annotation.RequestParam

/**
 * Created by Steve on 12/15/2014.
 */
@Component
interface UserRepository extends MongoRepository<User, String> {

    User findByUsername(@Param('username') String username)
}
{'fraction_non_alphanumeric': 0.08491620111731843, 'fraction_numerical': 0.017877094972067038, 'mean_word_length': 5.892307692307693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5562457', 'n_tokens_mistral': 252, 'n_tokens_neox': 234, 'n_words': 64}