-
Bug
-
Resolution: Done
-
Major
-
7.7.0.GA
-
2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)
After creating a server template manually in the UI, the Deploy action fails with the following error, even when a kie-server is connected:
Deployment was skipped, couldn't find any server running in 'development' mode.
The manually created <uid>-template.xml file is missing the <mode>DEVELOPMENT</mode> element:
[root ~]# git clone .niogit/system/system.git/ Cloning into 'system'... done. [root ~]# cd system/ [root system]# git checkout servers Branch servers set up to track remote branch servers from origin. Switched to a new branch 'servers' [root system]# ls remote [root system]# cd remote/ [root remote]# ls 12345-template.xml [root remote]# cat 12345-template.xml <org.kie.server.controller.api.model.spec.ServerTemplate> <id>default-kieserver</id> <name>default-kieserver</name> <containersSpec class="list"> <!-- REMOVED --> </containersSpec> <configs/> <serverInstances class="list"> <!-- REMOVED --> </serverInstances> <capabilities> <string>PROCESS</string> <string>RULE</string> <string>PLANNING</string> </capabilities> <!-- MISSING mode element HERE --> </org.kie.server.controller.api.model.spec.ServerTemplate>