Project

General

Profile

Actions

Task #194

closed

Connector bundles are not found in tests

Added by Radek Tomiška about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Provisioning
Target version:
Start date:
11/17/2016
Due date:
% Done:

100%

Estimated time:
4.00 h
Owner:

Description

When tests on acc module are ran from eclipse, then everything works fine. But when they are ran from command line (e.g. on jenkins), then connector bundle (for basic table connector) can not be found - maybe some classpath issue in test context?

...
testCreateConnectorConfiguration(eu.bcvsolutions.idm.acc.service.DefaultSysSystemServiceTest)  Time elapsed: 0.845 sec  <<< ERROR!
java.lang.IllegalStateException: Connector with key [connId:net.tirasa.connid.bundles.db.table.DatabaseTableConnector:net.tirasa.connid.bundles.db.table:2.2.4] was not found on classpath.
    at eu.bcvsolutions.idm.acc.service.impl.DefaultSysSystemService.createConnectorFormDefinition(DefaultSysSystemService.java:285)
    at eu.bcvsolutions.idm.acc.service.impl.DefaultSysSystemService.getConnectorFormDefinition(DefaultSysSystemService.java:270)
...
Actions

Also available in: Atom PDF