commit | 9b65ea22bcd13e3e55ace28575073f0e5c6a90f3 | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Wed Sep 27 14:03:30 2017 +0200 |
committer | Pamela Dragosh <pdragosh@research.att.com> | Wed Sep 27 14:03:37 2017 +0200 |
tree | 86db063acb1be742d91f012cbb2a1954616da138 | |
parent | c1ddc128dbc3f78bca26015d0e09036cf644d127 [diff] |
Create docker compose script integration Use a different docker compose script for integration CSIT tests. Issue-ID: POLICY-77 Change-Id: I103f02ef12a4c2f3bfdc6924391ccf195d4e93ff Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
This source repository contains the files for building the ONAP Policy Engine Docker images.
To build it using Maven 3, first build 'policy/common', 'policy/engine', 'policy/drools-pdp', and 'policy/drools-applications' repositories, and then run: mvn prepare-package. This will pull the installation zip files needed for building the policy-pe and policy-drools Docker images into the target directory. It will not actually build the docker images; the following additional steps are needed to accomplish this:
In addition, the 'config' directory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file.
If you want to call the docker-compose, the following needs to be setup before doing so:
chmod +x config/drools/drools-tweaks.sh IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) echo $IP_ADDRESS > config/pe/ip_addr.txt