-
Notifications
You must be signed in to change notification settings - Fork 13
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
#717 Runtime activation of ETCD Config Sources #720
base: master
Are you sure you want to change the base?
#717 Runtime activation of ETCD Config Sources #720
Conversation
@@ -34,9 +35,10 @@ | |||
*/ | |||
public class CachedEtcdConfigSource extends DefaultEtcdConfigSource { | |||
|
|||
static boolean active = false; |
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.
A feladat leírásban, azzal hogy "active flag is needed with an extension of CachedEtcdConfigSource
", arra utaltam, hogy ezt a runtime active flag kezelést egy leszármazottba kellene tenni, hogy aki ezt a CachedEtcdConfigSource
-ot használja, azt ne befolyásolja. Így, hogy itt van default active = false
-al, így rá van minden használó kényszerítve, hogy futásidőben is aktiválja a config source-t, de ez nem minden esetben kell, hogy így működjön, csak ha külön arra van igény.
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.
Elnézést, félre értettem a feladatot.
@@ -34,9 +35,10 @@ | |||
*/ | |||
public class CachedEtcdConfigSource extends DefaultEtcdConfigSource { |
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.
FilteredEtcdConfigSource
is szerepel a feladatleírásban. Ahhoz is hasznos lenne egy ilyen megoldás a jövőre nézve. Vagy volt valami oka, hogy az nem lett kiterjesztve?
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.
Bocs, elkerülte a figyelmem, pótoltam.
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.
szerintem erre gondolt:
[source,java] | ||
---- | ||
CachedEtcdConfigSource.setActive(true); | ||
---- |
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.
majd release-notes-ot is írj kérlek
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.
Még nem találtam meg, hova kell. Tudsz segíteni?
No description provided.