diff options
author | LaMont, William (wl2432) <wl2432@us.att.com> | 2018-08-31 10:56:17 -0400 |
---|---|---|
committer | LaMont, William (wl2432) <wl2432@us.att.com> | 2018-08-31 11:10:32 -0400 |
commit | 571d6f65cf5e0e5334956dbe11730fd47820b947 (patch) | |
tree | ca23e0f64ca2968b4a933cb6a0bb0b4781bc24e8 /src/main/resources/etc/appprops/initialcachekeyconfig.json | |
parent | 6ed92ea7526678f245a9123d2ee97a6a9e2c3bf1 (diff) |
initial code for cacher
Issue-ID: AAI-1473
Change-Id: I8babe91e79f5c1e6e97b0f5b6dc827b8c5caec80
Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
Diffstat (limited to 'src/main/resources/etc/appprops/initialcachekeyconfig.json')
-rw-r--r-- | src/main/resources/etc/appprops/initialcachekeyconfig.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main/resources/etc/appprops/initialcachekeyconfig.json b/src/main/resources/etc/appprops/initialcachekeyconfig.json new file mode 100644 index 0000000..f1fdabe --- /dev/null +++ b/src/main/resources/etc/appprops/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 |