2 Replies Latest reply on Jan 16, 2018 11:46 AM by lauradp

    JBpm processes REST build and deploy

    lauradp

      Hi,

      I'd like to automate my deployment process since I cannot find any solution to this issue: https://developer.jboss.org/thread/275239

       

       

       

       

      I'm using the following rest services in order to undeploy and deploy again my processes:

       

       

       

       

      1) Undeploy:

      http://hostname:port/jbpm-console/rest/deployment/org.myProject:MyProject:1.0/undeploy

       

       

       

       

      2) Compile (Maven):

      http://hostname:port/jbpm-console/rest/repositories/MyRepo/projects/MyProject/maven/compile

      fails with a 404 status and error message: Unexpected 'R'

       

       

       

       

      3) Install (Maven):

      http://hostname:port/jbpm-console/rest/repositories/MyRepo/projects/MyProject/maven/install

       

       

       

       

      4) Install (Maven):

      http://hostname:port/jbpm-console/rest/repositories/MyRepo/projects/MyProject/maven/deploy

       

       

       

       

      5) Deploy:

      http://hostname:port/jbpm-console/rest/deployment/org.myProject:MyProject:1.0/deploy?strategy=PER_PROCESS_INSTANCE

       

       

       

       

       

       

       

       

      Steps 1,2,3, and 4 work fine. The latest REST call fails with error code 400 (BAD REQUEST) and the message java.io.EOFException: No content to map to Object due to end of input

       

       

       

       

      Can anyone help me?