[ 
https://issues.apache.org/jira/browse/ODE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Alateras updated ODE-142:
-----------------------------

    Attachment: rest-procmgr-src.zip

I have attached the source, with a maven2 build file :-). It still a bit messy 
but at least you'll be able to examine the structure of the application and how 
it integrates with ODE. Firstly, you'll need to set some properties in your 
active mvn2 profile, which are shown below

                <!-- port embedded jetty runs on -->
                <webapp.server.port>6080</webapp.server.port>
                
                <!-- geronimo jmx server settings for deploy and undeploy-->
                <geronimo.jmx.host>localhost</geronimo.jmx.host>
                <geronimo.jmx.port>1099</geronimo.jmx.port>

jetty:run
======
This will execute the web service in place using the specified 
webapp.server.port. You will need to have ode running in another somewhere. 
Before executing this goal make sure you set the url to the jca connector in 
procmgr-context.xml file (located src/main/resources/spring directory) to the 
appropriate value. It defaults to rmi://localhost:2099/jcaServer.

Once up and running get to a web browser and enter one of the following urls

http://localhost:6080/procmgr/processes/models -  (get process models)
http://localhost:6080/procmgr/version  - (get the version of the web 
application)

geronimo:deploy-module or geronimo:undeploy-module
============================================
This will deploy/undeploy the application on a geronimo web server. The 
comments in the previous section also apply here.


If you have any issues or comments pls drop me a line.

I will look at moving across to buildr in the near future.

> Restful Interface to Process Manager
> ------------------------------------
>
>                 Key: ODE-142
>                 URL: https://issues.apache.org/jira/browse/ODE-142
>             Project: Ode
>          Issue Type: New Feature
>          Components: Management
>            Reporter: Jim Alateras
>         Attachments: rest-procmgr-src.zip
>
>
> Develop a restful interface to the process manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to