Re: Inline-relations-depth: deprecation and its consequences


Simon D Moser
 

Hi Ponraj,


#1) Because IRD can quickly become quite expensive DB query wise, since it
would follow all relations given your query. Eg v2/organizations with IRD
2 or 3 would drag along A LOT of things, most in which you probably aren't
interested in

#2) Yes, in v3 API there is a way to specify what resources you exactly
want when you query - e.g. v3/organizations and you pass (spaces, routes)
because thats what you're really interested in

check the v3 style guide for the correct syntax etc:
https://github.com/cloudfoundry/cc-api-v3-style-guide

Mit freundlichen Grüßen / Kind regards

Simon Moser

Senior Technical Staff Member / IBM Master Inventor
Bluemix Application Platform Lead Architect
Dept. C727, IBM Research & Development Boeblingen

-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-4304
Fax: +49-7031-16-4890
E-Mail: smoser(a)de.ibm.com
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH / Vorsitzender des
Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht
Stuttgart, HRB 243294

**
Great minds discuss ideas; average minds discuss events; small minds
discuss people.
Eleanor Roosevelt



From: "Ponraj E" <ponraj.e(a)gmail.com>
To: cf-dev(a)lists.cloudfoundry.org
Date: 19/11/2015 13:02
Subject: [cf-dev] Re: Inline-relations-depth: deprecation and its
consequences



Hi,

If anyone can provide information on this atleast, it would help.

1. Why the "inline-relations-depth" feature is going to be deprecated.

2. Does cf has planned any other alternative solution in the near future
to replace "inline-relations-depth"?

---------
Ponraj

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.