Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
260 changes: 256 additions & 4 deletions conf/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -834,11 +834,11 @@ serviceActions:
description: "해당 프레임워크 역할에 할당된 메뉴 리스트를 반환합니다."
Deleteuser:
method: delete
resourcePath: /api/user/id/{userid}
resourcePath: /api/users/id/{userId}
description: "사용자를 삭제합니다."
Updateuser:
method: put
resourcePath: /api/user/id/{userid}
resourcePath: /api/users/id/{userId}
description: "사용자 정보를 업데이트 합니다."
Createworkspace:
method: post
Expand Down Expand Up @@ -981,7 +981,7 @@ serviceActions:
description: "특정 사용자의 워크스페이스 목록조회"
Createuser:
method: post
resourcePath: /api/user
resourcePath: /api/users
description: "유저를 등록합니다."
Deactiveuser:
method: post
Expand All @@ -991,6 +991,222 @@ serviceActions:
method: delete
resourcePath: /api/projects/unassign/workspaces
description: "Workspace에서 Project 할당 해제"
ListMcmpApisServices:
method: post
resourcePath: /api/mcmp-apis/list
description: "전체 프레임워크 서비스 목록 및 BaseURL 조회."
CreateFrameworkService:
method: post
resourcePath: /api/mcmp-apis
description: "프레임워크 서비스 신규 등록. body: {name, version, baseUrl, authType, isActive}"
UpdateFrameworkService:
method: put
resourcePath: /api/mcmp-apis/name/{serviceName}
description: "프레임워크 서비스 BaseURL 수정."
mciamCheckHealth:
method: get
resourcePath: /readyz
description: "mc-iam-manager 헬스체크."
assignPlatformRole:
method: post
resourcePath: /api/roles/assign/platform-role
description: "Platform Role 할당"
removePlatformRole:
method: delete
resourcePath: /api/roles/unassign/platform-role
description: "사용자에게서 Platform Role 제거"
listPlatformRoles:
method: post
resourcePath: /api/roles/platform-roles/list
description: "Platform Role 목록 조회"
AssignRoleToUser:
method: post
resourcePath: /api/roles/assign/platform-role
description: "사용자에게 플랫폼 역할을 할당합니다."
Signup:
method: post
resourcePath: /api/auth/signup
description: "신규 사용자 회원가입 (관리자 승인 후 로그인 가능)"
GetCspRoleById:
method: get
resourcePath: /api/roles/csp/id/{roleId}
description: "CSP Role 단건 조회"
CreateCspRole:
method: post
resourcePath: /api/roles/csp
description: "CSP Role 생성"
DeleteCspRole:
method: delete
resourcePath: /api/roles/csp/id/{roleId}
description: "CSP Role 삭제"
listCspPolicies:
method: post
resourcePath: /api/csp-policies/list
description: "CSP Policy 목록 조회"
GetCspPolicyById:
method: get
resourcePath: /api/csp-policies/id/{policyId}
description: "CSP Policy 단건 조회"
CreateCspPolicy:
method: post
resourcePath: /api/csp-policies
description: "CSP Policy 생성"
UpdateCspPolicy:
method: put
resourcePath: /api/csp-policies/id/{policyId}
description: "CSP Policy 수정"
DeleteCspPolicy:
method: delete
resourcePath: /api/csp-policies/id/{policyId}
description: "CSP Policy 삭제"
GetPoliciesByRoleId:
method: get
resourcePath: /api/csp-policies/role/{roleId}
description: "CSP Role에 연결된 Policy 목록 조회"
AttachPolicyToRole:
method: post
resourcePath: /api/csp-policies/attach
description: "CSP Policy를 Role에 연결"
DetachPolicyFromRole:
method: post
resourcePath: /api/csp-policies/detach
description: "CSP Policy를 Role에서 해제"
SyncCspPolicies:
method: post
resourcePath: /api/csp-policies/sync
description: "CSP Policy 동기화"
Listmenustree:
method: post
resourcePath: /api/menus/menus-tree/list
description: "List all menus as tree structure (Admin only)"
Createmenu:
method: post
resourcePath: /api/menus
description: "Create a new menu"
Getmenubyid:
method: get
resourcePath: /api/menus/id/{menuId}
description: "Get menu details by ID"
Updatemenu:
method: put
resourcePath: /api/menus/id/{menuId}
description: "Update menu details"
Deletemenu:
method: delete
resourcePath: /api/menus/id/{menuId}
description: "Delete a menu"
UpdateUserStatus:
method: post
resourcePath: /api/users/id/{userId}/status
description: "사용자 승인/비활성화 (enabled true/false)"
ResetUserPassword:
method: put
resourcePath: /api/users/id/{userId}/password
description: "관리자가 사용자 비밀번호 재설정"
ChangeMyPassword:
method: put
resourcePath: /api/users/me/password
description: "사용자 본인 비밀번호 변경"
Createorganization:
method: post
resourcePath: /api/organizations
description: "그룹 생성"
Getorganizations:
method: get
resourcePath: /api/organizations
description: "그룹 목록/트리 조회 (query: tree=true면 중첩 구조)"
Getorganizationbyid:
method: get
resourcePath: /api/organizations/id/{organizationId}
description: "그룹 단건 조회 by ID"
Getorganizationbycode:
method: get
resourcePath: /api/organizations/code/{code}
description: "그룹 단건 조회 by code"
Updateorganization:
method: put
resourcePath: /api/organizations/id/{organizationId}
description: "그룹 수정 (부모 변경 시 하위 코드 자동 재생성)"
Deleteorganization:
method: delete
resourcePath: /api/organizations/id/{organizationId}
description: "그룹 삭제 (하위 그룹·소속 사용자 있으면 400)"
Getorganizationusers:
method: get
resourcePath: /api/organizations/id/{organizationId}/users
description: "그룹 소속 사용자 목록"
Assignuserorganizations:
method: post
resourcePath: /api/users/id/{userId}/organizations
description: "사용자 그룹 할당 (다중)"
assignGroupUsers:
method: post
resourcePath: /api/groups/id/{groupId}/users
description: "그룹에 사용자 일괄 할당 (group 입장)"
Getuserorganizations:
method: get
resourcePath: /api/users/id/{userId}/organizations
description: "사용자 소속 그룹 목록"
Removeuserorganization:
method: delete
resourcePath: /api/users/id/{userId}/organizations/{organizationId}
description: "사용자 그룹 제거"
listCspAccounts:
method: post
resourcePath: /api/csp-accounts/list
description: "CSP 계정 목록 조회 (필터: csp_type)"
createCspAccount:
method: post
resourcePath: /api/csp-accounts
description: "CSP 계정 등록"
getCspAccountByID:
method: get
resourcePath: /api/csp-accounts/id/{accountId}
description: "CSP 계정 단건 조회 by ID"
updateCspAccount:
method: put
resourcePath: /api/csp-accounts/id/{accountId}
description: "CSP 계정 수정"
deleteCspAccount:
method: delete
resourcePath: /api/csp-accounts/id/{accountId}
description: "CSP 계정 삭제"
validateCspAccount:
method: post
resourcePath: /api/csp-accounts/id/{accountId}/validate
description: "CSP 계정 자격증명 유효성 검증"
activateCspAccount:
method: post
resourcePath: /api/csp-accounts/id/{accountId}/activate
description: "CSP 계정 활성화"
deactivateCspAccount:
method: post
resourcePath: /api/csp-accounts/id/{accountId}/deactivate
description: "CSP 계정 비활성화"
GetProjectSyncDiff:
method: get
resourcePath: /api/setup/projects/sync-diff
description: "Infra NS ↔ IAM Project 동기화 차이 조회"
ApplyProjectSync:
method: post
resourcePath: /api/setup/projects/sync
description: "nsIds + workspaceId를 받아 Project 생성 + Workspace 할당"
listMenus:
method: post
resourcePath: /api/menus/list
description: "메뉴 목록 조회 (전체)"
InitialMenus:
method: post
resourcePath: /api/setup/initial-menus
description: "menu.yaml 기반 메뉴 일괄 재등록 (1_setup_auto.sh init_menu와 동일)"
SyncMcmpApis:
method: post
resourcePath: /api/setup/sync-mcmp-apis
description: "api.yaml 기반 mcmpApi 카탈로그 재동기화 (1_setup_auto.sh init_api_resources와 동일)"
syncProjects:
method: post
resourcePath: /api/setup/sync-projects
description: "mc-infra-manager의 namespace 목록을 가져와 project 테이블과 동기화"

