summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources
diff options
context:
space:
mode:
authorYoo, Brian (by703c) <by703c@att.com>2020-03-12 14:20:05 -0400
committerJames Forsyth <jf2512@att.com>2020-03-12 19:17:02 +0000
commit67b5d58cad5dfc1a7b075a685bb4e65c3dd5f632 (patch)
tree8082c0a30863d79c77c38a108c870aec192d43c6 /aai-core/src/test/resources
parente062d90200373473b21b42b8b5f0d8ae18155494 (diff)
Adding test cases to aai-core to increase coverage
Issue-ID: AAI-2828 Change-Id: I81e62cb1e1e984291bcd77c544f18d2d511b9d07 Signed-off-by: Yoo, Brian (by703c) <by703c@att.com>
Diffstat (limited to 'aai-core/src/test/resources')
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties4
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/related-link-and-relationship-data.json8
2 files changed, 12 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
index f0e09d40..c7eaad36 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
@@ -57,3 +57,7 @@ aai.rest.getall.depthparam=someuuid
aaf.valid.issuer.wildcard=aaf wild card issuer|aafWildCardIssuer|OU=another
aai.implied.delete.whitelist.junit='pserver','l-interface'
+
+aai.timeout.enabled=true
+aai.timeout.by.app=from-app-id-01,100|from-app-id-02,200
+aai.timeout.default.limit=500
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/related-link-and-relationship-data.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/related-link-and-relationship-data.json
new file mode 100644
index 00000000..da957497
--- /dev/null
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/related-link-and-relationship-data.json
@@ -0,0 +1,8 @@
+{
+ "related-to": "generic-vnf",
+ "related-link": "http://localhost/aai/v10/network/generic-vnfs/generic-vnf/key1",
+ "relationship-data" : [{
+ "relationship-key" : "generic-vnf.vnf-id",
+ "relationship-value":"key1"
+ }]
+}