What does this pull request do?
Fixing an id to name bug in list resources functionality.
What background context can you provide?
Both User and Variable ctors expect to receive a Name of a resource.
List Variables and Users APIs returns a JSON with full Id of the resource: account:kind:name.
We used this ID straight forward in order to create Variables and Users in corresponded list resources functions. It caused to those resources to be useless because they treated this full id as only a name.
Where should the reviewer start?
conjur-api/Resource.cs
What does this pull request do? Fixing an id to name bug in list resources functionality. What background context can you provide? Both User and Variable ctors expect to receive a Name of a resource. List Variables and Users APIs returns a JSON with full Id of the resource:
account:kind:name
. We used this ID straight forward in order to create Variables and Users in corresponded list resources functions. It caused to those resources to be useless because they treated this full id as only a name. Where should the reviewer start? conjur-api/Resource.cs