LibraryModulesSchemas libraryModuleSchemas =
LibraryModulesSchemas.create(getClass().getResource("/yang-library.json").toString());
- verifySchemas(libraryModulesSchemas);
+ verifySchemas(libraryModuleSchemas);
}
private static void verifySchemas(final LibraryModulesSchemas libraryModulesSchemas) throws MalformedURLException {
"name": "module-with-revision",
"revision": "2014-04-08",
"schema": "http://localhost:8181/yanglib/schemas/module-with-revision/2014-04-08",
- "namespace": "bla"
+ "namespace": "namespace"
},
{
"name": "another-module-with-revision",
- "revision": "2014-06-08",
- "namespace": "test",
+ "revision": "2013-10-21",
+ "namespace": "another-module-with-revision:namespace",
"schema": "http://localhost:8181/yanglib/schemas/another-module-with-revision/2013-10-21"
},
{
"name": "module-without-revision",
"revision": "",
"namespace": "namespace:module-without-revision",
- "schema": "http://localhost:8181/yanglib/schemas/module-without-revision/2013-10-21"
+ "schema": "http://localhost:8181/yanglib/schemas/module-without-revision/"
}
]
}
-}
\ No newline at end of file
+}