Skip to content

Introduce options to serialize closures for batch processing - #886

Merged
dwsupplee merged 2 commits into
googleapis:masterfrom
dwsupplee:closure-serialization
Feb 6, 2018
Merged

dwsupplee merged 2 commits into
googleapis:masterfrom
dwsupplee:closure-serialization

Conversation

@dwsupplee

Copy link
Copy Markdown
Contributor

Closes: #588

@chingor13 What do you think? The goal of this approach was to add a lower friction way for users to supply closures to configurations used in the batch daemon. I looked at making these changes in Google\Cloud\Core\Batch\SysvConfigStorage but was concerned it wasn't very straight forward to supply a custom interface when initializing the daemon.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 6, 2018

@chingor13 chingor13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the naming of one function, LGTM.

Comment thread src/Core/Batch/BatchTrait.php Outdated
* @param array $options
* @return array
*/
private function setWrappedClientConfig(array $options)

This comment was marked as spam.

namespace Google\Cloud\Core\Batch;

/**
* A closure serializer implementation utilzing

This comment was marked as spam.

@dwsupplee

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback guys, updated. PTAL.

@dwsupplee
dwsupplee force-pushed the closure-serialization branch 2 times, most recently from 6b51470 to cea04fb Compare February 6, 2018 20:35
@dwsupplee
dwsupplee merged commit 1f1d3b8 into googleapis:master Feb 6, 2018
@jdpedrie jdpedrie mentioned this pull request Feb 15, 2018
gcf-owl-bot Bot added a commit that referenced this pull request Feb 29, 2024
Source-Link: googleapis/googleapis@0df0f51

Source-Link: googleapis/googleapis-gen@b0b8f14
Copy-Tag: eyJwIjoiQ29tcHV0ZS8uT3dsQm90LnlhbWwiLCJoIjoiYjBiOGYxNDdhNzcxNjJiYmM2MDNjYzFlMDQ3NTJhMzYyMWUxMmViNSJ9
saranshdhingra pushed a commit that referenced this pull request Mar 6, 2024
* feat: Update Compute Engine API to revision 20240220 (#886)
Source-Link: googleapis/googleapis@0df0f51
Source-Link: googleapis/googleapis-gen@b0b8f14
Copy-Tag: eyJwIjoiQ29tcHV0ZS8uT3dsQm90LnlhbWwiLCJoIjoiYjBiOGYxNDdhNzcxNjJiYmM2MDNjYzFlMDQ3NTJhMzYyMWUxMmViNSJ9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: core cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants