<commit_before>package org.valmaev.teamcity.server.dataaccess;

import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;

import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;

public class ClientFactory {

    public Client create() {
        return ClientBuilder.newClient()
                .register(new JacksonJsonProvider(ObjectMapperFactory.create()));
    }
}<commit_msg>Added registration of HttpAuthenticationFeature.<commit_after>package org.valmaev.teamcity.server.dataaccess;

import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import org.glassfish.jersey.client.authentication.HttpAuthenticationFeature;

import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;

public class ClientFactory {

    public Client create() {
        return ClientBuilder.newClient()
                .register(new JacksonJsonProvider(ObjectMapperFactory.create()))
                .register(HttpAuthenticationFeature.basicBuilder().build());
    }
}
{'fraction_non_alphanumeric': 0.1006036217303823, 'fraction_numerical': 0.0, 'mean_word_length': 4.349462365591398, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4741997', 'n_tokens_mistral': 274, 'n_tokens_neox': 259, 'n_words': 42}