[
https://issues.jboss.org/browse/RTGOV-382?page=com.atlassian.jira.plugin....
]
Gary Brown resolved RTGOV-382.
------------------------------
Resolution: Done
To test this capability, build the rtgov repo from source. Add the following contents to
the file: ${fuse}/etc/org.overlord.rtgov.activity.server.rest.client.cfg
{noformat}
serverURL=http://localhost:8080
serverUsername=admin
serverPassword=<your password>
{noformat}
and then after starting fuse, perform the following:
{noformat}
features:addurl
file:/.../rtgov/release/karaf/features/target/classes/repository/features.xml
features:install rtgov-client
{noformat}
There is also an OSGi version of the order management app which can be installed as
follows:
{noformat}
features:install rtgov-samples-ordermgmt
{noformat}
This example includes a REST service that can be used to submit orders/payments. For
example, POST the following:
{noformat}
{"orderId":"1","itemId":"BUTTER","quantity":100,"customer":"Fred"}
{noformat}
to
http://localhost:8181/cxf/orderservice/orders/submit using basic authentication.
NOTE: Two issues that may affect these instructions in the future are:
1)
https://issues.jboss.org/browse/RTGOV-376 - the example cxf REST service may be changes
to use RESTEasy, so the URL will change
2)
https://issues.jboss.org/browse/RTGOV-383 - this change may or may not impact how the
client configuration properties are defined.
Support RTGov client deployment in Karaf
----------------------------------------
Key: RTGOV-382
URL:
https://issues.jboss.org/browse/RTGOV-382
Project: RTGov (Run Time Governance)
Issue Type: Sub-task
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.0.0.M1
Enable the 'rtgov client' components to be deployed in Karaf, with configuration
to point the client to the RTGov server running in a separate Karaf or EAP environment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira