Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Version updated to 2.2.0.RELEASE & Deprecated Code Fix #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swagata-chaudhuri-infosys

Purpose

The code uses 2.0.4.RELEASE version of Spring Boot release which is old hence updating this sample with the latest Spring Boot version also deprecated code for WebFlux as been fixed in this changes.

  • ...

Does this introduce a breaking change?

- [ ] Yes
- [x] No

Pull Request Type

What kind of change does this Pull Request introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:


## How to Test
*  Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install


* Test the code
<!-- Add steps to run the tests suite and/or manually test -->

## What to Check
Verify that the following are valid
* ...

## Other Information
<!-- Add any other helpful information that may be needed here. -->

Comment on lines -22 to +26
@Bean
RouterFunction<ServerResponse> routes() {
return route(GET("/api/hello"), request -> ok().syncBody("Hello, Azure!"));
}
@Bean
RouterFunction<ServerResponse> routes() {
return route(GET("/api/hello"), request -> ok().bodyValue("Hello, Azure!"));
}

Choose a reason for hiding this comment

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

Removed deprecated function syncBody and replaced the same with bodyValue

<version>2.0.4.RELEASE</version>
<version>2.2.0.RELEASE</version>

Choose a reason for hiding this comment

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

Updated Spring Boot Version from 2.0.4.RELEASE to 2.2.0.RELEASE

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant