* refactor(edge-stacks): filter endpoints by edgeStack
* feat(api/endpoints): edge stack filter support filtering on status in stack
* refactor(endpoints): use separate query params and not JSON query param when querying for an edge stack
* feat(api/endpoints): handle stack filter on dynamic groups + unique list with multiple groups sharing environments
* fix(app/endpoints): edge stack related query params type definition
* fix(api/endpoints): rebase conflicts on imports
* refactor(edge/groups): load edge groups in selector
fix(edge/stacks): remove double groups title
* feat(edge): supply meta fields to edge script [EE-5043]
* feat(edge): auto assign aeec envs to groups and tags [EE-5043]
fix [EE-5043]
fix(envs): fix global key test
* fix(edge/groups): save group type
* refactor(edge/devices): move loading of devices to table
* refactor(tags): select paramter for query
* feat(edge/devices): show meta fields
* refactor(home): simplify filter
* feat(edge/devices): filter by meta fields
* refactor(edge/devices): break filter and loading hook
* fix(edge): filtering of edge devices [EE-3210]
fixes [EE-3210]
changes:
- replaces `edgeDeviceFilter` with two filters:
- `edgeDevice`
- `edgeDeviceUntrusted`
these filters will only apply to the edge endpoints in the query (so it's possible to get both regular endpoints and edge devices).
if `edgeDevice` is true, will filter out edge agents which are not an edge device.
false, will filter out edge devices
`edgeDeviceUntrusted` applies only when `edgeDevice` is true. then false (default) will hide the untrusted edge devices, true will show only untrusted edge devices.
fix(edge/job-create): retrieve only trusted endpoints + fix endpoint selector pagination limits onChange
fix(endpoint-groups): remove listing of untrusted edge envs (aka in waiting room)
refactor(endpoints): move filter to another function
feat(endpoints): separate edge filters
refactor(environments): change getEnv api
refactor(endpoints): use single getEnv
feat(groups): show error when failed loading envs
style(endpoints): remove unused endpointsByGroup
* chore(deps): update go to 1.18
* fix(endpoint): filter out untrusted by default
* fix(edge): show correct endpoints
* style(endpoints): fix typo
* fix(endpoints): fix swagger
* fix(admin): use new getEnv function
Co-authored-by: LP B <xAt0mZ@users.noreply.github.com>