-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.GA
-
DR4
-
-
-
-
-
-
-
ER1
-
When I use workbench rest api to 1) create space and 2) clone project into it the repo is not indexed.
This worked when I tried with 7.7.0-SNAPSHOT from week ago - the project was imported successfully and assets are indexed (I see "Starting indexing of default://master@myspace/null/" in server log and assets are imported in project UI)
When I try this with snapshot from today (https://repository.jboss.org/nexus/content/groups/developer/org/kie/kie-wb/7.7.0-SNAPSHOT/kie-wb-7.7.0-20180307.052424-276-eap7.war) the asset indexing is no longer trigered after repo is cloned. When I then go to UI I see "Indexing has not finished" forever (there's nothing going on in server.log, no message about indexing being started)
Here are the commands I'm using to create space
curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d '{"name":"myspace","owner":"testadmin","defaultGroupId":"org.myspace","description":"Great"}' http://localhost:8080/business-central/rest/spaces
.. and clone repo to it
curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d '{"userName":null,"password":null,"gitURL":"file:///home/jhrcek/Tmp/dashboard"}' http://localhost:8080/business-central/rest/spaces/myspace/git/clone
The resulting repo in niogit has weird name ".niogit/myspace/null.git" but seems to have correct content (all the assets are there)