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
|
||||
public void jsonQueryExample1() throws ResourceRegistryException, Exception{
|
||||
String jsonQuery = "{\n"
|
||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"EService\",\n"
|
||||
+ " \"" + Element.TYPE_PROPERTY + "\": \"EService\",\n"
|
||||
+ " \"consistsOf\": [\n"
|
||||
+ " {\n"
|
||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"IsIdentifiedBy\",\n"
|
||||
+ " \"" + Element.TYPE_PROPERTY + "\": \"IsIdentifiedBy\",\n"
|
||||
+ " \"target\": {\n"
|
||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"SoftwareFacet\",\n"
|
||||
+ " \"" + Element.TYPE_PROPERTY + "\": \"SoftwareFacet\",\n"
|
||||
+ " \"group\": \"DataTransfer\",\n"
|
||||
+ " \"name\": \"data-transfer-service\"\n"
|
||||
+ " }\n"
|
||||
+ " }\n"
|
||||
+ " {\n"
|
||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"ConsistsOf\",\n"
|
||||
+ " \"" + Element.TYPE_PROPERTY + "\": \"ConsistsOf\",\n"
|
||||
+ " \"target\": {\n"
|
||||
+ " \"" + Element.CLASS_PROPERTY + "\": \"StateFacet\",\n"
|
||||
+ " \"" + Element.TYPE_PROPERTY + "\": \"StateFacet\",\n"
|
||||
+ " \"value\": \"down\"\n"
|
||||
+ " }\n"
|
||||
+ " }\n"
|
||||
|
|
Loading…
Reference in New Issue