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

Need a new method to register a cloud connection info with driver, credential, region, It's difficult to use. #414

Closed
powerkimhub opened this issue Jun 15, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@powerkimhub
Copy link
Member

What would you like to be enhanced

  • Cloud 연결 설정 정보의 등록 방법이 사용자가 실수하기 쉽고 어려움.
  • 특히, credential 정보 및 Region 정보의 가변적인 Key/Value 입력 방법이 확장성은 있겠지만,
  • 사용에 걸림돌이 되고 있음.
@powerkimhub powerkimhub added the enhancement New feature or request label Jun 15, 2021
@powerkimhub powerkimhub self-assigned this Jun 15, 2021
@powerkimhub powerkimhub pinned this issue Jun 15, 2021
@powerkimhub
Copy link
Member Author

Plan

  • 기존 방법은 그대로 제공
  • CSP별로 제공하는 credential 정보를 그대로 입력으로 받기 (Ctr.+C, Ctrl+V)

@powerkimhub
Copy link
Member Author

@powerkimhub
Copy link
Member Author

@powerkimhub
Copy link
Member Author

@powerkimhub
Copy link
Member Author

  • 제공 방법 및 API 형식: 현재 상태 유지
    • 사유: Azure의 ResourceGroup 등 CSP마다 부득이 요구되는 특성의 용어 추상화 어려움
    • 사유: 현재 기존 방법으로 활용이 익숙해진 사용자 및 활용 시험 스크립트 등
  • KeyValue Validation 추가로 Region 및 Credential 등록 API 호출시 관련 정보 검증을 제공함
    • 반영버전: 2a2f7cf

    • 검증예시: ClientSecret 대신 Clientsecret 입력

      ## server Log MSG
      [CLOUD-BARISTA].[ERROR]: 2021-11-15 02:26:43 CredentialInfoManager.go:248, github.com/cloud-barista/cb-spider/cloud-info-manager/credential-info-manager.checkParams() - Invalid Key in input arguments.
              ...... have [ClientId Clientsecret TenantId SubscriptionId]
              ...... want [ClientId ClientSecret TenantId SubscriptionId]
      
      ## REST API return MSG
      {"message":"Invalid Key in input arguments.\n\t...... have [ClientId Clientsecret TenantId SubscriptionId]\n\t...... want [ClientId ClientSecret TenantId SubscriptionId]"}
      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant