open-consul/agent/rpc/peering
Chris S. Kim 0910c41d95
Revise possible states for a peering. (#13661)
These changes are primarily for Consul's UI, where we want to be more
specific about the state a peering is in.

- The "initial" state was renamed to pending, and no longer applies to
  peerings being established from a peering token.

- Upon request to establish a peering from a peering token, peerings
  will be set as "establishing". This will help distinguish between the
  two roles: the cluster that generates the peering token and the
  cluster that establishes the peering.

- When marked for deletion, peering state will be set to "deleting".
  This way the UI determines the deletion via the state rather than the
  "DeletedAt" field.

Co-authored-by: freddygv <freddy@hashicorp.com>
2022-07-04 10:47:58 -04:00
..
health_snapshot.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
health_snapshot_test.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
replication.go Clean up imported nodes/services/checks as needed (#13367) 2022-06-13 11:52:28 -06:00
service.go Revise possible states for a peering. (#13661) 2022-07-04 10:47:58 -04:00
service_oss_test.go peering: allow protobuf requests to populate the default partition or namespace (#13398) 2022-06-08 11:55:18 -05:00
service_test.go Revise possible states for a peering. (#13661) 2022-07-04 10:47:58 -04:00
stream_test.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
stream_tracker.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
stream_tracker_test.go add general runstep test helper instead of copying it all over the place (#13013) 2022-05-10 15:25:51 -05:00
subscription_blocking.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_manager.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_manager_test.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
subscription_state.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_state_test.go peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218) 2022-05-25 12:37:44 -05:00
subscription_view.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
subscription_view_test.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
testing.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
testutil_oss_test.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
validate.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
validate_test.go Patches to peering initiation for POC demo (#13076) 2022-05-13 13:01:00 -06:00