This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch 4_0_X in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 415e427bc50d99d93c53de1d761dbf035925a08a Author: Francesco Chicchiriccò <[email protected]> AuthorDate: Fri Jun 6 09:08:49 2025 +0200 Setting wildfly36x for cargo-maven3-plugin --- .../syncope/core/persistence/jpa/dao/AbstractJPAAnySearchDAO.java | 2 +- .../main/java/org/apache/syncope/ext/openfga/client/OpenFGAClient.java | 2 +- .../org/apache/syncope/ext/openfga/client/OpenFGAClientFactory.java | 2 +- fit/build-tools/pom.xml | 2 +- fit/core-reference/pom.xml | 2 +- fit/core-reference/src/main/resources/core-wildfly.properties | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/AbstractJPAAnySearchDAO.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/AbstractJPAAnySearchDAO.java index 1cb1f8781e..1932975e8c 100644 --- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/AbstractJPAAnySearchDAO.java +++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/AbstractJPAAnySearchDAO.java @@ -858,7 +858,7 @@ abstract class AbstractJPAAnySearchDAO extends AbstractAnySearchDAO { join.append(" LEFT JOIN "). append(sv.name()).append(" ").append(sv.alias()). append(" ON "). - append(anyId(joins.get(0))).append('=').append(anyId(sv)); + append(anyId(joins.getFirst())).append('=').append(anyId(sv)); } fromString = join.toString(); } diff --git a/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClient.java b/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClient.java index d32e9bfdd8..3afcf18c66 100644 --- a/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClient.java +++ b/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClient.java @@ -100,7 +100,7 @@ public class OpenFGAClient { } public AuthorizationModel readLatestAuthorizationModel() throws ApiException { - return readAuthorizationModels().getAuthorizationModels().get(0); + return readAuthorizationModels().getAuthorizationModels().getFirst(); } public ReadResponse read(final ReadRequest request) throws ApiException { diff --git a/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClientFactory.java b/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClientFactory.java index dbc6e832e2..818c266786 100644 --- a/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClientFactory.java +++ b/ext/openfga/client-openfga/src/main/java/org/apache/syncope/ext/openfga/client/OpenFGAClientFactory.java @@ -89,7 +89,7 @@ public class OpenFGAClientFactory { if (models.isEmpty()) { client.setAuthorizationModelId(client.writeAuthorizationModel(request).getAuthorizationModelId()); } else { - client.setAuthorizationModelId(models.get(0).getId()); + client.setAuthorizationModelId(models.getFirst().getId()); } } } diff --git a/fit/build-tools/pom.xml b/fit/build-tools/pom.xml index 56d10e3b55..c547e2da13 100644 --- a/fit/build-tools/pom.xml +++ b/fit/build-tools/pom.xml @@ -378,7 +378,7 @@ under the License. <inherited>true</inherited> <configuration> <container> - <containerId>wildfly33x</containerId> + <containerId>wildfly36x</containerId> <zipUrlInstaller> <url>https://github.com/wildfly/wildfly/releases/download/${wildfly.version}/wildfly-${wildfly.version}.zip</url> <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir> diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml index 3cc99388f3..3a4c3948a9 100644 --- a/fit/core-reference/pom.xml +++ b/fit/core-reference/pom.xml @@ -1346,7 +1346,7 @@ under the License. <inherited>true</inherited> <configuration> <container> - <containerId>wildfly35x</containerId> + <containerId>wildfly36x</containerId> <zipUrlInstaller> <url>https://github.com/wildfly/wildfly/releases/download/${wildfly.version}/wildfly-${wildfly.version}.zip</url> <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir> diff --git a/fit/core-reference/src/main/resources/core-wildfly.properties b/fit/core-reference/src/main/resources/core-wildfly.properties index a06596a555..b75eddce4d 100644 --- a/fit/core-reference/src/main/resources/core-wildfly.properties +++ b/fit/core-reference/src/main/resources/core-wildfly.properties @@ -14,7 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -persistence.metaDataFactory=jpa(URLs=vfs:${project.build.directory}/cargo/configurations/wildfly35x/deployments/syncope.war/WEB-INF/lib/syncope-core-persistence-jpa-${syncope.version}.jar; vfs:${project.build.directory}/cargo/configurations/wildfly35x/deployments/syncope.war/WEB-INF/lib/syncope-core-self-keymaster-starter-${syncope.version}.jar, Resources=##orm##) +persistence.metaDataFactory=jpa(URLs=vfs:${project.build.directory}/cargo/configurations/wildfly36x/deployments/syncope.war/WEB-INF/lib/syncope-core-persistence-jpa-${syncope.version}.jar; vfs:${project.build.directory}/cargo/configurations/wildfly36x/deployments/syncope.war/WEB-INF/lib/syncope-core-self-keymaster-starter-${syncope.version}.jar, Resources=##orm##) javadocPaths=/WEB-INF/lib/syncope-common-idrepo-rest-api-${syncope.version}-javadoc.jar,\ /WEB-INF/lib/syncope-common-idm-rest-api-${syncope.version}-javadoc.jar,\
