Skip to content

feat: 비동기 알림, Infra Template, PMK NodeGroup/추천 개선 - #97

Merged
MZC-CSC merged 30 commits into
m-cmp:mainfrom
MZC-CSC:develop
Jul 16, 2026
Merged

feat: 비동기 알림, Infra Template, PMK NodeGroup/추천 개선#97
MZC-CSC merged 30 commits into
m-cmp:mainfrom
MZC-CSC:develop

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • feat: Persist requestId async jobs in Postgres / Requests navbar UX (#221)
  • feat: requestId-based async toast and notification center (#220)
  • feat: consume IAM menu resource fields for viewType routing (#219)
  • feat: Infra Template 관리 및 template 기반 MCI 생성 (#217)
  • fix: PMK image search id 분리 (#218)
  • fix: Spec Recommendation 테이블 Region/스크롤/상세 칼럼 (#214)
  • fix: PMK NodeGroup dynamic / plus icon / multi-send (#213, #215, #216)

yh-noh and others added 30 commits July 13, 2026 14:34
- Infra Template 관리 화면 신규 (/webconsole/operations/manage/workloads/infratemplates)
  - 목록/상세(nodeGroups 구성·raw JSON)/생성(기존 MCI 추출·JSON 직접 입력)/수정/삭제/전체삭제
- MCI 생성 화면에 From Template 배포 추가 — template 선택 후 이름 지정만으로
  저장된 형상 그대로 provisioning (PostInfraDynamicFromTemplate)
- MCI 목록에 Save as Template 추가 — 기존 MCI 형상 추출(configCopy) 후 template 저장
- API 계층 신규: infratemplate_api.js (Infra Dynamic Template 8종 operationId)
- 백엔드 변경 없음 (conf/api.yaml 기등록 operationId 사용)
fix: send all accumulated node groups on PMK deploy
fix: keep single NodeGroup add button after Done in PMK cluster form
fix: align PMK NodeGroup dynamic request with K8s NodeGroup schema
- Create MCI 헤더 [From Template] 버튼 제거 → Deployment Algorithm select에
  Template 옵션 추가, 선택 시 template 선택 모달 오픈
- 모달 오픈 전 MCI Name 입력 선검증 (미입력 시 alert + express 원복)
- 모달 취소/닫기 시 select를 이전 값으로 원복 (displayNewServerForm 분기 보호)
- Deploy 버튼(PostInfraDynamicReview→PostInfraDynamic)과 Deploy from Template
  (PostInfraDynamicFromTemplate)은 독립 경로 — 테스트로 미호출 검증
- 목록에서 template 선택 시 provision될 구성 표시 (readonly):
  Description + NodeGroups 표(Spec/Image/Size/Connection/Root Disk/Zone) + Post Command
- 미선택 시 안내 문구, 재오픈 시 초기화 (rowSelectionChanged 연동)
- 7칼럼 표 가독성을 위해 모달 폭 modal-lg → modal-xl
- alert 6곳 → webconsolejs common/utils/toast showToast (ERROR/SUCCESS)
- 배포 성공 시 SUCCESS 토스트 표시 후 1.5초 지연 redirect
- 기존 함수(createMciDynamic 등)의 alert는 범위 밖 유지
fix(pmk): Node Recommendation 모달 id 중복 해소 (image-search → cluster-spec-search)
fix(mci): Spec Recommendation 테이블 Region 잘림·가로 스크롤·표시 항목 보완
- commonAPIPost가 오류를 throw하지 않고 error 객체를 반환하므로
  response.status === 200 명시 검증 — 실패 시 성공 토스트/redirect 차단, 모달 유지
- 장시간 동기 배포(~35초) 대기 중 재클릭으로 중복 요청(400 already exists)이
  발생하던 문제: in-flight 가드 + Deploy 버튼 disable로 차단
- 배포 진행 상태를 progress toast로 표시 (loaderType toast 옵션 패스스루)
Add generic iframe loader and _view/{menuId} shell, sidebar viewType
branching, and Menus UI fields for viewType/frameworkService/path.
feat: consume IAM menu resource fields for viewType routing
- PostInfraDynamicFromTemplate를 await 없이 발사(fire-and-forget)하고
  즉시 완료 토스트 → 1.5초 후 목록 이동 (mciDynamic과 동일 UX)
- 응답 검증·progress toast 제거 (loaderType none), tumblebug는 클라이언트
  연결 종료 후에도 생성을 계속하므로 안전
- in-flight 가드/버튼 disable은 redirect 전 중복 발사 방지용으로 유지
feat(mci): Infra Template 관리 화면 및 template 기반 MCI 생성 기능 추가
Track long-running mc-infra-manager create/control/delete/nodegroup
operations via x-request-id + GetRequest polling, with navbar Requests
badge for in-progress jobs (WEB-TECH-017).
[feat]: requestId async toast + notification center (WEB-TECH-017)
Store Handling rows from the infra Proxy, poll GetRequest to update
started/finished status, expose /api/async-requests for the navbar, and
show In progress/Completed labels instead of Success.
Avoid text-truncate clipping Requested/Finished times in the narrow navbar card.
Use Bootstrap data-bs-auto-close=outside so dragging Requested/Finished
text does not dismiss the navbar menu.
Skip innerHTML rewrite when job content is unchanged, defer while selecting,
and keep the menu open (auto-close false) so requestId can be drag-copied.
[feat]: notice - Persist requestId async jobs
@MZC-CSC MZC-CSC changed the title sync: MZC-CSC/mc-web-console develop → m-cmp/mc-web-console main feat: 비동기 알림, Infra Template, PMK NodeGroup/추천 개선 Jul 16, 2026
@MZC-CSC
MZC-CSC merged commit ec980b3 into m-cmp:main Jul 16, 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