Skip to content

Commit ad6f686

Browse files
committed
Release v0.12.0
1 parent dc0217a commit ad6f686

File tree

4 files changed

+79
-3
lines changed

4 files changed

+79
-3
lines changed

CHANGELOG.adoc

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,81 @@
11
= Changelog
22

3+
== Version 0.12.0
4+
[cols="1,2,<10a", options="header"]
5+
|===
6+
|ID|Type|Description
7+
|https://github.com/Axway-API-Management-Plus/apigw-maven-plugin/issues/35[#35]
8+
|Enhancement
9+
| Support removal of certificates.
10+
11+
A new certificate type `empty` is introduced for the `update` object of the certificate configuration file.
12+
It indicates that a certificate will be updated with an empty certificate and therefore will be removed.
13+
14+
[source,json]
15+
----
16+
{
17+
"certifictates":
18+
"to-be-deleted": {
19+
"origin": {
20+
"info": {
21+
"not_after": "2020-08-23T20:24:00+02:00",
22+
"subject": "CN=localhost, O=ACME Inc., C=EX"
23+
}
24+
},
25+
"update": {
26+
"type": "empty" <1>
27+
}
28+
}
29+
}
30+
----
31+
<1> Type `empty` will remove the certificate.
32+
33+
|https://github.com/Axway-API-Management-Plus/apigw-maven-plugin/issues/36[#36]
34+
|Enhancement
35+
|The default source for new environmentalized fields is `property`.
36+
37+
.Old default source
38+
[source,json]
39+
----
40+
{
41+
"field#0": {
42+
"source": "value", <1>
43+
"type": "string",
44+
"used": true,
45+
"value": null
46+
}
47+
}
48+
----
49+
<1> Previously the default source for new fields is `value`.
50+
51+
.New default source
52+
[source,json]
53+
----
54+
{
55+
"field#0": {
56+
"source": "property", <1>
57+
"type": "string",
58+
"used": true,
59+
"value": null
60+
}
61+
}
62+
----
63+
<1> The new default source for new fields is `property`.
64+
65+
[NOTE]
66+
====
67+
In case of new environmentalized fields, the configuration file has to be edited to set the value for the new fields.
68+
69+
In case of the source of the value should be a property the name of the property has to be specified in the `value` attribute.
70+
Unfortunately it is easy to forget to also change the `source` attribute to `property`.
71+
As the default source is `value` the configuration tool will just configure the name of property instead of the content of the property, without any warning or error.
72+
73+
To prevent this pitfall the default source for new fields is `property`.
74+
This guarantees that the specified property exists.
75+
Also in case of the source has to be `value`, the configuration tool forces to switch the `source` attribute.
76+
====
77+
|===
78+
379
== Version 0.11.2
480
[cols="1,2,<10a", options="header"]
581
|===

doc/getting-started/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:sectnums:
66
:source-highlighter: prettify
77

8-
:mvn-plugin-ver: 0.11.2
8+
:mvn-plugin-ver: 0.12.0
99

1010
Here you get a simple introduction on how to use the _Maven Plugin for Axway API Gateway_.
1111
It assumes that you are familiar with https://maven.apache.org[Apache Maven] and that you are familiar with PolicyStudio and the API Gateway.

doc/manual/user-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Maven Plugin for API Gateway Policy Development: User Guide
22
:Author: Martin Look
33
4-
:revnumber: 0.11.2
4+
:revnumber: 0.12.0
55
:toc:
66
:sectnums:
77
:source-highlighter: prettify

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<groupId>com.axway.maven.plugins</groupId>
2121
<artifactId>apigw-maven-plugin</artifactId>
22-
<version>0.11.2</version>
22+
<version>0.12.0</version>
2323
<packaging>maven-plugin</packaging>
2424

2525
<name>Axway API Gateway Maven Plugin</name>

0 commit comments

Comments
 (0)