Skip to content

feat: Show associated Nodes (Used By) for Networks/Security Groups/SSH Keys, fix credential key format - #110

Merged
MZC-CSC merged 8 commits into
m-cmp:mainfrom
MZC-CSC:develop
Oct 14, 2026
Merged

MZC-CSC merged 8 commits into
m-cmp:mainfrom
MZC-CSC:develop

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Oct 14, 2026

Copy link
Copy Markdown
Member

What's Changed

Cloud Resources — associated Nodes (Used By) and in-use protection

Networks (VPC), Security Groups and SSH Keys now show which Nodes use each resource, based on mc-infra-manager's associatedObjectList.

  • List: Used By column (number of Nodes) and a Usage filter (All / In use / Unused)
  • Detail: Associated Nodes table (Infra / Node / Subnet / Status / IP) with a link to Infra Workloads; stale Nodes are marked
  • Protection: subnets in use cannot be deleted, a warning is shown before editing the rules of a Security Group in use, and bulk delete skips resources in use and gives a reason for each one

Credential registration — CSP key format

  • When a Provider is selected, the key rows come from mc-infra-manager's CredentialCSP (cloudos metainfo, via ForwardAnyReqToAny), so registration matches the format mc-infra-manager accepts
  • If the lookup fails, a built-in CSP list is used; a response that arrives after the Provider changes is ignored
  • On failure, the server's rejection reason is shown instead of the generic 500 toast

Others

  • KT provider logo image (img_logo_kt.png) replaced
  • conf/api.yaml: mc-iam-manager version 0.6.4 → 0.7.0

yh-noh and others added 8 commits October 12, 2026 10:18
chore: KT provider 로고 이미지 교체
… 리소스 보호 추가

- 목록: Used By 컬럼(associatedObjectList 기준, null/[] 모두 0)과 Usage 필터(All/In use/Unused)
- 상세: Associated Nodes 섹션 — infraId별 GetInfra 1회(동시 3) 조회, 없는 Infra/Node는 Stale reference, 일시 실패는 Unavailable, Infra Workloads 딥링크(?mciID=&nodeId=)
- Networks: Subnet별 사용 Node 수 표시, Edit 모드에서 사용 중 Subnet 삭제 비활성
- Security Groups: 규칙 Edit 시 사용 중 경고 배너
- 삭제: 사용 중 항목은 요청하지 않고 안내(VPC withsubnets 부분 삭제 방지), 실패 시 항목별 실제 사유 표시
- 공통 모듈 common/utils/resourceUsage.js 신설, disks.js의 parseNodeRef/extractErrorMessage 이동
- 삭제 API 래퍼(vpc/securitygroup/sshkey)에 commonAPIPost options 전달 인자 추가
…lCSP)으로 변경

- Provider 선택 시 cloudos metainfo의 CredentialCSP를 조회해 Key 행 생성 (ForwardAnyReqToAny 경유)
- 조회 실패 시 CSP 형식 기본 목록으로 폴백, 조회 중 Provider 변경 시 이전 응답 무시
- 등록 실패 시 서버 거부 사유를 토스트에 표시하고 공통 500 토스트는 억제
fix: Credential 등록 형식(CredentialCSP) 현행화
feat: Networks·Security Groups·SSH Keys 화면에 연관 Node(Used By) 조회와 사용 중 리소스 보호 추가
mc-web-console v0.7.0 릴리스가 mc-iam-manager v0.7.0과 함께 배포되도록 conf/api.yaml에 기록된 mc-iam-manager version을 0.6.4에서 0.7.0으로 맞춘다.
chore: conf/api.yaml의 mc-iam-manager 버전을 0.7.0으로 갱신
@MZC-CSC
MZC-CSC merged commit ddc0de7 into m-cmp:main Oct 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants