Project

General

Profile

Actions

Task #13182

closed

StorageHub: provision the gcube-app.xml file

Added by Roberto Cirillo over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Automated provisioning
Start date:
Jan 18, 2019
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Pre-Production

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.

Actions #1

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?

Actions #2

Updated by Roberto Cirillo over 6 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Roberto Cirillo to Lucio Lelii
Actions #3

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>
Actions #4

Updated by Roberto Cirillo over 6 years ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Lucio Lelii to Roberto Cirillo
Actions #5

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?

Actions #6

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.

Actions #7

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.

Actions #8

Updated by Roberto Cirillo over 6 years ago

The change works properly: now the port field is optional.

Actions #9

Updated by Roberto Cirillo over 6 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)