Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Lookup of base url in CloudStoreRestClient needs to be reversed #48
Currently we are looking for base URL of the server, by taking request URL, adding "/_test" at the end of it and calling the server. If the call is mapped to one of the methods in TestService then this method returns "SUCCESS" and base URL is found, otherwise we remove the last part of the request URL, and repeat the whole process again.
We should reverse this lookup, because it is allowed right now to have a directory with name "_test". Although request for this directory wouldn't return "TEXT_PLAIN" like call to TestService methods, but it can change in the future, when we have an exploring of repository in browser.
This is much less likely than directory named "_test", but still it should be documented when we allow users to deploy cloudstore as a WAR.