Description of problem: After delete the repository, still can see the repo in business central, Version-Release number of selected component (if applicable): BPMS-6.0.2, EAP-6.1.1 How reproducible: Steps to Reproduce: 1. create a project or clone a repo into business central build and deploy, make sure no errors... 2 . Log out from business central 3 . Stop the EAP server 4 . Locate the BPM git and maven repo in the server bin folder and delete the git and maven repo manually. 5. Now, Restart the server and log in back to business central, you can see the project.... Actual results: can see the whole repository and all its assets.. Expected results: do not display since it already deleted Additional info:
Can you please clarify the steps to re-produce? > 1. create a project or clone a repo into business central build and deploy, make sure no errors... Are you creating the project in an existing cloned repository? > 4 . Locate the BPM git and maven repo in the server bin folder and delete the git and maven repo manually. Are you deleting the whole .niogit folder, or just a sub-folder representing the newly cloned repository? If you're just deleting the sub-folder then what you report is expected behaviour. Repository information is stored in system.git and when you re-start the workbench "known" repositories will be re-cloned. > 5. Now, Restart the server and log in back to business central, you can see the project.... Can you confirm a sub-folder for the repository exists under .niogit? This would be expected behaviour if, as per #4 above, you did not delete system.git. You can use the command line tool "kie-config-cli" to remove a repository from system.git if you do not require it anymore.
Are you creating the project in an existing cloned repository? New Project in a newly created repo or new project in cloned repo Are you deleting the whole .niogit folder, or just a sub-folder representing the newly cloned repository? If you're just deleting the sub-folder then what you report is expected behaviour. Repository information is stored in system.git and when you re-start the workbench "known" repositories will be re-cloned? Just the one of the git repo in side the .niogit folder You can use the command line tool "kie-config-cli" to remove a repository from system.git if you do not require it anymore. ok, I will try
Thanks, Until the reference BZ is fixed you will need to delete the physical folder from .niogit (as you already do) *and* use kie-config-cli to delete the configuration information for the cloned repository (otherwise restarting Business Central re-clones the repository based on the configuration information). When the referenced BZ is implemented deleting a repository using kie-config-cli will also remove it from .niogit.
Since this "bug" is covered by another bz, I am closing it with "wontfix" status.