forked from ISTI-ansible-roles/ansible-roles
14 lines
722 B
Bash
14 lines
722 B
Bash
#!/bin/bash
|
|
|
|
RES_UPDATER_DIR="{{ resource_updater_dest_dir }}"
|
|
#RES_UPDATER_PROPERTIES_FILE="{{ resource_updater_dest_dir }}/resources_updater.properties"
|
|
RES_UPDATER_PROPERTIES_FILE="resources_updater.properties"
|
|
SM_INFRA_NAME="/{{ smartgears_infrastructure_name }}"
|
|
SM_SERVICE_ENDPOINT_GROUP="{{ smartgears_service_endpoint_group }}"
|
|
SM_SERVICE_ENDPOINT_NAME="{{ smartgears_service_endpoint_name }}"
|
|
SM_SERVICE_ENDPOINT_HOST="{{ smartgears_service_endpoint_host }}"
|
|
|
|
cd "$RES_UPDATER_DIR"
|
|
java -cp ".:./resource-updater-cli.jar" org.gcube.resourcemanagement.updater.AccessPointUpdater "$SM_INFRA_NAME" "$SM_SERVICE_ENDPOINT_GROUP" "$SM_SERVICE_ENDPOINT_NAME" "$SM_SERVICE_ENDPOINT_HOST" "$RES_UPDATER_PROPERTIES_FILE"
|
|
|