Enhance registerExistingVNet
feature
#1018
Merged
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.
#1016 (comment) 댓글의 내용대로,
사용자가
registerExistingVNet
API 호출 시cspVNetId
필드를 빈칸으로 두면=> 사용자가 Request body 에 명시한
connectionName
과name
으로 CB-Spider에 조회하여Get 성공하면 TB object로 등록
cspVNetId
필드를 명시하면=> CB-Spider의
regvpc
API를 호출하여CSP에만 있는 자원을 SP에도 등록하고 TB에도 등록하도록 하였습니다.