Refactored due to is-model constant name change
This commit is contained in:
parent
75b5acb932
commit
b04623028e
|
@ -209,20 +209,20 @@ public class ResourceRegistryClientTestWikiExamples extends ContextTest {
|
||||||
@Test
|
@Test
|
||||||
public void jsonQueryExample1() throws ResourceRegistryException, Exception{
|
public void jsonQueryExample1() throws ResourceRegistryException, Exception{
|
||||||
String jsonQuery = "{\n"
|
String jsonQuery = "{\n"
|
||||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"EService\",\n"
|
+ " \"" + Element.TYPE_PROPERTY + "\": \"EService\",\n"
|
||||||
+ " \"consistsOf\": [\n"
|
+ " \"consistsOf\": [\n"
|
||||||
+ " {\n"
|
+ " {\n"
|
||||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"IsIdentifiedBy\",\n"
|
+ " \"" + Element.TYPE_PROPERTY + "\": \"IsIdentifiedBy\",\n"
|
||||||
+ " \"target\": {\n"
|
+ " \"target\": {\n"
|
||||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"SoftwareFacet\",\n"
|
+ " \"" + Element.TYPE_PROPERTY + "\": \"SoftwareFacet\",\n"
|
||||||
+ " \"group\": \"DataTransfer\",\n"
|
+ " \"group\": \"DataTransfer\",\n"
|
||||||
+ " \"name\": \"data-transfer-service\"\n"
|
+ " \"name\": \"data-transfer-service\"\n"
|
||||||
+ " }\n"
|
+ " }\n"
|
||||||
+ " }\n"
|
+ " }\n"
|
||||||
+ " {\n"
|
+ " {\n"
|
||||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"ConsistsOf\",\n"
|
+ " \"" + Element.TYPE_PROPERTY + "\": \"ConsistsOf\",\n"
|
||||||
+ " \"target\": {\n"
|
+ " \"target\": {\n"
|
||||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"StateFacet\",\n"
|
+ " \"" + Element.TYPE_PROPERTY + "\": \"StateFacet\",\n"
|
||||||
+ " \"value\": \"down\"\n"
|
+ " \"value\": \"down\"\n"
|
||||||
+ " }\n"
|
+ " }\n"
|
||||||
+ " }\n"
|
+ " }\n"
|
||||||
|
|
Loading…
Reference in New Issue