summaryrefslogtreecommitdiffstats
path: root/controlloop/templates/template.demo.v1.0.0/pom.xml
blob: f32ed27bf8f5a1434ab47ae8b50e983caa0ec70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!--
  ============LICENSE_START=======================================================
  drools-pdp-apps Control Loop Drools Templates
  ================================================================================
  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  ================================================================================
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  ============LICENSE_END=========================================================
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

	<modelVersion>4.0.0</modelVersion>
    
	<artifactId>template.demo.v1.0.0</artifactId>
	<packaging>pom</packaging>

	<parent>
		<groupId>org.onap.policy.drools-applications</groupId>
		<artifactId>templates</artifactId>
		<version>1.1.0-SNAPSHOT</version>
	</parent>

	<modules>
		<module>archetype-cl-legacy</module>
		<module>template.demo</module>
	</modules>

</project>
pan> MYSQL_ROOT_PASSWORD: 'Aa123456' expose: - 3306 volumes: # Just specify a path and let the Engine create a volume - /var/lib/mysql # Inject the onboarding script at start time - ./Apps_Users_OnBoarding_Script.sql:/docker-entrypoint-initdb.d/zzz_apps_users_onboarding.sql logging: driver: json-file healthcheck: test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ] timeout: 10s retries: 30 # The app config file uses the docker name above portal-wms: image: ${WMS_IMG_NAME}:${PORTAL_TAG} expose: - 8082 links: - portal-db depends_on: portal-db: condition: service_healthy volumes: - ${PROPS_DIR}/ONAPWIDGETMS/application.properties:/application.properties - ${PROPS_DIR}/ONAPWIDGETMS/application.yml:/application.yml command: - /start-wms.sh logging: driver: json-file portal-app: image: ${EP_IMG_NAME}:${PORTAL_TAG} ports: - 8989:8080 - 8010:8009 - 8006:8005 links: - portal-db - portal-wms depends_on: portal-db: condition: service_healthy portal-wms: condition: service_started volumes: - ${PROPS_DIR}/ONAPPORTAL/system.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/conf/system.properties - ${PROPS_DIR}/ONAPPORTAL/fusion.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/fusion/conf/fusion.properties - ${PROPS_DIR}/ONAPPORTAL/portal.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/portal.properties - ${PROPS_DIR}/ONAPPORTAL/openid-connect.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/openid-connect.properties - ${PROPS_DIR}/ONAPPORTAL/logback.xml:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/logback.xml - ${LOGS_DIR}:/opt/apache-tomcat-8.0.37/logs command: - /start-apache-tomcat.sh # see comments in .env file - -i - $EXTRA_HOST_IP - -n - $EXTRA_HOST_NAME logging: driver: json-file portal-sdk: image: ${SDK_IMG_NAME}:${PORTAL_TAG} ports: - 8990:8080 links: - portal-db - portal-wms depends_on: portal-db: condition: service_healthy volumes: - ${PROPS_DIR}/ONAPPORTALSDK/fusion.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/fusion/conf/fusion.properties - ${PROPS_DIR}/ONAPPORTALSDK/system.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/conf/system.properties - ${PROPS_DIR}/ONAPPORTALSDK/portal.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/classes/portal.properties - ${PROPS_DIR}/ONAPPORTALSDK/logback.xml:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/classes/logback.xml - ${LOGS_DIR}:/opt/apache-tomcat-8.0.37/logs command: - /start-apache-tomcat.sh logging: driver: json-file