Skip to content

Commit c31b6f6

Browse files
committed
Merge branch 'develop'
2 parents 1c1849d + 9e787e8 commit c31b6f6

File tree

9 files changed

+32
-24
lines changed

9 files changed

+32
-24
lines changed

changes.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
2424
<body>
2525

26+
<release version="2.0.0" date="2023-07-03">
27+
<action type="add" dev="sseifert">
28+
Role aem-dispatcher-cloud: Add httpd.headers.htmlExpirationTimeSec parameter to control the default expiration time for text/html responses.
29+
</action>
30+
<action type="remove" dev="sseifert">
31+
Role aem-dispatcher-cloud: Remove httpd.headers.htmlExpirationTimeMin parameter which was interpreted incorrectly as seconds instead of minutes. Build will fail if this parameters is still in use.
32+
</action>
33+
</release>
34+
2635
<release version="1.15.0" date="2023-03-17">
2736
<action type="add" dev="trichter" issue="88">
2837
Role aem-dispatcher-cloud: Introduce httpd.rewrites (ported from aem-dispatcher-ams role).

conga-aem-definitions/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<parent>
2626
<groupId>io.wcm.devops.conga.definitions</groupId>
2727
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
28-
<version>1.15.0</version>
28+
<version>2.0.0</version>
2929
<relativePath>../parent/pom.xml</relativePath>
3030
</parent>
3131

3232
<groupId>io.wcm.devops.conga.definitions</groupId>
3333
<artifactId>io.wcm.devops.conga.definitions.aem</artifactId>
34-
<version>1.15.0</version>
34+
<version>2.0.0</version>
3535
<packaging>config-definition</packaging>
3636

3737
<name>CONGA AEM Definitions</name>
@@ -51,20 +51,20 @@
5151
<plugin>
5252
<groupId>io.wcm.devops.conga</groupId>
5353
<artifactId>conga-maven-plugin</artifactId>
54-
<version>1.14.6</version>
54+
<version>1.16.0</version>
5555
<extensions>true</extensions>
5656
<dependencies>
5757

5858
<!-- Activate further CONGA plugins for special file types -->
5959
<dependency>
6060
<groupId>io.wcm.devops.conga.plugins</groupId>
6161
<artifactId>io.wcm.devops.conga.plugins.sling</artifactId>
62-
<version>1.3.0</version>
62+
<version>1.3.2</version>
6363
</dependency>
6464
<dependency>
6565
<groupId>io.wcm.devops.conga.plugins</groupId>
6666
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
67-
<version>2.16.0</version>
67+
<version>2.19.4</version>
6868
</dependency>
6969

7070
</dependencies>

conga-aem-definitions/src/main/roles/aem-dispatcher-ams.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ config:
298298
# Cache AEM Clientlibs with long cache key for 1 year
299299
- locationMatch: "\\.lc-.*-lc\\.min\\.(css|js)$"
300300
directives: "max-age=31536000, public"
301-
# Set the default experiation time for text/html responses (enabled by default in AEM Cloud Service webserver)
302-
htmlExpirationTimeMin: 5
303301

304302
# List of rewrite rules to include in the vhost
305303
rewriteIncludes:
@@ -382,7 +380,6 @@ config:
382380
# serverAliasNames:
383381
# - www.dev-alias3a.com
384382
# - www.dev-alias3b.com
385-
# htmlExpirationTimeMin: 3
386383

387384

388385
dispatcher:

conga-aem-definitions/src/main/roles/aem-dispatcher-cloud.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ config:
357357
- locationMatch: "\\.lc-.*-lc\\.min\\.(css|js)$"
358358
directives: "max-age=31536000, public"
359359
# Set the default experiation time for text/html responses (enabled by default in AEM Cloud Service webserver)
360-
htmlExpirationTimeMin: 5
360+
htmlExpirationTimeSec: 300
361361

362362
# List of rewrite rules to include in the vhost
363363
rewriteIncludes:
@@ -411,7 +411,7 @@ config:
411411
# serverAliasNames:
412412
# - www.dev-alias3a.com
413413
# - www.dev-alias3b.com
414-
# htmlExpirationTimeMin: 3
414+
# htmlExpirationTimeSec: 180
415415

416416

417417
dispatcher:

conga-aem-definitions/src/main/templates/aem-dispatcher-cloud/conf.d/variables/global.vars.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{{disallowProperty
2+
"httpd.headers.htmlExpirationTimeMin" "Parameter 'httpd.headers.htmlExpirationTimeMin' is no longer supported, please use 'httpd.headers.htmlExpirationTimeSec' instead."
3+
~}}
14
#
25
# This file contains the variables defined for all virtual hosts
36
#
@@ -33,6 +36,6 @@ Define REWRITE_LOG_LEVEL {{httpd.logging.rewriteLogLevel}}
3336

