pulumi/sdk/nodejs/proto
Paul Stack 02ffff8840
Addition of Custom Timeouts (#2885)
* Plumbing the custom timeouts from the engine to the providers

* Plumbing the CustomTimeouts through to the engine and adding test to show this

* Change the provider proto to include individual timeouts

* Plumbing the CustomTimeouts from the engine through to the Provider RPC interface

* Change how the CustomTimeouts are sent across RPC

These errors were spotted in testing. We can now see that the timeout
information is arriving in the RegisterResourceRequest

```
req=&pulumirpc.RegisterResourceRequest{
           Type:                    "aws:s3/bucket:Bucket",
           Name:                    "my-bucket",
           Parent:                  "urn:pulumi:dev::aws-vpc::pulumi:pulumi:Stack::aws-vpc-dev",
           Custom:                  true,
           Object:                  &structpb.Struct{},
           Protect:                 false,
           Dependencies:            nil,
           Provider:                "",
           PropertyDependencies:    {},
           DeleteBeforeReplace:     false,
           Version:                 "",
           IgnoreChanges:           nil,
           AcceptSecrets:           true,
           AdditionalSecretOutputs: nil,
           Aliases:                 nil,
           CustomTimeouts:          &pulumirpc.RegisterResourceRequest_CustomTimeouts{
               Create:               300,
               Update:               400,
               Delete:               500,
               XXX_NoUnkeyedLiteral: struct {}{},
               XXX_unrecognized:     nil,
               XXX_sizecache:        0,
           },
           XXX_NoUnkeyedLiteral: struct {}{},
           XXX_unrecognized:     nil,
           XXX_sizecache:        0,
       }
```

* Changing the design to use strings

* CHANGELOG entry to include the CustomTimeouts work

* Changing custom timeouts to be passed around the engine as converted value

We don't want to pass around strings - the user can provide it but we want
to make the engine aware of the timeout in seconds as a float64
2019-07-16 00:26:28 +03:00
..
analyzer_grpc_pb.js Use nightly protoc gRPC plugin for node (#1948) 2018-09-17 15:16:31 -07:00
analyzer_pb.js Remove policy ID from the analyzer protocol 2019-06-13 17:39:30 -07:00
engine_grpc_pb.js Update the provider RPC interface (#2512) 2019-03-05 10:49:24 -08:00
engine_pb.js Update the provider RPC interface (#2512) 2019-03-05 10:49:24 -08:00
errors_pb.js Work around commonjs protoc bug (#2403) 2019-01-29 17:07:47 -08:00
language_grpc_pb.js Use nightly protoc gRPC plugin for node (#1948) 2018-09-17 15:16:31 -07:00
language_pb.js Add query mode to the language protocol 2019-05-02 18:08:08 -07:00
languages_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
languages_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
plugin_pb.js Allow GetRequiredPlugins RPC to return a download location 2019-06-03 09:31:18 -07:00
provider_grpc_pb.js Regnerate gRPC generated code 2019-05-10 17:07:52 -07:00
provider_pb.js Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
resource_grpc_pb.js Regnerate gRPC generated code 2019-05-10 17:07:52 -07:00
resource_pb.js Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
status_pb.js Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00