aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-09-15 10:25:07 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-09-15 10:25:32 -0400
commit14ea4802d70f479f8d777bb52cf42b3a644c896a (patch)
tree22eb3200a1c016dfb5c36f5abd59eaaae48be342 /aai-core/src/test/resources
parent4bf722bff30e0b08586946eb973facf0022d3989 (diff)
Increase the coverage to 35% for aai-common
Issue-ID: AAI-215 Change-Id: I783fc2207aa782a1b8bb55a730a341fa89b4c094 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/src/test/resources')
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-cached.properties17
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-realtime.properties14
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml4
3 files changed, 33 insertions, 2 deletions
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-cached.properties b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-cached.properties
new file mode 100644
index 00000000..2afe2234
--- /dev/null
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-cached.properties
@@ -0,0 +1,17 @@
+query.fast-property=true
+# the following parameters are not reloaded automatically and require a manual bounce
+storage.backend=inmemory
+storage.hostname=mtanjv9aads01.nvp.cip.att.com,mtanjv9aads02.nvp.cip.att.com,mtanjv9aads03.nvp.cip.att.com
+
+#schema.default=none
+storage.lock.wait-time=300
+storage.hbase.table=aaigraph-dev1.dev
+storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure
+#caching on
+cache.db-cache = true
+cache.db-cache-clean-wait = 20
+cache.db-cache-time = 180000
+cache.db-cache-size = 0.3
+
+#load graphson file on startup
+load.snapshot.file=false \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-realtime.properties b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-realtime.properties
new file mode 100644
index 00000000..9c5c0299
--- /dev/null
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/titan-realtime.properties
@@ -0,0 +1,14 @@
+query.fast-property=true
+# the following parameters are not reloaded automatically and require a manual bounce
+storage.backend=inmemory
+storage.hostname=mtanjv9aads01.nvp.cip.att.com,mtanjv9aads02.nvp.cip.att.com,mtanjv9aads03.nvp.cip.att.com
+
+#schema.default=none
+storage.lock.wait-time=300
+storage.hbase.table=aaigraph-dev1.dev
+storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure
+# Setting db-cache to false ensure the fastest propagation of changes across servers
+cache.db-cache = false
+
+#load graphson file on startup
+load.snapshot.file=false \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
index 3822a54b..7daf12ab 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
@@ -4497,8 +4497,8 @@
<xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
<xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
<xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
+ <xml-element java-attribute="svcInfra" name="svcInfra" type="java.lang.String" />
+ <xml-element java-attribute="svcInfraRev" name="svcInfraRev" type="java.lang.String" />
</java-attributes>
</java-type>