0

In wso2 how to deploy .car file in case of ESB and .bar in case of BPMN programatically. Is there any way of using remote deployment option programmatically(using JAVA).

Community
  • 1
  • 1
ashok
  • 1,078
  • 3
  • 20
  • 63

1 Answers1

1

You can use the admin services which are exposed as SOAP services to achieve the requirement. For example, you can use bellow endpoint to deploy Carbon Application(car file).

https://{esb-host-name}:{esb-management-console-port}/services/CarbonAppUploader

Also for BPMN(bar file), you can use bellow endpoint.

https://{bps-host-name}:{bps-management-console-port}/services/BPMNUploaderService

The blog post [1] will help to understand the flow.

Rans
  • 422
  • 2
  • 8
  • But when I deployed it is deploying but not giving the response. Only 202 status code I'm getting. So, whether i'll get response regarding the deployment. – ashok Oct 19 '18 at 09:51