commit | 85e8694289f5279b288af4ef19b43c4cab4e10f3 | [log] [tgz] |
---|---|---|
author | rb7147 <rb7147@att.com> | Tue Oct 03 13:37:05 2017 -0400 |
committer | rb7147 <rb7147@att.com> | Tue Oct 03 16:16:04 2017 -0400 |
tree | 6c074d637525c3e89ead32130f278b09d6841867 | |
parent | 0fe9e2f2c10edd24efecb867ab5ba2aa794ea3cf [diff] |
Resolved the docker script issue Executed the import function from onap swagger and replaced the curl command. Issue-Id: POLICY-275 Change-Id: I96e66c0787063de6e6f9739ffdadf12785f30dae Signed-off-by: rb7147 <rb7147@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