Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
General cleanup of connector code
Obsolete features like support for __ACCOUNT__ and __GROUP__ object
classes were removed. Currently the connector supports only PlainGroup
object class that contains a list of group members.

The code was generally cleaned up and refactored to improve
understandability and maintainability. Unnecessary dependencies were
removed to reduce JAR size.

Version was increased to 0.5.
  • Loading branch information
mederly committed Nov 23, 2019
1 parent 6cf1716 commit 9eaa7f0
Show file tree
Hide file tree
Showing 17 changed files with 934 additions and 1,623 deletions.
15 changes: 14 additions & 1 deletion README.md
@@ -1,2 +1,15 @@
# midPoint-Grouper_connector
Two connectors to be maintained: a REST connector and the Groovy scripts for an AMQP "connector"
This is a connector that can read groups from a Grouper instance using REST calls.
Currently it supports these searches only:
- fetching all groups,
- fetching a group by name,
- fetching a group by UUID.

When fetching a group, a client can choose whether to get basic group data only (name, UUID, extension) or whether
to obtain a list of group members as well.

Besides `search` operation the following ones are supported:
- `schema`
- `test`

This connector was tested with Grouper 2.4.
37 changes: 3 additions & 34 deletions pom.xml
Expand Up @@ -23,18 +23,19 @@
<artifactId>connector-parent</artifactId>
<groupId>com.evolveum.polygon</groupId>
<version>1.4.2.14</version>
<relativePath></relativePath>
<relativePath/>
</parent>

<artifactId>connector-grouper-rest</artifactId>
<version>0.4</version>
<version>0.5</version>
<packaging>jar</packaging>

<name>Grouper REST Connector</name>

<properties>
<connectorPackage>com.evolveum.polygon.connector.grouper.rest</connectorPackage>
<connectorClass>GrouperRestConnector</connectorClass>
<project.source.version>1.8</project.source.version>
</properties>

<repositories>
Expand Down Expand Up @@ -84,7 +85,6 @@
<groupId>com.evolveum.polygon</groupId>
<version>1.4.2.14-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
Expand All @@ -101,36 +101,5 @@
<version>6.8</version>
<scope>test</scope>
</dependency>
<!--dependency>
<groupId>com.metaparadigm</groupId>
<artifactId>json-rpc</artifactId>
<version>1.0</version>
</dependency-->
<dependency>
<groupId>batik</groupId>
<artifactId>batik-swing</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>batik</groupId>
<artifactId>batik-rasterizer</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis-ext</artifactId>
<version>1.3.04</version>
</dependency>
<!--dependency>
<groupId>net.tirasa.connid</groupId>
<artifactId>connector-framework</artifactId>
<version>1.4.3.0-SNAPSHOT</version>
</dependency-->
</dependencies>

</project>
2 changes: 1 addition & 1 deletion src/main/assembly/connector.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2014 Evolveum
~ Copyright (c) 2019 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down

This file was deleted.

0 comments on commit 9eaa7f0

Please sign in to comment.