Fixed comments with examples

This commit is contained in:
Luca Frosini 2022-07-14 15:48:36 +02:00
parent 1bf2725078
commit 0ffca0008e
1 changed files with 7 additions and 8 deletions

View File

@ -310,28 +310,27 @@ public class Access extends BaseRest {
} }
/* /*
* /access/query/{RESOURCE_TYPE_NAME}/{RELATION_TYPE_NAME}/{ENTITY_TYPE_NAME}[?reference={REFERENCE_ENTITY_UUID}&polymorphic=true&direction=out] * /access/query/{RESOURCE_TYPE_NAME}/{RELATION_TYPE_NAME}/{ENTITY_TYPE_NAME}[?_reference={REFERENCE_ENTITY_UUID}&_polymorphic=true&_direction=out]
* *
* e.g. * e.g.
* All the EService identified By a SoftwareFacet : * All the EService identified By a SoftwareFacet :
* GET /access/query/EService/isIdentifiedBy/SoftwareFacet?polymorphic=true&direction=out * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?_polymorphic=true&_direction=out
* *
* All the EService identified By the SoftwareFacet with UUID 7bc997c3-d005-40ff-b9ed-c4b6a35851f1 : * All the EService identified By the SoftwareFacet with UUID 7bc997c3-d005-40ff-b9ed-c4b6a35851f1 :
* GET /access/query/EService/isIdentifiedBy/SoftwareFacet?reference=7bc997c3-d005-40ff-b9ed-c4b6a35851f1&polymorphic=true&direction=out * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?_reference=7bc997c3-d005-40ff-b9ed-c4b6a35851f1&_polymorphic=true&_direction=out
* *
* All the Resources identified By a ContactFacet : * All the Resources identified By a ContactFacet :
* GET /access/query/Resource/isIdentifiedBy/ContactFacet?polymorphic=true&direction=out * GET /access/query/Resource/isIdentifiedBy/ContactFacet?_polymorphic=true&_direction=out
* *
* All the Resources with a ContactFacet : * All the Resources with a ContactFacet :
* /access/query/Resource/ConsistsOf/ContactFacet?polymorphic=true&direction=out * /access/query/Resource/ConsistsOf/ContactFacet?_polymorphic=true&_direction=out
* *
* All the Eservice having an incoming (IN) Hosts relation with an HostingNode (i.e. all smartgears services) * All the Eservice having an incoming (IN) Hosts relation with an HostingNode (i.e. all smartgears services)
* GET /access/query/EService/Hosts/HostingNode?polymorphic=true&direction=in * GET /access/query/EService/Hosts/HostingNode?_polymorphic=true&_direction=in
* *
* All the Eservice having an incoming (IN) Hosts relation (i.e. hosted by) the HostingNode with UUID * All the Eservice having an incoming (IN) Hosts relation (i.e. hosted by) the HostingNode with UUID
* 16032d09-3823-444e-a1ff-a67de4f350a * 16032d09-3823-444e-a1ff-a67de4f350a
* * * GET /access/query/EService/hosts/HostingNode?_reference=16032d09-3823-444e-a1ff-a67de4f350a8&_polymorphic=true&_direction=in
* GET /access/query/EService/hosts/HostingNode?reference=16032d09-3823-444e-a1ff-a67de4f350a8&polymorphic=true&direction=in
* *
*/ */
@SuppressWarnings({"rawtypes"}) @SuppressWarnings({"rawtypes"})