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

Allow service definition path to be overridden by user #289

Merged
merged 2 commits into from
Dec 15, 2016
Merged

Allow service definition path to be overridden by user #289

merged 2 commits into from
Dec 15, 2016

Conversation

jdpedrie
Copy link
Contributor

@jdpedrie jdpedrie commented Dec 9, 2016

If merged, this change would allow users to supply their own Service Definition files for use with google-cloud-php.

When constructing a Client, or using a ServiceBuilder factory, supplying a param "serviceDefinitionPath" will override the default service definition file location.

This parameter is not documented currently. I think it would be a useful tool in some testing scenarios, and could be a potential stopgap solution for #287.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 9, 2016
@jdpedrie jdpedrie added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 14, 2016
@jdpedrie
Copy link
Contributor Author

@dwsupplee PTAL.

System tests all passed on local run.

@dwsupplee
Copy link
Contributor

The updates LGTM! Will merge once the build completes.

@dwsupplee dwsupplee removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 15, 2016
@jdpedrie jdpedrie merged commit 1bf3f1c into googleapis:master Dec 15, 2016
@jdpedrie jdpedrie mentioned this pull request Dec 28, 2016
jdpedrie added a commit that referenced this pull request Feb 15, 2017
* Allow service definition path to be overridden by user

* Remove the method, use config defaults
@jdpedrie jdpedrie deleted the custom-service-definition-file branch June 9, 2017 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants