[Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Chathurika De Silva
Hi I am trying to use the $subject through jmeter. I am getting response code 201 which is the success code for deployment [1]. In the BPS logs i am observing the following TID: [-1234] [] [2015-10-05 06:21:15,781] INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - LDAP

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Firzhan Naqash
Hi Chaturika, When you are using the activiti rest-api, the process artifacts won't get copied to the deployment/server/bpmn folder. Thus it won't get synchronized with the rest of the nodes. When you upload the archived bar file, it copies to the respective location and then passes the process

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Vinod Kavinda
Hi Chathurika, You can use the BPMNUploaderService admin service instead. Regards, Vinod Kavinda On Mon, Oct 5, 2015 at 12:25 PM, Firzhan Naqash wrote: > Hi Chaturika, > > When you are using the activiti rest-api, the process artifacts won't get > copied to the

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Chathurika De Silva
@Firzhan When uploading an artifact through the API where does it actually get created? Currently in the cluster, the manager is the point of upload and the workers get the artifacts through dep sync. Can you please give an insight of how the deployment through the API is working? Or could you

Re: [Dev] [BPS][BPMN]: Rest API - Create New Deployment

2015-10-05 Thread Firzhan Naqash
Hi, When you are using the service api calls as mentioned by Vinodh, it will perform following operations. 1. Registry will be updated with the checksum value of the process artfiact's archive ( .bar ). 2. The archive file will be deployed in to the repository/deployment/server/bpmn