commit | 013b0e7f66eabb03fc238f17917579abfab3aade | [log] [tgz] |
---|---|---|
author | Jorge Hernandez <jh1730@att.com> | Fri Aug 04 01:13:56 2017 -0500 |
committer | Jorge Hernandez <jh1730@att.com> | Fri Aug 04 01:13:56 2017 -0500 |
tree | f6f0e93055736b0040beddf977548af23fc9a636 | |
parent | 9eb6ad5b26c1fd6d1f320c7a2c47448cd0449fd8 [diff] |
[POLICY-145] global name/value should be local name/value is used in multiple places in installation script with global scope since they are not tagged as local in functions that manipulate it. A name value from another called function causes a bad sideeffect in the healthcheck module preventing from being expanded correctly. Change-Id: I8ae092f421b79609b2eb7a3a55b4880e5d525a8d Signed-off-by: Jorge Hernandez <jh1730@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