Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Dec 15, 2022
2 parents 5c3223d + 5814e5d commit a0485db
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
8 changes: 4 additions & 4 deletions bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.parent</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<packaging>jar</packaging>

<name>Context-Aware Configuration Editor</name>
Expand All @@ -42,7 +42,7 @@
<site.url.module.prefix>caconfig/editor/bundle</site.url.module.prefix>

<!-- Enable reproducible builds -->
<project.build.outputTimestamp>2022-12-05T12:47:52Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2022-12-15T11:40:34Z</project.build.outputTimestamp>
</properties>

<dependencies>
Expand Down Expand Up @@ -112,7 +112,7 @@
<dependency>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.testing.aem-mock.junit5</artifactId>
<version>5.0.0</version>
<version>5.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@

import static io.wcm.caconfig.editor.EditorProperties.PROPERTY_CATEGORY;

import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Objects;
import java.util.SortedSet;
import java.util.concurrent.ConcurrentSkipListSet;

import org.apache.commons.lang3.StringUtils;
import org.apache.sling.api.resource.Resource;
Expand Down Expand Up @@ -54,7 +56,8 @@ public class ConfigurationCategoryProviderService {

@Reference(cardinality = ReferenceCardinality.MULTIPLE, fieldOption = FieldOption.UPDATE,
policy = ReferencePolicy.DYNAMIC, policyOption = ReferencePolicyOption.GREEDY)
private Collection<ServiceReference<ConfigurationCategoryProvider>> filters;
private SortedSet<ServiceReference<ConfigurationCategoryProvider>> filters = new ConcurrentSkipListSet<>(
Collections.reverseOrder());

@Reference
private ContextAwareServiceResolver serviceResolver;
Expand Down
6 changes: 6 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
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="1.15.2" date="2022-12-15">
<action type="fix" dev="sseifert">
ConfigurationCategoryProviderService: Use sorted set to ensure consistent service ranking ordering when services are updated at runtime.
</action>
</release>

<release version="1.15.0" date="2022-12-05">
<action type="add" dev="sseifert">
Allow to define categories of context-aware configurations and filter by category.
Expand Down
8 changes: 4 additions & 4 deletions package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.parent</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.package</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<packaging>content-package</packaging>
<url>${site.url}/caconfig/editor/</url>

Expand All @@ -40,7 +40,7 @@
<contentPackage.group>wcm-io</contentPackage.group>

<!-- Enable reproducible builds -->
<project.build.outputTimestamp>2022-12-05T12:47:52Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2022-12-15T11:40:34Z</project.build.outputTimestamp>
</properties>

<dependencies>
Expand All @@ -49,7 +49,7 @@
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor</artifactId>
<scope>compile</scope>
<version>1.15.0</version>
<version>1.15.2</version>
</dependency>

</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@

<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.parent</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<packaging>pom</packaging>

<name>Context-Aware Configuration Editor</name>
<description>Context-Aware Configuration Editor Template for AEM.</description>

<properties>
<!-- Enable reproducible builds -->
<project.build.outputTimestamp>2022-12-05T12:47:52Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2022-12-15T11:40:34Z</project.build.outputTimestamp>
</properties>

<build>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.parent</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<relativePath>parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm</groupId>
<artifactId>io.wcm.caconfig.editor.root</artifactId>
<version>1.15.0</version>
<version>1.15.2</version>
<packaging>pom</packaging>

<name>Context-Aware Configuration Editor</name>
Expand Down

0 comments on commit a0485db

Please sign in to comment.