VM Creation #11954
closed
VM to host the GRSF-services-updater service
100%
/d4science.research-infrastructures.eu/FARM/GRSF_Admin
/d4science.research-infrastructures.eu/FARM/GRSF
/grsf-services-updater
/grsf-api
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
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.
Updated by Yannis Marketakis almost 7 years ago
The webApps (there are two) have been uploaded on SVN.
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.
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?
Updated by Massimiliano Assante almost 7 years ago
- /d4science.research-infrastructures.eu/FARM/GRSF_Admin
- /d4science.research-infrastructures.eu/FARM/GRSF
Updated by Andrea Dell'Amico almost 7 years ago
- Smartgears scopes updated (diff)
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
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 ?
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?
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 ?
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
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 ?
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
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 ?
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.
Updated by Yannis Marketakis almost 7 years ago
Thank you @gabriele.giammatteo@eng.it
Updated by Andrea Dell'Amico over 6 years ago
Do we have an artifact yet? I cannot find anything in nexus.
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
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?
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
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).
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?
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.
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.