-
Notifications
You must be signed in to change notification settings - Fork 244
Feature/add versioning in apis #2561
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
Conversation
// TODO: handle exception | ||
return false; | ||
} | ||
return 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.
if version <=0, this will return 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.
fixed
this.mergeUrlsOnVersions = mergeUrlsOnVersions; | ||
} | ||
|
||
public boolean isSkipMergingOnKnownStaticURLsForVersionedApis() { |
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.
is or get?
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.
getter of that boolean, auto-generated
@@ -73,6 +72,10 @@ public class APICatalogSync { | |||
public Map<SensitiveParamInfo, Boolean> sensitiveParamInfoBooleanMap; | |||
public static boolean mergeAsyncOutside = true; | |||
public BloomFilter<CharSequence> existingAPIsInDb = BloomFilter.create(Funnels.stringFunnel(Charsets.UTF_8), 1_000_000, 0.001 ); | |||
private boolean skipMergingOnKnownStaticURLsForVersionedApis = 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.
why is this false by default?
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.
Coz for retrospective fix only we need that, not by default
No description provided.