diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-09-15 17:32:41 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-09-15 17:32:41 +0800 |
commit | 2d2d9bed8b1990da7e0e763578684b0c1084c036 (patch) | |
tree | e8162cecf0531ccb0474293f41e68cd568345e68 /ocata | |
parent | 8d0fd7d9733ab8c1072aa728d46f08674f7194d5 (diff) |
Add swagger for identity proxy
Change-Id: Ia77b99c9ffc68f897948e2ab7d6e68ca3affba82
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'ocata')
-rw-r--r-- | ocata/ocata/swagger/views.py | 2 | ||||
-rw-r--r-- | ocata/vagrant/test/test_multicloud.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ocata/ocata/swagger/views.py b/ocata/ocata/swagger/views.py index 0a90e1e6..e2f97e73 100644 --- a/ocata/ocata/swagger/views.py +++ b/ocata/ocata/swagger/views.py @@ -37,7 +37,7 @@ class SwaggerJsonView(newton_json_view.SwaggerJsonView): json_data = resp.data if resp else None if json_data: json_data["basePath"] = "/api/multicloud-ocata/v0/" - json_data["info"]["title"] = "MultiVIM driver of OpenStack Ocata Service NBI" + json_data["info"]["title"] = "Service NBI of MultiCloud plugin for OpenStack Newton" return Response(data=json_data, status=200) else: return Response(data={'error':'internal error'}, status=500) diff --git a/ocata/vagrant/test/test_multicloud.sh b/ocata/vagrant/test/test_multicloud.sh index d5f56dea..dc007431 100644 --- a/ocata/vagrant/test/test_multicloud.sh +++ b/ocata/vagrant/test/test_multicloud.sh @@ -8,7 +8,7 @@ sudo docker build -t multicloud-ocata:latest . cd /vagrant/test sudo docker build -t multicloud-ocata-test:latest . sudo docker network create --subnet=172.16.77.0/24 onap -sudo docker run -d -t --name ocata-test --network onap --ip 172.16.77.40 -e MSB_ADDR=172.16.77.40:9003 multicloud-ocata-test +sudo docker run -d -t --name ocata-test --network onap --ip 172.16.77.40 -e MSB_ADDR=172.16.77.40 -e MSB_PORT=9004 multicloud-ocata-test while true; do sleep 10 |