feat: Add Alibaba RDB(Mysql) and NRDBMS(MongoDB) and IBM/KT/Tencent Object Storage support#116
Merged
Merged
Conversation
# Conflicts: # web/js/scripts.js # web/templates/back-backup.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary of Changes
Alibaba Cloud NRDBMS(MongoDB) 연동 구현, IBM·KT·Tencent Object Storage 버킷/오브젝트 CRUD 지원 추가, CB-Tumblebug API 변경 반영 및 Alibaba endpoint 동적 생성 방식으로 리팩토링하였습니다.
PR Type
Detailed Description of Changes
feat: Alibaba Cloud NRDBMS(MongoDB) 연동 추가
pkg/nrdbms/alibabamgdb/alibabamgdb.go신규 추가ListTables/CreateTable/DeleteTables/ImportTable/ExportTable구현config/provider.go에NewAlibabaMongoDBClient추가internal/auth/base.go에 Alibaba MongoDB 초기화 분기 추가feat: IBM · KT · Tencent Object Storage 지원 추가
pkg/objectstorage/ibmfs/ibmfs.go,ktfs/ktfs.go,tencentfs/tencentfs.go신규 추가models/enums.go에IBM,KT,TENCENTProvider 상수 추가models/basicProfile.go에IBMCredentials,KTCredentials,TencentCredentials구조체 추가models/credential.go의GetCredential()에ibm,kt,tencent케이스 추가internal/auth/base.go에 IBM, KT, Tencent OSC 초기화 분기 추가feat: Alibaba RDB 연동 추가
service/rdbc/rdbc.goAlibaba RDB 분기 추가feat: Alibaba / NCP region 필수값 제거
models/region.go,service/region/regionService.goregion 없이도 동작 가능하도록 완화refactor: Alibaba endpoint 동적 생성 방식으로 변경
config/provider.go의NewAlibabaClient에서endpoint파라미터 제거"https://oss-" + region + ".aliyuncs.com"방식으로 자동 구성internal/auth/base.gocredential 로드 로직을 클로저(loadCreds)로 리팩토링하여 중복 제거feat: CB-Tumblebug API 변경 반영 및 Object Storage 모델 재정의
models/objectStorage.go재구성ListAllMyBucketsResult,SimpleBuckets제거ObjectStorageListResponse,ObjectStorage,ConnectionConfig,Condition,Content구조체 신규 정의pkg/utils/api.go,websrc/controllers/pageHandlers.goTumblebug API 엔드포인트 변경 반영web/templates/gen-object-storage.html,mig-object-storage.html,back-backup.html,res-restore.html등 수정PR Checklist
feat: alibaba nosql gen/mig/backup/restore 구현 완료refactor: alibaba endpoint change to string templates instead of static stringsfeat: Reflect Tumblebug API Changes and Support Object Creation/Deletionfeat: add support for IBM and Tencent bucket/object creation APIsfeat: alibaba rdb 연동, rdb database 단위 업데이트feat: alibaba/ncp - region 필수값 제거