<commit_before>package io.pivotal.fe.sentimentr.client.cloud.local;

import io.pivotal.fe.sentimentr.client.cloud.SentimentrServiceInfo;

import org.springframework.cloud.localconfig.LocalConfigServiceInfoCreator;
import org.springframework.cloud.service.UriBasedServiceData;

public class SentimentrServiceInfoCreator extends LocalConfigServiceInfoCreator<SentimentrServiceInfo> {
    public static final String CITIES_TAG = "sentimentr";

    public SentimentrServiceInfoCreator() {
        super("http");
    }

    @Override
    public boolean accept(UriBasedServiceData serviceData) {
        return super.accept(serviceData) && CITIES_TAG.equals(serviceData.getKey());
    }

    @Override
    public SentimentrServiceInfo createServiceInfo(String id, String uri) {
        return new SentimentrServiceInfo(id, uri);
    }
}<commit_msg>Service broker start properties changed<commit_after>package io.pivotal.fe.sentimentr.client.cloud.local;

import io.pivotal.fe.sentimentr.client.cloud.SentimentrServiceInfo;

import org.springframework.cloud.localconfig.LocalConfigServiceInfoCreator;
import org.springframework.cloud.service.UriBasedServiceData;

public class SentimentrServiceInfoCreator extends LocalConfigServiceInfoCreator<SentimentrServiceInfo> {
    public static final String SENTIMENTR_TAG = "sentimentr";

    public SentimentrServiceInfoCreator() {
        super("http");
    }

    @Override
    public boolean accept(UriBasedServiceData serviceData) {
    	System.out.println("############### serviceData.getKey(): "+serviceData.getKey());
    	System.out.println("############### serviceData.getValue(): "+serviceData.getUri());
        return super.accept(serviceData) && SENTIMENTR_TAG.equals(serviceData.getKey());
    }

    @Override
    public SentimentrServiceInfo createServiceInfo(String id, String uri) {
        return new SentimentrServiceInfo(id, uri);
    }
}
{'fraction_non_alphanumeric': 0.10654008438818566, 'fraction_numerical': 0.0, 'mean_word_length': 5.17915309446254, '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': '4946624', 'n_tokens_mistral': 544, 'n_tokens_neox': 530, 'n_words': 92}