Skip to content
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

Open
wants to merge 1 commit into
base: SpringCloudAzure6.0-Preview
Choose a base branch
from

Conversation

mrm9084
Copy link
Member

@mrm9084 mrm9084 commented Jan 15, 2025

Description

Fix of this, updated to main, #41539 (Had trouble merging it.)

@github-actions github-actions bot added the azure-spring All azure-spring related issues label Jan 15, 2025
@@ -44,8 +44,8 @@ final class AppConfigurationSnapshotPropertySource extends AppConfigurationAppli
* @param trim prefix to trim
* @throws InvalidConfigurationPropertyValueException thrown if fails to parse Json content type

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);

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);
}

/**

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants