Title: Response of GET getKubernetesClusterConfig does not match the entry in GET listApis · Issue #7425 · apache/cloudstack · GitHub
Open Graph Title: Response of GET getKubernetesClusterConfig does not match the entry in GET listApis · Issue #7425 · apache/cloudstack
X Title: Response of GET getKubernetesClusterConfig does not match the entry in GET listApis · Issue #7425 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Default configuration OS / ENVIRONMENT N/A SUMMARY The response of GET getKubernetesClusterConfig does not match the entry in GET listApis GET getKubernetesCl...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Default configuration OS / ENVIRONMENT N/A SUMMARY The response of GET getKubernetesClusterConfig does not match the e...
X Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Default configuration OS / ENVIRONMENT N/A SUMMARY The response of GET getKubernetesClusterConfig does not match the e...
Opengraph URL: https://github.com/apache/cloudstack/issues/7425
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Response of GET getKubernetesClusterConfig does not match the entry in GET listApis","articleBody":"##### ISSUE TYPE\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n~~~\r\nAPI\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n~~~\r\n4.18\r\n~~~\r\n\r\n##### CONFIGURATION\r\nDefault configuration\r\n\r\n##### OS / ENVIRONMENT\r\nN/A\r\n\r\n##### SUMMARY\r\n\r\nThe response of **GET getKubernetesClusterConfig** does not match the entry in **GET listApis**\r\n\r\nGET getKubernetesClusterConfig returns\r\n```\r\n{\r\n \"clusterconfig\": {\r\n \"id\": \"\u003cuuid\u003e\"\r\n \"name\": \"\u003ccluster name\u003e\",\r\n \"configdata\": \"\u003cconfig data\u003e \"\r\n }\r\n}\r\n```\r\n\r\nWhile\r\nGET listApis specifies:\r\n```\r\n{\r\n \"id\": \"\u003cuuid\u003e\"\r\n \"name\": \"\u003ccluster name\u003e\",\r\n \"configdata\": \"\u003cconfig data\u003e \"\r\n}\r\n```\r\n\r\n##### STEPS TO REPRODUCE\r\n~~~\r\n1. Run GET getKubernetesClusterConfig for some kubernetes cluster\r\n2. Run GET listApis and check the entry for the getKubernetesClusterConfig route\r\n\r\nIt does not match\r\n~~~\r\n\r\n##### EXPECTED RESULTS\r\n\r\nI expect **either** GET getKubernetesClusterConfig to return\r\n```\r\n{\r\n \"id\": \"\u003cuuid\u003e\"\r\n \"name\": \"\u003ccluster name\u003e\",\r\n \"configdata\": \"\u003cconfig data\u003e \"\r\n}\r\n```\r\n\r\n**or** GET listApis include the parent struct *clusterconfig*\r\n\r\n\r\n##### ACTUAL RESULTS\r\nGET getKubernetesClusterConfig does not match the corresponding entry in GET listApis \r\n\r\n\r\n\r\n\r\n\r\n\r\n##### CONTEXT\r\n\r\nThis issue is related to https://github.com/apache/cloudstack-go/issues/55\r\n\r\ncloudstack-go is generated by GET listApis and cannot parse json response right now since it does not expect the parent struct *clusterconfig*\r\n\r\n\r\n","author":{"url":"https://github.com/saffronjam","@type":"Person","name":"saffronjam"},"datePublished":"2023-04-11T12:12:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/7425/cloudstack/issues/7425"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fdfb1744-9f78-dd86-5462-43fb7a74cb35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBF6:141FAF:1F13A35:2ABBDBF:6A4EC2FD |
| html-safe-nonce | 9211df16d30a942a7a092df83d64e99d677debf60d4e2b71947c05a635d19ac2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkY2OjE0MUZBRjoxRjEzQTM1OjJBQkJEQkY6NkE0RUMyRkQiLCJ2aXNpdG9yX2lkIjoiMTM5NzMwNDYwNDM2NjkxNDMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ff39cd0e4e61f9bf74139b7b3d01135cefe84732fab2411fc3f04b06a1223e3e |
| hovercard-subject-tag | issue:1662353370 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/7425/issue_layout |
| twitter:image | https://opengraph.githubassets.com/324deceab036f41728f49f189a11d6025e602040c810afa5badb05a5f7d61b39/apache/cloudstack/issues/7425 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/324deceab036f41728f49f189a11d6025e602040c810afa5badb05a5f7d61b39/apache/cloudstack/issues/7425 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Default configuration OS / ENVIRONMENT N/A SUMMARY The response of GET getKubernetesClusterConfig does not match the e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | saffronjam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width