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 6 commits 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
Holder holder = new Holder();

if (context.getBootstrapContext().isRegistered(AppConfigurationProperties.class)) {
properties = new AppConfigurationProperties();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more of a question, when does this if scenario happen? Who registers the class to the bootstrap context?

Bindable.of(AppConfigurationProviderProperties.class), bindHandler)
.orElseGet(AppConfigurationProviderProperties::new);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add appProperties.validateAndInit(); as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppProperties are set by us and have default values. They are things like our maxRetries and stuff that the customer shouldn't be changing. I've been thinking about reworking this part of the library. I'll leave this comment open for now to track it.

@@ -14,8 +13,6 @@

public class TracingInfo {

private boolean isDev = false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we disbling dev tracing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of the changes it made it rather difficult to detect if it was a "dev" request. Also it was using just a convention to guess if it was dev. In all the new libraries we are not including it, so I was told it was fine to remove.

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