3437

3538
{{#httpdCloudManagerConditional}}
36-
# Set the default expiration time for text/html responses (in minutes)
37-
Define EXPIRATION_TIME {{httpd.headers.htmlExpirationTimeMin}}
39+
# Set the default expiration time for text/html responses (in seconds)
40+
Define EXPIRATION_TIME {{httpd.headers.htmlExpirationTimeSec}}
3841
{{/httpdCloudManagerConditional}}

example/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<groupId>io.wcm.devops.conga.definitions</groupId>
3333
<artifactId>io.wcm.devops.conga.definitions.aem.example</artifactId>
3434
<packaging>config</packaging>
35-
<version>1.15.0</version>
35+
<version>2.0.0</version>
3636

3737
<name>CONGA AEM Definitions Example</name>
3838
<description>Example environment definition.</description>
@@ -43,7 +43,7 @@
4343
<dependency>
4444
<groupId>io.wcm.devops.conga.definitions</groupId>
4545
<artifactId>io.wcm.devops.conga.definitions.aem</artifactId>
46-
<version>1.15.0</version>
46+
<version>2.0.0</version>
4747
</dependency>
4848

4949
</dependencies>
@@ -55,27 +55,27 @@
5555
<plugin>
5656
<groupId>io.wcm.devops.conga</groupId>
5757
<artifactId>conga-maven-plugin</artifactId>
58-
<version>1.14.6</version>
58+
<version>1.16.0</version>
5959
<extensions>true</extensions>
6060
<dependencies>
6161

6262
<!-- Activate further CONGA plugins for special file types -->
6363
<dependency>
6464
<groupId>io.wcm.devops.conga.plugins</groupId>
6565
<artifactId>io.wcm.devops.conga.plugins.sling</artifactId>
66-
<version>1.3.0</version>
66+
<version>1.3.2</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>io.wcm.devops.conga.plugins</groupId>
7070
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
71-
<version>2.16.0</version>
71+
<version>2.19.4</version>
7272
</dependency>
7373

7474
<!-- Test with ansible encryption -->
7575
<dependency>
7676
<groupId>io.wcm.devops.conga.plugins</groupId>
7777
<artifactId>io.wcm.devops.conga.plugins.ansible</artifactId>
78-
<version>1.3.0</version>
78+
<version>1.4.2</version>
7979
</dependency>
8080

8181
</dependencies>
@@ -93,7 +93,7 @@
9393
<plugin>
9494
<groupId>org.codehaus.mojo</groupId>
9595
<artifactId>properties-maven-plugin</artifactId>
96-
<version>1.0.0</version>
96+
<version>1.1.0</version>
9797
<executions>
9898
<execution>
9999
<id>set-properties</id>

example/src/main/environments/test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ nodes:
114114
type: allow
115115
- _merge_
116116
headers:
117-
htmlExpirationTimeMin: 3
117+
htmlExpirationTimeSec: 180
118118
featurePolicy: "geolocation 'self' https://example.com; camera 'none';"
119119
permissionsPolicy: 'geolocation=(self "https://example.com"), camera=()'
120120
dispatcher:
@@ -164,7 +164,6 @@ nodes:
164164
type: allow
165165
- _merge_
166166
headers:
167-
htmlExpirationTimeMin: 6
168167
featurePolicy: 'geolocation *;'
169168
permissionsPolicy: 'geolocation=*'
170169

parent/pom.xml

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

3232
<groupId>io.wcm.devops.conga.definitions</groupId>
3333
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
34-
<version>1.15.0</version>
34+
<version>2.0.0</version>
3535
<packaging>pom</packaging>
3636

3737
<name>CONGA AEM Definitions</name>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<parent>
2424
<groupId>io.wcm.devops.conga.definitions</groupId>
2525
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
26-
<version>1.15.0</version>
26+
<version>2.0.0</version>
2727
<relativePath>parent/pom.xml</relativePath>
2828
</parent>
2929

3030
<groupId>io.wcm.devops.conga.definitions</groupId>
3131
<artifactId>io.wcm.devops.conga.definitions.aem.root</artifactId>
32-
<version>1.15.0</version>
32+
<version>2.0.0</version>
3333
<packaging>pom</packaging>
3434

3535
<name>CONGA AEM Definitions</name>

0 commit comments

Comments
 (0)