Dhia Ayachi 5ec3274ae5
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
..
2022-04-05 15:11:49 -07:00
2021-11-16 12:04:01 -06:00
2022-04-05 15:11:49 -07:00
2021-11-16 12:04:01 -06:00
2022-04-21 17:34:40 -05:00
2022-04-21 17:34:40 -05:00
2022-04-05 15:11:49 -07:00
2022-04-25 10:19:26 -04:00
2022-04-05 15:11:49 -07:00
2022-04-21 17:34:40 -05:00
2022-04-05 15:11:49 -07:00
2022-01-20 10:46:23 -06:00
2021-11-16 12:04:01 -06:00
2022-04-05 15:11:49 -07:00
2022-04-05 15:11:49 -07:00
2022-04-05 15:11:49 -07:00
2022-06-06 10:00:38 -07:00
2022-04-05 15:11:49 -07:00