Task #13182
closedStorageHub: provision the gcube-app.xml file
100%
Description
In order to manage the proxy address of the storagehub webapp, it's needed to provision the gcube-app.xml file starting from a template.
Updated by Roberto Cirillo over 6 years ago
- Status changed from New to In Progress
Please @lucio.lelii@isti.cnr.it could you provide an example of StorageHub gcube-app.xml file with the new fields?
Updated by Roberto Cirillo over 6 years ago
- Status changed from In Progress to Feedback
- Assignee changed from Roberto Cirillo to Lucio Lelii
Updated by Lucio Lelii over 6 years ago
Here is an example of the gcube-app.xml with the proxy tag:
<application mode='online'> <name>StorageHub</name> <group>DataAccess</group> <version>1.0.0-SNAPSHOT</version> <description>Storage Hub webapp</description> <proxy protocol="https"> <hostname>workspace-repository.dev.d4science.org</hostname> <port>443</port> </proxy> <local-persistence location='target' /> </application>
Updated by Roberto Cirillo over 6 years ago
- Status changed from Feedback to In Progress
- Assignee changed from Lucio Lelii to Roberto Cirillo
Updated by Roberto Cirillo over 6 years ago
- Status changed from In Progress to Feedback
- Assignee changed from Roberto Cirillo to Lucio Lelii
- % Done changed from 0 to 80
The storagehub service has been upgraded and the gcube-app.xml has been provisioned. Now the gcube-app.xml deployed in preproduction is this:
<application mode="online"> <name>StorageHub</name> <group>DataAccess</group> <version>1.0.3</version> <description> Storage Hub webapp </description> <proxy protocol="http"> <hostname>storagehub.pre.d4science.net</hostname> <port>80</port> </proxy> <persistence location="target"/> </application>
Please @lucio.lelii@isti.cnr.it could you check if it works as expected?
Updated by Andrea Dell'Amico over 6 years ago
One consideration: OK to live with whn-manager over http, but the storage hub service should go over https.
Also, can we make the <port/>
field optional? default to 80 if protocol is http, 443 if protocol is https.
Updated by Roberto Cirillo over 6 years ago
The storagehub instance deployed in preproduction was going on http and port 80. In this case the proxy tag wasn't needed but I've added it just for testing.
Of course the port field can be optional. In this way we could have one less variable to configure. I'm going to do the change.
Updated by Roberto Cirillo over 6 years ago
The change works properly: now the port field is optional.
Updated by Roberto Cirillo over 6 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100