Created attachment 857091 [details] screenshot 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.
fixed for both cases there was single, cumulative commit for recent issues with kie-config-cli as separate commits would make it more difficult due to extensive changes kie-wb-distributions master: https://github.com/droolsjbpm/kie-wb-distributions/commit/b383c49db9f0b4b341fb9bbbe964f2300885602f 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/653cbff5720f5138c91eb47c9d6aef7f1ab1a086
Verified with BPMS-6.0.1.ER1