Harikrishna Patnala created CLOUDSTACK-2089:
-----------------------------------------------
Summary: API dispatcher not able to handle multiple entities while
translating UUID to internaID
Key: CLOUDSTACK-2089
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2089
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.2.0
Reporter: Harikrishna Patnala
Fix For: 4.2.0
Currently API dispatcher assumes single entity type for UUID defined on
@EntityReference of a response class even if we can able to provide list of
entity types (Class<?>[] entityType()).
This needs to be supported in order to have some kind of generic APIs that has
ID referring multiple entities (of course one entity in one go).
For listing/updating configuration parameters (@Granular global parameters) we
provide scope (zone/cluster/pool/account) and id. This id can be of any
entity(zone/cluster/pool/account).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira