Pamela Dragosh | 5ed4e85 | 2017-09-22 12:26:16 -0400 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 4 | Standalone Quick Start Installation |
| 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
Saryu Shah | ba1936f | 2017-10-10 22:20:01 +0000 | [diff] [blame] | 6 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 7 | .. contents:: |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 8 | :depth: 2 |
Saryu Shah | ba1936f | 2017-10-10 22:20:01 +0000 | [diff] [blame] | 9 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 10 | The installation of ONAP Policy is **automated** by design and can be done via Docker as a standalone system. |
Saryu Shah | ba1936f | 2017-10-10 22:20:01 +0000 | [diff] [blame] | 11 | Various tools, including healthcheck, logs, and Swagger can be used to ensure proper operation. |
| 12 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 13 | This article explains how to build the ONAP Policy Framework and get it running in Docker as a standalone system. |
| 14 | This article assumes that: |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 15 | |
| 16 | * You are using a *\*nix* operating system such as linux or macOS. |
| 17 | * You are using a directory called *git* off your home directory *(~/git)* for your git repositories |
| 18 | * Your local maven repository is in the location *~/.m2/repository* |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 19 | * You have added settings to access the ONAP Nexus to your M2 configuration, see `Maven Settings Example <https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment>`_ (bottom of the linked page) |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 20 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 21 | The procedure documented in this article has been verified to work on a MacBook laptop running macOS Sierra Version 10.12.6 and a HP Z600 desktop running Ubuntu 16.04.3 LTS. |
| 22 | |
| 23 | Cloning the ONAP repositories |
| 24 | ----------------------------- |
| 25 | |
| 26 | Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/#/admin/projects/?filter=policy>`_. This script clones the ONAP policy code and also clones some modules that ONAP Policy is dependent on. |
| 27 | |
| 28 | ONAP Policy requires all the *policy* modules from the ONAP repository. It also requires the ONAP Parent *oparent* module and the ONAP ECOMP SDK *ecompsdkos* module. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 29 | |
| 30 | |
Saryu Shah | f45cebe | 2017-10-13 14:17:11 +0000 | [diff] [blame] | 31 | .. code-block:: bash |
| 32 | :caption: Typical ONAP Policy Framework Clone Script |
| 33 | :linenos: |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 34 | |
| 35 | #!/usr/bin/env bash |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 36 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 37 | ## script name for output |
| 38 | MOD_SCRIPT_NAME=`basename $0` |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 39 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 40 | ## the ONAP clone directory, defaults to "onap" |
| 41 | clone_dir="onap" |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 42 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 43 | ## the ONAP repos to clone |
| 44 | onap_repos="\ |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 45 | policy/parent \ |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 46 | policy/common \ |
| 47 | policy/docker \ |
| 48 | policy/drools-applications \ |
| 49 | policy/drools-pdp \ |
| 50 | policy/engine \ |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 51 | policy/apex-pdp \ |
| 52 | policy/distribution" |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 53 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 54 | ## |
| 55 | ## Help screen and exit condition (i.e. too few arguments) |
| 56 | ## |
| 57 | Help() |
| 58 | { |
| 59 | echo "" |
| 60 | echo "$MOD_SCRIPT_NAME - clones all required ONAP git repositories" |
| 61 | echo "" |
| 62 | echo " Usage: $MOD_SCRIPT_NAME [-options]" |
| 63 | echo "" |
| 64 | echo " Options" |
| 65 | echo " -d - the ONAP clone directory, defaults to '.'" |
| 66 | echo " -h - this help screen" |
| 67 | echo "" |
| 68 | exit 255; |
| 69 | } |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 70 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 71 | ## |
| 72 | ## read command line |
| 73 | ## |
| 74 | while [ $# -gt 0 ] |
| 75 | do |
| 76 | case $1 in |
| 77 | #-d ONAP clone directory |
| 78 | -d) |
| 79 | shift |
| 80 | if [ -z "$1" ]; then |
| 81 | echo "$MOD_SCRIPT_NAME: no clone directory" |
| 82 | exit 1 |
| 83 | fi |
| 84 | clone_dir=$1 |
| 85 | shift |
| 86 | ;; |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 87 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 88 | #-h prints help and exists |
| 89 | -h) |
| 90 | Help;exit 0;; |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 91 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 92 | *) echo "$MOD_SCRIPT_NAME: undefined CLI option - $1"; exit 255;; |
| 93 | esac |
| 94 | done |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 95 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 96 | if [ -f "$clone_dir" ]; then |
| 97 | echo "$MOD_SCRIPT_NAME: requested clone directory '$clone_dir' exists as file" |
| 98 | exit 2 |
| 99 | fi |
| 100 | if [ -d "$clone_dir" ]; then |
| 101 | echo "$MOD_SCRIPT_NAME: requested clone directory '$clone_dir' exists as directory" |
| 102 | exit 2 |
| 103 | fi |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 104 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 105 | mkdir $clone_dir |
| 106 | if [ $? != 0 ] |
| 107 | then |
| 108 | echo cannot clone ONAP repositories, could not create directory '"'$clone_dir'"' |
| 109 | exit 3 |
| 110 | fi |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 111 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 112 | for repo in $onap_repos |
| 113 | do |
| 114 | repoDir=`dirname "$repo"` |
| 115 | repoName=`basename "$repo"` |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 116 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 117 | if [ ! -z $dirName ] |
| 118 | then |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 119 | mkdir "$clone_dir/$repoDir" |
| 120 | if [ $? != 0 ] |
| 121 | then |
| 122 | echo cannot clone ONAP repositories, could not create directory '"'$clone_dir/repoDir'"' |
| 123 | exit 4 |
| 124 | fi |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 125 | fi |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 126 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 127 | git clone https://gerrit.onap.org/r/${repo} $clone_dir/$repo |
| 128 | done |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 129 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 130 | echo ONAP has been cloned into '"'$clone_dir'"' |
| 131 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 132 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 133 | Execution of the script above results in the following directory hierarchy in your *~/git* directory: |
| 134 | |
Saryu Shah | 3eddd58 | 2017-10-12 22:03:55 +0000 | [diff] [blame] | 135 | * ~/git/onap |
Saryu Shah | 3eddd58 | 2017-10-12 22:03:55 +0000 | [diff] [blame] | 136 | * ~/git/onap/policy |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 137 | * ~/git/onap/policy/parent |
Saryu Shah | 3eddd58 | 2017-10-12 22:03:55 +0000 | [diff] [blame] | 138 | * ~/git/onap/policy/common |
| 139 | * ~/git/onap/policy/docker |
| 140 | * ~/git/onap/policy/drools-applications |
| 141 | * ~/git/onap/policy/drools-pdp |
| 142 | * ~/git/onap/policy/engine |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 143 | * ~/git/onap/policy/apex-pdp |
| 144 | * ~/git/onap/policy/distribution |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 145 | |
| 146 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 147 | Building ONAP |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 148 | ------------- |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 149 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 150 | **Step 1:** Optionally, for a completely clean build, remove the ONAP built modules from your local repository. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 151 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 152 | .. code-block:: bash |
| 153 | |
| 154 | rm -fr ~/.m2/repository/org/onap |
| 155 | rm -fr ~/.m2/repository/org/openecomp |
| 156 | rm -fr ~/.m2/repisotory/com/att |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 157 | |
Saryu Shah | f45cebe | 2017-10-13 14:17:11 +0000 | [diff] [blame] | 158 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 159 | **Step 2:** A pom such as the one below can be used to build the ONAP Policy Framework modules. Create the *pom.xml* file in the directory *~/git/onap/policy*. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 160 | |
Saryu Shah | f45cebe | 2017-10-13 14:17:11 +0000 | [diff] [blame] | 161 | .. code-block:: xml |
| 162 | :caption: Typical pom.xml to build the ONAP Policy Framework |
| 163 | :linenos: |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 164 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 165 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 166 | <modelVersion>4.0.0</modelVersion> |
| 167 | <groupId>org.onap</groupId> |
| 168 | <artifactId>onap-policy</artifactId> |
| 169 | <version>1.0.0-SNAPSHOT</version> |
| 170 | <packaging>pom</packaging> |
| 171 | <name>${project.artifactId}</name> |
| 172 | <inceptionYear>2017</inceptionYear> |
| 173 | <organization> |
| 174 | <name>ONAP</name> |
| 175 | </organization> |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 176 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 177 | <modules> |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 178 | <module>parent</module> |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 179 | <module>common</module> |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 180 | <module>drools-pdp</module> |
| 181 | <module>drools-applications</module> |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 182 | <module>engine</module> |
| 183 | <module>apex-pdp</module> |
| 184 | <module>distribution</module> |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 185 | </modules> |
| 186 | </project> |
| 187 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 188 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 189 | **Step 3:** You can now build the ONAP framework |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 190 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 191 | .. code-block:: bash |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 192 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 193 | cd ~/git/onap |
| 194 | mvn clean install |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 195 | |
| 196 | |
| 197 | Building the ONAP Policy Framework Docker Images |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 198 | ------------------------------------------------ |
| 199 | The instructions here are based on the instructions in the file *~/git/onap/policy/docker/README.md*. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 200 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 201 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 202 | **Step 1:** Build the policy engine docker image: |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 203 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 204 | .. code-block:: bash |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 205 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 206 | cd ~/git/onap/policy/engine/packages/docker/target |
| 207 | docker build -t onap/policy-pe policy-pe |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 208 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 209 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 210 | **Step 2:** Build the Drools PDP docker image: |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 211 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 212 | .. code-block:: bash |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 213 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 214 | cd ~/git/onap/policy/drools-pdp/packages/docker/target |
| 215 | docker build -t onap/policy-drools policy-drools |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 216 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 217 | |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 218 | **Step 3:** Build the Policy SDC Distribution docker image: |
| 219 | |
| 220 | .. code-block:: bash |
| 221 | |
| 222 | cd ~/git/onap/policy/distribution/packages |
| 223 | mvn clean install -Pdocker |
| 224 | |
| 225 | **Step 4:** Build the Apex PDP docker image: |
| 226 | |
| 227 | .. code-block:: bash |
| 228 | |
| 229 | cd ~/git/onap/policy/apex-pdp/packages/apex-pdp-docker/target |
| 230 | docker build -t onap/policy-apex-pdp policy-apex-pdp |
| 231 | |
| 232 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 233 | Starting the ONAP Policy Framework Docker Images |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 234 | ------------------------------------------------ |
| 235 | |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 236 | In order to run the containers, you can use *docker-compose*. This uses the *docker-compose.yml* yaml file to bring up the ONAP Policy Framework. This file is located in the policy/docker repository. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 237 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 238 | **Step 1:** Make the file config/drools/drools-tweaks.sh executable. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 239 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 240 | .. code-block:: bash |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 241 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 242 | chmod +x config/drools/drools-tweaks.sh |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 243 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 244 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 245 | **Step 2:** Set the IP address to use to be an IP address of a suitable interface on your machine. Save the IP address into the file *config/pe/ip_addr.txt*. |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 246 | |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 247 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 248 | **Step 3:** Set the environment variable *MTU* to be a suitable MTU size for the application. |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 249 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 250 | .. code-block:: bash |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 251 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 252 | export MTU=9126 |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 253 | |
| 254 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 255 | **Step 4:** Determine if you want policies pre-loaded or not. By default, all the configuration and operational policies will be pre-loaded by the docker compose script. If you do not wish for that to happen, then export this variable: |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 256 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 257 | .. code-block:: bash |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 258 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 259 | export PRELOAD_POLICIES=false |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 260 | |
| 261 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 262 | **Step 5:** Run the system using *docker-compose*. Note that on some systems you may have to run the *docker-compose* command as root or using *sudo*. Note that this command takes a number of minutes to execute on a laptop or desktop computer. |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 263 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 264 | .. code-block:: bash |
Saryu Shah | 5c43749 | 2018-03-26 21:50:41 +0000 | [diff] [blame] | 265 | |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 266 | docker-compose up |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 267 | |
| 268 | |
Saryu Shah | b6209af | 2017-10-11 20:12:38 +0000 | [diff] [blame] | 269 | **You now have a full standalone ONAP Policy framework up and running!** |
| 270 | |
| 271 | |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 272 | Installation of Drools Controllers and Policies |
| 273 | ----------------------------------------------- |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 274 | |
Pamela Dragosh | cf6e8fd | 2018-10-30 14:10:40 -0400 | [diff] [blame^] | 275 | You may now install a controller and policies on the ONAP Policy Framework. Follow the HowTos below to install the Amsterdam controller and policies. |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 276 | |
| 277 | * `Installation of Amsterdam Controller and vCPE Policy <installAmsterController.html>`_ |
Saryu Shah | b0c7e3b | 2018-05-01 01:12:23 +0000 | [diff] [blame] | 278 | |
| 279 | |
| 280 | |
Saryu Shah | ba1936f | 2017-10-10 22:20:01 +0000 | [diff] [blame] | 281 | .. _Standalone Quick Start : https://wiki.onap.org/display/DW/ONAP+Policy+Framework%3A+Standalone+Quick+Start |
Pamela Dragosh | 5ed4e85 | 2017-09-22 12:26:16 -0400 | [diff] [blame] | 282 | |
| 283 | |
Saryu Shah | 3198d6d | 2017-11-07 21:40:27 +0000 | [diff] [blame] | 284 | |
| 285 | End of Document |
| 286 | |