This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new daab4145e7 Setting wildfly36x for cargo-maven3-plugin
daab4145e7 is described below
commit daab4145e7f97605242b90c0d36fdbeba6aa4fed
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Fri Jun 6 09:08:49 2025 +0200
Setting wildfly36x for cargo-maven3-plugin
---
.../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 +-
5 files changed, 5 insertions(+), 5 deletions(-)
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 76a0d87419..8a4084e462 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 5364f3f033..18cd59e170 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,\