Mickael JEZEQUEL | b071b23 | 2018-03-09 17:44:34 +0100 | [diff] [blame] | 1 | Introduction: |
| 2 | ============= |
| 3 | This document provides the required steps for : |
| 4 | - generating the docker image of the heat validation rest service |
| 5 | - running the rest server. |
| 6 | |
| 7 | Installation steps: |
| 8 | ==================== |
| 9 | Install following software: |
| 10 | - maven |
| 11 | - docker |
| 12 | |
| 13 | Configuration steps: |
| 14 | ==================== |
| 15 | you can override the defaults settings (declared in default_settings.cfg and prod_settings.cfg) |
| 16 | by setting the env variable with the appropriate values (see Dockerfile for available ENV vars) |
| 17 | |
| 18 | How to run? |
| 19 | =========== |
| 20 | - make sure that the MSB is running |
| 21 | - build the image : |
| 22 | - ``$ mvn -P docker clean package`` |
| 23 | - run the server in DEBUG mode: |
| 24 | - ``$ docker run --rm --name vnfsdk-ice -d -p 5000:5000 -e DEBUG=True -e MSB_ADDR=<MSB ADDR> -e MSB_PORT=80 onap/vnfsdk/ice`` |