From 53b51f29e40cd0f0f9e30999751b63de64038737 Mon Sep 17 00:00:00 2001 From: t-rana <145645280+t-rana@users.noreply.github.com> Date: Thu, 25 Apr 2024 19:46:34 +0530 Subject: [PATCH] Issues/oak 10770 (#1428) * OAK-10770: embed runtime dependencies of azure identity in oak-segment-azure * OAK-10770: remove unused imports, refactor dependencies * OAK-10770: add imports, refactor dependencies --- oak-parent/pom.xml | 61 ++++++++++++++-- oak-segment-azure/pom.xml | 144 ++++++++++++++++++++++++++++++++------ 2 files changed, 176 insertions(+), 29 deletions(-) diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml index e5bb87a05f6..914f10915c4 100644 --- a/oak-parent/pom.xml +++ b/oak-parent/pom.xml @@ -733,11 +733,8 @@ azure-identity 1.11.3 - - com.azure - azure-identity-broker - 1.0.3 - + + com.azure azure-core @@ -748,10 +745,60 @@ azure-json 1.1.0 + + org.reactivestreams + reactive-streams + 1.0.4 + + + com.microsoft.azure + msal4j + 1.14.0 + + + io.projectreactor + reactor-core + 3.4.34 + + + com.nimbusds + oauth2-oidc-sdk + 10.7.1 + + + com.nimbusds + nimbus-jose-jwt + 9.30.2 + com.azure - azure-xml - 1.0.0-beta.3 + azure-core-http-netty + 1.14.1 + + + io.projectreactor.netty + reactor-netty-http + 1.0.40 + + + io.projectreactor.netty + reactor-netty-core + 1.0.40 + + + net.minidev + json-smart + 2.4.10 + + + com.nimbusds + content-type + 2.2 + + + net.minidev + accessors-smart + 2.4.9 diff --git a/oak-segment-azure/pom.xml b/oak-segment-azure/pom.xml index 03eb6fec302..92d010e5e23 100644 --- a/oak-segment-azure/pom.xml +++ b/oak-segment-azure/pom.xml @@ -32,6 +32,10 @@ Oak Segment Azure + + 4.1.109.Final + + @@ -46,24 +50,21 @@ com.fasterxml.jackson.databind*;resolution:=optional, com.fasterxml.jackson.dataformat.xml;resolution:=optional, com.fasterxml.jackson.datatype*;resolution:=optional, - com.microsoft.aad.msal4j*;resolution:=optional, - com.nimbusds.common.contenttype;resolution:=optional, - com.nimbusds.jose*;resolution:=optional, - com.nimbusds.jwt;resolution:=optional, - com.nimbusds.jwt.util;resolution:=optional, - com.nimbusds.oauth2.sdk*;resolution:=optional, - com.nimbusds.jwt.proc;resolution:=optional, + com.azure.identity.broker.implementation;resolution:=optional, + com.azure.xml;resolution:=optional, + com.microsoft.aad.msal4jextensions*;resolution:=optional, com.nimbusds.langtag;resolution:=optional, - com.nimbusds.openid.connect.sdk*;resolution:=optional, - com.nimbusds.secevent.sdk*;resolution:=optional, com.sun.jna*;resolution:=optional, + com.sun.net.httpserver;resolution:=optional, + sun.misc;resolution:=optional, + net.jcip.annotations;resolution:=optional, + io.netty.channel.epoll;resolution:=optional, + io.netty.handler.codec.*;resolution:=optional, + org.objectweb.asm;resolution:=optional, !org.apache.jackrabbit.oak.segment*, !com.google.*, !android.os, !org.checkerframework.*, - !org.reactivestreams.*, - !reactor.core.*, - !reactor.util.*, * @@ -81,11 +82,21 @@ azure-keyvault-core, azure-core, azure-identity, - azure-identity-broker, azure-json, - azure-xml, guava, - jsr305 + jsr305, + reactive-streams, + msal4j, + reactor-core, + oauth2-oidc-sdk, + azure-core-http-netty, + netty-*, + reactor-netty-http, + reactor-netty-core, + json-smart, + content-type, + accessors-smart, + nimbus-jose-jwt <_plugin /> @@ -182,10 +193,8 @@ com.azure azure-identity - - com.azure - azure-identity-broker - + + com.azure azure-core @@ -195,12 +204,103 @@ azure-json - com.fasterxml.jackson.core - jackson-databind + org.reactivestreams + reactive-streams + + + com.microsoft.azure + msal4j + + + io.projectreactor + reactor-core + + + com.nimbusds + oauth2-oidc-sdk com.azure - azure-xml + azure-core-http-netty + + + io.netty + netty-transport + ${netty.version} + + + io.netty + netty-resolver + ${netty.version} + + + io.netty + netty-common + ${netty.version} + + + io.netty + netty-resolver-dns + ${netty.version} + + + io.netty + netty-codec-http + ${netty.version} + + + io.netty + netty-codec + ${netty.version} + + + io.netty + netty-codec-http2 + ${netty.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-handler + ${netty.version} + + + io.netty + netty-handler-proxy + ${netty.version} + + + io.netty + netty-transport-native-unix-common + ${netty.version} + + + io.projectreactor.netty + reactor-netty-http + + + io.projectreactor.netty + reactor-netty-core + + + net.minidev + json-smart + + + com.nimbusds + content-type + + + com.nimbusds + nimbus-jose-jwt + + + net.minidev + accessors-smart