Search in sources :

Example 6 with DroolsService

use of gov.ca.cwds.drools.DroolsService in project api-core by ca-cwds.

the class BaseDocToolRulesTest method setUpBase.

@Before
public void setUpBase() {
    droolsService = new DroolsService();
    principal = getPrincipal(getPrivilege());
}
Also used : DroolsService(gov.ca.cwds.drools.DroolsService) Before(org.junit.Before)

Aggregations

DroolsService (gov.ca.cwds.drools.DroolsService)6 Before (org.junit.Before)5 DroolsAuthorizationService (gov.ca.cwds.authorizer.drools.DroolsAuthorizationService)4 JsonProcessingException (com.fasterxml.jackson.core.JsonProcessingException)1 ClientAbstractAuthorizationDroolsConfiguration (gov.ca.cwds.authorizer.drools.configuration.ClientAbstractAuthorizationDroolsConfiguration)1 ClientResultAuthorizationDroolsConfiguration (gov.ca.cwds.authorizer.drools.configuration.ClientResultAuthorizationDroolsConfiguration)1 PlacementHomeAuthorizationDroolsConfiguration (gov.ca.cwds.authorizer.drools.configuration.PlacementHomeAuthorizationDroolsConfiguration)1 SubstituteCareProviderAuthorizationDroolsConfiguration (gov.ca.cwds.authorizer.drools.configuration.SubstituteCareProviderAuthorizationDroolsConfiguration)1 DroolsConfiguration (gov.ca.cwds.drools.DroolsConfiguration)1 DroolsErrorMessages (gov.ca.cwds.drools.DroolsErrorMessages)1 DroolsException (gov.ca.cwds.drools.DroolsException)1 InjectorHolder (gov.ca.cwds.inject.InjectorHolder)1 IssueDetails (gov.ca.cwds.rest.exception.IssueDetails)1 JsonUtils (gov.ca.cwds.utils.JsonUtils)1 Annotation (java.lang.annotation.Annotation)1 Set (java.util.Set)1 ConstraintValidator (javax.validation.ConstraintValidator)1 ConstraintValidatorContext (javax.validation.ConstraintValidatorContext)1 Logger (org.slf4j.Logger)1 LoggerFactory (org.slf4j.LoggerFactory)1