Skip to content

Use of cloudFilesCDN with internalURL #56

@tomgidden

Description

@tomgidden

To be able to utilize ServiceNet to do the API operations, it seems necessary to indicate internalURL rather than publicURL as the RAXSDK_OBJSTORE_URLTYPE. However, that doesn't then allow use of CDN, with an exception of ObjectStore\CdnNotAvailableError, which is caused by a silent ignore of an EndpointError with the message:

No endpoints for service type [rax:object-cdn], name [cloudFilesCDN], region [LON] and urlType [internalURL]

Tracking back, it's clear that the endpoint's reported cloudFilesCDN service doesn't supply an internalURL, whereas the cloudFiles service does, but it seems a very common use-case to manage Cloud Files via ServiceNet but publish public CDN URLs.

Is the only workaround to do the object creation and management via ServiceNet, but then open a second ObjectStore and re-retrieve the objects just to get their CDN URLs?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions