Skip to content

Comments

Fix exception when using internal URL#1884

Merged
asfgit merged 1 commit intoapache:trunkfrom
llamasoft:patch-1
Jul 31, 2023
Merged

Fix exception when using internal URL#1884
asfgit merged 1 commit intoapache:trunkfrom
llamasoft:patch-1

Conversation

@llamasoft
Copy link
Contributor

Cloud Files has no concept of an "internal" CDN so the endpoint type must be hard-coded to "external". Sample Cloud Files service catalog listing: https://docs.rackspace.com/docs/cloud-files/v1/getting-started/authenticate#cloud-files-auth-response

Fixes Cloud Files exception when using internal URL

Description

Fixes #1883

Status

Ready for review.

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

Cloud Files has no concept of an "internal" CDN so the endpoint type must be hard-coded to "external".
Sample Cloud Files service catalog listing: https://docs.rackspace.com/docs/cloud-files/v1/getting-started/authenticate#cloud-files-auth-response
@Kami
Copy link
Member

Kami commented Jul 31, 2023

@llamasoft Thanks for the contribution. The change looks good to me, but it's missing corresponding unit tests.

asfgit pushed a commit that referenced this pull request Jul 31, 2023
@asfgit asfgit merged commit 504354c into apache:trunk Jul 31, 2023
@Kami
Copy link
Member

Kami commented Jul 31, 2023

I added a very basic test case (b0035eb) and merged change into trunk.

Thanks again for your contribution.

@Kami Kami added this to the v3.8.0 milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rackspace Cloud Files use_internal_url setting causes exception

3 participants