Jakub Schwan created DROOLS-2350:
------------------------------------
Summary: Kie WB REST clone operation does not do migration
Key: DROOLS-2350
URL:
https://issues.jboss.org/browse/DROOLS-2350
Project: Drools
Issue Type: Bug
Components: build
Reporter: Jakub Schwan
Assignee: Toni Rikkola
Repository can be cloned to workbench via UI or REST. When is cloned repository via REST
endpoint with more projects and repository has old format, then this repository is cloned
to workbench, but it is not migrated to new format, so in Workbench is thrown error dialog
and data copied from repo are not visible.
Old structure of repositories is not supported. But we are able to clone old repos into
the workbench via UI. The problem is the REST clone operation does not do migration.
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 porjects, 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
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)