Skip to content

feat: Add Alibaba RDB(Mysql) and NRDBMS(MongoDB) and IBM/KT/Tencent Object Storage support#116

Merged
kimchangyu-25 merged 8 commits into
cloud-barista:mainfrom
NamutechCloudrnd:v0.6.6
May 18, 2026
Merged

feat: Add Alibaba RDB(Mysql) and NRDBMS(MongoDB) and IBM/KT/Tencent Object Storage support#116
kimchangyu-25 merged 8 commits into
cloud-barista:mainfrom
NamutechCloudrnd:v0.6.6

Conversation

@geontae89

Copy link
Copy Markdown

Summary of Changes

Alibaba Cloud NRDBMS(MongoDB) 연동 구현, IBM·KT·Tencent Object Storage 버킷/오브젝트 CRUD 지원 추가, CB-Tumblebug API 변경 반영 및 Alibaba endpoint 동적 생성 방식으로 리팩토링하였습니다.

PR Type

  • Add: Add a new feature
  • Fix: Fix a bug
  • Style: Change user UI design (CSS, etc.)
  • Chore: Changes that do not affect the code (typo fixes, tab size changes, variable name changes)
  • Refactor: Code refactoring
  • Docs: Add or modify comments and documentation
  • Test: Add or refactor tests
  • Build: Modify build-related configurations or package managers
  • Rename: Rename files or folders
  • Remove: Delete files or folders

Detailed Description of Changes

feat: Alibaba Cloud NRDBMS(MongoDB) 연동 추가

  • pkg/nrdbms/alibabamgdb/alibabamgdb.go 신규 추가
    • ListTables / CreateTable / DeleteTables / ImportTable / ExportTable 구현
  • config/provider.goNewAlibabaMongoDBClient 추가
  • internal/auth/base.go에 Alibaba MongoDB 초기화 분기 추가
  • Alibaba NRDBMS 기반 gen / mig / backup / restore 기능 완성

feat: IBM · KT · Tencent Object Storage 지원 추가

  • pkg/objectstorage/ibmfs/ibmfs.go, ktfs/ktfs.go, tencentfs/tencentfs.go 신규 추가
    • 버킷 목록 조회, 버킷 생성/삭제, 오브젝트 업로드/다운로드/삭제 구현
  • models/enums.goIBM, KT, TENCENT Provider 상수 추가
  • models/basicProfile.goIBMCredentials, KTCredentials, TencentCredentials 구조체 추가
  • models/credential.goGetCredential()ibm, kt, tencent 케이스 추가
  • internal/auth/base.go에 IBM, KT, Tencent OSC 초기화 분기 추가

feat: Alibaba RDB 연동 추가

  • service/rdbc/rdbc.go Alibaba RDB 분기 추가
  • RDB database 단위 업데이트 방식으로 구현

feat: Alibaba / NCP region 필수값 제거

  • models/region.go, service/region/regionService.go region 없이도 동작 가능하도록 완화

refactor: Alibaba endpoint 동적 생성 방식으로 변경

  • config/provider.goNewAlibabaClient에서 endpoint 파라미터 제거
    • "https://oss-" + region + ".aliyuncs.com" 방식으로 자동 구성
  • internal/auth/base.go credential 로드 로직을 클로저(loadCreds)로 리팩토링하여 중복 제거

feat: CB-Tumblebug API 변경 반영 및 Object Storage 모델 재정의

  • models/objectStorage.go 재구성
    • 기존 ListAllMyBucketsResult, SimpleBuckets 제거
    • ObjectStorageListResponse, ObjectStorage, ConnectionConfig, Condition, Content 구조체 신규 정의
  • pkg/utils/api.go, websrc/controllers/pageHandlers.go Tumblebug API 엔드포인트 변경 반영
  • Web UI Object Storage 생성/삭제·마이그레이션 화면 업데이트
    • web/templates/gen-object-storage.html, mig-object-storage.html, back-backup.html, res-restore.html 등 수정

PR Checklist

  • The commit messages follow the Conventional Commits convention.
    • feat: alibaba nosql gen/mig/backup/restore 구현 완료
    • refactor: alibaba endpoint change to string templates instead of static strings
    • feat: Reflect Tumblebug API Changes and Support Object Creation/Deletion
    • feat: add support for IBM and Tencent bucket/object creation APIs
    • feat: alibaba rdb 연동, rdb database 단위 업데이트
    • feat: alibaba/ncp - region 필수값 제거
  • Tests for the changes have been added or updated.
  • Documentation has been updated accordingly.
  • All necessary changes for code review are included.
  • The build passes successfully.
  • A deployment plan has been established if necessary.

@kimchangyu-25 kimchangyu-25 merged commit 87fbc03 into cloud-barista:main May 18, 2026
2 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.

4 participants