diff --git a/src/main/resources/query/get-catalogue-virtual-service.json b/src/main/resources/query/get-catalogue-virtual-service.json new file mode 100644 index 0000000..9070bb3 --- /dev/null +++ b/src/main/resources/query/get-catalogue-virtual-service.json @@ -0,0 +1,13 @@ +{ + "@class": "VirtualService", + "consistsOf": [ + { + "@class": "IsIdentifiedBy", + "target": { + "@class": "SoftwareFacet", + "group": "org.gcube.data-catalogue", + "name": "catalogue-virtual-service" + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/query/get-gcat-configuration.json b/src/main/resources/query/get-gcat-configuration.json new file mode 100644 index 0000000..5b07bfb --- /dev/null +++ b/src/main/resources/query/get-gcat-configuration.json @@ -0,0 +1,30 @@ +{ + "@class": "Configuration", + "consistsOf": [ + { + "@class": "IsIdentifiedBy", + "target": { + "@class": "IdentifierFacet", + "value": "gcat-configuration" + } + } + ], + "isRelatedTo": [ + { + "@class": "IsCustomizedBy", + "source": { + "@class": "VirtualService", + "consistsOf": [ + { + "@class": "IsIdentifiedBy", + "target": { + "@class": "SoftwareFacet", + "group": "org.gcube.data-catalogue", + "name": "catalogue-virtual-service" + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/query/get-simple-facet-from-configuration.json b/src/main/resources/query/get-simple-facet-from-configuration.json new file mode 100644 index 0000000..6dfe065 --- /dev/null +++ b/src/main/resources/query/get-simple-facet-from-configuration.json @@ -0,0 +1,19 @@ +{ + "@class": "SimpleFacet", + + "_in": { + "@class": "ConsistsOf", + "source": { + "@class": "Configuration", + "consistsOf": [ + { + "@class": "IsIdentifiedBy", + "target": { + "@class": "IdentifierFacet", + "value": "gcat-configuration" + } + } + ] + } + } +} \ No newline at end of file