Task #9933
closed
Allow to change identity of resource-registry in resource_registry_parthenos ansible playbook
100%
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
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from New to In Progress
There's a role already present to setup the gcube-app.xml file, starting from a template: library/roles/smartgears/gcubeapp-setup
Let's use it, and let's find a way to configure the version name correctly.
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
I changed the playbook configuration for the parthenos resource registry so that it will use the role listed above.
Updated by Luca Frosini over 7 years ago
Ok I'll test in the next days. Thank you
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from Feedback to Closed