GitHub user dominikbulaj opened a pull request:
https://github.com/apache/incubator-usergrid/pull/107
URL getter & setter for local Usergrid installation.
We are preparing to launch Usergrid on own infrastructure thus we followed
those steps: [Deploying to local Tomcat &
Cassandra](http://usergrid.readthedocs.org/en/latest/deploy-local.html)
We are planning to use Usergrid on web & mobile. Since on web we use PHP, I
had no way to alter `\Apache\Usergrid\Client::$url` value. I created two simple
methods:
* `\Apache\Usergrid\Client::getUrl` (just a getter)
* `\Apache\Usergrid\Client::setUrl` (setter using `filter_var()` to
validate URL; throwing `UGException()` exception on failure).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dominikbulaj/incubator-usergrid master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-usergrid/pull/107.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #107
----
commit adcc3df4b387cfbc86e735d25d9d929d69b61ada
Author: Dominik Bulaj <[email protected]>
Date: 2014-11-25T11:41:43Z
URL getter & setter for local Usergrid installation.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---