Support credential selection for dynamic MCIS creation #1069
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.
동적 MCIS 프로비저닝 관련 요청에 대응하기 위한 PR입니다.
Slack: https://cloud-barista.slack.com/archives/CJQ7575PU/p1649118103799689
기존의 동적 MCIS 생성은
공통 Spec에 지정된 connctionConfig (region에 credential이 혼합된 Spider의 개념)를 활용하여, connectionName 지정 없이
자동으로 MCIS를 생성하였습니다.
그러나, 웹툴 등 다양한 활용 사례를 고려하는 입장에서는
MCIS 생성시 마다, Credential 을 달리하는 경우가 있을 수 있다는 사용자 의견에 동의하였습니다.
이 PR에서의 해결 방안은 다음과 같습니다.
post /mcisDynamicCheckRequest
[입력 예시]
[출력 예시] 참고: connectionConfigCandidates 를 통해 사용 가능 리스트 확보 가능 (Spec에 지정된 RegionName을 기준으로 목록 작성)
[입력 예시]
[출력 예시] 참고: 지정한 spec 중 특정 Spec을 찾을 수 없거나 문제가 발생하면, error처리하지 않고 해당 항목에 systemMessage로 출력
사소한 개선 사항
POST [/mcisDynamicCheckRequest]
POST [/mcisRecommendVm]