Not able to create repository using REST API in BPMS 6
Issue
- Tried with following REST API command to create repository but its not working
curl -i -X POST -H "Content-Type:application/json" --user bpmsuser:bpmspass http://localhost:8080/business-central/rest/repositories/ --data '{"name":"TestRepository", "description":"Test Repository", "userName":"", "password":"", "requestType":"create", "gitURL":"git://localhost/TestRepository"}'
Command executed successfully but we cant see repository using below command:
curl -i -X GET -H "Content-Type:application/json" --user bpmsuser:bpmspass http://localhost:8080/business-central/rest/repositories
Environment
- Red Hat JBoss BRMS
- 6.0.x
- Red Hat BPM Suit
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.