29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
MATCH
|
|
{class: EService, as: eservice0, where: ($currentMatch['@class'] INSTANCEOF 'EService')}
|
|
|
|
.inE('Activates') { as: activates00, where: ($currentMatch['@class'] INSTANCEOF 'Activates')}
|
|
.outV('HostingNode') { as: hostingnode000, where: ($currentMatch['@class'] INSTANCEOF 'HostingNode')}
|
|
.outE('IsIdentifiedBy') { as: isidentifiedby0000, where: ($currentMatch['@class'] INSTANCEOF 'IsIdentifiedBy')}
|
|
.inV('NetworkingFacet') { as: networkingfacet00000, where: ($currentMatch['@class'] INSTANCEOF 'NetworkingFacet')}
|
|
.inE('IsIdentifiedBy') { where: ($matched.isidentifiedby0000 == $currentMatch)}
|
|
.outV('HostingNode') { where: ($matched.hostingnode000 == $currentMatch)}
|
|
.outE('Activates') { where: ($matched.activates00 == $currentMatch)}
|
|
.inV('EService') { where: ($matched.eservice0 == $currentMatch)}
|
|
|
|
.outE('IsIdentifiedBy') { as: isidentifiedby01, where: ($currentMatch['@class'] INSTANCEOF 'IsIdentifiedBy')}
|
|
.inV('SoftwareFacet') { as: softwarefacet010, where: ($currentMatch['@class'] INSTANCEOF 'SoftwareFacet')}
|
|
.inE('IsIdentifiedBy') { where: ($matched.isidentifiedby01 == $currentMatch)}
|
|
.outV('EService') { where: ($matched.eservice0 == $currentMatch)}
|
|
|
|
.outE('ConsistsOf') { as: consistsof02, where: ($currentMatch['@class'] INSTANCEOF 'ConsistsOf')}
|
|
.inV('StateFacet') { as: statefacet020, where: ($currentMatch['@class'] INSTANCEOF 'StateFacet')}
|
|
.inE('ConsistsOf') { where: ($matched.consistsof02 == $currentMatch)}
|
|
.outV('EService') { where: ($matched.eservice0 == $currentMatch)}
|
|
|
|
RETURN
|
|
networkingfacet00000.hostName AS `Host`,
|
|
softwarefacet010.group AS `Group`,
|
|
softwarefacet010.name AS `Name`,
|
|
softwarefacet010.version AS `Version`,
|
|
statefacet020.value AS `Status`,
|
|
eservice0.id AS `ID` |