{ "type" : "QueryTemplate", "name" : "GCat-Get-CallsFor-to-VirtualService", "description" : "The following query return all CallsFor relation from the EService of gcat identified by the UUID provided as parameter to the Virtual Service with name 'catalogue-virtual-service'. The content of the request to run this query template will be something like {\"$uuid\": \"335580b6-c164-4506-980a-21e5bcf8dbcf\"}", "template" : { "type" : "CallsFor", "source" : { "type" : "EService", "id" : "$uuid", "consistsOf" : [ { "type" : "IsIdentifiedBy", "target" : { "type" : "SoftwareFacet", "group" : "org.gcube.data-catalogue", "name" : "gcat" } } ] }, "target" : { "type" : "VirtualService", "consistsOf" : [ { "type" : "IsIdentifiedBy", "target" : { "type" : "SoftwareFacet", "group" : "org.gcube.data-catalogue", "name" : "catalogue-virtual-service" } } ] } }, "templateVariables" : { "$uuid" : { "type": "TemplateVariable", "name": "$uuid", "description": "The uuid of the gCat EService, e.g. 335580b6-c164-4506-980a-21e5bcf8dbcf. Please note that the default value has no meaning but we need a valid value so that the query can be tested by the resource-registry service.", "defaultValue": "335580b6-c164-4506-980a-21e5bcf8dbcf" } } }