Actions
Task #9933
closedAllow to change identity of resource-registry in resource_registry_parthenos ansible playbook
Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Oct 11, 2017
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
The file gcube-app.xml (located at tomcat/webapps/resource-registry/WEB-INF/) should be managed to allow to change resource-registry identity.
In particular the file provided with war is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<application mode='online'>
<name>resource-registry</name>
<group>InformationSystem</group>
<version>1.4.0-4.5.0-148947</version>
<description>Resource Registry</description>
<local-persistence location='target' />
</application>
The tag
<name>resource-registry</name>
must became
<name>joint-resource-registry</name>
IMHO it is easier use a sed replacement in original file than find a way to get the version (e.g. 1.4.0-4.5.0-148947) which is not known when latest is used as maven coordinates for ansible playbook. Anyway I added the file (to be templated) in library/roles/smartgears/resource_registry/templates/gcube-app.xml.j2
Actions