-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
None
-
-
NEW
-
NEW
Repository can be cloned to workbench via UI or REST. When you clone a repository in old format with multiple projects via REST endpoint, then this repository is cloned to workbench, but it is not migrated to new format. This leads to error shown in the workbench and the assets from the cloned repo are not visible. So the UI does the migration (lets you choose which projects from given repo to import), but the REST doesn't.
So if there is no pom.xml file in the root of the repository that is migrated, then that repository needs to be migrated before cloning. Or optionally you clone everything in and then migrate.
We can do migration when we clone. Also we should notify users, that by cloning and migrating from old format can be changed their repo structure and they need to migrate their repositories too (or they can commit new one from migrated repos in Workbench).
Another option can be parent pom for repositories with more projects, but with this option we do NOT follow Project Oriented changes. (Not tested yet)
Actual result:
via REST call are projects indexed and cloned, but in the workbench aren't any project created
Expected result:
via REST call are all projects from repository created in Workbench
- is related to
-
DROOLS-2336 [Project Oriented] Add REST tests back into kie-wb-distributions
- Closed
-
AF-1067 [Project Oriented] Import should clone the external repository, not copy contents
- Resolved