5 Replies Latest reply on Sep 5, 2011 12:16 PM by Mauricio Salatino

    jbpm rest interface dev

    npereira Newbie

      Hi forum,

       

      I hope someone can help me with this.

       

      I would like to enhance the rest interface that today gets shipped with jbpm5.I have seen that this is a dependency on a project called bpm-console.

       

      So my question is how do I change something on this project, bpm-console, and get it reflected in the jbpm-gwt project?

      Is there a configuration in the pom.xml or do I need to commit it to git and only then build the jbpm-gwt project?

       

      Regards

        • 1. Re: jbpm rest interface dev
          Mauricio Salatino Master

          Hi there,

          if you want to contribute with some code or improvement you can fork the jbpm repository and create your jira issues explaning your new features and then create a pull request from your fork to the master repository.

           

          Cheers

          1 of 1 people found this helpful
          • 2. Re: jbpm rest interface dev
            npereira Newbie

            Hi Mauricio,

             

            Thanks for the help.

             

            But I still have some doubts regarding the REST interface:

             

            1. Is it really the bpm-console project that I should be targeting for the enhancement of the REST services?

             

            2. if so, do you know how active is that project? I have seen that no changes have been made since 10 November 2010.

             

            3. How do I test the changes that I have made with my jbpm project?

             

            Regards

            • 3. Re: jbpm rest interface dev
              Mauricio Salatino Master

              I'm not in so into the UIs and the rest server but I'm pretty sure that the rest server is located here:

              https://github.com/droolsjbpm/jbpm/tree/master/jbpm-gwt

               

              More concrete the project: jbpm-gwt-console-server expose the rest endpoints to interact.
              The logic of that services is coded inside jbpm-gwt-core project.

               

              You should be able to fork that and create the appropriate tests to test your proposed functionality.

              If you clone all the project you will be able to change the UIs and the server to test your functionality, but Unit Tests are always reuqired (Junit)

              Cheers

              • 4. Re: jbpm rest interface dev
                npereira Newbie

                Hi Mauricio,

                 

                I have been looking into to the jbpm-gwt-core and I did not find anything.

                 

                The fact is that in the jbpm-gwt-console-server project, there is in the target folder tree structure with some java classes that are the ones that define the REST interface. They are in,

                 

                jbpm-gwt-console-server/target/jbpm-gwt-console-server-5.2.0-Snapshot/WEB-INF/classes/org/jboss/bpm/console/server

                 

                Now the problem is that because they are in the target they are getting rebuilt.

                I have looked everywhere in the jbpm-gwt project and I have not been able to identify where these files are coming from.

                • 5. Re: jbpm rest interface dev
                  Mauricio Salatino Master

                  Doing some research, folliwing some pom files and asking in the IRC channel I've found that the source code that you are looking for is being kept outside of the jbpm repository and can be found here:

                  https://github.com/bpmc/bpm-console

                   

                  Cheers