15 lines
1.1 KiB
Plaintext
15 lines
1.1 KiB
Plaintext
SELECT EXPAND(eservice) FROM (
|
|
MATCH
|
|
{class: EService, as: eservice, where: ($currentMatch['@class'] INSTANCEOF 'EService')}
|
|
.outE('IsIdentifiedBy').inV("SoftwareFacet") {where: (($currentMatch['@class'] INSTANCEOF 'SoftwareFacet') AND name='data-transfer-service' AND group='DataTransfer')}
|
|
.inE('IsIdentifiedBy').outV('Eservice') {where: ($matched.eservice == $currentMatch)}
|
|
.outE('ConsistsOf') {where: (propagationConstraint.add='propagate')}
|
|
.inV("StateFacet") {where: (($currentMatch['@class'] INSTANCEOF 'StateFacet') AND value="down")}
|
|
.inE('ConsistsOf').outV('Eservice') {where: ($matched.eservice == $currentMatch)}
|
|
.outE('ConsistsOf').inV("AccessPointFacet") {where: (($currentMatch['@class'] INSTANCEOF 'AccessPointFacet') AND endpoint="http://smartexecutor1.dev.int.d4science.net:80/data-transfer-service/gcube/resource")}
|
|
.inE('ConsistsOf').outV('Eservice') {where: ($matched.eservice == $currentMatch)}
|
|
.inE('Activates') {where: (id='bd89a311-780d-4efe-93e5-08281e53bce7')}
|
|
.outV("HostingNode") {where: (id='44fac329-eed5-4f18-90ba-a54d5aad316e')}
|
|
RETURN
|
|
eservice
|
|
) |