ODE
  1. ODE
  2. ODE-142

Restful Interface to Process Manager

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0-incubating
    • Fix Version/s: 1.4
    • Component/s: Management API
    • Labels:

      Description

      Develop a restful interface to the process manager

        Activity

        Hide
        Tammo van Lessen added a comment -

        moved to wishlist

        Show
        Tammo van Lessen added a comment - moved to wishlist
        Hide
        Jim Alateras added a comment -

        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.

        Show
        Jim Alateras added a comment - 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.

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Jim Alateras
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development