Added accounting_insert_storage_se_plugin and upgraged version of accounting_aggregator_se_plugin and social_data_indexer_se_plugin

This commit is contained in:
Luca Frosini 2017-02-09 17:39:37 +01:00
parent 2a16a82fd0
commit f25f0c7ad9
5 changed files with 35 additions and 0 deletions

View File

@ -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'

View File

@ -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'

View File

@ -0,0 +1,3 @@
---
- name: Restart smartgears
service: name='tomcat-instance-{{ smartgears_http_port }}' state=restarted

View File

@ -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' ]

View File

@ -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'