VM Creation #12989
closed
Please create a VM for new gCat Service
100%
gCat service is a standard smartgears service.
It requires a config.properties file in
tomcat/webapps/gcat/WEB-INF/classes/
I'll provide you the file template
/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
latest (i.e 1.0.0)
<groupId>org.gcube.data-publishing</groupId>
<artifactId>gcat</artifactId>
/gcat
Description
gCat is the new gCube Catalogue Service (it will replace the old catalogue-ws).
For a certain period, we will have both services available.
The service is a pure RESTful service
Updated by Luca Frosini almost 7 years ago
I already created the skeleton playbook for gcat service.
Updated by Luca Frosini almost 7 years ago
I have fixed the playbook of gcat service as suggested by @andrea.dellamico@isti.cnr.it
Updated by Andrea Dell'Amico almost 7 years ago
- Applications context path updated (diff)
Please add the vault file with the token into ansible-playbooks/d4science-ghn-cluster/group_vars/gcat_prod/vault-file.yml
(the directory does not exist yet, it must be created). I'll take care of the rest of the configuration.
Updated by Luca Frosini almost 7 years ago
Andrea Dell'Amico wrote:
Please add the vault file with the token into
ansible-playbooks/d4science-ghn-cluster/group_vars/gcat_prod/vault-file.yml
(the directory does not exist yet, it must be created). I'll take care of the rest of the configuration.
I did it
Updated by Tommaso Piccioli almost 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
gcat.d4science.org running, to be provisioned.
Updated by Andrea Dell'Amico almost 7 years ago
- Status changed from In Progress to Feedback
- % Done changed from 30 to 100
The service is up.
Updated by Luca Frosini almost 7 years ago
@andrea.dellamico@isti.cnr.it I forget to ask to allow gcat.d4science.org host to be able to connect to the postgres database "ckan_prod_aginfra"
Updated by Luca Frosini almost 7 years ago
You can use this REST API for Nagis Check:
GET/HEAD https://gcat.d4science.org/gcat/profiles
Updated by Luca Frosini almost 7 years ago
Also
OPTIONS https://gcat.d4science.org/gcat/profiles
which should be faster
Updated by Andrea Dell'Amico almost 7 years ago
The nagios check can only run GET or POST checks, at least the version that we run right now.
Updated by Andrea Dell'Amico almost 7 years ago
Luca Frosini wrote:
@andrea.dellamico@isti.cnr.it I forget to ask to allow gcat.d4science.org host to be able to connect to the postgres database "ckan_prod_aginfra"
Done. Can you check?
Updated by Luca Frosini almost 7 years ago
Do I have to close the ticket, or do you want to leave it as is until you add the Nagios Check?
Updated by Andrea Dell'Amico almost 7 years ago
- Status changed from Feedback to Closed
I just added the nagios check too.