Thanks Fabio. I thought Syncope will return immediately (probably after
updating Syncope database), and will do rest of the propagations to  the
configured target systems in an asynchronous manner.

Anyway, where can I find a sample connector that has implemented the
TWO_PHASE protocol as you mentioned below?

Regards,
Antony.

Do you have any sample code

On Mon, Apr 30, 2012 at 1:13 PM, Fabio Martelli <[email protected]>wrote:

>
> Il giorno 30/apr/2012, alle ore 08.32, Antony Pulicken ha scritto:
>
> Hi Fabio,
>
> I have configured the 'propagation mode' in all the connectors/resources
> as mentioned in the blog, but still the provisioning to target systems
> are happening synchronously. The control comes back only after the updates
> are propagated to all the target systems. Can you please tell what I could
> be missing? Do we need to use a diff REST url for this ? Please let me know.
>
>
> Hi Antony,
> please, consider that connector must implement TWO_PHASE protocol to get a
> like "asynchronous" behavior: it must
> 1. handle the request
> 2. return an handle result at request time
> 3. process information in background
> 4. aware syncope about the result
>
> At step 1 Syncope submits the request and goes ahead with other activities
> (propagation status SUBMITTED/UNSUBMITTED).
> At step 4 Syncope receives result notification in background and change
> the relative propagation task status.
>
> If you were thinking to something more pretty asynchronous you have to
> customize the propagation mechanism.
>
> Regards,
> F.
>
> Thanks and Regards,
> Antony.
>
> On Tue, Apr 3, 2012 at 2:58 PM, Fabio Martelli 
> <[email protected]>wrote:
>
>>
>> Il giorno 03/apr/2012, alle ore 11.21, Antony Pulicken ha scritto:
>>
>> Hi,
>>
>> Can you please let me know the difference between the Propagation modes
>> 'ONE_PHASE' and 'TWO_PHASES' while creating a resource? Similarly can you
>> explain the connector capabilities 'ONE_PHASE_CREATE', 'TWO_PHASE_CREATE',
>> 'ONE_PHASE_UPDATE' etc stands for? Do we have any documentation for these ?
>>
>>
>> Propagation result can be returned at request time (ONE_PHASE) or after,
>> by calling rest interface at a certain URL (TWO_PHASE).
>> TWO_PHASE implies:
>> 1. request handle
>> 2. data processing
>> 3. asynchronous result notification
>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Propagation+mode
>>
>>
>
>

Reply via email to