commit | b0079c25d8f0f42e79137aa16702a127e4e34977 | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Wed Mar 08 21:48:28 2017 -0500 |
committer | Pamela Dragosh <pdragosh@research.att.com> | Wed Mar 08 21:48:35 2017 -0500 |
tree | b45a9bbc5919ffd8a9f7c6a0377d7c678021b395 | |
parent | d30ceeed662c09167e0c1d12998583ef75cef99e [diff] |
changing to different mirror Change-Id: I193f3938f309ca17602034c079073eafb2dea601 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