RulePoint
- RulePoint 6.1
- All Products
POST http://localhost:8080/rulepoint/api/projects/1/deploy Content-Type: application/json Accept: application/json Cookie: JSESSIONID=<VALID_SESSION_ID>
{ "topologyId": 1, "itemsToDeploy": [ { "artifactId": "d4dbfd17-4053-446c-83b8-dda9dc3f48c6", "groupNames": [ "Default Source Controller" ] } ] }
{ "successful": true, "txnId": -1333205577, "dpId": "dff975ab-cf27-45ca-89bc-c3326db69941" }
POST http://localhost:8080/rulepoint/api/projects/1/deploy Content-Type: application/xml Accept: application/xml Cookie: JSESSIONID=<VALID_SESSION_ID>
<deploymentRequest> <itemsToDeploy> <item> <artifactId>1fbafd49-d01e-44aa-9bdf-cc95fe2b4383</artifactId> <groupNames> <groupName>Default Source Controller</groupName> </groupNames> </item> </itemsToDeploy> <topologyId>1</topologyId> </deploymentRequest>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <deploymentResult> <dpId>e2f97336-e371-4dfe-aa35-a9eb3b9a0bce</dpId> <successful>true</successful> <txnId>-33133660</txnId> </deploymentResult>