<commit_before>package org.jboss.da.reports.rest;

import org.jboss.da.reports.rest.model.GAVRequest;
import org.jboss.da.reports.rest.model.Report;
import org.jboss.da.reports.rest.model.SCMRequest;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

@Path("/generator")
public class Generator {

    @POST
    @Path("scm")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Report scmGenerator(SCMRequest scmRequest) {
        // TODO: placeholder for now
        return null;
    }

    @POST
    @Path("gav")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Report gavGenerator(GAVRequest gavRequest) {
        // TODO: placeholder for now
        return null;
    }
}
<commit_msg>Make the REST inteface for Generator an interface for now.<commit_after>package org.jboss.da.reports.rest;

import org.jboss.da.reports.rest.model.GAVRequest;
import org.jboss.da.reports.rest.model.Report;
import org.jboss.da.reports.rest.model.SCMRequest;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

@Path("/generator")
public interface Generator {

    @POST
    @Path("scm")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Report scmGenerator(SCMRequest scmRequest);

    @POST
    @Path("gav")
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Report gavGenerator(GAVRequest gavRequest);
}

{'fraction_non_alphanumeric': 0.11665542818610924, 'fraction_numerical': 0.0, 'mean_word_length': 3.963210702341137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7250212', 'n_tokens_mistral': 523, 'n_tokens_neox': 497, 'n_words': 85}