Skip to content

Add Paginiation and Lookups by Attributes #2

Merged
merged 1 commit into from Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 24 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
# midPoint-Grouper_connector
This is a connector that can read groups from a Grouper instance using REST calls.
Currently it supports these searches only:
Currently, it supports these searches only:
- fetching all groups,
- fetching a group by name,
- fetching a group by UUID.
Expand All @@ -12,4 +12,26 @@ Besides `search` operation the following ones are supported:
- `schema`
- `test`

This connector was tested with Grouper 2.4.
This connector was tested with Grouper 2.5.

//TODO: Document baseStem, sourceId, include/exclude Group, and Group Attribute Map params and how they interact based on Grouper WS


It's strongly recommended to add timeouts to your midPoint resource!

```xml
<icfc:timeouts>
<icfc:create>180000</icfc:create>
<icfc:get>180000</icfc:get>
<icfc:update>180000</icfc:update>
<icfc:delete>180000</icfc:delete>
<icfc:test>60000</icfc:test>
<icfc:scriptOnConnector>180000</icfc:scriptOnConnector>
<icfc:scriptOnResource>180000</icfc:scriptOnResource>
<icfc:authentication>60000</icfc:authentication>
<icfc:search>180000</icfc:search>
<icfc:validate>180000</icfc:validate>
<icfc:sync>180000</icfc:sync>
<icfc:schema>60000</icfc:schema>
</icfc:timeouts>
```
30 changes: 24 additions & 6 deletions pom.xml
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>connector-parent</artifactId>
<groupId>com.evolveum.polygon</groupId>
<version>1.4.2.14</version>
<version>1.5.0.0</version>
<relativePath/>
</parent>

Expand All @@ -35,7 +35,9 @@
<properties>
<connectorPackage>com.evolveum.polygon.connector.grouper.rest</connectorPackage>
<connectorClass>GrouperRestConnector</connectorClass>
<project.source.version>1.8</project.source.version>
<maven.compiler.source>1.11</maven.compiler.source>
<maven.compiler.target>1.11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
Expand Down Expand Up @@ -65,6 +67,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -75,6 +81,18 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.1.5</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -83,22 +101,22 @@
<dependency>
<artifactId>connector-rest</artifactId>
<groupId>com.evolveum.polygon</groupId>
<version>1.4.2.14-SNAPSHOT</version>
<version>1.5.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.1</version>
<version>4.5.13</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20160810</version>
<version>20210307</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
<version>7.4.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down