Hi, 

I have updated my groovy script pull action to use the code in 2.1.2 version
of LDAPMembershipPullActions but I am still having compilation issues. Here
is my groovy script for the pull action implementation.  
pullImplementation.groovy
<http://syncope-user.1051894.n5.nabble.com/file/t339152/pullImplementation.groovy>
  

>From core.log after running a pull action: 
 WARN  org.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate -
While building JPAImplementation[groovy_membership_pull2]
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed:
script1583340431938380385395.groovy: 138: [Static type checking] - Cannot
find matching method
org.apache.syncope.core.provisioning.java.pushpull.SchedulingPullActions#beforeUpdate(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile,
org.identityconnectors.framework.common.objects.SyncDelta,
<UnionType:org.apache.syncope.common.lib.to.EntityTO+org.apache.syncope.common.lib.to.GroupTO>,
org.apache.syncope.common.lib.patch.AnyPatch). Please check if the declared
type is correct and if the method exists.
 @ line 138, column 13.
               super.beforeUpdate(profile, delta, entity, anyPatch);
               ^

script1583340431938380385395.groovy: 143: [Static type checking] - Cannot
find matching method java.lang.Object#getLeftEnd(). Please check if the
declared type is correct and if the method exists.
 @ line 143, column 76.
   ore.get(uMembership.getLeftEnd().getKey(
                                 ^

script1583340431938380385395.groovy: 143: [Static type checking] - Cannot
find matching method java.lang.Object#getKey(). Please check if the declared
type is correct and if the method exists.
 @ line 143, column 54.
    memb = membershipsBefore.get(uMembershi
                                 ^

script1583340431938380385395.groovy: 146: [Static type checking] - Cannot
find matching method java.lang.Object#getLeftEnd(). Please check if the
declared type is correct and if the method exists.
 @ line 146, column 61.
   ore.put(uMembership.getLeftEnd().getKey(
                                 ^

script1583340431938380385395.groovy: 146: [Static type checking] - Cannot
find matching method java.lang.Object#getKey(). Please check if the declared
type is correct and if the method exists.
 @ line 146, column 39.
                   membershipsBefore.put(uMembership.getLeftEnd().getKey(),
memb);
                                         ^

script1583340431938380385395.groovy: 146: [Static type checking] - Cannot
find matching method java.util.Map#put(java.lang.Object, java.util.HashSet
<java.lang.String>). Please check if the declared type is correct and if the
method exists.
 @ line 146, column 17.
                   membershipsBefore.put(uMembership.getLeftEnd().getKey(),
memb);
                   ^

6 errors


--
Sent from: http://syncope-user.1051894.n5.nabble.com/

Reply via email to