[midPoint] New Connector not loading

Kromhout, Ethan A. ethan at unc.edu
Tue Sep 5 16:42:10 CEST 2017


I have a new connector I've been working on, and it doesn't appear to get loaded when I restart midPoint. I've tried manually creating a Connector definition for it, but I get and exception when trying to configure it as a resource, so I think I'm missing something basic that the connector needs to load.

My connector is just implementing a few operations:

public class AmqpConnector implements  Connector, DeleteOp, SearchOp<String>, SchemaOp {

And provides init, getConfiguration, dispose, createFilterTranslator, schema, executeQuery and delete.

It contains the following  classes and files:

META-INF/
META-INF/MANIFEST.MF
lib/
lib/commons-csv-1.4.jar
lib/amqp-client-4.0.2.jar
lib/slf4j-api-1.7.21.jar
edu/
edu/unc/
edu/unc/polygon/
edu/unc/polygon/connector/
edu/unc/polygon/connector/amqp/
edu/unc/polygon/connector/amqp/AmqpFilterTranslator.class
edu/unc/polygon/connector/amqp/AmqpConfiguration.class
edu/unc/polygon/connector/amqp/AmqpConnector.class
edu/unc/polygon/connector/amqp/Messages.properties

And has the following manifest:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: ekromhout
ConnectorBundle-FrameworkVersion: 1.4.2.14
ConnectorBundle-Version: 0.1-SNAPSHOT
Created-By: Apache Maven 3.3.9
Build-Jdk: 1.8.0_141
ConnectorBundle-Name: unc.edu.polygon.connector-amqp-import

When midpoint starts up, I see the other jar files being loaded by org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl  , but I don't see anything for my jar file above.

Just hoping someone sees something obvious missing in the way of a file or method that would cause the jar file not to be picked up as a connector.

Thanks,

Ethan
6C2F 9067 96D4 AB4A 9621  4FEB 3069 4100 EBFB 55D1



More information about the midPoint mailing list