summaryrefslogtreecommitdiffstats
path: root/windriver
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-08-27 08:31:52 +0000
committerBin Yang <bin.yang@windriver.com>2019-08-27 08:31:52 +0000
commit9b3695f850b649ef52391ca724728cc30c5b8c0f (patch)
tree085cec6897fe74edb0b72961619fad9fa81087e8 /windriver
parent54d70ce89e416c5eaa624d4489504607312da168 (diff)
Remove fake extension API response content
Change-Id: I6ae5ae595b3c90b459f52786b065c724c7cfaa93 Issue-ID: MULTICLOUD-791 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver')
-rw-r--r--windriver/titanium_cloud/extensions/tests/test_extensions.py16
-rw-r--r--windriver/titanium_cloud/extensions/views/extensions.py14
2 files changed, 15 insertions, 15 deletions
diff --git a/windriver/titanium_cloud/extensions/tests/test_extensions.py b/windriver/titanium_cloud/extensions/tests/test_extensions.py
index 978e2023..48e556a9 100644
--- a/windriver/titanium_cloud/extensions/tests/test_extensions.py
+++ b/windriver/titanium_cloud/extensions/tests/test_extensions.py
@@ -31,11 +31,11 @@ class TestExtensions(unittest.TestCase):
json_content = response.json()
self.assertEqual(status.HTTP_200_OK, response.status_code)
- self.assertEqual(4, len(list(json_content.keys())))
-
- self.assertEqual(cloud_owner, json_content["cloud-owner"])
- self.assertEqual(cloud_region_id, json_content["cloud-region-id"])
- self.assertEqual(vimid, json_content["vimid"])
-
- self.assertEqual("Multiple network support", json_content["extensions"][0]["description"])
- self.assertEqual("", json_content["extensions"][0]["spec"])
+ # self.assertEqual(4, len(list(json_content.keys())))
+ #
+ # self.assertEqual(cloud_owner, json_content["cloud-owner"])
+ # self.assertEqual(cloud_region_id, json_content["cloud-region-id"])
+ # self.assertEqual(vimid, json_content["vimid"])
+ #
+ # self.assertEqual("Multiple network support", json_content["extensions"][0]["description"])
+ # self.assertEqual("", json_content["extensions"][0]["spec"])
diff --git a/windriver/titanium_cloud/extensions/views/extensions.py b/windriver/titanium_cloud/extensions/views/extensions.py
index 1bfe7417..ef203bee 100644
--- a/windriver/titanium_cloud/extensions/views/extensions.py
+++ b/windriver/titanium_cloud/extensions/views/extensions.py
@@ -45,13 +45,13 @@ class Extensions(newton_extensions.Extensions):
cloud_owner, cloud_region_id = extsys.decode_vim_id(vimid)
registered_extensions = \
[
- {
- "alias": "guest-monitor",
- "description": "Multiple network support",
- "name": "Guest Monitor",
- "url": self.proxy_prefix + "/%s/extensions/guest-monitor/{server_id}" % (vimid),
- "spec": ""
- }
+ # {
+ # "alias": "guest-monitor",
+ # "description": "Multiple network support",
+ # "name": "Guest Monitor",
+ # "url": self.proxy_prefix + "/%s/extensions/guest-monitor/{server_id}" % (vimid),
+ # "spec": ""
+ # }
]
content = {