Class RestOnlyBaseIntegrationTest

    • Field Detail

      • marshallingFormat

        public org.kie.server.api.marshalling.MarshallingFormat marshallingFormat
      • configuration

        public org.kie.server.client.KieServicesConfiguration configuration
    • Constructor Detail

      • RestOnlyBaseIntegrationTest

        public RestOnlyBaseIntegrationTest()
    • Method Detail

      • getMediaType

        protected javax.ws.rs.core.MediaType getMediaType()
      • changeUser

        protected void changeUser​(String username,
                                  String password)
                           throws Exception
        Change user used by client.
        Parameters:
        username - Name of user, default user taken from TestConfig in case of null parameter.
        Throws:
        Exception
      • newRequest

        protected javax.ws.rs.client.WebTarget newRequest​(String uriString)
      • createEntity

        protected <T> javax.ws.rs.client.Entity<T> createEntity​(T requestObject)
      • createKieServicesRestConfiguration

        protected static org.kie.server.client.KieServicesConfiguration createKieServicesRestConfiguration()