-
Notifications
You must be signed in to change notification settings - Fork 583
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
Conversation
@@ -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. |
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.
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?
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.
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.
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.
Thx for the updates @cppwfs
Updated per code review request. Thanks @onobc for the review!!!!!!! |
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