commit | 18882a02287cc431144612ac87a5a3473693c067 | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Thu Mar 30 10:50:45 2017 -0400 |
committer | Pamela Dragosh <pdragosh@research.att.com> | Thu Mar 30 10:52:03 2017 -0400 |
tree | 9f29ed2e2a68670865959d5f2e714790089ca687 | |
parent | 31052f85bec9cdbfa8ba8cd2f7ecf77461defbb2 [diff] |
update to ONAP Change-Id: I52ddbe21bc6ba9922bcd70ff41c754c7d20098b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
This source repository contains the files for building the OpenECOMP Policy Engine Docker images.
To build it using Maven 3, first build 'policy-common-modules', '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' dirctory 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