Not able to create repository using REST API in BPMS 6

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.