IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
40 stars 140 forks source link

Adds CICS Resource builder build capability to zAppbuild #351

Closed odttlnt closed 1 year ago

odttlnt commented 1 year ago

This request extends the functionality of the build by allowing users to build CICS resource definitions in yaml format. The changes will allow the CICS yaml formatted file to be build by the CICS Resource builder tool. It will generate an artefact which will be in the legacy CSD format. This artefact can then be used in a DFHCSDUP job to apply the changes to the CICS region. The PR is a part of the Infrastructure as code effort. The PR consists of CRB. groovy file for doing the build and its corresponding properties files CRB.properties. Plus related changes to the README

M-DLB commented 1 year ago

@odttlnt - Can you please take the latest version of CRB.properties from our internal reference system? Also you don't need to change the property files for the Mortgage Application. Thank you!

@dennis-behm - Can you please have a look for the rest of the changes? Thanks!

M-DLB commented 1 year ago

@dennis-behm The challenge is that crb_resourceModelFile and crb_applicationConstraintsFile are application-related (different for each application) but are provided by CICS admins, so they are not supposed to be pat of the application's Git repo. We thought providing an override with an absolute path would be the best way.

dennis-behm commented 1 year ago

Thank you for the updates @odttlnt . This PR is depending on #308 , because YAML files should not be scanned with the default DBB dependency scanner.

FYI - We had some un-signed commits on develop why I had to rebase the last 3 commits. The PR looks corrupted, but we will take care during the merge process and squash them into a new one.

dennis-behm commented 1 year ago

Superseded by #391 - because this PR is based on an outdated version of zAppBuild