Red Hat Bugzilla – Bug 983455
No possibility to create a repository within any group via REST API
Last modified: 2014-08-06 16:10:32 EDT
Description of problem:
If you look at this entity https://github.com/droolsjbpm/kie-wb-common/blob/master/kie-wb-common-services/kie-wb-common-services-api/src/main/java/org/kie/workbench/common/services/shared/rest/Repository.java ... there is no way how to set a group for the repository via REST API, so the created repository cannot be used in business central then because it seems almost invisible. For example it's not possible to build and deploy a project from the repository which is not in any group.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This issue prevents automation of cluster and other jobs there for it is considered a test blocker.
Currently, you can create and administer the repository via both via the UI and the new CLI (command line interface).
Why do you think the REST api should also have this option?
Nevermind, this is the business-central REST api, not the exec-server one. Reassigning to Jervis.
Jervis, please could you have a look (Repositories need to be assigned a Group in order for them to operate correctly in kie-wb. The hierarchy of artifacts is: Group--[1..n]-->Repository--[1..n]-->Project), Thanks, Mike
Again the stability and reliability of server interfaces is very important for further testing on ExecutionServer, Clustering and Performance.
(In reply to Jervis Liu from comment #9)
Please do not forget to move fixed issues to MODIFIED.
Well, now it's possible to add the previously created repository to any group via REST API and it works in BPMS 6.0.0.ER2, so I mark it as verified.