open-consul/agent/consul
Dhia Ayachi 75f69a98a2
fix leadership transfer on leave suggestions (#11387)
* add suggestions

* set isLeader to false when leadership transfer succeed
2021-10-21 14:02:26 -04:00
..
authmethod Bump `go-discover` to fix broken dep tree (#10898) 2021-09-16 15:31:22 -04:00
discoverychain Fix enterprise discovery chain tests; Fix multi-level split merging 2021-09-10 21:11:00 +01:00
fsm acl: remove the last of the legacy FSM 2021-09-29 12:42:23 -04:00
prepared_query fixing various bits of enterprise meta plumbing to be more correct (#10889) 2021-08-20 14:34:23 -05:00
state Add new service-exports config entry 2021-10-20 12:24:18 -07:00
stream state: adjust streaming event generation to account for partitioned nodes (#10860) 2021-08-17 16:49:26 -05:00
testdata Fix support for RSA CA keys in Connect. (#6638) 2019-11-01 13:20:26 +00:00
usagemetrics Add new service-exports config entry 2021-10-20 12:24:18 -07:00
wanfed grpc: ensure that streaming gRPC requests work over mesh gateway based wan federation (#10838) 2021-08-24 16:28:44 -05:00
acl.go acl: only run startACLUpgrade once 2021-09-29 16:22:01 -04:00
acl_authmethod.go ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
acl_authmethod_oss.go acl: add auth method for JWTs (#7846) 2020-05-11 20:59:29 -05:00
acl_authmethod_test.go acl: refactor the authmethod.Validator interface (#7760) 2020-05-01 17:35:28 -05:00
acl_client.go acl: remove ACL upgrading from Clients 2021-09-29 14:02:38 -04:00
acl_endpoint.go acl: fix test failures caused by remocving legacy ACLs 2021-10-01 18:03:10 -04:00
acl_endpoint_legacy.go acl: remove ACL.GetPolicy endpoint and resolve legacy acls 2021-09-29 14:33:19 -04:00
acl_endpoint_oss.go acl: small OSS refactors to help ensure that auth methods with namespace rules work with partitions (#11323) 2021-10-14 15:38:05 -05:00
acl_endpoint_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
acl_oss.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 12:39:35 -04:00
acl_oss_test.go acl: ensure the global management policy grants all necessary partition privileges (#11072) 2021-09-16 15:53:10 -05:00
acl_replication.go acl: remove legacy ACL replication 2021-09-03 12:42:06 -04:00
acl_replication_test.go acl: fix test failure 2021-09-29 15:21:30 -04:00
acl_replication_types.go Handle FSM.Apply errors in raftApply 2021-04-20 13:29:29 -04:00
acl_server.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
acl_server_oss.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 12:39:35 -04:00
acl_test.go acl: remove ACL.GetPolicy endpoint and resolve legacy acls 2021-09-29 14:33:19 -04:00
acl_token_exp.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
acl_token_exp_test.go acl: remove ACLDatacenter 2021-08-06 18:27:00 -04:00
auto_config_backend.go auto-config: move autoConfigBackend impl off of Server 2021-07-12 13:42:40 -04:00
auto_config_backend_test.go auto-config: move autoConfigBackend impl off of Server 2021-07-12 13:42:40 -04:00
auto_config_endpoint.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
auto_config_endpoint_test.go acl: make ACLDisabledTTL a constant 2021-08-17 13:34:18 -04:00
auto_encrypt_endpoint.go rpc: remove unnecessary arg to ForwardRPC 2021-05-06 13:30:07 -04:00
auto_encrypt_endpoint_test.go server: remove defaulting of PrimaryDatacenter 2021-08-06 18:45:24 -04:00
autopilot.go fix consul_autopilot_healthy metric emission (#11231) 2021-10-08 10:31:50 -07:00
autopilot_oss.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
autopilot_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
catalog_endpoint.go agent: ensure that most agent behavior correctly respects partition configuration (#10880) 2021-08-19 15:09:42 -05:00
catalog_endpoint_test.go acl: made acl rules in tests slightly more specific 2021-09-22 18:24:56 -04:00
client.go acl: remove ACL upgrading from Clients 2021-09-29 14:02:38 -04:00
client_serf.go acl: remove ACL upgrading from Clients 2021-09-29 14:02:38 -04:00
client_test.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
cluster_test.go A couple testing helper updates (#7694) 2020-04-27 12:17:38 -04:00
config.go acl: make ACLDisabledTTL a constant 2021-08-17 13:34:18 -04:00
config_endpoint.go structs: rename the last helper method. 2021-09-29 11:48:38 -04:00
config_endpoint_test.go config: use the new ACL system in tests 2021-09-21 17:57:29 -04:00
config_oss.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
config_replication.go Handle FSM.Apply errors in raftApply 2021-04-20 13:29:29 -04:00
config_replication_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
connect_ca_endpoint.go Use stored entmeta to fill authzContext 2021-10-14 08:57:40 -06:00
connect_ca_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
coordinate_endpoint.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
coordinate_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
discovery_chain_endpoint.go oss portion of ent #1069 (#10883) 2021-08-20 12:57:45 -04:00
discovery_chain_endpoint_test.go partition dicovery chains (#10983) 2021-09-07 16:29:32 -04:00
enterprise_client_oss.go Preparation for changing where license management is done. 2021-05-24 10:19:31 -04:00
enterprise_config_oss.go Add EnterpriseConfig stubs (#6566) 2019-10-01 14:34:55 -04:00
enterprise_server_oss.go acl: remove updateEnterpriseSerfTags 2021-10-04 17:01:51 -04:00
enterprise_server_oss_test.go Preparation for changing where license management is done. 2021-05-24 10:19:31 -04:00
federation_state_endpoint.go acl: use authz consistently as the variable name for an acl.Authorizer 2021-08-17 12:14:10 -04:00
federation_state_endpoint_test.go acl: remove ACLResolver config fields from consul.Config 2021-08-17 13:32:52 -04:00
federation_state_replication.go Handle FSM.Apply errors in raftApply 2021-04-20 13:29:29 -04:00
federation_state_replication_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
filter.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
filter_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
flood.go agent: refactor to use a single addrFn 2020-05-05 21:08:10 +02:00
gateway_locator.go server: initialize mgw-wanfed to use local gateways more on startup (#9528) 2021-01-25 17:30:38 -06:00
gateway_locator_test.go server: initialize mgw-wanfed to use local gateways more on startup (#9528) 2021-01-25 17:30:38 -06:00
health_endpoint.go acl: remove acl == nil checks 2021-07-30 14:28:19 -04:00
health_endpoint_test.go acl: made acl rules in tests slightly more specific 2021-09-22 18:24:56 -04:00
helper_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
intention_endpoint.go Default the partition in ixn check 2021-09-16 14:39:01 -06:00
intention_endpoint_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
internal_endpoint.go Account for partitions in ixn match/decision 2021-09-16 14:39:01 -06:00
internal_endpoint_test.go Account for partitions in ixn match/decision 2021-09-16 14:39:01 -06:00
issue_test.go stream: Use a no-op event publisher if streaming is disabled 2020-10-28 13:54:19 -04:00
kvs_endpoint.go acl: Remove the remaining authz == nil checks 2021-07-30 14:55:35 -04:00
kvs_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
leader.go acl: call stop for the upgrade goroutine when done 2021-09-29 17:36:43 -04:00
leader_connect.go telemetry: add a metric for agent TLS cert expiry 2021-08-04 13:51:44 -04:00
leader_connect_ca.go Ensure partition is handled by auto-encrypt 2021-10-14 08:32:45 -06:00
leader_connect_ca_test.go acl: small improvements to ACLResolver disable due to RPC error 2021-08-17 13:34:18 -04:00
leader_connect_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
leader_federation_state_ae.go agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669) 2021-07-22 13:20:45 -05:00
leader_federation_state_ae_test.go Merge pull request #11182 from hashicorp/dnephin/acl-legacy-remove-upgrade 2021-10-04 17:25:39 -04:00
leader_intentions.go Sync enterprise changes to oss (#10994) 2021-09-08 11:59:30 -04:00
leader_intentions_oss.go server: skip deleted and deleting namespaces when migrating intentions to config entries (#9186) 2020-11-13 13:56:41 -06:00
leader_intentions_oss_test.go server: skip deleted and deleting namespaces when migrating intentions to config entries (#9186) 2020-11-13 13:56:41 -06:00
leader_intentions_test.go acl: remove ACLResolver config fields from consul.Config 2021-08-17 13:32:52 -04:00
leader_metrics.go telemetry: add log message when certs are about to expire 2021-08-04 14:18:59 -04:00
leader_test.go acl: remove updateEnterpriseSerfTags 2021-10-04 17:01:51 -04:00
logging.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
logging_test.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
merge.go agent: ensure that most agent behavior correctly respects partition configuration (#10880) 2021-08-19 15:09:42 -05:00
merge_test.go Skips unique node ID check for old versions of Consul. 2017-09-05 22:57:29 -07:00
operator_autopilot_endpoint.go acl: use authz consistently as the variable name for an acl.Authorizer 2021-08-17 12:14:10 -04:00
operator_autopilot_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
operator_endpoint.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
operator_raft_endpoint.go acl: use authz consistently as the variable name for an acl.Authorizer 2021-08-17 12:14:10 -04:00
operator_raft_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
options.go grpc: ensure that streaming gRPC requests work over mesh gateway based wan federation (#10838) 2021-08-24 16:28:44 -05:00
options_oss.go Preparation for changing where license management is done. 2021-05-24 10:19:31 -04:00
prepared_query_endpoint.go fixing various bits of enterprise meta plumbing to be more correct (#10889) 2021-08-20 14:34:23 -05:00
prepared_query_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
raft_rpc.go rpc: authorize raft requests (#10925) 2021-08-26 15:04:32 -07:00
replication.go Refactor of serf feature flag tags. 2021-05-20 12:57:06 -04:00
replication_test.go Move some things around to allow for license updating via config reload 2021-05-25 09:57:50 -04:00
rpc.go grpc: strip local ACL tokens from RPCs during forwarding if crossing datacenters (#11099) 2021-09-22 13:14:26 -05:00
rpc_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00
rtt.go agent: ensure that most agent behavior correctly respects partition configuration (#10880) 2021-08-19 15:09:42 -05:00
rtt_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
segment_oss.go agent: ensure that most agent behavior correctly respects partition configuration (#10880) 2021-08-19 15:09:42 -05:00
serf_test.go
server.go fix leadership transfer on leave suggestions (#11387) 2021-10-21 14:02:26 -04:00
server_connect.go auto-config: move autoConfigBackend impl off of Server 2021-07-12 13:42:40 -04:00
server_lookup.go Fix ACL mode advertisement and detection (#7451) 2020-03-16 12:54:45 -04:00
server_lookup_test.go ci: enable SA4006 staticcheck check 2020-06-16 13:10:11 -04:00
server_oss.go sync changes to oss files made in enterprise (#10670) 2021-07-22 13:58:08 -05:00
server_register.go connect: update centralized upstreams representation in service-defaults (#10015) 2021-04-15 14:21:44 -05:00
server_serf.go acl: remove reading of serf acl tags 2021-09-29 15:45:11 -04:00
server_test.go acl: some acl authz refactors for nodes (#10909) 2021-08-25 13:43:11 -05:00
session_endpoint.go acl: remove unused error return 2021-08-05 15:20:13 -04:00
session_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
session_timers.go
session_timers_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
session_ttl.go agent: ensure that most agent behavior correctly respects partition configuration (#10880) 2021-08-19 15:09:42 -05:00
session_ttl_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
snapshot_endpoint.go acl: use authz consistently as the variable name for an acl.Authorizer 2021-08-17 12:14:10 -04:00
snapshot_endpoint_test.go acl: remove ACLResolver config fields from consul.Config 2021-08-17 13:32:52 -04:00
stats_fetcher.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
stats_fetcher_test.go Maybe fix another data race in a test 2020-12-22 18:53:54 -05:00
status_endpoint.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
status_endpoint_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
subscribe_backend.go grpc: strip local ACL tokens from RPCs during forwarding if crossing datacenters (#11099) 2021-09-22 13:14:26 -05:00
subscribe_backend_test.go grpc: strip local ACL tokens from RPCs during forwarding if crossing datacenters (#11099) 2021-09-22 13:14:26 -05:00
system_metadata.go Handle FSM.Apply errors in raftApply 2021-04-20 13:29:29 -04:00
system_metadata_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
txn_endpoint.go acl: use authz consistently as the variable name for an acl.Authorizer 2021-08-17 12:14:10 -04:00
txn_endpoint_test.go Convert tests to the new ACL system 2021-09-21 18:35:12 -04:00
util.go acl: remove reading of serf acl tags 2021-09-29 15:45:11 -04:00
util_test.go acl: remove legacy ACL upgrades from Server 2021-09-29 15:19:23 -04:00