diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-10-15 18:02:21 +0100 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-10-19 15:07:29 +0100 |
commit | 125e445b650897d75967ed8d3710098a7702cf04 (patch) | |
tree | 817af70accb104dc5aedf107a97288b5b2d54ef9 /models-interactions/model-simulators/src/main/resources | |
parent | 6ed822fabd7c39e71b821134fcf8ac299e261108 (diff) |
Improve AAI simulator by configuring responses
Change-Id: Ide7f572dac91110a5d560fc388dd87246c9d195b
Issue-ID: POLICY-3709
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'models-interactions/model-simulators/src/main/resources')
-rw-r--r-- | models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/demo-pnf.json (renamed from models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/AaiGetPnfResponse.json) | 0 | ||||
-rw-r--r-- | models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-cq.json | 14 | ||||
-rw-r--r-- | models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-pnf.json | 14 | ||||
-rw-r--r-- | models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-vnf.json | 14 |
4 files changed, 42 insertions, 0 deletions
diff --git a/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/AaiGetPnfResponse.json b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/demo-pnf.json index ce8eb75a7..ce8eb75a7 100644 --- a/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/AaiGetPnfResponse.json +++ b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/demo-pnf.json diff --git a/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-cq.json b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-cq.json new file mode 100644 index 000000000..b06e534ce --- /dev/null +++ b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-cq.json @@ -0,0 +1,14 @@ +{ + "requestError": { + "serviceException": { + "messageId": "SVC3001", + "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)", + "variables": [ + "GET", + "v16/query", + "Node Not Found. Start URI returned no vertexes, please check the start URI", + "ERR.5.4.6148" + ] + } + } +}
\ No newline at end of file diff --git a/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-pnf.json b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-pnf.json new file mode 100644 index 000000000..e3c981c21 --- /dev/null +++ b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-pnf.json @@ -0,0 +1,14 @@ +{ + "requestError": { + "serviceException": { + "messageId": "SVC3001", + "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)", + "variables": [ + "GET", + "network/pnfs/pnf", + "Node Not Found:No Node of type pnf found at: network/pnfs/pnf", + "ERR.5.4.6114" + ] + } + } +}
\ No newline at end of file diff --git a/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-vnf.json b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-vnf.json new file mode 100644 index 000000000..e636c6f96 --- /dev/null +++ b/models-interactions/model-simulators/src/main/resources/org/onap/policy/simulators/aai/invalid-vnf.json @@ -0,0 +1,14 @@ +{ + "requestError": { + "serviceException": { + "messageId": "SVC3001", + "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)", + "variables": [ + "GET", + "network/generic-vnfs/generic-vnf", + "Node Not Found:No Node of type generic-vnf found at: network/generic-vnfs/generic-vnf", + "ERR.5.4.6114" + ] + } + } +}
\ No newline at end of file |