aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorbogumil_zebek <bogumil.zebek@nokia.com>2019-01-11 12:00:51 +0100
committerJames Forsyth <jf2512@att.com>2019-02-18 22:58:23 +0000
commit81ba5d09fe2d72a5679a9e690e8b559755560433 (patch)
tree34c13e30ebb91f946105841c4933386a702c44e2 /src/test/resources
parent0b34ffe4688a8dfd0c448fb1141926ede555d8df (diff)
Add missing tests
Issue-ID: AAI-2070 Change-Id: I141d4ba7609cb592dad8a1f32100a59442fe6326 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Verify cache configuration processing Issue-ID: AAI-2070 Change-Id: I235c779ccc7a33769465113e3cbf2d7b81ee3b82 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Fix sonar violations Change-Id: Ie724d74ca833a1ee16ff37203916a2231dba41ed Issue-ID: AAI-2070 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/test/etc/initialcachekeyconfig.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/test/resources/test/etc/initialcachekeyconfig.json b/src/test/resources/test/etc/initialcachekeyconfig.json
new file mode 100644
index 0000000..f1fdabe
--- /dev/null
+++ b/src/test/resources/test/etc/initialcachekeyconfig.json
@@ -0,0 +1,41 @@
+{
+ "cachekeys":
+ [
+ {
+ "cacheKey": "cloud-region",
+ "baseUrl": "https://AAI:AAI@localhost:8447",
+ "module": "/aai/v13/",
+ "URI": "cloud-infrastructure/cloud-regions?depth=0&resultIndex=1&resultSize=3",
+ "timingIndicator": "onInit",
+ "httpMethod": "GET",
+ "parserStrategy": "aai-resource-get-all"
+ },
+ {
+ "cacheKey": "complex",
+ "baseUrl": "https://AAI:AAI@localhost:8447",
+ "module": "/aai/v13/",
+ "URI": "cloud-infrastructure/complexes?resultIndex=1&resultSize=3",
+ "timingIndicator": "onInit",
+ "httpMethod": "GET",
+ "parserStrategy": "aai-resource-get-all"
+ },
+ {
+ "cacheKey": "pserver",
+ "baseUrl": "https://AAI:AAI@localhost:8447",
+ "module": "/aai/v13/",
+ "URI": "cloud-infrastructure/pservers?depth=5807c3c3-92cd-44d7-a508-8539cd36ecda&resultIndex=1&resultSize=3",
+ "timingIndicator": "onInit",
+ "httpMethod": "GET",
+ "parserStrategy": "aai-resource-get-all"
+ },
+ {
+ "cacheKey": "generic-vnf",
+ "baseUrl": "https://AAI:AAI@localhost:8447",
+ "module": "/aai/v13/",
+ "URI": "network/generic-vnfs?depth=5807c3c3-92cd-44d7-a508-8539cd36ecda&resultIndex=1&resultSize=3",
+ "timingIndicator": "onInit",
+ "httpMethod": "GET",
+ "parserStrategy": "aai-resource-get-all"
+ }
+ ]
+} \ No newline at end of file