Bug 1300785

Summary: kie-config-cli: list-org-units command doesn't show up-to-date repository groups
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: kverlaen, lpetrovi
Target Milestone: ER3   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:05:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zuzana Krejčová 2016-01-21 17:14:47 UTC
Description of problem:
When changing restrictions on a repository, the list-org-units command shows the state before the changes. To get the up-to-date set-up from this command, user needs to exit the tool and restart it.


Version-Release number of selected component (if applicable):
6.2.1


Steps to Reproduce:
1. Start the business-central with example repo enabled.
2. Start the kie-config-cli tool, authenticate and such.
3. List the org. units and repositories with list-org-units -> there are no repository groups shown for repository1.
4. List the repositories with list-repo -> there are no repository groups shown for repository1.
5. Add a group ('test') to repository1.
6. List the org. units and repositories with list-org-units -> there are no repository groups shown for repository1.
7. List the repositories with list-repo -> the repository1 repo has 'test' group listed.


Additional info:
The same happens if you remove a group from a repo instead.
Pushing changes and fetching with commands push-changes, fetch-changes doesn't help.