-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui: Move peers to a subapplication #13725
Conversation
@@ -81,7 +81,7 @@ as |key value|}} | |||
{{#each | |||
(get | |||
(require '/models/peer' | |||
path='schema' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh forgot to mention, this missed a PR somehow for the filtering thing, I was gonna PR it separate, but it slipped in here in the copy over, I'm happy to leave it in here, but let me know if you want me to PR separate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels a lot for making the peer route optional but 🤷 it apparently has additional benefits over that as well so 👍 - can you maybe go into detail a bit more about the additional benefits this approach provides? just for documentation purposes.
@@ -12,7 +12,7 @@ Below is a list of the most commonly used functions as bookmarklets followed by | |||
| [Enable ACLs](javascript:Scenario('CONSUL_ACLS_ENABLE=1')) | Enable ACLs | | |||
| [Enable TProxy](javascript:Scenario('CONSUL_TPROXY_ENABLE=1')) | Enable TProxy | | |||
| [Enable Nspaces](javascript:Scenario('CONSUL_NSPACES_ENABLE=1')) | Enable Namespace Support | | |||
| [Enable Peers](javascript:Scenario('CONSUL_PEERING_ENABLE=1')) | Enable Peers Support | | |||
| [Enable Peers](javascript:Scenario('CONSUL_PEERINGS_ENABLE=1')) | Enable Peering Support | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to update get-environment
as well? I think this is where this cookie value is being read. And we are changing from CONSUL_PEERING_ENABLE
to CONSUL_PEERINGS_ENABLE
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think I did it everywhere, let me check again just incase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed a couple 😬 I've added those and searched the codebase for references to that to triple check, thanks for the nudge!
4b7c2b8
to
1c47c97
Compare
a rebase has made some test weirdness here, just giving it all a once over before merge |
Description
This PR moves the peering feature into a sub-application to take advantage of the extra features that offers.
Note there is a little more moving around/renaming to be done here going by the fact that we have decided to use the term
Peering
more over justPeer
for code things.All discussed offline.
PR Checklist
/cc @LevelbossMike