Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jul 3, 2023
2 parents 1c1849d + 9e787e8 commit c31b6f6
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 24 deletions.
9 changes: 9 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
<body>

<release version="2.0.0" date="2023-07-03">
<action type="add" dev="sseifert">
Role aem-dispatcher-cloud: Add httpd.headers.htmlExpirationTimeSec parameter to control the default expiration time for text/html responses.
</action>
<action type="remove" dev="sseifert">
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.
</action>
</release>

<release version="1.15.0" date="2023-03-17">
<action type="add" dev="trichter" issue="88">
Role aem-dispatcher-cloud: Introduce httpd.rewrites (ported from aem-dispatcher-ams role).
Expand Down
10 changes: 5 additions & 5 deletions conga-aem-definitions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
<packaging>config-definition</packaging>

<name>CONGA AEM Definitions</name>
Expand All @@ -51,20 +51,20 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.6</version>
<version>1.16.0</version>
<extensions>true</extensions>
<dependencies>

<!-- Activate further CONGA plugins for special file types -->
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.sling</artifactId>
<version>1.3.0</version>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.16.0</version>
<version>2.19.4</version>
</dependency>

</dependencies>
Expand Down
3 changes: 0 additions & 3 deletions conga-aem-definitions/src/main/roles/aem-dispatcher-ams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ config:
# Cache AEM Clientlibs with long cache key for 1 year
- locationMatch: "\\.lc-.*-lc\\.min\\.(css|js)$"
directives: "max-age=31536000, public"
# Set the default experiation time for text/html responses (enabled by default in AEM Cloud Service webserver)
htmlExpirationTimeMin: 5

# List of rewrite rules to include in the vhost
rewriteIncludes:
Expand Down Expand Up @@ -382,7 +380,6 @@ config:
# serverAliasNames:
# - www.dev-alias3a.com
# - www.dev-alias3b.com
# htmlExpirationTimeMin: 3


dispatcher:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ config:
- locationMatch: "\\.lc-.*-lc\\.min\\.(css|js)$"
directives: "max-age=31536000, public"
# Set the default experiation time for text/html responses (enabled by default in AEM Cloud Service webserver)
htmlExpirationTimeMin: 5
htmlExpirationTimeSec: 300

# List of rewrite rules to include in the vhost
rewriteIncludes:
Expand Down Expand Up @@ -411,7 +411,7 @@ config:
# serverAliasNames:
# - www.dev-alias3a.com
# - www.dev-alias3b.com
# htmlExpirationTimeMin: 3
# htmlExpirationTimeSec: 180


dispatcher:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{{disallowProperty
"httpd.headers.htmlExpirationTimeMin" "Parameter 'httpd.headers.htmlExpirationTimeMin' is no longer supported, please use 'httpd.headers.htmlExpirationTimeSec' instead."
~}}
#
# This file contains the variables defined for all virtual hosts
#
Expand Down Expand Up @@ -33,6 +36,6 @@ Define REWRITE_LOG_LEVEL {{httpd.logging.rewriteLogLevel}}


{{#httpdCloudManagerConditional}}
# Set the default expiration time for text/html responses (in minutes)
Define EXPIRATION_TIME {{httpd.headers.htmlExpirationTimeMin}}
# Set the default expiration time for text/html responses (in seconds)
Define EXPIRATION_TIME {{httpd.headers.htmlExpirationTimeSec}}
{{/httpdCloudManagerConditional}}
14 changes: 7 additions & 7 deletions example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem.example</artifactId>
<packaging>config</packaging>
<version>1.15.0</version>
<version>2.0.0</version>

<name>CONGA AEM Definitions Example</name>
<description>Example environment definition.</description>
Expand All @@ -43,7 +43,7 @@
<dependency>
<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
</dependency>

</dependencies>
Expand All @@ -55,27 +55,27 @@
<plugin>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.14.6</version>
<version>1.16.0</version>
<extensions>true</extensions>
<dependencies>

<!-- Activate further CONGA plugins for special file types -->
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.sling</artifactId>
<version>1.3.0</version>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.aem</artifactId>
<version>2.16.0</version>
<version>2.19.4</version>
</dependency>

<!-- Test with ansible encryption -->
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.ansible</artifactId>
<version>1.3.0</version>
<version>1.4.2</version>
</dependency>

</dependencies>
Expand All @@ -93,7 +93,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<executions>
<execution>
<id>set-properties</id>
Expand Down
3 changes: 1 addition & 2 deletions example/src/main/environments/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ nodes:
type: allow
- _merge_
headers:
htmlExpirationTimeMin: 3
htmlExpirationTimeSec: 180
featurePolicy: "geolocation 'self' https://example.com; camera 'none';"
permissionsPolicy: 'geolocation=(self "https://example.com"), camera=()'
dispatcher:
Expand Down Expand Up @@ -164,7 +164,6 @@ nodes:
type: allow
- _merge_
headers:
htmlExpirationTimeMin: 6
featurePolicy: 'geolocation *;'
permissionsPolicy: 'geolocation=*'

Expand Down
2 changes: 1 addition & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<name>CONGA AEM Definitions</name>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<parent>
<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem.parent</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
<relativePath>parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm.devops.conga.definitions</groupId>
<artifactId>io.wcm.devops.conga.definitions.aem.root</artifactId>
<version>1.15.0</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<name>CONGA AEM Definitions</name>
Expand Down

0 comments on commit c31b6f6

Please sign in to comment.