MartinoMensio / DP2-Labs

Distributed Programming 2 Laboratories @ Polytechnic University of Turin
MIT License
1 stars 0 forks source link

Granularity of resources #31

Closed MartinoMensio closed 7 years ago

MartinoMensio commented 7 years ago

The following resources need discussion:

1) nffg/nodes 2) nffg/nodes/node 3) nffg/nodes/node/links (filtered links outgoing from a certain node) (contains cross references to link) 4) nffg/links 5) nffg/links/link 6) nffg/links/link/src (contains cross reference to node) 7) nffg/links/link/dst (contains cross reference to node) 8) policy/nffg (contains cross reference to nffg) 9) policy/src (contains cross reference to node) 10) policy/dst (contains cross reference to node)

Possible options:

Consider to add a queryParam to parent resources not to include child lists. Something like detail=false

MartinoMensio commented 7 years ago

Better to leave only resources strictly needed and required. So remove all the 10 from the list

MartinoMensio commented 7 years ago

They have been removed in 4d1394b and in 406cdcf