From 50e841dfd954bbfa1a68e9d0e9c9fa4a3fb07b8d Mon Sep 17 00:00:00 2001 From: i341658 Date: Mon, 30 Dec 2024 09:46:34 +0100 Subject: [PATCH] feat: add first round of module descriptors --- .../caching/src/main/java/module-info.java | 11 +++++++++++ .../src/main/java/module-info.java | 14 ++++++++++++++ .../src/main/java/module-info.java | 17 +++++++++++++++++ .../src/main/java/module-info.java | 16 ++++++++++++++++ .../src/main/java/module-info.java | 15 +++++++++++++++ .../src/main/java/module-info.java | 13 +++++++++++++ .../resilience4j/src/main/java/module-info.java | 14 ++++++++++++++ .../security/src/main/java/module-info.java | 13 +++++++++++++ .../tenant/src/main/java/module-info.java | 13 +++++++++++++ 9 files changed, 126 insertions(+) create mode 100644 cloudplatform/caching/src/main/java/module-info.java create mode 100644 cloudplatform/cloudplatform-core/src/main/java/module-info.java create mode 100644 cloudplatform/connectivity-apache-httpclient5/src/main/java/module-info.java create mode 100644 cloudplatform/connectivity-destination-service/src/main/java/module-info.java create mode 100644 cloudplatform/connectivity-oauth/src/main/java/module-info.java create mode 100644 cloudplatform/resilience-api/src/main/java/module-info.java create mode 100644 cloudplatform/resilience4j/src/main/java/module-info.java create mode 100644 cloudplatform/security/src/main/java/module-info.java create mode 100644 cloudplatform/tenant/src/main/java/module-info.java diff --git a/cloudplatform/caching/src/main/java/module-info.java b/cloudplatform/caching/src/main/java/module-info.java new file mode 100644 index 000000000..6c14b2588 --- /dev/null +++ b/cloudplatform/caching/src/main/java/module-info.java @@ -0,0 +1,11 @@ +module com.sap.cloud.sdk.cloudplatform.cache { + exports com.sap.cloud.sdk.cloudplatform.cache; + + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.github.benmanes.caffeine; + requires com.google.common; + requires io.vavr; + requires static javax.annotation; + requires static lombok; +} \ No newline at end of file diff --git a/cloudplatform/cloudplatform-core/src/main/java/module-info.java b/cloudplatform/cloudplatform-core/src/main/java/module-info.java new file mode 100644 index 000000000..8fd349645 --- /dev/null +++ b/cloudplatform/cloudplatform-core/src/main/java/module-info.java @@ -0,0 +1,14 @@ +module com.sap.cloud.sdk.cloudplatform.core { + exports com.sap.cloud.sdk.cloudplatform; + exports com.sap.cloud.sdk.cloudplatform.exception; + exports com.sap.cloud.sdk.cloudplatform.thread; + exports com.sap.cloud.sdk.cloudplatform.thread.exception; + exports com.sap.cloud.sdk.cloudplatform.util; + + requires java.base; + requires com.google.common; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/connectivity-apache-httpclient5/src/main/java/module-info.java b/cloudplatform/connectivity-apache-httpclient5/src/main/java/module-info.java new file mode 100644 index 000000000..ce0bf1fb3 --- /dev/null +++ b/cloudplatform/connectivity-apache-httpclient5/src/main/java/module-info.java @@ -0,0 +1,17 @@ +module com.sap.cloud.sdk.cloudplatform.connectivity.httpclient5 { + exports com.sap.cloud.sdk.cloudplatform.connectivity; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.connectivity; + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.sap.cloud.sdk.cloudplatform.cache; + requires org.apache.httpcomponents.client5.httpclient5; + requires org.apache.httpcomponents.core5.httpcore5; + requires org.apache.commons.lang3; + requires com.github.benmanes.caffeine; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/connectivity-destination-service/src/main/java/module-info.java b/cloudplatform/connectivity-destination-service/src/main/java/module-info.java new file mode 100644 index 000000000..e0aa6ef28 --- /dev/null +++ b/cloudplatform/connectivity-destination-service/src/main/java/module-info.java @@ -0,0 +1,16 @@ +module com.sap.cloud.sdk.cloudplatform.connectivity.destination { + exports com.sap.cloud.sdk.cloudplatform.connectivity; + exports com.sap.cloud.sdk.cloudplatform.exception; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.connectivity; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.sap.cloud.environment.servicebinding; + requires com.google.common; + requires com.google.gson; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/connectivity-oauth/src/main/java/module-info.java b/cloudplatform/connectivity-oauth/src/main/java/module-info.java new file mode 100644 index 000000000..210ad0bc0 --- /dev/null +++ b/cloudplatform/connectivity-oauth/src/main/java/module-info.java @@ -0,0 +1,15 @@ +module com.sap.cloud.sdk.cloudplatform.connectivity.oauth { + exports com.sap.cloud.sdk.cloudplatform.connectivity; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.connectivity; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.sap.cloud.environment.servicebinding; + requires com.sap.cloud.security.xsuaa; + requires org.apache.httpcomponents.httpcore; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/resilience-api/src/main/java/module-info.java b/cloudplatform/resilience-api/src/main/java/module-info.java new file mode 100644 index 000000000..e6e5c6b67 --- /dev/null +++ b/cloudplatform/resilience-api/src/main/java/module-info.java @@ -0,0 +1,13 @@ +module com.sap.cloud.sdk.cloudplatform.resilience.api { + exports com.sap.cloud.sdk.cloudplatform.resilience; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.sap.cloud.sdk.cloudplatform.cache; + requires com.google.common; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/resilience4j/src/main/java/module-info.java b/cloudplatform/resilience4j/src/main/java/module-info.java new file mode 100644 index 000000000..55763bd61 --- /dev/null +++ b/cloudplatform/resilience4j/src/main/java/module-info.java @@ -0,0 +1,14 @@ +module com.sap.cloud.sdk.cloudplatform.resilience4j { + exports com.sap.cloud.sdk.cloudplatform.resilience; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.resilience.api; + requires io.github.resilience4j.circuitbreaker; + requires io.github.resilience4j.bulkhead; + requires io.github.resilience4j.timelimiter; + requires io.github.resilience4j.retry; + requires io.github.resilience4j.ratelimiter; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/security/src/main/java/module-info.java b/cloudplatform/security/src/main/java/module-info.java new file mode 100644 index 000000000..808aa4b1a --- /dev/null +++ b/cloudplatform/security/src/main/java/module-info.java @@ -0,0 +1,13 @@ +module com.sap.cloud.sdk.cloudplatform.security { + exports com.sap.cloud.sdk.cloudplatform.security; + exports com.sap.cloud.sdk.cloudplatform.security.exception; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.tenant; + requires com.google.common; + requires org.apache.commons.lang3; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +} diff --git a/cloudplatform/tenant/src/main/java/module-info.java b/cloudplatform/tenant/src/main/java/module-info.java new file mode 100644 index 000000000..6a2e88550 --- /dev/null +++ b/cloudplatform/tenant/src/main/java/module-info.java @@ -0,0 +1,13 @@ +module com.sap.cloud.sdk.cloudplatform.tenant { + exports com.sap.cloud.sdk.cloudplatform.tenant; + exports com.sap.cloud.sdk.cloudplatform.tenant.exception; + + requires com.sap.cloud.sdk.cloudplatform.core; + requires com.sap.cloud.sdk.cloudplatform.security; + requires com.auth0.jwt; + requires com.sap.cloud.environment.servicebinding; + requires io.vavr; + requires static javax.annotation; + requires static lombok; + requires org.slf4j; +}