pulumi/tests/integration
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
..
config_basic Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
delete_before_create Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
dependency_steps Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
diff Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
double_pending_delete Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
duplicate_urns Allow dependsOn to accept a Resource | Resource[] (#1692) 2018-08-02 13:13:33 -07:00
empty Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
partial_state Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
project_main Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
project_main_abs Fix pending delete replacement failure (#658) 2017-12-07 09:44:38 -08:00
project_main_parent Fix pending delete replacement failure (#658) 2017-12-07 09:44:38 -08:00
protect_resources Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
read Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
recreate_resource_check Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
stack_bad_parenting Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
stack_dependencies Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
stack_outputs Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
stack_parenting Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
stack_project_name Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
steps Add license fields to package.json. (#1656) 2018-07-24 16:10:13 -07:00
integration_test.go Prefer "up" over "update" (#1672) 2018-07-31 10:22:16 -07:00