icproxy deploy in registry.d4science.org

with the exclude tag when ic_proxy_allscopes is True
This commit is contained in:
Tommaso Piccioli 2017-03-22 16:09:05 +01:00
parent 834062b38b
commit 8c2262a3f0
3 changed files with 19 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
ic_proxy_install: False
ic_proxy_allscopes: False
ic_proxy_version: latest
ic_proxy_name: icproxy
ic_proxy_group_id: org.gcube.information-system

View File

@ -20,6 +20,11 @@
unarchive: copy=no src={{ smartgears_user_home }}/{{ ic_proxy_file }} dest={{ smartgears_instance_path }}/webapps/{{ ic_proxy_name }} creates={{ smartgears_instance_path }}/webapps/{{ ic_proxy_name }}/WEB-INF/lib
notify: Restart smartgears
- name: Fix exclude tag in gcube-app.xml
template: src=gcube-app.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ ic_proxy_name }}/WEB-INF/gcube-app.xml owner={{ d4science_user }} group={{ d4science_user }}
notify: Restart smartgears
when: ic_proxy_allscopes
become: True
become_user: '{{ d4science_user }}'
when: ic_proxy_install

View File

@ -0,0 +1,13 @@
<application mode='online'>
<name>ICProxy</name>
<group>InformationSystem</group>
<version>1.1.1-4.4.0-142273</version>
<description>icproxy webapp</description>
<!-- <servlets>
<servlet name="org.gcube.data.analysis.rconnector.RConnector" entryPointName="connector"/>
</servlets> -->
<local-persistence location='target' />
<exclude>/ServiceEndpoint/*</exclude>
<exclude handlers='request-validation'>/*</exclude>
</application>