diff options
author | Liam Fallon <liam.fallon@est.tech> | 2021-11-17 15:15:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-11-17 15:15:23 +0000 |
commit | c724c6e29c6abae7a53aa77ae05500cdcfaa42f9 (patch) | |
tree | f37f9fa44441444cf232242c81ba1287f4a9eb84 /runtime/src/test/resources | |
parent | 225dcb4d6f801d88094a9512d79c82c4189c07f6 (diff) | |
parent | aa498ca1fce0d8a267a56bbce4f98f524a0008db (diff) |
Merge "Added Camel Unit Tests For Monitoring"
Diffstat (limited to 'runtime/src/test/resources')
-rw-r--r-- | runtime/src/test/resources/http-cache/third_party_proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/test/resources/http-cache/third_party_proxy.py b/runtime/src/test/resources/http-cache/third_party_proxy.py index d6628535d..5c80cdda4 100644 --- a/runtime/src/test/resources/http-cache/third_party_proxy.py +++ b/runtime/src/test/resources/http-cache/third_party_proxy.py @@ -328,7 +328,7 @@ class Proxy(SimpleHTTPServer.SimpleHTTPRequestHandler): return True elif (self.path.startswith("/onap/controlloop/v2/instantiation")) and http_type == "GET": print("self.path start with /instantiation Retrieving Instantiation, generating response json...") - jsonGenerated = "{\"errorDetails\": null,\"affectedControlLoopDefinitions\": [{ \"name\": \"ToscaServiceTemplateSimple\", \"version\": \"1.0.0\" }]}" + jsonGenerated = "{\"controlLoopList\": [{\"name\": \"PMSHInstance0\",\"version\": \"1.0.1\",\"definition\": {},\"state\": \"UNINITIALISED\",\"orderedState\": \"UNINITIALISED\",\"description\": \"PMSH control loop instance 0\",\"elements\": {}}]}"; self._create_cache(jsonGenerated, cached_file_folder, cached_file_header, cached_file_content) return True else: |