IntrospectionConfig.class
})
@TestPropertySource(properties = {
- "schema.translator.list = config"
+ "schema.translator.list = config",
+ "schema.nodes.location=src/test/resources/onap/oxm",
+ "schema.edges.location=src/test/resources/onap/dbedgerules"
})
public class DbSerializer_needsFakeRulesTest {
public ExpectedException thrown = ExpectedException.none();
protected static Graph graph;
-
+
@Autowired
protected EdgeSerializer edgeSer;
@Autowired
System.setProperty("AJSC_HOME", ".");
System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local");
QueryFormatTestHelper.setFinalStatic(AAIConstants.class.getField("AAI_HOME_ETC_OXM"), "src/test/resources/bundleconfig-local/etc/oxm/");
-
+
}
@Before
private DBSerializer getDBSerializerWithSpecificEdgeRules()
throws NoSuchFieldException, AAIException, IllegalAccessException {
-
-
+
+
DBSerializer localDbser = new DBSerializer(version, engine, introspectorFactoryType, "AAI-TEST");
return localDbser;
}