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

[NHNCloud] hope to check current API endpoints #1195

Closed
seokho-son opened this issue May 15, 2024 · 1 comment · Fixed by #1202
Closed

[NHNCloud] hope to check current API endpoints #1195

seokho-son opened this issue May 15, 2024 · 1 comment · Fixed by #1202
Assignees
Labels
CloudDriver question Further information is requested

Comments

@seokho-son
Copy link
Member

[기본 인프라] API 엔드포인트 주소 변경 안내(2023/03/30)

에 따르면, NHN cloud 의 API 엔드포인트 주소들이 변경 중이거나 완료된 것으로 보입니다.

현재 "변경 전"에 해당하는 주소들이 CB-Spider 소스상에서 검색되는데,
(예를 들면, https://api-identity.infrastructure.cloud.toast.com https://kr1-api-instance.infrastructure.cloud.toast.com

"변경 후"에 해당하는 API 엔드포인트들을 활용해야 하는 것이 아닌지 문의드립니다.
(예를 들면, https://api-identity-infrastructure.nhncloudservice.com https://kr1-api-instance-infrastructure.nhncloudservice.com)

@innodreamer
Copy link
Member

innodreamer commented May 24, 2024

@seokho-son 위의 PR로 보완 완료했습니다.
참고로, 자원들의 endpoint는 NHN Cloud Go SDK에서 identity endpoint를 통해 인증 후 return되는 provider client 정보에서 추출해서 적용됩니다.
테스트해보니 update 전의 identity endpoint를 사용해도 자원들의 endpoint가 신규 endpoint URL로 적용되네요.
아마 NHN Cloud에서 이전의 identity endpoint를 사용해도 문제가 생기지 않도록 조치해놓은거 같습니다.

아래는 드라이버 사용할때 제시하는 log들입니다.

# sc.Endpoint : [compute] : [https://kr1-api-instance-infrastructure.nhncloudservice.com/v2/a77e25da7cc04a388716a7dc10dc9340/] 

# sc.Endpoint : [image] : [https://kr1-api-image-infrastructure.nhncloudservice.com/] 

# sc.Endpoint : [network] : [https://kr1-api-network-infrastructure.nhncloudservice.com/] 

# sc.Endpoint : [volumev2] : [https://kr1-api-block-storage-infrastructure.nhncloudservice.com/v2/a77e25da7cc04a388716a7dc10dc9340/] 

# sc.Endpoint : [container-infra] : [https://kr1-api-kubernetes-infrastructure.nhncloudservice.com/v1/] 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CloudDriver question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants