Skip to content

[go-migration] Refactoring and code cleanup for Tomcat container and some frameworks#1225

Merged
ramonskie merged 13 commits intocloudfoundry:mainfrom
kiril-keranov:patch-26
Mar 30, 2026
Merged

[go-migration] Refactoring and code cleanup for Tomcat container and some frameworks#1225
ramonskie merged 13 commits intocloudfoundry:mainfrom
kiril-keranov:patch-26

Conversation

@kiril-keranov
Copy link
Copy Markdown
Contributor

@kiril-keranov kiril-keranov commented Mar 27, 2026

Refactor and code cleanup for some components where certain issues and peculiarities appeared with AI generated code, for example:

  • Tomcat container - JBP_CONFIG_TOMCAT was subject of regex parsing instead of proper yaml parsing. No matter the expected format, some custom string configs might achieve it also as long as the regex passes. Proper yaml parsing is now introduced using the yamlHanlder thin wrapper around yaml.v3. Some clean code refactorings and tests adjustments are also implemented.
  • Java CF Env framework - adjust the yaml parsing to use the yamlHanlder thin wrapper around yaml.v3.
  • Java Opts framework - adjust the yaml parsing to use the yamlHanlder thin wrapper around yaml.v3. Also introduce some more tests.

Copy link
Copy Markdown
Contributor

@ramonskie ramonskie left a comment

Choose a reason for hiding this comment

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

lgtm

the removing of the extra test for 10.23.+ makes sense as we already have 10.1.+

@ramonskie ramonskie merged commit c845362 into cloudfoundry:main Mar 30, 2026
1 check passed
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