-
Notifications
You must be signed in to change notification settings - Fork 105
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
Rackspace Support #17
Comments
It was next on my list. Currently the focus is on extending the features of slingshot overall though. But it is easy to add more storage services the slingshot. Have a look how AWS S3 and Google Cloud are implemented. Perhaps you may want to do a PR. |
It seems you have implemented this. Thanks. So when can we use it? |
Its still work in progress. I'm implementing it according to http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_the_Form-d1a777.html, however can't figure out what they mean by "accountId". It seems that it is neither the username nor the account number. |
Ok the account id is the account number, but the main domain is region specific to the container. |
For Rackspace, is the download link of the CDN of the normal one? Or can On Sun, Dec 14, 2014 at 6:36 PM, Garik Suess notifications@github.com
Fardeem Munir |
The price with or without CDN is the same so I guess only implementing the On Sun, Dec 14, 2014 at 9:55 PM, Fardeem Munir fardeem.munir@erubai.com
Fardeem Munir |
It will be configurable. I've added CDN parameter to the directive in my working copy. But I should standardize it across all the services. |
S3 and Google Cloud has a standalone CDN offering then how will you standardize it? Are you thinking about implementing the CDN features also? |
Also is there any way I can help with testing out the rackspace branch? |
I was just thinking to have a cdn parameter in the directive in which you give the domain from which the download url is constructed: Slingshot.createDirective("myFileUploads", Slingshot.S3Storage, {
bucket: "mybucket",
...
cdn: " https://d111111abcdef8.cloudfront.net"
}); If cdn is provided, download urls would be constructed as
Yes, I could use some help with getting the damn CORS set up in the easiest possible manner so that it can be described in the readme. So far I was not successful at it and that is what's holding it back. Will push my latest stuff in a moment. |
Are you trying to set the CORS for the object or the container? On Sun, Dec 21, 2014 at 6:05 PM, Garik Suess notifications@github.com
Fardeem Munir |
The container. Please check the readme on the rackspace branch. The CORS settings don't seem to be working properly. |
Ok the CDN stuff is done and works on S3 and Google Cloud. As for rackspace, CORS setup is still a hindrance. |
What stuff doesn't work with CORS? Is it absolutely necessary? Sorry if On Sun, Dec 21, 2014 at 7:35 PM, Garik Suess notifications@github.com
Fardeem Munir |
Without CORS being properly configured on the container, the browser will refuse to upload any files to it. Setting the CORS as described on the readme and on rackspace docs, does not seem to have any effect. The CORS headers are still not sent out by rackspace. |
Ok, I might have something. In the readme you are linking to the load balancer documentation. I did In the readme, did you get the link wrong or are you actually using the On Sun, Dec 21, 2014 at 8:22 PM, Garik Suess notifications@github.com
Fardeem Munir |
Well, yes, the link to load balancer docs is about getting the auth token, which is the same procedure there are for files. However the docs in files about retrieving the auth token are less detailed and less clear: http://docs.rackspace.com/files/api/v1/cf-devguide/content/Retrieving_Auth_Token.html which is for files, but in a better detail.
this is what I used to derive the second part of the readme. Look at example 13.10. |
So, the auth tokens are not being generated? On Sun, Dec 21, 2014 at 9:05 PM, Garik Suess notifications@github.com
Fardeem Munir |
OMG THIS SOOO CONFUSING! You could:
If everything fails, you could contact support. They're pretty nice. On Sun, Dec 21, 2014 at 9:12 PM, Fardeem Munir fardeem.munir@erubai.com
Fardeem Munir |
Yes I've tried that.
POST might be better, because it does give feedback, but both should work and I did try both.
That would be like the 6th time I'd be contacting them 😞, but will have to try again. |
I think they're away for the holidays. All the best man, you're doing absolutely awesome with this plugin. On Sun, Dec 21, 2014 at 9:32 PM, Garik Suess notifications@github.com
Fardeem Munir |
Good news. Its working now. My code was mostly fine all the way along. I just messed up on setting the MetaDataKey properly. |
Any plans on bringing in Rackspace cloud files support any time soon?
The text was updated successfully, but these errors were encountered: