Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] bscp 支持业务,项目等 #1965

Open
ifooth opened this issue Jan 30, 2023 · 0 comments
Open

[feature] bscp 支持业务,项目等 #1965

ifooth opened this issue Jan 30, 2023 · 0 comments
Assignees
Labels
feature new feature

Comments

@ifooth
Copy link
Member

ifooth commented Jan 30, 2023

背景

  • 需要同时支持传统业务和容器的项目

方式

  • 新增spaces

  • /api/v1/auth/spaces(空间,可灵活对应业务和BCS的项目等)
    不具体存储,在app绑定时,关联project_code 或者 biz_id

规范接口

鉴权需要,需要把biz_id 去掉,同时规范下URL

auth 模块,如

  • /api/v1/auth/user

config 模块,如

  • /api/v1/config/app
  • /api/v1/config/app/{app_id}/item
  • /api/v1/config/app/{app_id}/content
  • /api/v1/config/app/{app_id}/commit
  • /api/v1/config/app/{app_id}/instance
  • /api/v1/config/app/{app_id}/strategy
  • /api/v1/config/app/{app_id}/strategyset
@ifooth ifooth added the feature new feature label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

2 participants