diff --git a/smartgears/accounting_aggregator_se_plugin/defaults/main.yml b/smartgears/accounting_aggregator_se_plugin/defaults/main.yml index da69fe55..d274980b 100644 --- a/smartgears/accounting_aggregator_se_plugin/defaults/main.yml +++ b/smartgears/accounting_aggregator_se_plugin/defaults/main.yml @@ -3,3 +3,7 @@ accounting_aggregator_se_plugin_install: False accounting_aggregator_se_plugin_ver: 1.0.0-4.1.0-132538 accounting_aggregator_se_plugin_name: 'accounting-aggregator-se-plugin-{{ accounting_aggregator_se_plugin_ver }}-jar-with-dependencies.jar' accounting_aggregator_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/accounting-aggregator-se-plugin/{{ accounting_aggregator_se_plugin_ver }}/{{ accounting_aggregator_se_plugin_name }}' + +accounting_aggregator_se_plugin_maven_group_id : 'org.gcube.accounting' +accounting_aggregator_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin' +accounting_aggregator_se_plugin_maven_version : '1.0.0-SNAPSHOT' diff --git a/smartgears/accounting_insert_storage_se_plugin/defaults/main.yml b/smartgears/accounting_insert_storage_se_plugin/defaults/main.yml new file mode 100644 index 00000000..234e7259 --- /dev/null +++ b/smartgears/accounting_insert_storage_se_plugin/defaults/main.yml @@ -0,0 +1,9 @@ +--- +accounting_insert_storage_se_plugin_install: False +accounting_insert_storage_se_plugin_ver: 1.0.0-4.3.0-00000 +accounting_insert_storage_se_plugin_name: '{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-{{ accounting_insert_storage_se_plugin_ver }}-jar-with-dependencies.jar' +accounting_insert_storage_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}/{{ accounting_insert_storage_se_plugin_ver }}/{{ accounting_insert_storage_se_plugin_name }}' + +accounting_insert_storage_se_plugin_maven_group_id : 'org.gcube.accounting' +accounting_insert_storage_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin' +accounting_insert_storage_se_plugin_maven_version : '1.0.0-SNAPSHOT' diff --git a/smartgears/accounting_insert_storage_se_plugin/handlers/main.yml b/smartgears/accounting_insert_storage_se_plugin/handlers/main.yml new file mode 100644 index 00000000..a9b4ffdd --- /dev/null +++ b/smartgears/accounting_insert_storage_se_plugin/handlers/main.yml @@ -0,0 +1,3 @@ +--- +- name: Restart smartgears + service: name='tomcat-instance-{{ smartgears_http_port }}' state=restarted diff --git a/smartgears/accounting_insert_storage_se_plugin/tasks/main.yml b/smartgears/accounting_insert_storage_se_plugin/tasks/main.yml new file mode 100644 index 00000000..fd301c85 --- /dev/null +++ b/smartgears/accounting_insert_storage_se_plugin/tasks/main.yml @@ -0,0 +1,15 @@ +--- +- name: Remove the old accounting insert storage plugin + shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-*-jar-with-dependencies.jar + when: accounting_insert_storage_se_plugin_upgrade + tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ] + + +- name: Get the accounting insert storage plugin and install it inside the smart executor + become: True + become_user: '{{ smartgears_user }}' + get_url: url={{ accounting_insert_storage_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib + when: accounting_insert_storage_se_plugin_install + notify: Restart smartgears + tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ] + diff --git a/smartgears/social_data_indexer_se_plugin/defaults/main.yml b/smartgears/social_data_indexer_se_plugin/defaults/main.yml index 310757e9..e2c087c3 100644 --- a/smartgears/social_data_indexer_se_plugin/defaults/main.yml +++ b/smartgears/social_data_indexer_se_plugin/defaults/main.yml @@ -3,3 +3,7 @@ social_data_indexer_se_plugin_install: False social_data_indexer_se_plugin_ver: 1.1.1-4.1.0-133365 social_data_indexer_se_plugin_name: 'social-data-indexer-se-plugin-{{ social_data_indexer_se_plugin_ver }}-jar-with-dependencies.jar' social_data_indexer_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/socialnetworking/social-data-indexer-se-plugin/{{ social_data_indexer_se_plugin_ver }}/{{ social_data_indexer_se_plugin_name }}' + +social_data_indexer_se_plugin_maven_group_id : 'org.gcube.socialnetworking' +social_data_indexer_se_plugin_maven_artifact_id : 'social-data-indexer-se-plugin' +social_data_indexer_se_plugin_maven_version : '1.1.1-SNAPSHOT' \ No newline at end of file