From: sblimkie Date: Tue, 20 Feb 2018 21:22:24 +0000 (-0500) Subject: Gizmo to use latest schema X-Git-Tag: 2.0.0-ONAP~21 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fgizmo.git;a=commitdiff_plain;h=91ca7d73d42445945a0078f93635fd2fb6c10503 Gizmo to use latest schema Update Gizmo to use the latest version of the aai-schema and aai relationships Change-Id: I2a8b408b2e55f1bd13ee8800a0d78bdf2c59ecb8 Issue-ID: AAI-482 Signed-off-by: sblimkie --- diff --git a/pom.xml b/pom.xml index 4397be5..0f50c7b 100644 --- a/pom.xml +++ b/pom.xml @@ -99,7 +99,7 @@ org.onap.aai.aai-common aai-schema - 1.2.0 + 1.2.1-SNAPSHOT org.onap.aai.aai-common @@ -109,7 +109,7 @@ org.onap.aai.aai-common aai-core - 1.2.0 + 1.2.1-SNAPSHOT * diff --git a/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java b/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java index a2b9956..4dc25d8 100644 --- a/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java +++ b/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java @@ -41,7 +41,7 @@ public class RelationshipSchemaLoaderTest { RelationshipSchemaLoader.loadModels("v11"); String version = RelationshipSchemaLoader.getLatestSchemaVersion(); RelationshipSchema g = RelationshipSchemaLoader.getSchemaForVersion(version); - assertNotNull(g.lookupRelationType("isMemberOf")); + assertNotNull(g.lookupRelationType("org.onap.relationships.inventory.BelongsTo")); } @Test @@ -88,4 +88,4 @@ public class RelationshipSchemaLoaderTest { RelationshipSchemaLoader.setVersionContextMap(versionMap); assertNotNull(RelationshipSchemaLoader.getSchemaForVersion("v1").lookupRelationType("groupsResourcesIn")); } -} \ No newline at end of file +}