diff --git a/drools-quarkus-unit-example/src/main/java/org/kie/kogito/quickstart/HelloRuleService.java b/drools-quarkus-unit-example/src/main/java/org/kie/kogito/quickstart/HelloRuleService.java index 336cf75a8d8..752f4790442 100644 --- a/drools-quarkus-unit-example/src/main/java/org/kie/kogito/quickstart/HelloRuleService.java +++ b/drools-quarkus-unit-example/src/main/java/org/kie/kogito/quickstart/HelloRuleService.java @@ -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 { diff --git a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/DepartmentEndpoint.java b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/DepartmentEndpoint.java index fcb516fdd86..6d323cc12ca 100644 --- a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/DepartmentEndpoint.java +++ b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/DepartmentEndpoint.java @@ -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") diff --git a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/IdEndpoint.java b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/IdEndpoint.java index b09da894b0a..784cd48d1f9 100644 --- a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/IdEndpoint.java +++ b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/IdEndpoint.java @@ -23,7 +23,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.kogito.Application; import org.kie.kogito.examples.hr.IdModel; @@ -31,6 +30,7 @@ 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") diff --git a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/ValidationEndpoint.java b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/ValidationEndpoint.java index 04d401ecf78..ea629ff9d6d 100644 --- a/onboarding-example/hr/src/main/java/org/kie/kogito/examples/ValidationEndpoint.java +++ b/onboarding-example/hr/src/main/java/org/kie/kogito/examples/ValidationEndpoint.java @@ -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; @@ -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")