Skip to content

Commit

Permalink
Implement MS Graph SDK (#8103)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsm5 authored Dec 19, 2024
1 parent 2f90c5e commit 2c7a345
Show file tree
Hide file tree
Showing 35 changed files with 2,207 additions and 2,632 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ jobs:
# Use Maven Wrapper, so we can build with an older version of Maven, see PR #4579.
- name: Build with Maven
env:
mailAddress: ${{ secrets.EXCHANGE_MAIL_ADDRESS }}
clientId: ${{ secrets.EXCHANGE_MAIL_CLIENTID }}
clientSecret: ${{ secrets.EXCHANGE_MAIL_CLIENTSECRET }}
tenantId: ${{ secrets.EXCHANGE_MAIL_TENANTID }}
baseFolder: "Inbox/iafTest${{ matrix.java }}"
CI_SERVICE: GITHUB
TZ: Europe/Amsterdam
JAVA_OPTS: "-Xms1G -XX:+UseParallelGC"
Expand Down
18 changes: 13 additions & 5 deletions filesystem/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,24 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.microsoft.ews-java-api</groupId>
<artifactId>ews-java-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.17.3</version>
</dependency>
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>6.23.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.14.2</version>
<scope>test</scope>
</dependency>


<dependency>
<groupId>com.hierynomus</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public String getDomain() {
public synchronized RawMessageWrapper<F> getRawMessage(@Nonnull Map<String, Object> threadContext) throws ListenerException {
log.trace("Get Raw Message");
FS fileSystem = getFileSystem();
log.trace("Getting raw message from FS {}", fileSystem.getClass().getSimpleName());
log.trace("Getting raw message from FS {}", () -> fileSystem.getClass().getSimpleName());

try(Stream<F> ds = FileSystemUtils.getFilteredStream(fileSystem, getInputFolder(), getWildcard(), getExcludeWildcard(), TypeFilter.FILES_ONLY)) {
Optional<F> optionalFile = findFirstStableFile(ds);
Expand Down

This file was deleted.

Loading

0 comments on commit 2c7a345

Please sign in to comment.