Skip to content

Conversation

@Manvi-55
Copy link
Contributor

@Manvi-55 Manvi-55 commented Jan 7, 2026

No description provided.

build.gradle Outdated
@@ -1,7 +1,7 @@
plugins
/*plugins
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,I have removed this whole comment out section.

build.gradle Outdated
//*/
plugins
{
id 'org.springframework.boot' version '3.3.5'
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,I have updated the version.

build.gradle Outdated
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
//java
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. I’ve cleaned up and removed all old comments.

build.gradle Outdated
// url "https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/maven/repository/"
//}
}
dependencies {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,I’ve removed the commented-out libraries and added appropriate comments for each library that is used.

build.gradle Outdated
// 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"))
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done,I've updated the cics bom version to 6.1 and added a comment for users for the same as well.

build.gradle Outdated
//{
// enabled = false // disable plain WAR, use bootWar instead
//}
publishing {
Copy link
Contributor

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?

pom.xml Outdated
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.0</version>
<version>3.3.5</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Version need updating.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,done

<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing this out — I’ve moved the comment so it now correctly matches the dependency.

{
SpringApplication.run(Application.class, args);
}
public class Application {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,done

Copy link
Contributor

@IvanHargreaves IvanHargreaves left a 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.

@Manvi-55
Copy link
Contributor Author

Hey Ivan, I’ve worked through your comments and tried my best to address and fix them. Thankyou, and please let me know if any further corrections are needed.

Copy link
Contributor

@IvanHargreaves IvanHargreaves left a comment

Choose a reason for hiding this comment

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

A few more things to tweak.

.classpath Outdated
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="output" path="bin/default"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
Copy link
Contributor

Choose a reason for hiding this comment

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

A lot of this added configuration is Maven-centric, the intention of the samples was to avoid making it specific to Maven or Gradle, so I think we have to remove a lot of this. The instructions in the README cover how to make it Maven, or Gradle specific after it's cloned to the users workspace.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,I have changed the classpath,please have a look into it.

build.gradle Outdated
// JCICS API (version inherited from BOM)
compileOnly("com.ibm.cics:com.ibm.cics.server")
// Jakarta EE servlet API
compileOnly("jakarta.servlet:jakarta.servlet-api:6.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

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

I forget now, but did we need to add this servlet dependency? There wasn't there one before this change so I'm just double checking.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah,I did my mistake,I just checked that its not there in pom.xml.I tested the sample again by building and deploying it, and verified that the endpoints are working fine without it.

build.gradle Outdated
group = 'com.ibm.cicsdev.springboot'
archivesBaseName='cics-java-liberty-springboot-jcics'
version = '0.1.0'
// No longer relevant
Copy link
Contributor

Choose a reason for hiding this comment

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

Please delete the code that's no longer relevant, rather than comment it out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure,done

pom.xml Outdated
</properties>

<!-- CICS TS V5.5 BOM (as of May 2020) -->
<!-- CICS TS V6.1 BOM (as of May 2020) -->
Copy link
Contributor

Choose a reason for hiding this comment

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

May 2020 is not the correct date for the V6.1 BOM. The version string suggests Sept 2024 is the matching date.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry,missed that,edited.

@IvanHargreaves IvanHargreaves merged commit 4c90d9c into cicsdev:main Feb 3, 2026
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.

2 participants