open-consul/agent/consul
Dhia Ayachi 7602b6ebf2
Egress gtw/connect destination intentions (#13341)
* update gateway-services table with endpoints

* fix failing test

* remove unneeded config in test

* rename "endpoint" to "destination"

* more endpoint renaming to destination in tests

* update isDestination based on service-defaults config entry creation

* use a 3 state kind to be able to set the kind to unknown (when neither a service or a destination exist)

* set unknown state to empty to avoid modifying alot of tests

* fix logic to set the kind correctly on CRUD

* fix failing tests

* add missing tests and fix service delete

* fix failing test

* Apply suggestions from code review

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>

* fix a bug with kind and add relevant test

* fix compile error

* fix failing tests

* add kind to clone

* fix failing tests

* fix failing tests in catalog endpoint

* fix service dump test

* Apply suggestions from code review

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>

* remove duplicate tests

* first draft of destinations intention in connect proxy

* remove ServiceDestinationList

* fix failing tests

* fix agent/consul failing tests

* change to filter intentions in the state store instead of adding a field.

* fix failing tests

* fix comment

* fix comments

* store service kind destination and add relevant tests

* changes based on review

* filter on destinations when querying source match

* Apply suggestions from code review

Co-authored-by: alex <8968914+acpana@users.noreply.github.com>

* fix style

* Apply suggestions from code review

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>

* rename destinationType to targetType.

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>
Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
Co-authored-by: github-team-consul-core <github-team-consul-core@hashicorp.com>
2022-06-07 15:03:59 -04:00
..
auth
authmethod
autopilotevents
discoverychain
fsm
prepared_query
state
stream
testdata
usagemetrics
wanfed
acl.go
acl_authmethod.go
acl_authmethod_oss.go
acl_client.go
acl_endpoint.go
acl_endpoint_legacy.go
acl_endpoint_oss.go
acl_endpoint_test.go
acl_oss.go
acl_oss_test.go
acl_replication.go
acl_replication_test.go
acl_replication_types.go
acl_server.go
acl_server_oss.go
acl_test.go
acl_token_exp.go
acl_token_exp_test.go
auto_config_backend.go
auto_config_backend_test.go
auto_config_endpoint.go
auto_config_endpoint_test.go
auto_encrypt_endpoint.go
auto_encrypt_endpoint_test.go
autopilot.go
autopilot_oss.go
autopilot_test.go
catalog_endpoint.go
catalog_endpoint_test.go
client.go
client_serf.go
client_test.go
cluster_test.go
config.go
config_endpoint.go
config_endpoint_test.go
config_oss.go
config_replication.go
config_replication_test.go
config_test.go
connect_ca_endpoint.go
connect_ca_endpoint_test.go
coordinate_endpoint.go
coordinate_endpoint_test.go
discovery_chain_endpoint.go
discovery_chain_endpoint_test.go
enterprise_client_oss.go
enterprise_config_oss.go
enterprise_server_oss.go
enterprise_server_oss_test.go
federation_state_endpoint.go
federation_state_endpoint_test.go
federation_state_replication.go
federation_state_replication_test.go
filter.go
filter_test.go
flood.go
gateway_locator.go
gateway_locator_test.go
grpc_integration_test.go
health_endpoint.go
health_endpoint_test.go
helper_test.go
intention_endpoint.go
intention_endpoint_test.go
internal_endpoint.go
internal_endpoint_test.go update gateway-services table with endpoints (#13217) 2022-05-31 16:20:12 -04:00
issue_test.go
kvs_endpoint.go
kvs_endpoint_test.go
leader.go
leader_connect.go
leader_connect_ca.go
leader_connect_ca_test.go
leader_connect_test.go
leader_federation_state_ae.go
leader_federation_state_ae_test.go
leader_intentions.go
leader_intentions_oss.go
leader_intentions_oss_test.go
leader_intentions_test.go
leader_metrics.go
leader_oss_test.go
leader_peering.go
leader_peering_test.go
leader_test.go
logging.go
logging_test.go
merge.go
merge_oss.go
merge_oss_test.go
merge_service_config.go
merge_service_config_test.go
merge_test.go
operator_autopilot_endpoint.go
operator_autopilot_endpoint_test.go
operator_endpoint.go
operator_raft_endpoint.go
operator_raft_endpoint_test.go
options.go
options_oss.go
peering_backend.go
peering_backend_oss.go
peering_backend_oss_test.go
peering_backend_test.go
prepared_query_endpoint.go
prepared_query_endpoint_test.go
raft_rpc.go
replication.go
replication_test.go
rpc.go
rpc_test.go
rtt.go
rtt_test.go
segment_oss.go
serf_filter.go
serf_test.go
server.go
server_connect.go
server_lookup.go
server_lookup_test.go
server_oss.go
server_overview.go
server_overview_test.go
server_register.go
server_serf.go
server_test.go
session_endpoint.go
session_endpoint_test.go
session_timers.go
session_timers_test.go
session_ttl.go
session_ttl_test.go
snapshot_endpoint.go
snapshot_endpoint_test.go
stats_fetcher.go
stats_fetcher_test.go
status_endpoint.go
status_endpoint_test.go
subscribe_backend.go
subscribe_backend_test.go
system_metadata.go
system_metadata_test.go
txn_endpoint.go
txn_endpoint_test.go
util.go
util_test.go