ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Default configuration
OS / ENVIRONMENT
N/A
SUMMARY
The response of GET getKubernetesClusterConfig does not match the entry in GET listApis
GET getKubernetesClusterConfig returns
{
"clusterconfig": {
"id": "<uuid>"
"name": "<cluster name>",
"configdata": "<config data> "
}
}
While
GET listApis specifies:
{
"id": "<uuid>"
"name": "<cluster name>",
"configdata": "<config data> "
}
STEPS TO REPRODUCE
1. Run GET getKubernetesClusterConfig for some kubernetes cluster
2. Run GET listApis and check the entry for the getKubernetesClusterConfig route
It does not match
EXPECTED RESULTS
I expect either GET getKubernetesClusterConfig to return
{
"id": "<uuid>"
"name": "<cluster name>",
"configdata": "<config data> "
}
or GET listApis include the parent struct clusterconfig
ACTUAL RESULTS
GET getKubernetesClusterConfig does not match the corresponding entry in GET listApis


CONTEXT
This issue is related to apache/cloudstack-go#55
cloudstack-go is generated by GET listApis and cannot parse json response right now since it does not expect the parent struct clusterconfig
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Default configuration
OS / ENVIRONMENT
N/A
SUMMARY
The response of GET getKubernetesClusterConfig does not match the entry in GET listApis
GET getKubernetesClusterConfig returns
While
GET listApis specifies:
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect either GET getKubernetesClusterConfig to return
or GET listApis include the parent struct clusterconfig
ACTUAL RESULTS
GET getKubernetesClusterConfig does not match the corresponding entry in GET listApis
CONTEXT
This issue is related to apache/cloudstack-go#55
cloudstack-go is generated by GET listApis and cannot parse json response right now since it does not expect the parent struct clusterconfig