Michael Klein
42a725bffe
Add `unknown`-state predicate services
...
Based on the new peer relationship
2022-10-13 16:43:49 +02:00
Michael Klein
ebf7c91b11
Update imported/export count on peers
...
Api has changed we need to adjust accordingly.
2022-10-13 16:43:49 +02:00
Michael Klein
40e18c0e45
Add peer as a belongs-to to service
...
Working with a peer model as a relationship is much
easier than to workaround a non-relationship in
imported services. This is currently only relevant
for imported-services where we know the peer
in advance.
2022-10-13 16:43:49 +02:00
Michael Klein
45f06149d4
Always transition to imported peers.edit
2022-10-13 16:43:49 +02:00
Michael Klein
a61085258e
Prototype StreamStatus integration peers detail
2022-10-13 16:43:49 +02:00
Michael Klein
90259d7366
Move peering bento box into dedicated component
2022-10-13 16:43:49 +02:00
Michael Klein
e8db58c56b
Don't handle undefined in smart-date-format
...
We will handle that from the outside
2022-10-13 16:43:38 +02:00
Michael Klein
7600cb2e31
Add bento box peers.edit
2022-10-13 16:43:38 +02:00
Michael Klein
ecfb17bba0
Implement smart-date-format-helper
...
Add a helper that knows how to format past dates
in a smart way. When less than a week ago we will
use relative date strings - for dates older than a week
we will use a friendly human-readable format.
This matches best practices we want to adhere to
based on what Terraform did for date-formatting.
2022-10-13 16:43:38 +02:00
Michael Klein
ec8c6e0c47
Add empty state peers.edit.addresses
2022-10-13 16:43:38 +02:00
Michael Klein
128de18ac1
Add tooltips exported/imported tabs
2022-10-13 16:43:38 +02:00
Michael Klein
ec6d6d001f
Display tab tooltips in tab-nav
2022-10-13 16:43:38 +02:00
Michael Klein
7162005a70
Allow tabs to have tooltips
2022-10-13 16:43:38 +02:00
Michael Klein
56d83c316e
Link service in exported-service list
2022-10-13 16:43:38 +02:00
Michael Klein
33471be408
Show cursor peer-list
2022-10-13 16:43:38 +02:00
Michael Klein
20d80ed8eb
Implement imported services tab peers.edit
2022-10-13 16:43:38 +02:00
Michael Klein
312e6ff206
Display addresses when receiver peer.edit
2022-10-13 16:43:38 +02:00
Michael Klein
7956576019
Return all items without search term exported
2022-10-13 16:43:38 +02:00
Michael Klein
8707b6c3d3
Always display imported & exported on peer
...
Peers are bi-directional, we need to reflect that
2022-10-13 16:43:38 +02:00
Michael Klein
53c29394cd
fix placeholder empty-state exported
2022-10-13 16:43:38 +02:00
Michael Klein
469fe420b3
Make exported-services searchable by name
2022-10-13 16:43:38 +02:00
Michael Klein
aebb988daf
Create search-provider
2022-10-13 16:43:38 +02:00
Michael Klein
559fbc2ef4
Pull in vertical-collection
...
We want to use a community solution for occlusion
rendering for this problem instead of using a custom
abstraction.
2022-10-13 16:43:38 +02:00
Michael Klein
5f670e404d
Create dimensions provider
...
To measure the available space of an element when it
should take up the "rest" of the page. This matches
what `ListCollection` is doing internally but makes
the mechanism available in a composable component.
2022-10-13 16:43:38 +02:00
Michael Klein
3b810469cf
Switch out ember-ref-modifier for ember-ref-bucket
...
ember-ref-bucket is the successor of ref-modifier. We
weren't using ref-modifier anywhere so switching out
is not an issue.
2022-10-13 16:43:38 +02:00
Michael Klein
445356eedb
Use HDS in peers.edit.exported
2022-10-13 16:43:31 +02:00
Michael Klein
964991ce02
Configure tailwind-jit for sub-apps as well
2022-10-13 10:44:07 +02:00
Michael Klein
34ec12202d
add external-services method to peer repo
2022-10-13 10:44:07 +02:00
Michael Klein
3559549db7
Move javascript tab class to tab-nav
2022-10-13 10:44:07 +02:00
Michael Klein
a8b44eb6e2
Pass provider data for peering tab-nav
2022-10-13 10:44:07 +02:00
Michael Klein
9c1f907ed9
Create Peerings::Provider
...
We need a component abstraction that encapsulates
creating the dynamic tabs based on peering-type.
We create a `PeerTab`-abstraction that behaves like
the data-structure the tab-nav expects to achieve this
effect.
2022-10-13 10:44:07 +02:00
Michael Klein
8b962b5c30
Transition to exported/imported based on peer type
2022-10-13 10:44:07 +02:00
Michael Klein
991bc5a6cd
Add imported/exported tabs to peers.edit
2022-10-13 10:44:07 +02:00
Michael Klein
552af5a428
Add imported and exported routes for peers.edit
2022-10-13 10:44:07 +02:00
Michael Klein
a6e4239e7d
Handle case when this.element is undefined outlet
2022-10-13 10:44:07 +02:00
Michael Klein
ef83c0799f
Add link to peers.edit to peerings list
2022-10-13 10:44:07 +02:00
Michael Klein
e2ca73ecbe
Bring back edit-route for peerings
2022-10-13 10:44:07 +02:00
Michael Klein
686e0f5ad4
Only display regenerate token when peer is dialer
...
Regenerating only makes sense if we are dealing with the
side that created the token - i.e. the dialer.
2022-10-13 10:44:07 +02:00
Michael Klein
b6384d9ffa
Differentiate between dialer / receiver peer model
2022-10-13 10:44:06 +02:00
Paul Glass
bcda205f88
Add consul.xds.server.streamStart metric ( #14957 )
...
This adds a new consul.xds.server.streamStart metric to measure the time taken to first generate xDS resources after an xDS stream is opened.
2022-10-12 14:17:58 -05:00
Iryna Shustava
4bc4ef135c
cli: Add -node-name flag to redirect-traffic command ( #14933 )
2022-10-12 11:53:41 -06:00
cskh
eb26a7dee9
fix(cli): missing error message ( #14959 )
2022-10-12 11:09:47 -04:00
Riddhi Shah
345191a0df
Service http checks data source for agentless proxies ( #14924 )
...
Adds another datasource for proxycfg.HTTPChecks, for use on server agents. Typically these checks are performed by local client agents and there is no equivalent of this in agentless (where servers configure consul-dataplane proxies).
Hence, the data source is mostly a no-op on servers but in the case where the service is present within the local state, it delegates to the cache data source.
2022-10-12 07:49:56 -07:00
Freddy
9ca8bb8ec4
Merge pull request #14958 from hashicorp/peering/nonce
2022-10-12 08:18:15 -06:00
freddygv
1b46b35041
Actually track nonce in test
2022-10-12 07:50:17 -06:00
Derek Menteer
f330438a45
Fix incorrect backoff-wait logic.
2022-10-12 08:01:10 -05:00
Dhia Ayachi
7f6c52a9ee
bump raft version to v1.3.11 ( #14897 )
...
* bump raft version to v1.3.11
* Add change log
* fix go.sum
2022-10-12 08:51:52 -04:00
Michael Klein
c286544fa8
Merge pull request #14938 from hashicorp/ui/chore/removable-terminated-peers
...
ui: make terminated peers removable
2022-10-12 10:41:59 +02:00
Michael Klein
63e40df307
Allow deleting terminated peers
2022-10-12 09:33:23 +02:00
Michael Klein
0afe8c14ee
pass dc/partition when normalizing peerings
2022-10-12 09:29:24 +02:00