Bug 1232742 - Missing documentation for kie-server-client
Summary: Missing documentation for kie-server-client
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Documentation
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: One-off release
Assignee: brms-docs@redhat.com
QA Contact: Lukáš Petrovický
Dawn Eisner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-17 12:21 UTC by Anton Giertli
Modified: 2020-03-27 19:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:38:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-822 0 Major Pull Request Sent Missing documentation for kie-server-client 2016-02-18 21:26:48 UTC
Red Hat Knowledge Base (Solution) 1486613 0 None None None Never

Description Anton Giertli 2015-06-17 12:21:45 UTC
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());



KCS already which could be used as a starting point
https://access.redhat.com/solutions/1486613

Comment 2 Anton Giertli 2015-06-25 13:06:05 UTC
Includes pull request


Note You need to log in before you can comment on or make changes to this bug.