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

Remove deprecations from AppRegistryController #6039

Closed
wants to merge 2 commits into from

Conversation

cppwfs
Copy link
Contributor

@cppwfs cppwfs commented Oct 30, 2024

The original issue states to remove deprecated functions. However, this would remove some of SCDF's default behavior when registering applications. In that it can look the suffix of the URL to obtain the version. The original Issues for the PR that put in the deprecations just wanted to give the user the ability to override the version.

Also deprecated the use of bootVersion when registering an app.

Resolves #6011

@@ -224,7 +223,7 @@ else if (entry.getKey().equals("outbound")) {
* @param type module type
* @param name module name
* @param version module version
* @param bootVersion module boot version or {@code null} to use the default
* @param bootVersion module boot version or {@code null} to use the default. Deprecated: bootVersion is no longer needed when registering an app.
Copy link
Contributor

Choose a reason for hiding this comment

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

I have mixed feelings about leaving this in since there is no Boot2/3 in SCDF 3.x. However, since it is a controller it is the upgrade empathy thing to do to leave it in and mark @Deprecated. Do you mind adusting the desc to say that the parameter is ignored completely?

Copy link
Contributor

@onobc onobc left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @cppwfs . One small suggestion and then also do you mind adding this to the What's New doc as part of this PR? I think we should add these as we go (in the deprecation PRs)

The original issue states to remove deprecated functions.
However, this would remove some of SCDF's default behavior when registering applications.
In that it can look the suffix of the URL to obtain the version.
The original Issues for the PR that put in the deprecations just wanted to give the
user the ability to override the version.

Also deprecated the use of bootVersion when registering an app.

Resolves spring-cloud#6011

Signed-off-by: Glenn Renfro <[email protected]>
Added entry to whats-new.adoc
Updated javadoc for register method.
Copy link
Contributor

@onobc onobc left a comment

Choose a reason for hiding this comment

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

Thx for the updates @cppwfs

@cppwfs
Copy link
Contributor Author

cppwfs commented Oct 30, 2024

Updated per code review request.
Rebased, squashed, merged.

Thanks @onobc for the review!!!!!!!

@cppwfs cppwfs closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppRegistryController Deprecation cleanup
2 participants