From ab1a2ed3d961919008bad949e62fcf3ba722c2ce Mon Sep 17 00:00:00 2001 From: jjia Date: Mon, 31 Dec 2018 12:18:59 -0500 Subject: Update Data Router with new schema ingest lib Issue-ID: AAI-2044 Change-Id: I905ee7ce7716538a8336ff30a4a0286cb7685f2f Signed-off-by: jjia --- src/test/resources/config/schemaIngest.properties | 37 ++++++++++++++++++----- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'src/test/resources/config/schemaIngest.properties') diff --git a/src/test/resources/config/schemaIngest.properties b/src/test/resources/config/schemaIngest.properties index 3c51c3d..dc70df1 100644 --- a/src/test/resources/config/schemaIngest.properties +++ b/src/test/resources/config/schemaIngest.properties @@ -1,16 +1,37 @@ # Properties for the SchemaLocationsBean # Properties required by the aai-common - aai-schema-ingest lib as of 1.3.0 schema.configuration.location=N/A -schema.nodes.location=src/test/resources/oxm-reader/oxm +schema.nodes.location=${APP_HOME}/target/oxm/${testShemaUnpackVersion}/oxm schema.edges.location= # These versions need to exist if they are included in the list -schema.version.list=v8,v9,v10,v11,v12,v13 +schema.version.list=v10,v11,v12,v13,v14,v15 # Decalares the oxm version to load -schema.version.api.default=v13 +schema.version.api.default=v15 # Don't use these properties in our application, need to be set to prevent an exception on startup (see SchemaVersions bean) -schema.version.depth.start=v13 -schema.version.related.link.start=v13 -schema.version.app.root.start=v13 -schema.version.namespace.change.start=v13 -schema.version.edge.label.start=v13 \ No newline at end of file +schema.version.depth.start=v15 +schema.version.related.link.start=v15 +schema.version.app.root.start=v15 +schema.version.namespace.change.start=v15 +schema.version.edge.label.start=v15 + +#This property is used to enable or disable schema service, possible values are: schema-service or config +schema.translator.list=config + +#These properties are needed when schema service is enabled +schema.service.base.url=https://localhost:8443/aai/schema-service/v1/ +schema.service.nodes.endpoint=nodes?version= +schema.service.edges.endpoint=edgerules?version= +schema.service.versions.endpoint=versions +schema.local=true +schema.filename=mockrequests +#Default rest client is the two-way-ssl +#schema.service.client=two-way-ssl +#Replace the below with the A&AI client key store +schema.service.ssl.key-store=${CONFIG_HOME}/auth/client-cert-onap.p12 +#Replace the below with the A&AI tomcat trust store +schema.service.ssl.trust-store=${CONFIG_HOME}/auth/tomcat_keystore +schema.service.ssl.trust-store-password=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 +#OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o +schema.service.ssl.key-store-password=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 +spring.application.name=datarouter -- cgit 1.2.3-korg