Skip to content

Commit

Permalink
DROOLS-3929: Cleanup and consolidate kogito-codegen (apache#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
evacchi authored and mswiderski committed Jun 12, 2019
1 parent dd1dfe8 commit 9ee4394
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.drools.modelcompiler.KieRuntimeBuilder;
import org.kie.api.runtime.KieSession;
import org.kie.api.runtime.rule.FactHandle;
import org.kie.kogito.rules.KieRuntimeBuilder;

@ApplicationScoped
public class HelloRuleService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.drools.modelcompiler.KieRuntimeBuilder;
import org.kie.api.runtime.KieSession;
import org.kie.kogito.Application;
import org.kie.kogito.examples.hr.DepartmentModel;
import org.kie.kogito.rules.KieRuntimeBuilder;

@Path("/department")
@Api(description = "Department service")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.drools.modelcompiler.KieRuntimeBuilder;
import org.kie.api.runtime.KieSession;
import org.kie.kogito.Application;
import org.kie.kogito.examples.hr.IdModel;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.kie.kogito.rules.KieRuntimeBuilder;

@Path("/id")
@Api(description = "Id and Email service")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.drools.modelcompiler.KieRuntimeBuilder;
import org.kie.api.runtime.KieSession;
import org.kie.api.runtime.ObjectFilter;
import org.kie.kogito.Application;
Expand All @@ -36,6 +35,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.kie.kogito.rules.KieRuntimeBuilder;

@Path("/employeeValidation")
@Api(description = "Employee validation service")
Expand Down

0 comments on commit 9ee4394

Please sign in to comment.