Refactored due to is-model constant name change

This commit is contained in:
Luca Frosini 2023-04-27 10:42:22 +02:00
parent 75b5acb932
commit b04623028e
1 changed files with 5 additions and 5 deletions

View File

@ -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"