-
Bug
-
Resolution: Done
-
Critical
-
6.0.0
-
None
Kie-config-cli does not check if the org. unit has already associated the same repository. This is in contrary to behaviour of business-central which does not allow organizational unit to contain the same repository several times and can lead to inconsistent state.
steps to reproduce:
1. run kie-config-cli.sh and use commands:
2. create-org-unit
3. create-repo
4. add-repo-org-unit with the org. unit and repository from steps 2 a and 3.
5. repeat step 4
6. log in to business-central and navigate to Authoring -> Administration -> Organizational Units, select the org. unit created by CLI and observe Associated repositories.