Einbau einable/disable_import_cv_xml mit handler
This commit is contained in:
parent
204df0fd06
commit
eeecc3ff5b
29
roles/disable_import_cv_xml/.travis.yml
Normal file
29
roles/disable_import_cv_xml/.travis.yml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
language: python
|
||||
python: "2.7"
|
||||
|
||||
# Use the new container infrastructure
|
||||
sudo: false
|
||||
|
||||
# Install ansible
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- python-pip
|
||||
|
||||
install:
|
||||
# Install ansible
|
||||
- pip install ansible
|
||||
|
||||
# Check ansible version
|
||||
- ansible --version
|
||||
|
||||
# Create ansible.cfg with correct roles_path
|
||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
|
||||
script:
|
||||
# Basic role syntax check
|
||||
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
39
roles/disable_import_cv_xml/README.md
Normal file
39
roles/disable_import_cv_xml/README.md
Normal file
@ -0,0 +1,39 @@
|
||||
Role Name
|
||||
=========
|
||||
|
||||
Hiermit werden bei AMS die Grundinstallation angestossen. Dh. dass zb. das bash_profile eingefügt wird, die Log-Ordner werden erstellt, die start/-stopALL-Skripte mit psc.sh werden erstellt etc.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
Keine.
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
Keine.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Keine.
|
||||
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||
|
||||
- hosts: servers
|
||||
roles:
|
||||
- base_installation
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
M. Gillitzer, Version 0.1
|
2
roles/disable_import_cv_xml/defaults/main.yml
Normal file
2
roles/disable_import_cv_xml/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# defaults file for default_role
|
169
roles/disable_import_cv_xml/files/web.xml
Normal file
169
roles/disable_import_cv_xml/files/web.xml
Normal file
@ -0,0 +1,169 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
<!-- Beginn der SOAP-Konfiguration -->
|
||||
<display-name>Apache-Axis2</display-name>
|
||||
<servlet>
|
||||
<display-name>Apache-Axis Servlet</display-name>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>${test.axis2.repository.path}</param-name>
|
||||
<param-value>${axis2.repository.path}</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/servlet/AxisServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>*.jws</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/services/version_2.1.1/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/services/version_2.0.2/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<listener>
|
||||
<display-name>IMPServiceContextListener</display-name>
|
||||
<listener-class>com.rola.server.imp.soap.server.IMPServiceContextListener</listener-class>
|
||||
</listener>
|
||||
<!-- <= Ende der SOAP-Konfiguration -->
|
||||
|
||||
<!--
|
||||
Monitoring Oberflaeche nicht per Default verfuegbar!
|
||||
<servlet>
|
||||
<servlet-name>MonitoringAdmin</servlet-name>
|
||||
<servlet-class>com.rola.monitoring.access.MonitoringAdminServlet</servlet-class>
|
||||
<load-on-startup>99</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>MonitoringAdmin</servlet-name>
|
||||
<url-pattern>/monitoring/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
<!-- Monitoring Filter zur Ueberwachung aller HTTP Zugriffe -->
|
||||
<filter>
|
||||
<filter-name>MonitoringFilter</filter-name>
|
||||
<filter-class>com.rola.monitoring.web.MonitoringServletFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>categorizerThreshold</param-name>
|
||||
<param-value>0</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>MonitoringFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
<dispatcher>ERROR</dispatcher>
|
||||
<dispatcher>FORWARD</dispatcher>
|
||||
<dispatcher>INCLUDE</dispatcher>
|
||||
<dispatcher>REQUEST</dispatcher>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Beginn der REST-Konfiguration -->
|
||||
|
||||
|
||||
<!-- Beginn der REST-Konfiguration -->
|
||||
<servlet>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<servlet-class>com.rola.server.imp.rest.IMPRESTServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.0.2/processData</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.1.1/processData</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.0.2/processDataSync</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.1.1/processDataSync</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- Ende der REST-Konfiguration -->
|
||||
|
||||
<filter>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<filter-class>com.rola.server.exchange.interfacecontext.InterfaceContextServletFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Protkollunabhaengige-Konfiguration -->
|
||||
|
||||
<env-entry>
|
||||
<env-entry-name>rola/config</env-entry-name>
|
||||
<!-- Pfad zum Konfigurationsverzeichnis mit der rsConfig.xml oder [DEFAULT] (Home der Anwendung) -->
|
||||
<env-entry-type>java.lang.String</env-entry-type>
|
||||
<env-entry-value>[DEFAULT]</env-entry-value>
|
||||
</env-entry>
|
||||
|
||||
<env-entry>
|
||||
<env-entry-name>rola/moduleId</env-entry-name>
|
||||
<!-- Modul-Konfiguration -->
|
||||
<env-entry-type>java.lang.String</env-entry-type>
|
||||
<env-entry-value>IMP2_0</env-entry-value>
|
||||
</env-entry>
|
||||
|
||||
<!-- HTML-Test-Seite -->
|
||||
<!-- Auskommentieren um zu aktivieren -->
|
||||
<security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>HTML-Client</web-resource-name>
|
||||
<url-pattern>/htmlclient/*</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint/>
|
||||
<user-data-constraint>
|
||||
<transport-guarantee>NONE</transport-guarantee>
|
||||
</user-data-constraint>
|
||||
</security-constraint>
|
||||
|
||||
<!-- SOAP-Monitor -->
|
||||
<!-- Logging der SOAP-Requests und Responses
|
||||
<servlet>
|
||||
<servlet-name>SOAPMonitorService</servlet-name>
|
||||
<display-name>SOAPMonitorService</display-name>
|
||||
<servlet-class>
|
||||
org.apache.axis2.soapmonitor.servlet.SOAPMonitorService
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>SOAPMonitorPort</param-name>
|
||||
<param-value>5001</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>SOAPMonitorService</servlet-name>
|
||||
<url-pattern>/SOAPMonitor</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
</web-app>
|
20
roles/disable_import_cv_xml/handlers/main.yml
Normal file
20
roles/disable_import_cv_xml/handlers/main.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
# handlers file for default_role
|
||||
- name: stop_Imp20
|
||||
command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh stop
|
||||
async: 120
|
||||
poll: 5
|
||||
|
||||
- name: check_Imp20
|
||||
become: true
|
||||
become_user: jetty
|
||||
wait_for:
|
||||
path: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.status
|
||||
state: absent
|
||||
async: 120
|
||||
poll: 5
|
||||
|
||||
- name: start_Imp20
|
||||
command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start
|
||||
async: 120
|
||||
poll: 5
|
60
roles/disable_import_cv_xml/meta/main.yml
Normal file
60
roles/disable_import_cv_xml/meta/main.yml
Normal file
@ -0,0 +1,60 @@
|
||||
galaxy_info:
|
||||
author: your name
|
||||
description: your description
|
||||
company: your company (optional)
|
||||
|
||||
# If the issue tracker for your role is not on github, uncomment the
|
||||
# next line and provide a value
|
||||
# issue_tracker_url: http://example.com/issue/tracker
|
||||
|
||||
# Some suggested licenses:
|
||||
# - BSD (default)
|
||||
# - MIT
|
||||
# - GPLv2
|
||||
# - GPLv3
|
||||
# - Apache
|
||||
# - CC-BY
|
||||
license: license (GPLv2, CC-BY, etc)
|
||||
|
||||
min_ansible_version: 2.4
|
||||
|
||||
# If this a Container Enabled role, provide the minimum Ansible Container version.
|
||||
# min_ansible_container_version:
|
||||
|
||||
# Optionally specify the branch Galaxy will use when accessing the GitHub
|
||||
# repo for this role. During role install, if no tags are available,
|
||||
# Galaxy will use this branch. During import Galaxy will access files on
|
||||
# this branch. If Travis integration is configured, only notifications for this
|
||||
# branch will be accepted. Otherwise, in all cases, the repo's default branch
|
||||
# (usually master) will be used.
|
||||
#github_branch:
|
||||
|
||||
#
|
||||
# Provide a list of supported platforms, and for each platform a list of versions.
|
||||
# If you don't wish to enumerate all versions for a particular platform, use 'all'.
|
||||
# To view available platforms and versions (or releases), visit:
|
||||
# https://galaxy.ansible.com/api/v1/platforms/
|
||||
#
|
||||
# platforms:
|
||||
# - name: Fedora
|
||||
# versions:
|
||||
# - all
|
||||
# - 25
|
||||
# - name: SomePlatform
|
||||
# versions:
|
||||
# - all
|
||||
# - 1.0
|
||||
# - 7
|
||||
# - 99.99
|
||||
|
||||
galaxy_tags: []
|
||||
# List tags for your role here, one per line. A tag is a keyword that describes
|
||||
# and categorizes the role. Users find roles by searching for tags. Be sure to
|
||||
# remove the '[]' above, if you add tags to this list.
|
||||
#
|
||||
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
||||
# Maximum 20 tags per role.
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
||||
# if you add dependencies to this list.
|
8
roles/disable_import_cv_xml/tasks/main.yml
Normal file
8
roles/disable_import_cv_xml/tasks/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Copy file web.xml with owner and permissions web.xml
|
||||
copy:
|
||||
src: web.xml
|
||||
dest: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.webmodule.imp20/WebContent/WEB-INF/web.xml
|
||||
owner: jetty
|
||||
group: dba
|
||||
mode: '0644'
|
2
roles/disable_import_cv_xml/tests/inventory
Normal file
2
roles/disable_import_cv_xml/tests/inventory
Normal file
@ -0,0 +1,2 @@
|
||||
localhost
|
||||
|
5
roles/disable_import_cv_xml/tests/test.yml
Normal file
5
roles/disable_import_cv_xml/tests/test.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- default_role
|
2
roles/disable_import_cv_xml/vars/main.yml
Normal file
2
roles/disable_import_cv_xml/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# vars file for default_role
|
29
roles/enable_import_cv_xml/.travis.yml
Normal file
29
roles/enable_import_cv_xml/.travis.yml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
language: python
|
||||
python: "2.7"
|
||||
|
||||
# Use the new container infrastructure
|
||||
sudo: false
|
||||
|
||||
# Install ansible
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- python-pip
|
||||
|
||||
install:
|
||||
# Install ansible
|
||||
- pip install ansible
|
||||
|
||||
# Check ansible version
|
||||
- ansible --version
|
||||
|
||||
# Create ansible.cfg with correct roles_path
|
||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||
|
||||
script:
|
||||
# Basic role syntax check
|
||||
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
39
roles/enable_import_cv_xml/README.md
Normal file
39
roles/enable_import_cv_xml/README.md
Normal file
@ -0,0 +1,39 @@
|
||||
Role Name
|
||||
=========
|
||||
|
||||
Hiermit werden bei AMS die Grundinstallation angestossen. Dh. dass zb. das bash_profile eingefügt wird, die Log-Ordner werden erstellt, die start/-stopALL-Skripte mit psc.sh werden erstellt etc.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
Keine.
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
Keine.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Keine.
|
||||
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||
|
||||
- hosts: servers
|
||||
roles:
|
||||
- base_installation
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
M. Gillitzer, Version 0.1
|
2
roles/enable_import_cv_xml/defaults/main.yml
Normal file
2
roles/enable_import_cv_xml/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# defaults file for default_role
|
169
roles/enable_import_cv_xml/files/web.xml
Normal file
169
roles/enable_import_cv_xml/files/web.xml
Normal file
@ -0,0 +1,169 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
<!-- Beginn der SOAP-Konfiguration -->
|
||||
<display-name>Apache-Axis2</display-name>
|
||||
<servlet>
|
||||
<display-name>Apache-Axis Servlet</display-name>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>${test.axis2.repository.path}</param-name>
|
||||
<param-value>${axis2.repository.path}</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/servlet/AxisServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>*.jws</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/services/version_2.1.1/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/services/version_2.0.2/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<listener>
|
||||
<display-name>IMPServiceContextListener</display-name>
|
||||
<listener-class>com.rola.server.imp.soap.server.IMPServiceContextListener</listener-class>
|
||||
</listener>
|
||||
<!-- <= Ende der SOAP-Konfiguration -->
|
||||
|
||||
<!--
|
||||
Monitoring Oberflaeche nicht per Default verfuegbar!
|
||||
<servlet>
|
||||
<servlet-name>MonitoringAdmin</servlet-name>
|
||||
<servlet-class>com.rola.monitoring.access.MonitoringAdminServlet</servlet-class>
|
||||
<load-on-startup>99</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>MonitoringAdmin</servlet-name>
|
||||
<url-pattern>/monitoring/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
<!-- Monitoring Filter zur Ueberwachung aller HTTP Zugriffe -->
|
||||
<filter>
|
||||
<filter-name>MonitoringFilter</filter-name>
|
||||
<filter-class>com.rola.monitoring.web.MonitoringServletFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>categorizerThreshold</param-name>
|
||||
<param-value>0</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>MonitoringFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
<dispatcher>ERROR</dispatcher>
|
||||
<dispatcher>FORWARD</dispatcher>
|
||||
<dispatcher>INCLUDE</dispatcher>
|
||||
<dispatcher>REQUEST</dispatcher>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Beginn der REST-Konfiguration -->
|
||||
|
||||
|
||||
<!-- Beginn der REST-Konfiguration -->
|
||||
<servlet>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<servlet-class>com.rola.server.imp.rest.IMPRESTServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.0.2/processData</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.1.1/processData</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.0.2/processDataSync</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
<url-pattern>/version_2.1.1/processDataSync</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- Ende der REST-Konfiguration -->
|
||||
|
||||
<filter>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<filter-class>com.rola.server.exchange.interfacecontext.InterfaceContextServletFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<servlet-name>IMPRESTServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>InterfaceContextServletFilter</filter-name>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Protkollunabhaengige-Konfiguration -->
|
||||
|
||||
<env-entry>
|
||||
<env-entry-name>rola/config</env-entry-name>
|
||||
<!-- Pfad zum Konfigurationsverzeichnis mit der rsConfig.xml oder [DEFAULT] (Home der Anwendung) -->
|
||||
<env-entry-type>java.lang.String</env-entry-type>
|
||||
<env-entry-value>[DEFAULT]</env-entry-value>
|
||||
</env-entry>
|
||||
|
||||
<env-entry>
|
||||
<env-entry-name>rola/moduleId</env-entry-name>
|
||||
<!-- Modul-Konfiguration -->
|
||||
<env-entry-type>java.lang.String</env-entry-type>
|
||||
<env-entry-value>IMP2_0</env-entry-value>
|
||||
</env-entry>
|
||||
|
||||
<!-- HTML-Test-Seite -->
|
||||
<!-- Auskommentieren um zu aktivieren -->
|
||||
<!--security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>HTML-Client</web-resource-name>
|
||||
<url-pattern>/htmlclient/*</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint/>
|
||||
<user-data-constraint>
|
||||
<transport-guarantee>NONE</transport-guarantee>
|
||||
</user-data-constraint>
|
||||
</security-constraint-->
|
||||
|
||||
<!-- SOAP-Monitor -->
|
||||
<!-- Logging der SOAP-Requests und Responses
|
||||
<servlet>
|
||||
<servlet-name>SOAPMonitorService</servlet-name>
|
||||
<display-name>SOAPMonitorService</display-name>
|
||||
<servlet-class>
|
||||
org.apache.axis2.soapmonitor.servlet.SOAPMonitorService
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>SOAPMonitorPort</param-name>
|
||||
<param-value>5001</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>SOAPMonitorService</servlet-name>
|
||||
<url-pattern>/SOAPMonitor</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
</web-app>
|
20
roles/enable_import_cv_xml/handlers/main.yml
Normal file
20
roles/enable_import_cv_xml/handlers/main.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
# handlers file for default_role
|
||||
- name: stop_Imp20
|
||||
command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh stop
|
||||
async: 120
|
||||
poll: 5
|
||||
|
||||
- name: check_Imp20
|
||||
become: true
|
||||
become_user: jetty
|
||||
wait_for:
|
||||
path: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.status
|
||||
state: absent
|
||||
async: 120
|
||||
poll: 5
|
||||
|
||||
- name: start_Imp20
|
||||
command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start
|
||||
async: 120
|
||||
poll: 5
|
60
roles/enable_import_cv_xml/meta/main.yml
Normal file
60
roles/enable_import_cv_xml/meta/main.yml
Normal file
@ -0,0 +1,60 @@
|
||||
galaxy_info:
|
||||
author: your name
|
||||
description: your description
|
||||
company: your company (optional)
|
||||
|
||||
# If the issue tracker for your role is not on github, uncomment the
|
||||
# next line and provide a value
|
||||
# issue_tracker_url: http://example.com/issue/tracker
|
||||
|
||||
# Some suggested licenses:
|
||||
# - BSD (default)
|
||||
# - MIT
|
||||
# - GPLv2
|
||||
# - GPLv3
|
||||
# - Apache
|
||||
# - CC-BY
|
||||
license: license (GPLv2, CC-BY, etc)
|
||||
|
||||
min_ansible_version: 2.4
|
||||
|
||||
# If this a Container Enabled role, provide the minimum Ansible Container version.
|
||||
# min_ansible_container_version:
|
||||
|
||||
# Optionally specify the branch Galaxy will use when accessing the GitHub
|
||||
# repo for this role. During role install, if no tags are available,
|
||||
# Galaxy will use this branch. During import Galaxy will access files on
|
||||
# this branch. If Travis integration is configured, only notifications for this
|
||||
# branch will be accepted. Otherwise, in all cases, the repo's default branch
|
||||
# (usually master) will be used.
|
||||
#github_branch:
|
||||
|
||||
#
|
||||
# Provide a list of supported platforms, and for each platform a list of versions.
|
||||
# If you don't wish to enumerate all versions for a particular platform, use 'all'.
|
||||
# To view available platforms and versions (or releases), visit:
|
||||
# https://galaxy.ansible.com/api/v1/platforms/
|
||||
#
|
||||
# platforms:
|
||||
# - name: Fedora
|
||||
# versions:
|
||||
# - all
|
||||
# - 25
|
||||
# - name: SomePlatform
|
||||
# versions:
|
||||
# - all
|
||||
# - 1.0
|
||||
# - 7
|
||||
# - 99.99
|
||||
|
||||
galaxy_tags: []
|
||||
# List tags for your role here, one per line. A tag is a keyword that describes
|
||||
# and categorizes the role. Users find roles by searching for tags. Be sure to
|
||||
# remove the '[]' above, if you add tags to this list.
|
||||
#
|
||||
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
||||
# Maximum 20 tags per role.
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
||||
# if you add dependencies to this list.
|
12
roles/enable_import_cv_xml/tasks/main.yml
Normal file
12
roles/enable_import_cv_xml/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Copy file web.xml with owner and permissions web.xml
|
||||
copy:
|
||||
src: web.xml
|
||||
dest: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.webmodule.imp20/WebContent/WEB-INF/web.xml
|
||||
owner: jetty
|
||||
group: dba
|
||||
mode: '0644'
|
||||
notify:
|
||||
- stop_Imp20
|
||||
- check_Imp20
|
||||
- start_Imp20
|
2
roles/enable_import_cv_xml/tests/inventory
Normal file
2
roles/enable_import_cv_xml/tests/inventory
Normal file
@ -0,0 +1,2 @@
|
||||
localhost
|
||||
|
5
roles/enable_import_cv_xml/tests/test.yml
Normal file
5
roles/enable_import_cv_xml/tests/test.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- default_role
|
2
roles/enable_import_cv_xml/vars/main.yml
Normal file
2
roles/enable_import_cv_xml/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# vars file for default_role
|
Loading…
x
Reference in New Issue
Block a user