Closed davenice closed 4 years ago
@ind1go Do you particularly want to keep this issue ongoing? All the points in here have now been addressed apart from Scenario 3 for manual setup. I'm thinking we could copy that example into #8 and then close this issue?
Closing issue as we think we have all the scenarios captured now
(original description from @ind1go)
Scenario 1 - super-basic
It's pretty much a no-op - the user is just getting started. What's the minimal CICS bundle that can be built.
This scenario is also the simplest way to represent some of the other changes I'm proposing.
Expected behaviour
When I execute the built-in
build
task Then:META-INF/cics.xml
) CICS bundle is produced and stored inproject.distsDir
i.e.build/distributions
in this default case.Non-exhaustive differences from now
Omitting
cicsBundle...
extensions inbuild.gradle
won't fail the build.Scenario 2 - dependencies
The user adds some Java dependencies to their CICS bundle, which will be built into the resultant CICS bundle.
Expected behaviour
When I execute the built-in
build
task Then:project.distsDir
.Non-exhaustive differences from now
cicsBundle
which merges the build and deploy extensions.build
sub-section ofcicsBundle
extension to separate it from deployment.defaultJVMServer
.Scenario 3 - manual setup
The user is going off-piste, probably as part of some larger-scale Gradle build. They want to take the individual parts of the CICS bundle build and wire them together as they need. They don't want the plugin's magic applied - they want to use individual parts.
Expected behaviour
WORK IN PROGRESS - still to consider:
Non-exhaustive differences from now
Scenario 4 - deployment
The user augments their existing build by adding deployment.
Expected behaviour
When I execute the
deployCICSBundle
task Then:The CICS bundle is built and deployed.
Non-exhaustive differences from now
deploy
sub-section ofcicsBundle
extension.Other scenarios to consider: