Skip to content

Commit 824c42a

Browse files
committed
ID-21: support verbos mode for apigw:deploy
1 parent fb687d9 commit 824c42a

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
|Fix
99
|Configuration tool now supports API Gateway 7.5.3
1010

11+
|https://github.com/Axway-API-Management-Plus/apigw-maven-plugin/issues/21[#21]
12+
|Fix
13+
|Support verbose mode of configuration tool for goal `apigw:deploy`.
14+
1115
|===
1216

1317
== Version 0.8.0

src/main/java/com/axway/maven/apigw/AbstractGatewayMojo.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ public abstract class AbstractGatewayMojo extends AbstractMojo {
5353
@Parameter(property = "axway.policystudio.config", defaultValue = "${basedir}/.studio/conf")
5454
protected File policyStudioConfigDir;
5555

56+
@Parameter(property = "axway.tools.cfg.verbose", defaultValue = "false", required = true)
57+
protected boolean verboseCfgTools;
58+
5659
/**
5760
* Passphrase for .pol and .env files.
5861
*/

src/main/java/com/axway/maven/apigw/DeploymentArchiveMojo.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ public class DeploymentArchiveMojo extends AbstractFlattendProjectArchiveMojo {
3232
@Parameter(property = "axway.tools.cfg.cert.updateConfigured", required = false)
3333
private boolean updateCertConfigFile = false;
3434

35-
@Parameter(property = "axway.tools.cfg.verbose", defaultValue = "false", required = true)
36-
protected boolean verboseCfgTools;
37-
3835
@Override
3936
protected String getArchiveExtension() {
4037
return PackageType.DEPLOYMENT.getExtension();

src/main/java/com/axway/maven/apigw/DeploymentMojo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ private File configFed(File pol, File env) throws MojoExecutionException {
119119
fc.setPassphraseFed(this.passphraseFed);
120120
fc.setPropertyFile(this.configPropertyFile);
121121
fc.setCertificatesFile(this.configCertsFile);
122+
fc.enableVerboseMode(this.verboseCfgTools);
122123

123124
File fed = new File(getTempDir(), PROJECT_NAME + ".fed");
124125

0 commit comments

Comments
 (0)