Dhia Ayachi 1b779240ae
update gateway-services table with endpoints (#13217)
* 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

* rename consts and fix kind when no destination is defined in the service-defaults.

* rename Kind to ServiceKind and change switch to use .(type)

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>
2022-05-31 16:20:12 -04:00
..
2021-11-16 12:04:01 -06:00
2022-02-15 18:16:12 -05:00
2022-01-20 10:46:23 -06:00
2019-04-30 16:27:16 -07:00
2020-12-07 13:42:55 -05:00
2022-01-20 10:46:23 -06:00
2022-04-05 15:11:49 -07:00
2021-11-08 11:43:21 -05:00
2021-11-16 12:04:01 -06:00
2022-03-31 10:18:48 -05:00
2021-07-30 12:58:46 -04:00
2022-04-05 15:11:49 -07:00
2022-01-20 10:46:23 -06:00
2022-05-27 11:39:58 -04:00