Closed ledina closed 2 years ago
Wondering if this logic should be in BundleDeployHelper in cics-bundle-common so that it's covered for both Maven and Gradle?
All the rest of the validation and corresponding testing is currently in the separate repos, so I thought it made sense to keep it consistent.
Yep you're right actually! Although I also just found this pull request where we chose to move the validation of cicsplex and region into the server.... https://github.com/IBM/cics-bundle-maven/pull/161/files
Yes that is right, and that is because we don't know if it will be a plex or SMSS region, hence we let the server deal with that side of things, but we know we need either both or none of them to be specified, so we are choosing to report that early on.
That makes sense, I think this looks good then. And we'll need the same added to the maven plugin, because it doesn't look like we're validating it there either.
Yep, maven is next!
Wondering if this logic should be in BundleDeployHelper in cics-bundle-common so that it's covered for both Maven and Gradle?