summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/forWiringTests
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2019-04-07 18:50:42 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2019-04-08 13:25:06 -0400
commit312c14b50f32493fa93fe3e6b757b8d16058a777 (patch)
tree5956721ce6a4bb4eafea5f2249aba0132b796f17 /aai-schema-ingest/src/test/resources/forWiringTests
parent08c1bd4d78a0504e7531876869a7ae0cd9c448df (diff)
Update schema service to fail to start
when all of the schema failed to load so the microservice wouldn't be in a bad state and also have the microservice dictate what versions of schema they are using Issue-ID: AAI-2329 Change-Id: Ie2e6e2bb3bac37b2ad57ada613e7c0e65647b64e Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema-ingest/src/test/resources/forWiringTests')
-rw-r--r--aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-override-test.properties21
-rw-r--r--aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-test.properties3
-rw-r--r--aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-wiring-test.properties1
3 files changed, 24 insertions, 1 deletions
diff --git a/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-override-test.properties b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-override-test.properties
new file mode 100644
index 00000000..1ec59405
--- /dev/null
+++ b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-override-test.properties
@@ -0,0 +1,21 @@
+schema.configuration.location=NA
+server.local.startpath=src/main/resources/
+schema.service.base.url=https://localhost:8452/aai/schema-service/v1/
+schema.service.nodes.endpoint=nodes?version=
+schema.service.edges.endpoint=edgerules?version=
+schema.service.versions.endpoint=versions
+#Remove the below once we remove dependencies on schema-version value
+schema.version.list=v8,v9,v10,v11,v12,v13,v14,v15
+schema.version.depth.start=v10
+schema.version.related.link.start=v10
+schema.version.app.root.start=v11
+schema.version.namespace.change.start=v11
+schema.version.edge.label.start=v12
+schema.version.api.default=v15
+schema.local=true
+mock.filename=mockrequests
+spring.application.name=aai
+schema.translator.list=schema-service
+schema.service.client=mock-no-auth
+schema.translators.needed=nodes,edges
+schema.service.versions.override=true
diff --git a/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-test.properties b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-test.properties
index d27198da..bb5801ab 100644
--- a/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-test.properties
+++ b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-ss-wiring-test.properties
@@ -17,4 +17,5 @@ mock.filename=mockrequests
spring.application.name=aai
schema.translator.list=schema-service
schema.service.client=mock-no-auth
-
+schema.translators.needed=nodes,edges
+#schema.service.versions.override=false
diff --git a/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-wiring-test.properties b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-wiring-test.properties
index f372d06d..9b417044 100644
--- a/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-wiring-test.properties
+++ b/aai-schema-ingest/src/test/resources/forWiringTests/schema-ingest-wiring-test.properties
@@ -18,3 +18,4 @@ mock.filename=edgerequests
spring.application.name=aai
schema.translator.list=schema-service
schema.service.client=mock-no-auth
+schema.translators.needed=edges