[jboss-jira] [JBoss JIRA] (DROOLS-822) Missing documentation for kie-server-client
Anton Giertli (JIRA)
issues at jboss.org
Wed Jun 17 08:19:04 EDT 2015
Anton Giertli created DROOLS-822:
------------------------------------
Summary: Missing documentation for kie-server-client
Key: DROOLS-822
URL: https://issues.jboss.org/browse/DROOLS-822
Project: Drools
Issue Type: Bug
Components: kie server
Reporter: Anton Giertli
Assignee: Edson Tirelli
There is no documentation for kie-server-client
https://github.com/droolsjbpm/droolsjbpm-integration/tree/6.2.x/kie-server-parent/kie-server-client/
Some basic usage sample would be nice:
-- At least one example of provisioning API (JUnit test already include this)
-- At least one example of command API:
For example:
import org.kie.server.api.model.ServiceResponse;
import org.kie.server.client.KieServicesClient;
import org.kie.server.client.KieServicesConfiguration;
import org.kie.server.client.KieServicesFactory;
...
KieServicesConfiguration config = KieServicesFactory.
newRestConfiguration("http://localhost:8080/kie-server/services/rest/server",
"anton",
"password1!");
KieServicesClient client = KieServicesFactory.newKieServicesClient(config);
ServiceResponse<String> response = client.executeCommands("ListenerReproducer", xStreamXml); // the request we generated in previous step
System.out.println(response.getResult());
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list