googleinterns / cloud-operations-api-mock

Apache License 2.0
5 stars 2 forks source link

Switch setting delay to not be an RPC call, and add onUpload field #34

Closed the-ericwang35 closed 4 years ago

the-ericwang35 commented 4 years ago

There's no reason for the user to have to make a network call to setup the mock server fields. This PR allows the user to set the delay without having to make a network call. Allowing users to setup server fields this way will also solve the issue where one of the fields is a function, which cannot be passed over gRPC, which this PR also implements.