pulumi/sdk/nodejs/runtime
Sean Gillespie 48aa5e73f8
Save resources obtained from ".get" in the snapshot (#1654)
* Protobuf changes to record dependencies for read resources

* Add a number of tests for read resources, especially around replacement

* Place read resources in the snapshot with "external" bit set

Fixes pulumi/pulumi#1521. This commit introduces two new step ops: Read
and ReadReplacement. The engine generates Read and ReadReplacement steps
when servicing ReadResource RPC calls from the language host.

* Fix an omission of OpReadReplace from the step list

* Rebase against master

* Transition to use V2 Resources by default

* Add a semantic "relinquish" operation to the engine

If the engine observes that a resource is read and also that the
resource exists in the snapshot as a non-external resource, it will not
delete the resource if the IDs of the old and new resources match.

* Typo fix

* CR: add missing comments, DeserializeDeployment -> DeserializeDeploymentV2, ID check
2018-08-03 14:06:00 -07:00
..
closure Ensure we can capture non-built-in modules with 'require'. (#1685) 2018-08-02 16:25:49 -04:00
config.ts Go back to capturing *non-user* modules by 'require' reference. (#1655) 2018-07-31 11:37:46 -04:00
debuggable.ts Add license headers 2018-05-22 15:02:47 -07:00
index.ts Compute required packages during closure serialization (#1457) 2018-06-03 21:55:37 -07:00
invoke.ts Improve the error message when data source invocations fail (#1472) 2018-06-07 11:21:38 -07:00
resource.ts Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
rpc.ts Rollback PRs (#1628) 2018-07-11 18:33:53 -07:00
settings.ts Add license headers 2018-05-22 15:02:47 -07:00
stack.ts Add license headers 2018-05-22 15:02:47 -07:00