Open SeliukovaYuliya opened 11 months ago
Given:
The response contains all the required info for the processing on our side:
list of roles (resources.entity.space_roles)
username (resources.entity.username)
In v3 I found that roles endpoint should be used: https://v3-apidocs.cloudfoundry.org/version/3.151.0/index.html#list-roles
It has Include parameter to get user, space, organization
org.cloudfoundry library version is 5.10.0.RELEASE
When:
Then:
My query:
PaginationUtils.requestClientV3Resources(page -> getClient(hostName) .rolesV3() .list(ListRolesRequest.builder().spaceId(spaceId) .types(RoleType.SPACE_AUDITOR, RoleType.SPACE_MANAGER, RoleType.SPACE_DEVELOPER) .build()));
ListRolesRequest.builder() doen not provide any option to specify include parameter. What did I do wrong ? Could you please assist here ?
Thank you!
Given:
The response contains all the required info for the processing on our side:
list of roles (resources.entity.space_roles)
username (resources.entity.username)
In v3 I found that roles endpoint should be used: https://v3-apidocs.cloudfoundry.org/version/3.151.0/index.html#list-roles
It has Include parameter to get user, space, organization
org.cloudfoundry library version is 5.10.0.RELEASE
When:
Then:
My query:
ListRolesRequest.builder() doen not provide any option to specify include parameter. What did I do wrong ? Could you please assist here ?
Thank you!