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

swift:// path enhancements #154

Open
larsbutler opened this issue Sep 9, 2014 · 0 comments
Open

swift:// path enhancements #154

larsbutler opened this issue Sep 9, 2014 · 0 comments

Comments

@larsbutler
Copy link
Member

For ZeroCloud applications, paths to many things are specified in the following format:

swift://AUTH_e799933a1f1a402b84655f9cf8d11680/example/example1.tar

Currently, the shortcuts ~ and . exist to represent the AUTH_e799933a1f1a402b84655f9cf8d11680 portion of the URL. ~ and . basically symbolize the "home directory" of the user.

I propose the following changes:

  • Change . to mean "the current container" (instead of the account/home directory)
    • This is useful for making boot/system.map files a bit more generic. If, for example, a zapp reads a configuration file from the same container, it would nice to just specify . instead of hard-coding the container name.
  • Support these shortcuts when specifying a X-Container-Meta-Rest-Endpoint for a container (when constructing REST APIs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant