[jboss-jira] [JBoss JIRA] (DROOLS-822) Missing documentation for kie-server-client
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Jun 17 09:53:08 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080337#comment-13080337 ]
RH Bugzilla Integration commented on DROOLS-822:
------------------------------------------------
Vikram Goyal <vigoyal at redhat.com> changed the Status of [bug 1232742|https://bugzilla.redhat.com/show_bug.cgi?id=1232742] from NEW to ASSIGNED
> 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