I created my own test connectors. I call them No-op connectors. They
implement the necessary connid stuff:
public class NoOpConnector implements PoolableConnector, CreateOp,
UpdateOp, SearchOp<String>, DeleteOp{}
public class NoOpConfiguration extends AbstractConfiguration {}
2013/2/20 Francesco Chicchiriccò <[email protected]>
> On 20/02/2013 18:27, ernst Developer wrote:
>
> Hi Francesco,
>
> My cargo config is attached in cargo.xml.
>
> The 2 resources attached means:
> First I create 2 connectors and resources in Syncope. The resource names
> "Resource1" and "Resource2".
> Than I want to create a Role in Syncope, and this Role has a set of
> Resources, with "Resource1" and "Resource2".
> When running this test on Syncope, deployed on standard tomcat install,
> with mysql, everything works fine.
> When running on tomcat that is managed by cargo, using h2 database, only
> "Resource1" is attached in Syncope to the Role created.
>
>
> Which connectors have you defined for Resource1 and Resource2?
>
>
> 2013/2/20 Francesco Chicchiriccò <[email protected]>
>
>> On 20/02/2013 16:36, ernst Developer wrote:
>>
>>> Hi,
>>>
>>> I am running syncope on my localhost, using cargo. I configured the h2
>>> database in persistence.properties. Everything is working fine. Except when
>>> I create a Role with 2 resources attached, Only the first resource is
>>> found. Both resources exist in Syncope. Does anybody have any idea?
>>>
>>
>> Are you running in embedded mode or instead deploying Syncope (core and
>> console) into an external Tomcat, but using H2 for internal storage?
>>
>> Anyway, can you detail the "2 resources attached"?
>>
>> Regards.
>>
>>
>> I looked into our default installation, using tomcat and mysql. I was
>>> able to create a Role with 2 resources. In that setup all is working fine.
>>>
>> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC
> Memberhttp://people.apache.org/~ilgrosso/
>
>