mc-infra-manager:
Lookupspeclist:
Expand Down Expand Up @@ -1713,6 +1929,10 @@ serviceActions:
method: post
resourcePath: /ns/{nsId}/mciDynamic
description: "Create MCI Dynamically from common spec and image"
Postinfradynamicreview:
method: post
resourcePath: /ns/{nsId}/infraDynamicReview
description: "Review and validate Infra dynamic request comprehensively before actual provisioning"
Inspectresourcesoverview:
method: get
resourcePath: /inspectResourcesOverview
Expand Down Expand Up @@ -1749,6 +1969,30 @@ serviceActions:
method: post
resourcePath: /ns/{nsId}/sharedResource
description: "Create shared resources for MC-Infra"
GetCredentialHolderList:
method: get
resourcePath: /credentialHolder
description: "List all credential holders derived from registered connection configs."
GetAssetsSummary:
method: get
resourcePath: /assetsSummary
description: "Returns CSP-wise summary of specs and images in DB for a namespace."
PostMciSubGroupDynamic:
method: post
resourcePath: /ns/{nsId}/mci/{mciId}/subGroupDynamic
description: "Dynamically add new virtual machines to an existing MCI using common specifications and automated resource management"
RecommendSpec:
method: post
resourcePath: /recommendSpec
description: "Recommend MCI plan (filter and priority) Find details from https://github.com/cloud-barista/cb-tumblebug/discussions/1234"
Postclusterremotecmd:
method: post
resourcePath: /ns/{nsId}/cmd/k8sCluster/{k8sClusterId}
description: "Send a command to specified Cluster"
Postmcidynamicreview:
method: post
resourcePath: /ns/{nsId}/mciDynamicReview
description: "Create MCI Dynamically from common spec and image"

mc-web-console:
Anycontroller:
Expand Down Expand Up @@ -1791,6 +2035,10 @@ serviceActions:
method: post
resourcePath: /api/auth/validate
description: webValidate
getSetupYamlCheck:
method: get
resourcePath: /api/admin/setup-yaml-check
description: "외부 raw YAML(menu/api) 도달성 확인 BFF endpoint. query: which=menu|api"

mc-observability:
Poststorage:
Expand All @@ -1805,7 +2053,7 @@ serviceActions:
method: put
resourcePath: /api/o11y/monitoring/{nsId}/{mciId}/target/{targetId}/storage
description: ""
Getminingdbtags":
Getminingdbtags:
method: get
resourcePath: /api/o11y/monitoring/miningdb/tag
description: ""
Expand Down Expand Up @@ -2499,6 +2747,10 @@ serviceActions:
method: get
resourcePath: /api/v2/getWorkspaces
description: "워크스페이스 목록을 조회합니다."
GetCostReadyz:
method: get
resourcePath: /api/costopti/be/readyz
description: "mc-cost-optimizer 헬스체크."

mc-data-manager:
GenerateWindows:
Expand Down
Loading