fix(mci): update API field names and pathParam for infra#74
Merged
Conversation
mciDynamic, mciDynamicReview 함수에서 tumblebug /infraDynamic API에 전달하는 요청 본문의 필드명을 subGroups에서 nodeGroups로 수정한다. tumblebug InfraReq 구조체는 nodeGroups 필드를 required로 선언하므로 subGroups로 보내면 nodeGroups: null로 인식되어 VM 프로비저닝이 수행되지 않고 MCI가 Prepared 상태에 머무르는 문제가 있었다.
… change - Replace all mci.vm references with mci.node in mci.js (tumblebug renamed field) - Add null guard in displayServerStatusList to prevent crash when node list is empty - Fix mciDynamic/mciDynamicReview: subGroups→nodeGroups (tumblebug required field) - Fix getMciInfoProviderNames: mciData.vm→mciData.node - Fix providerFormatter/providerFormatterString: data.getData().vm→node - Fix providerFilter: data.vm→data.node
tumblebug renamed path parameter {mciId} to {infraId} in all infra endpoints.
Update all pathParams keys in mci_api.js accordingly so the proxy can substitute
the path variable correctly (GetInfra, mciLifeCycle, mciDelete, vmDelete, vmLifeCycle, etc.)
fix: MCI 동적 생성 시 subGroups → nodeGroups 필드명 수정
fix(mci): update vm→node field names for tumblebug API change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mciId→infraIdin API callsvm→nodefield names andnodeGroupsfor tumblebug API changesubGroups→nodeGroups필드명 수정