commit | 227bd09df4eb896b917857eb3a213baa7bbd1089 | [log] [tgz] |
---|---|---|
author | rb7147 <rb7147@att.com> | Wed Sep 27 16:13:50 2017 -0400 |
committer | rb7147 <rb7147@att.com> | Wed Sep 27 16:14:00 2017 -0400 |
tree | c5b4ea238795af56e3884e71fcacad3ce848fbb1 | |
parent | c5fa307446d6b18d2aa8f5cf648823ac32219feb [diff] |
Updated the push policy script Script Contains: 1. Upload the BRMS template. 2. Create BRMS and MS R1 policies. 3. Push the policy to PDP. Issue-Id: POLICY-264 Change-Id: I2106e2b28bb5d38aab904277c8c302fb0170976b 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