open-consul/website/content/api-docs
Michael Wilkerson 40dd8ce65b
Add sameness group field to prepared queries (#17089)
* added method for converting SamenessGroupConfigEntry
- added new method `ToQueryFailoverTargets` for converting a SamenessGroupConfigEntry's members to a list of QueryFailoverTargets
- renamed `ToFailoverTargets` ToServiceResolverFailoverTargets to distinguish it from `ToQueryFailoverTargets`

* Added SamenessGroup to PreparedQuery
- exposed Service.Partition to API when defining a prepared query
- added a method for determining if a QueryFailoverOptions is empty
- This will be useful for validation
- added unit tests

* added method for retrieving a SamenessGroup to state store

* added logic for using PQ with SamenessGroup
- added branching path for SamenessGroup handling in execute. It will be handled separate from the normal PQ case
- added a new interface so that the `GetSamenessGroupFailoverTargets` can be properly tested
- separated the execute logic into a `targetSelector` function so that it can be used for both failover and sameness group PQs
- split OSS only methods into new PQ OSS files
- added validation that `samenessGroup` is an enterprise only feature

* added documentation for PQ SamenessGroup
2023-04-24 13:21:28 -07:00
..
acl Remove legacy acl tokens (#15947) 2023-01-27 09:17:07 -06:00
agent Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
connect Docs/intentions refactor docs day 2022 (#16758) 2023-03-24 15:16:06 -07:00
features Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
operator Fix rendering error on new operator usage docs (#16393) 2023-02-23 12:02:03 -06:00
admin-partitions.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
api-structure.mdx Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
catalog.mdx Docs/services refactor docs day 122022 (#16103) 2023-02-28 14:09:56 -08:00
config.mdx docs: Document config entry permissions (#16556) 2023-03-07 14:05:23 -06:00
coordinate.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
discovery-chain.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
event.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
health.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
index.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
kv.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
libraries-and-sdks.mdx
namespaces.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
peering.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
query.mdx Add sameness group field to prepared queries (#17089) 2023-04-24 13:21:28 -07:00
session.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
snapshot.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
status.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00
txn.mdx docs: Migrate link formats (#15976) 2023-01-25 08:52:43 -08:00