summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2018-01-15 00:47:04 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2018-01-15 00:47:41 -0500
commit13ed8f4be0bc42a9f79a33a1b0ff63cc66ddea1a (patch)
tree709982f98b5025dcaa287e2052d04a4b5a849356 /aai-core/src/test/resources
parent47f4b66b45250e00260905ac3ec34b9ddb1a5362 (diff)
Add utilites and unit tests to help coverage
Issue-ID: AAI-649 Change-Id: Ia855abe83692d86f4243f98ca75737c991da8976 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/aaiconfig.properties5
-rw-r--r--aai-core/src/test/resources/payloads/templates/pserver.json28
-rw-r--r--aai-core/src/test/resources/payloads/templates/relationship.json4
3 files changed, 37 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 3da02475..c91976f3 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
@@ -25,3 +25,8 @@ aai.resourceversion.enableflag=true
aai.logging.maxStackTraceEntries=10
aai.default.api.version=v9
+aai.server.rebind=g
+aai.run.migrations=false
+ecm.auth.password.x=OBF:1igd1i9a1jnb1yte1vv11vu91yt81jk71i6o1idt
+
+aai.jms.enable=false
diff --git a/aai-core/src/test/resources/payloads/templates/pserver.json b/aai-core/src/test/resources/payloads/templates/pserver.json
new file mode 100644
index 00000000..c1c261a4
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/templates/pserver.json
@@ -0,0 +1,28 @@
+{
+ "hostname": "${hostname}",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-36969",
+ "number-of-cpus": 62220,
+ "disk-in-gigabytes": 872,
+ "ram-in-megabytes": 35331,
+ "equip-type": "example-equip-type-val-22986",
+ "equip-vendor": "example-equip-vendor-val-37452",
+ "equip-model": "example-equip-model-val-14665",
+ "fqdn": "example-fqdn-val-33429",
+ "pserver-selflink": "example-pserver-selflink-val-10125",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-3155",
+ "serial-number": "example-serial-number-val-12010",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-77686",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-17856",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-33665",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-6210",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-40977",
+ "inv-status": "example-inv-status-val-3682",
+ "pserver-id": "example-pserver-id-val-82142",
+ "internet-topology": "example-internet-topology-val-56425",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-53802",
+ "purpose": "example-purpose-val-90218",
+ "prov-status": "example-prov-status-val-11642",
+ "management-option": "example-management-option-val-91111",
+ "host-profile": "example-host-profile-val-36247"
+} \ No newline at end of file
diff --git a/aai-core/src/test/resources/payloads/templates/relationship.json b/aai-core/src/test/resources/payloads/templates/relationship.json
new file mode 100644
index 00000000..ea07d5e7
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/templates/relationship.json
@@ -0,0 +1,4 @@
+{
+ "related-to": "${related-to}",
+ "related-link": "${related-link}"
+} \ No newline at end of file