From bc5a04b8e71210f158925010b1d8134e80bfb091 Mon Sep 17 00:00:00 2001 From: Ledina Hido-Evans Date: Tue, 1 Feb 2022 15:41:28 +0000 Subject: [PATCH] Added integration tests for SMSS Testing missing region, missing CICSplex and missing both in combination of SMSS and CPSM environments Signed-off-by: Ledina Hido-Evans Signed-off-by: Dave Nice --- .../test-bundle-deploy-neither-smss/pom.xml | 49 +++++++++ .../postbuild.bsh | 0 .../prebuild.bsh | 1 + .../test-app-bundle-0.0.1-SNAPSHOT.zip | Bin 0 -> 3358 bytes .../invoker.properties | 15 +++ .../src/it/test-bundle-deploy-neither/pom.xml | 6 +- .../postbuild.groovy | 23 ++++ .../test-bundle-deploy-neither/prebuild.bsh | 2 +- .../invoker.properties | 15 +++ .../it/test-bundle-deploy-noCICSplex/pom.xml | 6 +- .../postbuild.bsh | 1 - .../postbuild.groovy | 22 ++++ .../invoker.properties | 15 +++ .../it/test-bundle-deploy-noRegion/pom.xml | 6 +- .../test-bundle-deploy-noRegion/postbuild.bsh | 1 - .../postbuild.groovy | 22 ++++ .../test-bundle-deploy-noRegion/prebuild.bsh | 2 +- .../com/ibm/cics/cbmp/DeployPreBuild.java | 99 ++++++++++++++++-- 18 files changed, 261 insertions(+), 24 deletions(-) create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/pom.xml rename cics-bundle-maven-plugin/src/it/{test-bundle-deploy-neither => test-bundle-deploy-neither-smss}/postbuild.bsh (100%) create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/prebuild.bsh create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/test-app-bundle-0.0.1-SNAPSHOT.zip create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/invoker.properties create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.groovy create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/invoker.properties delete mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.bsh create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.groovy create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/invoker.properties delete mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.bsh create mode 100644 cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.groovy diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/pom.xml b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/pom.xml new file mode 100644 index 00000000..b8a13bb4 --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/pom.xml @@ -0,0 +1,49 @@ + + + 4.0.0 + + com.ibm.cics.test-bundle-deploy-neither-smss + test-bundle-deploy-neither-smss + Example CICS bundle + 0.0.1-SNAPSHOT + + + + + + @project.groupId@ + @project.artifactId@ + @project.version@ + true + + + deploy + verify + + deploy + + + neither + bundle + BAR + ${basedir}/test-app-bundle-0.0.1-SNAPSHOT.zip + + + + + + + + diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/postbuild.bsh similarity index 100% rename from cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.bsh rename to cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/postbuild.bsh diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/prebuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/prebuild.bsh new file mode 100644 index 00000000..61445190 --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/prebuild.bsh @@ -0,0 +1 @@ +context.put("wireMockServer", com.ibm.cics.cbmp.DeployPreBuild.setupSMSSWiremock(Integer.parseInt(wiremockPort))); \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/test-app-bundle-0.0.1-SNAPSHOT.zip b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither-smss/test-app-bundle-0.0.1-SNAPSHOT.zip new file mode 100644 index 0000000000000000000000000000000000000000..5338f17b3629a682faf6cdbe569d4037e2a9d4b0 GIT binary patch literal 3358 zcma)9byO5;7M~#=-6f#X&JY9A42YD33=BvLNT-A%Fm!heNJ)36(ntyjNJ&aacY}0~ zEbN}Q%iD9_+5LUzetGYA?!D*!@w>_}bPQYo02=@}fiJ)TcYt%VSCm$hfINrGa4G*& z4I3L9kl?xwr$J@Kc-=hv-w4Z%IGEZyKn!hdAx?&NkjI>lIk_RKa0z8qIVCmDn=2#4 z8xw0&f<72w8$B^#&_hYWjA%GDY`Bw;hJQb%O80Y)snO%de9FbMdW3s=qwY<{?42g) ztl$8QKt4?4jY5NUB6mCvND|V~M;VA|v6*$TF4WvDWb$bggmh6Z^TOZB6-})?JLeV> zi8}eokwE!zEz!IqH!^E^2I2H8qV}NxVjoKxhJ}6C@4rUGlLz%D2Lb@AH$rkZaO2m; z_MFZ()*qsDU|+?F1LiK-<2>eIk{x->tP~Vgl#@h-g{DbS? zk>NH*3=vRUO~n=E=2eecj~n*ubX%%p)wuIk0Flj`sm|4&z~+`KZ?&BrLKayQ&!W6R zZ){sh%AlirtXlIED~xT>gQoIrhFGiMMJ+ZWgc>cj&e%|a1Bi0+1FI5G+W-!o+HGLp_r@RULZ-hP};I+=;eT@3Q` zN{JJV$fr8&UfH2An+covEo=IV>^7x$6ZhAY;*LO6wQh=tnE(Kw``<;98t3*T_9xvp z^DaciRRU5((T+O4wNFkh*(!nBFUqakRMPC8+4P3*E35!Hf5s0z_3i%n^(74q!zzkh z{v~l;a2zYEQu=}&LzH{kFZ=$}l*1Ys`?o-Jz}1!aAxVq|!XGz~7Xa9M z)iCY~e5ooTMS#c7D>OFP)7D4+Ha~a3b>aBE^*YP?+3w zz>f#!@5}1|V^($8A6L-MV)5p~9_^WOZW&S=4hZ;{B7pZ5!kfuh4y0p2L#dJs%D)+C zuEH$_0K;Nn6M+}RZPU+97=g{_Z`nL$pEF|k^HFWJ6vN3w zH$mj%;p|i5d#(*CWg}USsae|Doh8Qiw@b17RERxGjdsV!%y;J4T83XucAqzBQ&`rR z#j3kb)nz-DsK|osc@f{kG(9MtHIa43-nRG_`k#Dr5T}KM@+IsjxIYf_6V4^SSJNn0 zutP5&^N6Hl+5%YD=B=ld57y8Fs%Gu4@%XZRTa;C5IALK zz-2x3J-&xDfQzP88oAOxgkJrCMGMj=LMo_EGmT$#nN@Eg{9Ak#qtWZ3Or#*;Q$7-c zQ4ixx&*5jA$bsLzfv+K@efpuiTS8OR5B)x$h%8#K38f`hmFETSolX;%j%9BY^+f&L zCUr&cgmI`$1t3^|jyrG;$5 z7%zrv%n@YQDF$zXTJzPeS(5l9qc(ao?eliWwNw zxS^hy0(x5T8$WbEN{#vfJ$Y)f0lu^jrNp8*C#IlE_k@&dMV(nO)?)v|b)hqPw}zMz z1h)>AMlR#d^SC6Pu07xb(I|AW?Urm$%fe8Xdz`ezlW*Nx>+d6KHJA<#kgeI8jmNLM zI{1nd#8pT5hh$4RLb<$_>lSjlO~$%G!eS#*#}A)OU8a?1ue$n3UpGtQU0zn#h9*U` zWtI4b$CB3WyN$FeW#}ErWwLHayHUwrkhJg2`5G@~%ZCrj<7|Z6J;?e*dE9Fw2Pf?R z02CSrVOs?HUi3(;l?DZo&0bV-UmYLe+NI(7b`Df+F1!*#8Wpa8$dT40PPGFGsIP|0 z<{it*dL2Pj-D}((gTm>8!^yn9KI(;i6SWJS8LGZmY{T)~@t}CFU6J+dMER@Iev{^E zYRTl4J9MN#7X0)aJiENolF4T`%P2*^#cHFkpwG&)5E~I88Q+8|&x3cqsC*xPj8!jP zPbr4P^<@*v;KTBHN4QI>BcqjNS3A+(W)(CW@+|d4T$;1z+=M8`EXUxf zUI)|c>mv$LFmf<&LB`dQ&jB<6LPaAocg%F#R2r^>VouVz+&uxB1J#H*K zXUX|RU!32-E17DY*9t==x^XB9ijOKL#=$BoD7(?b^5XTd)XC}p~g^iKAXd(UdMZ4mltr_kxz zH|ZQ9-y$%BcUdbLL6j4rRMerB^gPepV~=n#EdW;AQw^Fx2lCmg{w+k$(ok+X)I0); zFUCcKiyvk4>&13os8<|S4@Ti$J|y#8=s3Sann^`Aq9&;bHL=D`vTbSQ)4bX!L@nzZ zsUVgjFVa~AQ)J`pM5Xn7%3lw#=0Fmg=P7PcD0Vr}y_|?iOkS`%BQUFxg1OWPu&<<8 zMd~jp_*^#HsE}XqDJl34p-!~?G8;zS^>SvlPoe#C?!F&AJBo5pI9n87dJ&+J@)42F z_Ba0Rw7a}{m6T|wMg{0vOoMe(c8vF3MsvsC6n*|#=v0@2qEm(bnl2H{P01>AO)XA4j@g8^~_{71iu|6(4}+~WjE|=`vrTpV{dbHN**)1lAue5 z#g<-$Rkmfv?Gb+NU9+?tUC{;mhORlY@z59nt8zdC|{dGenx?{djo68 - + @project.groupId@ @project.artifactId@ @@ -35,10 +35,8 @@ deploy - serverId + neither bundle - cicsplex - region BAR ${basedir}/test-app-bundle-0.0.1-SNAPSHOT.zip diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.groovy b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.groovy new file mode 100644 index 00000000..e688de8b --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/postbuild.groovy @@ -0,0 +1,23 @@ +/*- + * #%L + * CICS Bundle Maven Plugin + * %% + * Copyright (C) 2019 IBM Corp. + * %% + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * #L% + */ +import com.ibm.cics.cbmp.DeployPreBuild + +context.get("wireMockServer").shutdownServer() + +File buildLog = new File(basedir, 'build.log') + +assert buildLog.exists() +assert buildLog.text.contains("[ERROR] Failed to execute goal com.ibm.cics:cics-bundle-maven-plugin:") +assert buildLog.text.contains("com.ibm.cics.bundle.deploy.BundleDeployException: Some of the supplied parameters were invalid") +assert buildLog.text.contains("- cicsplex: CICSplex could not be found") \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/prebuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/prebuild.bsh index f4680d0e..60e6e892 100644 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/prebuild.bsh +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-neither/prebuild.bsh @@ -1 +1 @@ -context.put("wireMockServer", com.ibm.cics.cbmp.DeployPreBuild.setupWiremock(Integer.parseInt(wiremockPort))); \ No newline at end of file +context.put("wireMockServer", com.ibm.cics.cbmp.DeployPreBuild.setupWiremockNoCICSplexRegion(Integer.parseInt(wiremockPort))); \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/invoker.properties b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/invoker.properties new file mode 100644 index 00000000..f46ab66f --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/invoker.properties @@ -0,0 +1,15 @@ +### +# #%L +# CICS Bundle Maven Plugin +# %% +# Copyright (C) 2019 IBM Corp. +# %% +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# #L% +### +# The expected result of the build, possible values are "success" (default) and "failure" +invoker.buildResult = failure diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/pom.xml b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/pom.xml index c3f4a082..83b3aec6 100644 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/pom.xml +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/pom.xml @@ -21,7 +21,8 @@ - + + @project.groupId@ @project.artifactId@ @@ -35,8 +36,7 @@ deploy - cicsplex - serverId + noCICSplex bundle BAR ${basedir}/test-app-bundle-0.0.1-SNAPSHOT.zip diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.bsh deleted file mode 100644 index d93e6103..00000000 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.bsh +++ /dev/null @@ -1 +0,0 @@ -context.get("wireMockServer").shutdownServer(); \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.groovy b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.groovy new file mode 100644 index 00000000..20eb3e34 --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noCICSplex/postbuild.groovy @@ -0,0 +1,22 @@ +/*- + * #%L + * CICS Bundle Maven Plugin + * %% + * Copyright (C) 2019 IBM Corp. + * %% + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * #L% + */ +import com.ibm.cics.cbmp.DeployPreBuild + +context.get("wireMockServer").shutdownServer() + +File buildLog = new File(basedir, 'build.log') + +assert buildLog.exists() +assert buildLog.text.contains("[ERROR] Failed to execute goal com.ibm.cics:cics-bundle-maven-plugin:") +assert buildLog.text.contains("(deploy) on project test-bundle-deploy-noCICSplex: Specify both or neither of cicsplex and region in plugin configuration or server configuration") diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/invoker.properties b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/invoker.properties new file mode 100644 index 00000000..f46ab66f --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/invoker.properties @@ -0,0 +1,15 @@ +### +# #%L +# CICS Bundle Maven Plugin +# %% +# Copyright (C) 2019 IBM Corp. +# %% +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# #L% +### +# The expected result of the build, possible values are "success" (default) and "failure" +invoker.buildResult = failure diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/pom.xml b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/pom.xml index 515b70be..d91cb397 100644 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/pom.xml +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/pom.xml @@ -20,7 +20,8 @@ - + + @project.groupId@ @project.artifactId@ @@ -34,9 +35,8 @@ deploy - serverId + noRegion bundle - region BAR ${basedir}/test-app-bundle-0.0.1-SNAPSHOT.zip diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.bsh deleted file mode 100644 index d93e6103..00000000 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.bsh +++ /dev/null @@ -1 +0,0 @@ -context.get("wireMockServer").shutdownServer(); \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.groovy b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.groovy new file mode 100644 index 00000000..997b9f05 --- /dev/null +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/postbuild.groovy @@ -0,0 +1,22 @@ +/*- + * #%L + * CICS Bundle Maven Plugin + * %% + * Copyright (C) 2019 IBM Corp. + * %% + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * #L% + */ +import com.ibm.cics.cbmp.DeployPreBuild + +context.get("wireMockServer").shutdownServer() + +File buildLog = new File(basedir, 'build.log') + +assert buildLog.exists() +assert buildLog.text.contains("[ERROR] Failed to execute goal com.ibm.cics:cics-bundle-maven-plugin:") +assert buildLog.text.contains("(deploy) on project test-bundle-deploy-noRegion: Specify both or neither of cicsplex and region in plugin configuration or server configuration") diff --git a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/prebuild.bsh b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/prebuild.bsh index f4680d0e..61445190 100644 --- a/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/prebuild.bsh +++ b/cics-bundle-maven-plugin/src/it/test-bundle-deploy-noRegion/prebuild.bsh @@ -1 +1 @@ -context.put("wireMockServer", com.ibm.cics.cbmp.DeployPreBuild.setupWiremock(Integer.parseInt(wiremockPort))); \ No newline at end of file +context.put("wireMockServer", com.ibm.cics.cbmp.DeployPreBuild.setupSMSSWiremock(Integer.parseInt(wiremockPort))); \ No newline at end of file diff --git a/cics-bundle-maven-plugin/src/test/java/com/ibm/cics/cbmp/DeployPreBuild.java b/cics-bundle-maven-plugin/src/test/java/com/ibm/cics/cbmp/DeployPreBuild.java index 48401cd0..57f2f57d 100644 --- a/cics-bundle-maven-plugin/src/test/java/com/ibm/cics/cbmp/DeployPreBuild.java +++ b/cics-bundle-maven-plugin/src/test/java/com/ibm/cics/cbmp/DeployPreBuild.java @@ -77,17 +77,17 @@ static WireMockServer setupWiremock(int port, Protocol protocol) { .withName("region") .withBody(equalTo("region"))) .withMultipartRequestBody( - aMultipart() - .withName("bunddef") - .withBody(equalTo("bundle"))) + aMultipart() + .withName("bunddef") + .withBody(equalTo("bundle"))) .withMultipartRequestBody( - aMultipart() - .withName("csdgroup") - .withBody(equalTo("BAR"))) + aMultipart() + .withName("csdgroup") + .withBody(equalTo("BAR"))) .withMultipartRequestBody( - aMultipart() - .withName("bundle") - .withBody(WireMock.binaryEqualTo(bundleBinary))) + aMultipart() + .withName("bundle") + .withBody(WireMock.binaryEqualTo(bundleBinary))) .willReturn( aResponse() .withStatus(200) @@ -95,9 +95,88 @@ static WireMockServer setupWiremock(int port, Protocol protocol) { .withBody("Some content") ) ); + return wireMockServer; } - + + static WireMockServer setupWiremockNoCICSplexRegion(int port) { + ClassLoader ccl = Thread.currentThread().getContextClassLoader(); + + try { + Thread.currentThread().setContextClassLoader(WireMock.class.getClassLoader()); + wireMockServer = new WireMockServer(WireMockConfiguration.options().port(port)); + } finally { + Thread.currentThread().setContextClassLoader(ccl); + } + + wireMockServer.start(); + + wireMockServer + .stubFor( + post(urlEqualTo("/managedcicsbundles")) + .withMultipartRequestBody( + aMultipart() + .withName("bunddef") + .withBody(equalTo("bundle"))) + .withMultipartRequestBody( + aMultipart() + .withName("csdgroup") + .withBody(equalTo("BAR"))) + .withMultipartRequestBody( + aMultipart() + .withName("bundle") + .withBody(WireMock.binaryEqualTo(bundleBinary))) + .willReturn( + aResponse() + .withStatus(400) + .withHeader("Content-Type", "text/plain") + .withBody("com.ibm.cics.bundle.deploy.BundleDeployException: Some of the supplied parameters were invalid:\n" + + " - cicsplex: CICSplex could not be found") + ) + ); + + return wireMockServer; + } + + + static WireMockServer setupSMSSWiremock(int port) { + ClassLoader ccl = Thread.currentThread().getContextClassLoader(); + + try { + Thread.currentThread().setContextClassLoader(WireMock.class.getClassLoader()); + wireMockServer = new WireMockServer(WireMockConfiguration.options().port(port)); + } finally { + Thread.currentThread().setContextClassLoader(ccl); + } + + wireMockServer.start(); + + wireMockServer + .stubFor( + post(urlEqualTo("/managedcicsbundles")) + .withMultipartRequestBody( + aMultipart() + .withName("bunddef") + .withBody(equalTo("bundle"))) + .withMultipartRequestBody( + aMultipart() + .withName("csdgroup") + .withBody(equalTo("BAR"))) + .withMultipartRequestBody( + aMultipart() + .withName("bundle") + .withBody(WireMock.binaryEqualTo(bundleBinary))) + .willReturn( + aResponse() + .withStatus(200) + .withHeader("Content-Type", "text/plain") + .withBody("Some content") + ) + ); + return wireMockServer; + } + + /* * Used by test-reactor-war-deploy which builds the bundle and then tests deploying it, so we can't check for a specific binary for the bundle */