Project

General

Profile

Actions

VM Creation #11954

closed

VM to host the GRSF-services-updater service

Added by Yannis Marketakis almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
_InfraScience Systems Engineer
Target version:
Start date:
Jun 14, 2018
Due date:
% Done:

100%

Infrastructure:
Production
RAM:
4
CPU:
2
DiskSpace:
10
Smartgears:
Yes
Smartgears Version:
Application Instructions:
Smartgears scopes:

/d4science.research-infrastructures.eu/FARM/GRSF_Admin
/d4science.research-infrastructures.eu/FARM/GRSF

Applications list and version:
Applications context path:

/grsf-services-updater
/grsf-api

External storage data disk:
Smartgears auth connector:
data transfer enabled:
No
PostgreSQL database:
No
Number of VMs:
1

Description

The service is responsible for: (a) updating GRSF records (through the GRSF_Admin VRE management portal) and (b) exposing particular GRSF information (e.g. expose GRSF UUIDs).

This means that apart from the GRSF-Admin, the service will be used by external parties (e.g. FIRMS developers team).

For this reason, it is required to host it in a VM with a permanent URL

Actions #1

Updated by Andrea Dell'Amico almost 7 years ago

Do we have a way to install and configure it? we usually completely deploy and configure the services hosted here.

Actions #3

Updated by Luca Frosini almost 7 years ago

  • Priority changed from Normal to High
Actions #4

Updated by Andrea Dell'Amico almost 7 years ago

  • RAM changed from 2 to 4
Actions #5

Updated by Andrea Dell'Amico almost 7 years ago

  • Smartgears changed from No to Yes
  • Applications context path updated (diff)

@luca.frosini@isti.cnr.it I need the smartgears scope here.

Actions #6

Updated by Andrea Dell'Amico almost 7 years ago

@marketak@ics.forth.gr is there a build for the two applications? Did you connect the source to our CI service?

Actions #7

Updated by Massimiliano Assante almost 7 years ago

  • /d4science.research-infrastructures.eu/FARM/GRSF_Admin
  • /d4science.research-infrastructures.eu/FARM/GRSF
Actions #8

Updated by Andrea Dell'Amico almost 7 years ago

  • Smartgears scopes updated (diff)
Actions #9

Updated by Tommaso Piccioli almost 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20

updater.grsf.d4science.org is running, to be deployed

Actions #10

Updated by Yannis Marketakis almost 7 years ago

Andrea Dell'Amico wrote:

@marketak@ics.forth.gr is there a build for the two applications? Did you connect the source to our CI service?

I'm not aware of this. Can you explain ?

Actions #11

Updated by Luca Frosini almost 7 years ago

Hi @marketak@ics.forth.gr

the system engineer need the artefact to deploy. I mean the war. Our provisioning framework is conceived to get this artefact from gcube nexus repository:

http://maven.research-infrastructures.eu/nexus/index.html#welcome

The repository is populated by ETICS build.

Did you create the ETICS configuration so that we can run a build form there?

Actions #12

Updated by Yannis Marketakis almost 7 years ago

Thanks Luca for your reply.

I can create the configuration in ETICS.
Firstly, I have to see where I should put it (under which subsystem ?). I see two configurations about GRSF (i.e. grsf-common-library and grsf-publisher-ws) under data-catalogue. I suppose I could create the configurations there.

I see from https://gcube.wiki.gcube-system.org/gcube/Role_Subsystem_Manager that the susbsystem manager for data-catalogue is @francesco.mangiacrapa@isti.cnr.it . Could you create the configurations under data-catalogue so that I can update them afterwards ?

Actions #13

Updated by Luca Frosini almost 7 years ago

I created the component 'grsf-services-updater' under 'data-catalogue' subsystem.

Let us know if you have the right to edit it. Otherwise, please ask to @mariaantonietta.digirolamo@eng.it or @gabriele.giammatteo@eng.it

Actions #14

Updated by Yannis Marketakis almost 7 years ago

Thanks @luca.frosini@isti.cnr.it for the prompt reaction. Unfortunately, I cannot edit it.

@mariaantonietta.digirolamo@eng.it or @gabriele.giammatteo@eng.it could you please take a look ?

Actions #15

Updated by Gabriele Giammatteo almost 7 years ago

Hi @marketak@ics.forth.gr, I granted you permission to edit and build the component. Let me know if it works and if you need to grant permissions to someone else

Actions #16

Updated by Yannis Marketakis almost 7 years ago

Thanks @gabriele.giammatteo@eng.it . I confirm I can edit the configuration.

@luca.frosini@isti.cnr.it could you please create one more configuration (under the data-catalogue subsystem) for grsf-api ?

Actions #17

Updated by Gabriele Giammatteo almost 7 years ago

I also granted permissions to create and edit new components in the data-catalogue subsystem. I tried to add also permissions to @minadakn@ics.forth.gr, but I couldn't find it on ETICS. If you have an account, please let me know the username.

Actions #18

Updated by Yannis Marketakis almost 7 years ago

Thank you @gabriele.giammatteo@eng.it

Actions #19

Updated by Andrea Dell'Amico over 6 years ago

Do we have an artifact yet? I cannot find anything in nexus.

Actions #20

Updated by Yannis Marketakis over 6 years ago

I've just deployed grsf-services-updater on http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots/

I have triggered a remote build for grsf-api as well, so in a while you'll see the artifact for grsf-api on the snapshots repository

Actions #21

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 20 to 100

The services are available at updater.grsf.d4science.org/{grsf-api,grsf-services-updater} on both http and https (no redirection from http to https).

@lucio.lelii@isti.cnr.it @luca.frosini@isti.cnr.it I did not install any gcube-app.xml file into the apps directory. Do I need to? Or perhaps is something that @marketak@ics.forth.gr can add to the sources by himself?

Actions #22

Updated by Luca Frosini over 6 years ago

Normally it should be added in distro directory as described here:

https://wiki.gcube-system.org/gcube/SmartGears

But maybe in the container running before this it was added manually

Actions #23

Updated by Andrea Dell'Amico over 6 years ago

Luca Frosini wrote:

Normally it should be added in distro directory as described here:

https://wiki.gcube-system.org/gcube/SmartGears

But maybe in the container running before this it was added manually

I don't understand your answer. There isn't an old version of this service.
Meanwhile, we usually add a custom gcube-app.xml file into the tomcat applications that are not smartgears aware (geoserver, geonetwork, etc). I was asking if I should do the same for these services of if it's something that should be added into the sources (and so to the war file).

Actions #24

Updated by Yannis Marketakis over 6 years ago

The services look fine. Thanks.

The configuration of the services (i.e. passing the proper token, the connection details for the SPARQL endpoints, etc.) through a Spring beans XML file which is included in the WAR. I think that's enough.

I have a question as regards the re-deployment of these web applications: Does it occur on the fly (as soon as I trigger a remote build on ETICS) or I should ask for redeploying the web application?

Actions #25

Updated by Andrea Dell'Amico over 6 years ago

Yannis Marketakis wrote:

The services look fine. Thanks.

The configuration of the services (i.e. passing the proper token, the connection details for the SPARQL endpoints, etc.) through a Spring beans XML file which is included in the WAR. I think that's enough.

My question was mainly for @luca.frosini@isti.cnr.it, that file is used to expose the service to the infrastructure.

I have a question as regards the re-deployment of these web applications: Does it occur on the fly (as soon as I trigger a remote build on ETICS) or I should ask for redeploying the web application?

You'll have to ask, sorry. There's no continuous deployment right now.

Actions #26

Updated by Luca Frosini over 6 years ago

@andrea.dellamico@isti.cnr.it the gcube-apps.xml (used to expose the service to the infrastructure) can be added in distro directory as described at https://wiki.gcube-system.org/gcube/SmartGears instead of adding it with provisioning.

We add it with provisioning for services built by a third party. In this case, instead, the service is built with ETICS so the standard behaviour is to add it in sources.

Actions #27

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from Feedback to Closed

OK, thanks.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)