open-consul/agent/cache-types
Dhia Ayachi 3deaf767f2
Egress gtw/intention rpc endpoint (#13354)
* 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

* change state store API to get an IntentionTarget parameter

* add intentions tests

* add destination upstream endpoint

* fix failing test

* fix failing test and a bug with wildcard intentions

* fix failing test

* Apply suggestions from code review

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

* add missing test and clarify doc

* fix style

* gofmt intention.go

* fix merge introduced issue

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:55:02 -04:00
..
catalog_datacenters.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_datacenters_test.go ci: enable SA4006 staticcheck check 2020-06-16 13:10:11 -04:00
catalog_list_services.go agent/cache: Use AllowNotModifiedResponse in CatalogListServices 2020-07-14 18:58:20 -04:00
catalog_list_services_test.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
catalog_service_list.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_service_list_test.go Gateway Services Nodes UI Endpoint (#7685) 2020-05-11 11:35:17 -06:00
catalog_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
config_entry.go Watch the singular service resolver instead of the list + filtering to 1 (#13012) 2022-05-12 16:34:17 -04:00
config_entry_test.go Watch the singular service resolver instead of the list + filtering to 1 (#13012) 2022-05-12 16:34:17 -04:00
connect_ca_leaf.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
connect_ca_leaf_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
connect_ca_leaf_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
connect_ca_root.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
connect_ca_root_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
discovery_chain.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
discovery_chain_test.go Finish removing useInDatacenter 2021-10-26 23:36:01 -06:00
exported_peered_services.go peering: allow mesh gateways to proxy L4 peered traffic (#13339) 2022-06-06 14:20:41 -05:00
exported_peered_services_test.go peering: allow mesh gateways to proxy L4 peered traffic (#13339) 2022-06-06 14:20:41 -05:00
federation_state_list_gateways.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
federation_state_list_gateways_test.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
gateway_services.go Move GatewayServices out of Internal 2020-06-12 13:46:47 -06:00
gateway_services_test.go Move compound service names to use ServiceName type 2020-06-12 13:47:43 -06:00
health_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
health_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_match.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
intention_match_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_upstreams.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
intention_upstreams_destination.go Egress gtw/intention rpc endpoint (#13354) 2022-06-07 15:55:02 -04:00
intention_upstreams_destination_test.go Egress gtw/intention rpc endpoint (#13354) 2022-06-07 15:55:02 -04:00
intention_upstreams_test.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
mock_Agent.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
mock_RPC.go chore: upgrade mockery to v2 and regenerate (#12836) 2022-04-21 09:48:21 -05:00
mock_TrustBundleReader_test.go Configure upstream TLS context with peer root certs (#13321) 2022-06-01 15:53:52 -06:00
node_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
node_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
norace_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
options.go Disable background cache refresh for Connect Leaf Certs 2020-07-21 12:19:25 -04:00
prepared_query.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
prepared_query_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
race_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
resolved_service_config.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
resolved_service_config_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
rpc.go chore: upgrade mockery to v2 and regenerate (#12836) 2022-04-21 09:48:21 -05:00
service_checks.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
service_checks_test.go Fix a number of problems found by staticcheck 2020-05-19 16:50:14 -04:00
service_dump.go end to end changes to pass gatewayservices to /ui/services/ 2020-07-30 10:21:11 -06:00
service_dump_test.go Fix test build 2020-08-06 11:31:56 -06:00
testing.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
trust_bundle.go Configure upstream TLS context with peer root certs (#13321) 2022-06-01 15:53:52 -06:00
trust_bundle_test.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00
trust_bundles.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00
trust_bundles_test.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00