Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

VCD 10.2 vs VCD 9.7 - I see different json result when use VcdApiClient.get('api/session')  #42

Description

@joaquinniram

In VCD 10.2 plugin, I would like to identify if a provider is using the "Plugin", I can do that in 9.7 but not in 10.2.

json Output in VCD 9.7, I can identify if system is using the plugin, thanks to the attribute "org:System":

"authorizedLocations" : { "location" : [ { "otherAttributes" : { }, "link" : [ ], "href" : null, "type" : null, "id" : null, "operationKey" : null, "description" : null, "tasks" : null, "name" : null, "locationId" : "xxxxxxx@xxxxx", "locationName" : null, "siteName" : "xxxxx.com", "orgName" : "System", "restApiEndpoint" : "https://xxxxx.com", "useMultisiteToken" : null, "authContext" : "System", "uiendpoint" : "https://xxxxxx.com", "vCloudExtension" : [ ] } ] }, "locationId" : "xxxxxxx@xxxxx", "org" : "System", "roles" : "Help Desk", "user" : "joaq_helpdesk", "userId" : "urn:vcloud:user:xxxxxxxxx", "vCloudExtension" : [ ] }

** json Output in VCD 10.2**, Here I cannot identify if "System provider" is using the plugin:
"authorizedLocations" : { "location" : [ { "otherAttributes" : { }, "link" : [ ], "href" : null, "type" : null, "id" : null, "operationKey" : null, "description" : null, "tasks" : null, "name" : null, "locationId" : "xxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxx", "locationName" : null, "siteName" : "xxxxxx.com", "orgName" : "Tenant1_test", "restApiEndpoint" : "https://xxxxxxx.com", "useMultisiteToken" : null, "authContext" : "Tenant1_test", "apiVersion" : "35.0", "uiEndpoint" : "https://xxxxxx.com", "vCloudExtension" : [ ] } ] }, "locationId" : "xxxxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxxxxxxxx", "org" : "Tenant1_test", "roles" : "Help Desk", "user" : "joaq_helpdesk", "userId" : "urn:vcloud:user:xxxxxx", "vCloudExtension" : [ ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions