-
Notifications
You must be signed in to change notification settings - Fork 2k
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
New Data loader #43802
base: SpringCloudAzure6.0-Preview
Are you sure you want to change the base?
New Data loader #43802
Conversation
@@ -44,8 +44,8 @@ final class AppConfigurationSnapshotPropertySource extends AppConfigurationAppli | |||
* @param trim prefix to trim | |||
* @throws InvalidConfigurationPropertyValueException thrown if fails to parse Json content type |
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.
should we add a description of isRefresh
?
public ConfigData load(ConfigDataLoaderContext context, AzureAppConfigDataResource resource) | ||
throws IOException, ConfigDataResourceNotFoundException { | ||
this.resource = resource; | ||
storeState.setNextForcedRefresh(refreshInterval); |
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.
refreshInterval
seems to be null here. Is that expected?
throw new RuntimeException("Failed to generate property sources for " + resource.getEndpoint(), e); | ||
} | ||
|
||
/** |
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.
nit: params in the java docs do not align with the method signature
Description
Fix of this, updated to main, #41539 (Had trouble merging it.)