diff options
author | Mickael JEZEQUEL <mickael.jezequel@orange.com> | 2018-03-07 17:19:48 +0100 |
---|---|---|
committer | Mickael JEZEQUEL <mickael.jezequel@orange.com> | 2018-03-07 17:21:45 +0100 |
commit | b2727af1d234bae3e64cf31a0af3dfee2d1c91f8 (patch) | |
tree | 40556f1679e2b9521c21598a43d0f4a71e6c2915 /ice-server/README.MD | |
parent | d5d7097ce064a9711cd7415d100db2560ef7ff08 (diff) |
implement rest API for ICE tests
Change-Id: I1ccb630858907161c4e8b13986fe963bb309b608
Issue-ID: VNFSDK-213
Signed-off-by: Mickael JEZEQUEL <mickael.jezequel@orange.com>
Diffstat (limited to 'ice-server/README.MD')
-rw-r--r-- | ice-server/README.MD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ice-server/README.MD b/ice-server/README.MD new file mode 100644 index 0000000..87a5341 --- /dev/null +++ b/ice-server/README.MD @@ -0,0 +1,32 @@ +Introduction: +============= +This document provides the required steps for running the +heat validation rest service in a development environment. +If you only want to run it, go to distribution directory. + +Installation steps: +==================== +Install following software: +- python 3.4 or latest + +Configuration steps: +==================== +you can override the defaults settings (declared in default_settings.py) +if needed by pointing the env variable ICE_SETTINGS to a file +with the appropriate values : + +``$ export ICE_SETTINGS='/path/to/my/production/settings.py'`` + +How to run? +=========== + - In command console, cd to directory where this service is installed + - use virtualenv if needed + - ``$ pip install -r requirements.txt`` + - check that everything is ok by running unit tests : ``$ tox`` + - ``$ python app.py`` + - Once service is started, from MSB service, verify that "ice-test" is reported from GET request on "/openoapi/microservices/v1/services" + +Debug/development Mode +========== + debug mode is activated by default + in debug mode, the swagger ui is available on http://127.0.0.1:5000/onapapi/ice/v1/ui
\ No newline at end of file |