-
Notifications
You must be signed in to change notification settings - Fork 6
Springboot Version update #16
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
base: main
Are you sure you want to change the base?
Conversation
| @@ -1,7 +1,7 @@ | |||
| plugins | |||
| /*plugins | |||
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.
This whole comment out section should be removed.
| //*/ | ||
| plugins | ||
| { | ||
| id 'org.springframework.boot' version '3.3.5' |
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.
A higher stable version is available, we should move to that.
| sourceCompatibility = JavaVersion.VERSION_17 | ||
| targetCompatibility = JavaVersion.VERSION_17 | ||
| } | ||
| //java |
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.
Clean-up and remove all old comments please.
| // url "https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/maven/repository/" | ||
| //} | ||
| } | ||
| dependencies { |
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.
Remove commented out libraries, and add good comments to each library that is used.
| // Not needed | ||
| //implementation("org.springframework.boot:spring-boot-starter-actuator") | ||
| // Use correct BOM version for CICS TS | ||
| compileOnly(enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:6.2-20250528120756-PH65227")) |
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.
We should level-set on CICS TS V6.1 as our min CICS release - add a comment to suggest users can move to a higher level of BOM to match their target CICS region.
| //{ | ||
| // enabled = false // disable plain WAR, use bootWar instead | ||
| //} | ||
| publishing { |
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'm not clear on why this section has changed from the original?
| <groupId>org.springframework.boot</groupId> | ||
| <artifactId>spring-boot-starter-parent</artifactId> | ||
| <version>2.7.0</version> | ||
| <version>3.3.5</version> |
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.
Version need updating.
| <groupId>com.ibm.cics</groupId> | ||
| <artifactId>com.ibm.cics.ts.bom</artifactId> | ||
| <version>5.5-20200519131930-PH25409</version> | ||
| <version>6.1-20240903141936-PH59389</version> |
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.
Comment above doesn't match version.
| <groupId>org.springframework.boot</groupId> | ||
| <artifactId>spring-boot-starter-web</artifactId> | ||
| </dependency> | ||
| <dependency> |
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.
This dependency has been separated from it's comment above and needs to be matched back up.
| import org.springframework.boot.SpringApplication; | ||
| import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
|
||
|
|
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.
Copyright licence has been lost.
| { | ||
| SpringApplication.run(Application.class, args); | ||
| } | ||
| public class Application { |
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.
brackets should be CICS style, and not end-of-line.
IvanHargreaves
left a comment
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.
Hi Manvi. I've made various comments on the PR, hopefully you can work your way through them asking questions and learning about the types of rigour and best-practice we apply to the samples.
No description provided.