diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2021-11-15 14:25:59 +0000 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2021-11-16 11:14:41 +0000 |
commit | aa498ca1fce0d8a267a56bbce4f98f524a0008db (patch) | |
tree | fdc98a740625eeb7ae26333a16590d8c4acf5650 /runtime/src/test/resources | |
parent | e3407078474467bc002a06fefb7af4c97d2c3756 (diff) |
Added Camel Unit Tests For Monitoring
Issue-ID: POLICY-3562
Change-Id: I2270d4c24988258c3ac3428cd70eff29a873df17
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
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: |