This is an automated email from the ASF dual-hosted git repository.
andreapatricelli pushed a commit to branch 4_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_0_X by this push:
new 12a070e0d4 code alignment for reference groovy implementations in
console
12a070e0d4 is described below
commit 12a070e0d45916d960c14cc54b5fbfbc78d35b61
Author: Andrea Patricelli <[email protected]>
AuthorDate: Fri May 9 16:43:38 2025 +0200
code alignment for reference groovy implementations in console
---
.../syncope/client/console/implementations/MyAccountRule.groovy | 2 +-
.../client/console/implementations/MyAttrValueValidator.groovy | 8 ++------
.../syncope/client/console/implementations/MyMacroActions.groovy | 2 +-
.../syncope/client/console/implementations/MyPasswordRule.groovy | 2 +-
.../client/console/implementations/MyPropagationActions.groovy | 4 ++--
5 files changed, 7 insertions(+), 11 deletions(-)
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAccountRule.groovy
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAccountRule.groovy
index 1826559aa4..6768799e63 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAccountRule.groovy
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAccountRule.groovy
@@ -17,7 +17,7 @@
* under the License.
*/
import groovy.transform.CompileStatic
-import org.apache.syncope.core.persistence.api.dao.AccountRule
+import org.apache.syncope.core.provisioning.api.rules.AccountRule
import org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
import org.apache.syncope.core.persistence.api.entity.user.User
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAttrValueValidator.groovy
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAttrValueValidator.groovy
index 9e9a79dc08..7998e986af 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAttrValueValidator.groovy
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyAttrValueValidator.groovy
@@ -17,7 +17,7 @@
* under the License.
*/
import groovy.transform.CompileStatic
-import
org.apache.syncope.core.persistence.api.attrvalue.validation.PlainAttrValueValidator
+import
org.apache.syncope.core.persistence.api.attrvalue.PlainAttrValueValidator
import org.apache.syncope.core.persistence.api.entity.PlainAttrValue
import org.apache.syncope.core.persistence.api.entity.PlainSchema
@@ -25,10 +25,6 @@ import
org.apache.syncope.core.persistence.api.entity.PlainSchema
class MyAttrValueValidator implements PlainAttrValueValidator {
@Override
- void setSchema(PlainSchema schema) {
- }
-
- @Override
- void validate(String value, PlainAttrValue attrValue) {
+ void validate(PlainSchema schema, String value, PlainAttrValue attrValue) {
}
}
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyMacroActions.groovy
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyMacroActions.groovy
index 354fa91ea2..1edd24358a 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyMacroActions.groovy
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyMacroActions.groovy
@@ -19,7 +19,7 @@
import groovy.transform.CompileStatic
import java.util.Map
import java.util.Optional
-import javax.validation.ValidationException
+import jakarta.validation.ValidationException
import org.apache.syncope.common.lib.command.CommandArgs
import org.apache.syncope.common.lib.form.SyncopeForm
import org.apache.syncope.core.provisioning.api.macro.Command
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPasswordRule.groovy
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPasswordRule.groovy
index a54f8ceb3c..a73034060d 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPasswordRule.groovy
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPasswordRule.groovy
@@ -17,7 +17,7 @@
* under the License.
*/
import groovy.transform.CompileStatic
-import org.apache.syncope.core.persistence.api.dao.PasswordRule
+import org.apache.syncope.core.provisioning.api.rules.PasswordRule
import org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
import org.apache.syncope.core.persistence.api.entity.user.User
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPropagationActions.groovy
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPropagationActions.groovy
index 9ad62814fe..0e170bfc70 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPropagationActions.groovy
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/implementations/MyPropagationActions.groovy
@@ -30,12 +30,12 @@ import
org.identityconnectors.framework.common.objects.ConnectorObject
class MyPropagationActions implements PropagationActions {
@Override
- Set<String> moreAttrsToGet(Optional<PropagationTask> task, OrgUnit orgUnit) {
+ Set<String> moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, OrgUnit
orgUnit) {
return Set.of();
}
@Override
- Set<String> moreAttrsToGet(Optional<PropagationTask> task, Provision
provision) {
+ Set<String> moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, Provision
provision){
return Set.of();
}