diff --git a/.github/workflows/maven-itest.yml b/.github/workflows/maven-itest.yml index 2068225b..ccca48c7 100644 --- a/.github/workflows/maven-itest.yml +++ b/.github/workflows/maven-itest.yml @@ -18,44 +18,6 @@ on: - main jobs: - stage_itest: - runs-on: ubuntu-latest - environment: aio_stage - strategy: - fail-fast: true - - steps: - - # Check out Git repository - - name: Checkout code - uses: actions/checkout@v3 - - # Set up environment with Java and Maven - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: 11 - cache: maven - - # Build & Test - - name: Stage Integration Test with Maven - run: mvn -Daio_publish_url=$aio_publish_url -Daio_api_url=$aio_api_url -Daio_ims_url=$aio_ims_url -Daio_meta_scopes=$aio_meta_scopes -Daio_ims_org_id=$aio_ims_org_id -Daio_consumer_org_id=$aio_consumer_org_id -Daio_project_id=$aio_project_id -Daio_workspace_id=$aio_workspace_id -Daio_credential_id=$aio_credential_id -Daio_technical_account_id=$aio_technical_account_id -Daio_api_key=$aio_api_key -Daio_client_secret=$aio_client_secret -Daio_encoded_pkcs8=$aio_encoded_pkcs8 verify -Pitest - env: - aio_ims_url: ${{ secrets.aio_ims_url }} - aio_meta_scopes: ${{ secrets.aio_meta_scopes }} - aio_ims_org_id: ${{ secrets.aio_ims_org_id }} - aio_consumer_org_id: ${{ secrets.aio_consumer_org_id }} - aio_project_id: ${{ secrets.aio_project_id }} - aio_workspace_id: ${{ secrets.aio_workspace_id }} - aio_credential_id: ${{ secrets.aio_credential_id }} - aio_technical_account_id: ${{ secrets.aio_technical_account_id }} - aio_api_key: ${{ secrets.aio_api_key }} - aio_client_secret: ${{ secrets.aio_client_secret }} - aio_encoded_pkcs8: ${{ secrets.aio_encoded_pkcs8 }} - aio_api_url: ${{ secrets.aio_api_url }} - aio_publish_url: ${{ secrets.aio_publish_url }} - stage_oauth_itest: runs-on: ubuntu-latest environment: aio_stage_oauth @@ -91,9 +53,9 @@ jobs: aio_api_url: ${{ secrets.aio_api_url }} aio_publish_url: ${{ secrets.aio_publish_url }} - prod_itest: + prod_oauth_itest: runs-on: ubuntu-latest - environment: aio_prod + environment: prod_oauth_itest strategy: fail-fast: true @@ -113,18 +75,15 @@ jobs: # Build & Test - name: Prod Integration Test with Maven - run: mvn -Daio_publish_url=$aio_publish_url -Daio_api_url=$aio_api_url -Daio_ims_url=$aio_ims_url -Daio_meta_scopes=$aio_meta_scopes -Daio_ims_org_id=$aio_ims_org_id -Daio_consumer_org_id=$aio_consumer_org_id -Daio_project_id=$aio_project_id -Daio_workspace_id=$aio_workspace_id -Daio_credential_id=$aio_credential_id -Daio_technical_account_id=$aio_technical_account_id -Daio_api_key=$aio_api_key -Daio_client_secret=$aio_client_secret -Daio_encoded_pkcs8=$aio_encoded_pkcs8 verify -Pitest + run: mvn -Daio_publish_url=$aio_publish_url -Daio_api_url=$aio_api_url -Daio_ims_url=$aio_ims_url -Daio_oauth_scopes=$aio_oauth_scopes -Daio_ims_org_id=$aio_ims_org_id -Daio_consumer_org_id=$aio_consumer_org_id -Daio_project_id=$aio_project_id -Daio_workspace_id=$aio_workspace_id -Daio_api_key=$aio_api_key -Daio_client_secret=$aio_client_secret verify -Pitest env: aio_ims_url: ${{ secrets.aio_ims_url }} - aio_meta_scopes: ${{ secrets.aio_meta_scopes }} + aio_client_secret: ${{ secrets.aio_client_secret }} + aio_oauth_scopes: ${{ secrets.aio_oauth_scopes }} aio_ims_org_id: ${{ secrets.aio_ims_org_id }} aio_consumer_org_id: ${{ secrets.aio_consumer_org_id }} aio_project_id: ${{ secrets.aio_project_id }} aio_workspace_id: ${{ secrets.aio_workspace_id }} - aio_credential_id: ${{ secrets.aio_credential_id }} - aio_technical_account_id: ${{ secrets.aio_technical_account_id }} aio_api_key: ${{ secrets.aio_api_key }} - aio_client_secret: ${{ secrets.aio_client_secret }} - aio_encoded_pkcs8: ${{ secrets.aio_encoded_pkcs8 }} aio_api_url: ${{ secrets.aio_api_url }} aio_publish_url: ${{ secrets.aio_publish_url }} diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 411e5555..d86953cd 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -32,7 +32,7 @@ jobs: steps: # Check out Git repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 # Set up environment with Java and Maven - name: Set up JDK @@ -184,17 +184,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: ref: aio-lib-java-${{ needs.tag.outputs.version }} - name: Setup JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: 11 cache: maven - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} @@ -209,22 +209,22 @@ jobs: echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust --no-tty --batch --yes - name: AEM6.5 Build - run: mvn clean deploy -DskipRemoteStaging=true -Dmaven.test.skip -Paem65deps,aem65,release + run: mvn clean deploy -DskipTests -Paem65deps,aem65,release,attach-javadoc,attach-source env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: AEMaaCS Build - run: mvn clean deploy -DskipRemoteStaging=true -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source + run: mvn clean deploy -DskipTests -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - name: Deploy to Central - run: mvn nexus-staging:deploy-staged -DautoReleaseAfterClose=true + - name: Main Build + run: mvn clean deploy -DskipTests -Prelease,attach-javadoc,attach-source env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index 3da7ad33..95478464 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Import GPG key env: @@ -23,35 +23,35 @@ jobs: echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust --no-tty --batch --yes - name: Setup JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: 11 cache: maven - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: AEM6.5 Build - run: mvn clean deploy -DskipRemoteStaging=true -Dmaven.test.skip -Paem65deps,aem65,release + run: mvn clean deploy -DskipTests -Paem65deps,aem65,release env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: AEMaaCS Build - run: mvn clean deploy -DskipRemoteStaging=true -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source + run: mvn clean deploy -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - name: Deploy to Central - run: mvn nexus-staging:deploy-staged -DautoReleaseAfterClose=true + - name: Main Build + run: mvn clean deploy -DskipTests -Prelease env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 00000000..89f6445d --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1,2 @@ +--settings +./.mvn/settings.xml diff --git a/.mvn/settings.xml b/.mvn/settings.xml new file mode 100644 index 00000000..557c5c3b --- /dev/null +++ b/.mvn/settings.xml @@ -0,0 +1,29 @@ + + + + false + + + central + ${env.MAVEN_USERNAME} + ${env.MAVEN_CENTRAL_TOKEN} + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 67e025d9..c81c462e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,63 @@ # 📑 Changelog +## [aio-lib-java-2.0.14](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.14) (2026-03-31) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.12...aio-lib-java-2.0.14) + +### 📁 Other pull requests + +- GH-264 allowing the `ProviderService` to be built with custom \(auth and headers\) request interceptors [\#265](https://github.com/adobe/aio-lib-java/pull/265) ([francoisledroff](https://github.com/francoisledroff)) +- GH-262 wirig the `dataResidencyRegion` I/O Events provider input field [\#263](https://github.com/adobe/aio-lib-java/pull/263) ([francoisledroff](https://github.com/francoisledroff)) + +## [aio-lib-java-2.0.12](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.12) (2026-02-19) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.10...aio-lib-java-2.0.12) + +## [aio-lib-java-2.0.10](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.10) (2026-02-19) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.8...aio-lib-java-2.0.10) + +### 📁 Other pull requests + +- GH-257 updating to adhere to the latest recommended configuration for GPG signing [\#261](https://github.com/adobe/aio-lib-java/pull/261) ([francoisledroff](https://github.com/francoisledroff)) +- GH-257 attempting a few upgrades and configuration to get the signing to work [\#260](https://github.com/adobe/aio-lib-java/pull/260) ([francoisledroff](https://github.com/francoisledroff)) +- Revert "GH-236 Temporary disabling the `release` maven profile to skip signing" [\#259](https://github.com/adobe/aio-lib-java/pull/259) ([francoisledroff](https://github.com/francoisledroff)) + +## [aio-lib-java-2.0.8](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.8) (2026-02-19) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.6...aio-lib-java-2.0.8) + +### 📁 Other pull requests + +- GH-236 Temporary disabling the `release` maven profile to skip signing [\#256](https://github.com/adobe/aio-lib-java/pull/256) ([francoisledroff](https://github.com/francoisledroff)) +- GH-236 using now our own aio-lib-java maven central token [\#255](https://github.com/adobe/aio-lib-java/pull/255) ([francoisledroff](https://github.com/francoisledroff)) +- GH-236 upgrading `central-publishing-maven-plugin` [\#254](https://github.com/adobe/aio-lib-java/pull/254) ([francoisledroff](https://github.com/francoisledroff)) + +## [aio-lib-java-2.0.6](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.6) (2026-01-26) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.4...aio-lib-java-2.0.6) + +## [aio-lib-java-2.0.4](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.4) (2025-12-15) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.2...aio-lib-java-2.0.4) + +### 📁 Other pull requests + +- GH-249 leveraging the `retry-after` header support of Feign in our `IOErrorDecoder` [\#251](https://github.com/adobe/aio-lib-java/pull/251) ([francoisledroff](https://github.com/francoisledroff)) +- GH-236 aligning the GH action to the use of `central-publishing-maven-plugin` plugin [\#238](https://github.com/adobe/aio-lib-java/pull/238) ([francoisledroff](https://github.com/francoisledroff)) +- GH-236 migrating to `central.sonatype.com` [\#237](https://github.com/adobe/aio-lib-java/pull/237) ([francoisledroff](https://github.com/francoisledroff)) +- CH-233: add support for the new subscriber filter API \(which is yet not released publicly\) [\#235](https://github.com/adobe/aio-lib-java/pull/235) ([nicdard](https://github.com/nicdard)) +- GH-233: add new Subscriber Filter API support [\#234](https://github.com/adobe/aio-lib-java/pull/234) ([nicdard](https://github.com/nicdard)) +- Documentation: Fix invalid OSGi configuration property id aio\_oauth\_scopes [\#226](https://github.com/adobe/aio-lib-java/pull/226) ([stefanseifert](https://github.com/stefanseifert)) + +## [aio-lib-java-2.0.2](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.2) (2025-03-22) + +[Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-2.0.0...aio-lib-java-2.0.2) + +### 📁 Other pull requests + +- GH-230 removing unwanted/unneeded/unused cloudevent serializer and deserializer and hence dependency [\#231](https://github.com/adobe/aio-lib-java/pull/231) ([francoisledroff](https://github.com/francoisledroff)) + ## [aio-lib-java-2.0.0](https://github.com/adobe/aio-lib-java/tree/aio-lib-java-2.0.0) (2024-09-05) [Full Changelog](https://github.com/adobe/aio-lib-java/compare/aio-lib-java-1.1.28...aio-lib-java-2.0.0) diff --git a/aem/aio_aem_events/pom.xml b/aem/aio_aem_events/pom.xml index b046b7f5..fbc3b437 100644 --- a/aem/aio_aem_events/pom.xml +++ b/aem/aio_aem_events/pom.xml @@ -22,7 +22,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-aem-events diff --git a/aem/core_aem/README.md b/aem/core_aem/README.md index d7fbd03e..2b11f23b 100644 --- a/aem/core_aem/README.md +++ b/aem/core_aem/README.md @@ -29,7 +29,7 @@ When using JWT credentials also set When using OAuth credentials also set * `aio.client.secret` your Adobe Developer Console oAuth credential client secret -* `aio_oauth_scopes` a comma separated list of OAuth scopes associated with your API, see your Adobe Developer Console OAuth scopes (project.workspace.details.credentials[i].oauth_server_to_server.scopes) +* `aio.oauth.scopes` a comma separated list of OAuth scopes associated with your API, see your Adobe Developer Console OAuth scopes (project.workspace.details.credentials[i].oauth_server_to_server.scopes) For more details on the above please refer to * [`aio-lib-java-core` docs](../../core/README.md) for more details diff --git a/aem/core_aem/pom.xml b/aem/core_aem/pom.xml index 4a51701c..93367469 100644 --- a/aem/core_aem/pom.xml +++ b/aem/core_aem/pom.xml @@ -19,7 +19,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-aem-core diff --git a/aem/events_ingress_aem/pom.xml b/aem/events_ingress_aem/pom.xml index e1349650..fb97f2d2 100644 --- a/aem/events_ingress_aem/pom.xml +++ b/aem/events_ingress_aem/pom.xml @@ -19,7 +19,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-aem-events-publish diff --git a/aem/events_mgmt_aem/pom.xml b/aem/events_mgmt_aem/pom.xml index 503412a6..4bfea316 100644 --- a/aem/events_mgmt_aem/pom.xml +++ b/aem/events_mgmt_aem/pom.xml @@ -19,7 +19,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-aem-events-mgmt diff --git a/aem/events_osgi_mapping/pom.xml b/aem/events_osgi_mapping/pom.xml index 90142d56..e8c90e15 100644 --- a/aem/events_osgi_mapping/pom.xml +++ b/aem/events_osgi_mapping/pom.xml @@ -19,7 +19,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-aem-events-osgi-mapping diff --git a/aem/lib_osgi/pom.xml b/aem/lib_osgi/pom.xml index 2d248934..df02b694 100644 --- a/aem/lib_osgi/pom.xml +++ b/aem/lib_osgi/pom.xml @@ -17,7 +17,7 @@ com.adobe.aio.aem aio-aem ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT aio-lib-osgi diff --git a/aem/pom.xml b/aem/pom.xml index d9adfac8..7260a080 100644 --- a/aem/pom.xml +++ b/aem/pom.xml @@ -19,7 +19,7 @@ com.adobe.aio aio-lib-java ../pom.xml - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT com.adobe.aio.aem diff --git a/core/pom.xml b/core/pom.xml index c95417b8..b29a9791 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -17,7 +17,7 @@ com.adobe.aio aio-lib-java - 2.0.1-SNAPSHOT + 2.0.15-SNAPSHOT ../pom.xml 4.0.0 @@ -71,10 +71,6 @@ io.openapitools.jackson.dataformat jackson-dataformat-hal - - io.cloudevents - cloudevents-api - org.junit.jupiter diff --git a/core/src/main/java/com/adobe/aio/feign/AIOHeaderInterceptor.java b/core/src/main/java/com/adobe/aio/feign/AIOHeaderInterceptor.java index d4b5f3cb..98be5407 100644 --- a/core/src/main/java/com/adobe/aio/feign/AIOHeaderInterceptor.java +++ b/core/src/main/java/com/adobe/aio/feign/AIOHeaderInterceptor.java @@ -20,10 +20,12 @@ public class AIOHeaderInterceptor implements RequestInterceptor { - private final Workspace workspace; + private final String apiKey; + private final String imsOrgId; - private AIOHeaderInterceptor(final Workspace workspace) { - this.workspace = workspace; + private AIOHeaderInterceptor(final String apiKey, final String imsOrgId) { + this.apiKey = apiKey; + this.imsOrgId = imsOrgId; } @Override @@ -34,14 +36,14 @@ public void apply(RequestTemplate requestTemplate) { private void applyApiKey(RequestTemplate requestTemplate) { - if (!requestTemplate.headers().containsKey(API_KEY_HEADER) && !StringUtils.isEmpty(workspace.getApiKey())) { - requestTemplate.header(API_KEY_HEADER, workspace.getApiKey()); + if (!requestTemplate.headers().containsKey(API_KEY_HEADER) && !StringUtils.isEmpty(apiKey)) { + requestTemplate.header(API_KEY_HEADER, apiKey); } } private void applyImsOrg(RequestTemplate requestTemplate) { - if (!requestTemplate.headers().containsKey(IMS_ORG_HEADER) && !StringUtils.isEmpty(workspace.getImsOrgId())) { - requestTemplate.header(IMS_ORG_HEADER, workspace.getImsOrgId()); + if (!requestTemplate.headers().containsKey(IMS_ORG_HEADER) && !StringUtils.isEmpty(imsOrgId)) { + requestTemplate.header(IMS_ORG_HEADER, imsOrgId); } } @@ -51,18 +53,30 @@ public static Builder builder() { public static class Builder { - private Workspace workspace;; + private String apiKey; + private String imsOrgId; private Builder() { } public Builder workspace(Workspace workspace) { - this.workspace = workspace; + this.apiKey = workspace.getApiKey(); + this.imsOrgId = workspace.getImsOrgId(); return this; } + public Builder apiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + public Builder imsOrgId(String imsOrgId) { + this.imsOrgId = imsOrgId; + return this; + } + public AIOHeaderInterceptor build() { - return new AIOHeaderInterceptor(workspace); + return new AIOHeaderInterceptor(apiKey, imsOrgId); } } diff --git a/core/src/main/java/com/adobe/aio/util/JacksonUtil.java b/core/src/main/java/com/adobe/aio/util/JacksonUtil.java index 9febae2b..7407ec35 100644 --- a/core/src/main/java/com/adobe/aio/util/JacksonUtil.java +++ b/core/src/main/java/com/adobe/aio/util/JacksonUtil.java @@ -17,13 +17,9 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.json.JsonMapper; -import com.fasterxml.jackson.databind.module.SimpleModule; import com.fasterxml.jackson.databind.node.TextNode; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; -import io.cloudevents.json.ZonedDateTimeDeserializer; -import io.cloudevents.json.ZonedDateTimeSerializer; import io.openapitools.jackson.dataformat.hal.JacksonHALModule; -import java.time.ZonedDateTime; import org.apache.commons.lang3.StringUtils; public class JacksonUtil { @@ -35,10 +31,6 @@ private JacksonUtil() { JsonMapper.builder() .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false) .serializationInclusion(Include.NON_NULL) - .addModule(new SimpleModule() - .addSerializer(ZonedDateTime.class, new ZonedDateTimeSerializer()) - .addDeserializer(ZonedDateTime.class, new ZonedDateTimeDeserializer())) - // let's stick to CloudEvents v1 ISO_OFFSET_DATE_TIME date format .addModule(new JacksonHALModule()) .addModule(new Jdk8Module()) .build(); diff --git a/core/src/main/java/com/adobe/aio/util/feign/IOErrorDecoder.java b/core/src/main/java/com/adobe/aio/util/feign/IOErrorDecoder.java index ac9f3c5f..6f5a4763 100644 --- a/core/src/main/java/com/adobe/aio/util/feign/IOErrorDecoder.java +++ b/core/src/main/java/com/adobe/aio/util/feign/IOErrorDecoder.java @@ -20,18 +20,22 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class IOErrorDecoder implements ErrorDecoder { +public class IOErrorDecoder extends ErrorDecoder.Default implements ErrorDecoder { public static final String REQUEST_ID = "x-request-id"; private final Logger logger = LoggerFactory.getLogger(this.getClass()); + public IOErrorDecoder() { + super(); + } + @Override public Exception decode(String methodKey, Response response) { FeignException exception = FeignException.errorStatus(methodKey, response); logger.warn("Upstream response error ({},{})", response.status(), exception.contentUTF8()); return (response.status() >= 500) ? - new IOUpstreamError(response, exception, getRequestId(response.headers())) : exception; + new IOUpstreamError(response, exception, getRequestId(response.headers())) : super.decode(methodKey, response); } private String getRequestId(Map> headers) { diff --git a/core/src/main/java/com/adobe/aio/workspace/Workspace.java b/core/src/main/java/com/adobe/aio/workspace/Workspace.java index 28e02579..c283009d 100644 --- a/core/src/main/java/com/adobe/aio/workspace/Workspace.java +++ b/core/src/main/java/com/adobe/aio/workspace/Workspace.java @@ -56,8 +56,16 @@ public static Builder builder() { return new Builder(); } + /** + * Validates that this workspace is properly defined, including its `auth` (credential and api-key) related properties. + * @throws IllegalStateException if any workspace `context` or `auth` properties is missing. + * @see #validateWorkspaceContext() where validation that does not include `auth` related properties. + */ public void validateAll() { validateWorkspaceContext(); + if (StringUtils.isEmpty(apiKey)) { + throw new IllegalStateException("Your `Workspace` is missing an apiKey"); + } if (!isAuthOAuth() && !isAuthJWT()) { throw new IllegalStateException("Missing auth configuration, set either jwt or oauth..."); } @@ -65,9 +73,12 @@ public void validateAll() { } /** - * Validates that this workspace context is populated. + * Validates that this workspace is properly defined. * - * @throws IllegalStateException if any properties are not specified. + * @throws IllegalStateException if a context/basic properties is missing. + * Note that `auth` related properties will not be validated here. + * @see #validateAll() for a more comprehensive validation that includes `auth` (credential and api-key) related properties. + * */ public void validateWorkspaceContext() throws IllegalStateException { if (StringUtils.isEmpty(imsOrgId)) { @@ -76,23 +87,12 @@ public void validateWorkspaceContext() throws IllegalStateException { if (StringUtils.isEmpty(this.getConsumerOrgId())) { throw new IllegalStateException("Your `Workspace` is missing a consumerOrgId"); } - if (StringUtils.isEmpty(apiKey)) { - throw new IllegalStateException("Your `Workspace` is missing an apiKey"); - } if (StringUtils.isEmpty(this.getProjectId())) { throw new IllegalStateException("Your `Workspace` is missing a projectId"); } if (StringUtils.isEmpty(this.getWorkspaceId())) { throw new IllegalStateException("Your `Workspace` is missing a workspaceId"); } - // note that the credentialId is optional - // but it might be handy to have it in your `Workspace` POJO, - // to avoid confusion when you have multiple credentials, - // and to eventually in some Adobe API calls - - if (authContext == null) { - throw new IllegalStateException("Missing auth configuration ..."); - } } public String getProjectUrl() { diff --git a/core/src/test/java/com/adobe/aio/workspace/WorkspaceTest.java b/core/src/test/java/com/adobe/aio/workspace/WorkspaceTest.java index a8295792..99c717d4 100644 --- a/core/src/test/java/com/adobe/aio/workspace/WorkspaceTest.java +++ b/core/src/test/java/com/adobe/aio/workspace/WorkspaceTest.java @@ -15,8 +15,11 @@ import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; +import java.util.HashSet; +import java.util.Set; import com.adobe.aio.auth.Context; +import com.adobe.aio.auth.OAuthContext; import com.adobe.aio.util.Constants; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -38,14 +41,8 @@ public static void beforeClass() throws Exception { @Test public void successFullBuilder() throws IOException { - - class MockContext implements Context { - @Override - public void validate() { - - } - } - + Set scopes = new HashSet<>(); + scopes.add("scope1"); Workspace actual = Workspace.builder() .imsUrl(Constants.PROD_IMS_URL) .imsOrgId(Workspace.IMS_ORG_ID + TEST_VALUE) @@ -53,7 +50,7 @@ public void validate() { .consumerOrgId(Workspace.CONSUMER_ORG_ID + TEST_VALUE) .projectId(Workspace.PROJECT_ID + TEST_VALUE) .workspaceId(Workspace.WORKSPACE_ID + TEST_VALUE) - .authContext(new MockContext()) + .authContext(new OAuthContext("someClientSecret", scopes)) .build(); assertEquals(Workspace.IMS_ORG_ID + TEST_VALUE, actual.getImsOrgId()); @@ -63,6 +60,21 @@ public void validate() { assertEquals(Workspace.WORKSPACE_ID + TEST_VALUE, actual.getWorkspaceId()); assertEquals(Constants.PROD_IMS_URL, actual.getImsUrl()); actual.validateWorkspaceContext(); + actual.validateAll(); + } + + @Test + public void missingApiKey() { + Workspace actual = Workspace.builder() + .imsUrl(Constants.PROD_IMS_URL) + .imsOrgId(Workspace.IMS_ORG_ID + TEST_VALUE) + .consumerOrgId(Workspace.CONSUMER_ORG_ID + TEST_VALUE) + .projectId(Workspace.PROJECT_ID + TEST_VALUE) + .workspaceId(Workspace.WORKSPACE_ID + TEST_VALUE) + .build(); + actual.validateWorkspaceContext(); + Exception ex = assertThrows(IllegalStateException.class, actual::validateAll); + assertEquals("Your `Workspace` is missing an apiKey", ex.getMessage()); } @Test @@ -81,16 +93,6 @@ public void missingConsumerOrgId() { assertEquals("Your `Workspace` is missing a consumerOrgId", ex.getMessage()); } - @Test - public void missingApiKey() { - Workspace actual = Workspace.builder() - .imsOrgId(Workspace.IMS_ORG_ID + TEST_VALUE) - .consumerOrgId(Workspace.CONSUMER_ORG_ID + TEST_VALUE) - .build(); - Exception ex = assertThrows(IllegalStateException.class, actual::validateWorkspaceContext); - assertEquals("Your `Workspace` is missing an apiKey", ex.getMessage()); - } - @Test public void missingProjectId() { Workspace actual = Workspace.builder() diff --git a/docs/apidocs/allclasses-index.html b/docs/apidocs/allclasses-index.html index 4eecda5d..1a00d279 100644 --- a/docs/apidocs/allclasses-index.html +++ b/docs/apidocs/allclasses-index.html @@ -3,7 +3,7 @@ -All Classes (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +All Classes (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,20 +14,20 @@ - + + @@ -23,6 +23,7 @@

All Classes

  • AccessToken
  • +
  • AccessTokenProvider
  • AdobeIoEventHandler
  • AdobeIOEventHandlerFactory
  • AemAssetCreatedEvent
  • @@ -50,6 +51,8 @@

    All Classes

  • Constants
  • ContentRepository
  • Context
  • +
  • CreateSubscriberFilterModel
  • +
  • CustomSampleEventModel
  • DamEventHandler
  • DeliveryType
  • Directory
  • @@ -60,6 +63,7 @@

    All Classes

  • EventMetadataCollection
  • EventMetadataCollection.EventMetadataList
  • EventMetadataConfig
  • +
  • EventMetadataIdOutputModel
  • EventMetadataRegistrationService
  • EventMetadataStatus
  • EventMetadataStatusServlet
  • @@ -145,6 +149,9 @@

    All Classes

  • Status
  • StatusServlet
  • StatusSupplier
  • +
  • SubscriberFilterModel
  • +
  • SubscriberFilterValidationInputModel
  • +
  • SubscriberFilterValidationOutputModel
  • TokenValidation
  • Workspace
  • Workspace.Builder
  • diff --git a/docs/apidocs/allpackages-index.html b/docs/apidocs/allpackages-index.html index bafca831..bce6cc2b 100644 --- a/docs/apidocs/allpackages-index.html +++ b/docs/apidocs/allpackages-index.html @@ -3,7 +3,7 @@ -All Packages (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +All Packages (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class CreateSubscriberFilterModel

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.adobe.aio.event.management.model.CreateSubscriberFilterModel
      • +
      +
    • +
    +
    +
      +
    • +
      +
      Direct Known Subclasses:
      +
      SubscriberFilterModel
      +
      +
      +
      public class CreateSubscriberFilterModel
      +extends Object
      +
      Model for creating a new subscriber filter. + Contains the name, description, and filter definition for the subscriber filter.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          CreateSubscriberFilterModel

          +
          public CreateSubscriberFilterModel​(String name,
          +                                   String description,
          +                                   String subscriberFilter)
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getName

          +
          public String getName()
          +
        • +
        + + + +
          +
        • +

          getDescription

          +
          public String getDescription()
          +
        • +
        + + + +
          +
        • +

          getSubscriberFilter

          +
          public String getSubscriberFilter()
          +
        • +
        + + + +
          +
        • +

          equals

          +
          public boolean equals​(Object o)
          +
          +
          Overrides:
          +
          equals in class Object
          +
          +
        • +
        + + + +
          +
        • +

          hashCode

          +
          public int hashCode()
          +
          +
          Overrides:
          +
          hashCode in class Object
          +
          +
        • +
        + + + + +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/CustomSampleEventModel.html b/docs/apidocs/com/adobe/aio/event/management/model/CustomSampleEventModel.html new file mode 100644 index 00000000..140e8c28 --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/CustomSampleEventModel.html @@ -0,0 +1,379 @@ + + + + + +CustomSampleEventModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class CustomSampleEventModel

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.adobe.aio.event.management.model.CustomSampleEventModel
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public class CustomSampleEventModel
      +extends Object
      +
      Model representing a custom sample event used for subscriber filter validation. + Contains a sample payload and a name for identification.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          CustomSampleEventModel

          +
          public CustomSampleEventModel​(com.fasterxml.jackson.databind.JsonNode samplePayload,
          +                              String name)
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getSamplePayload

          +
          public com.fasterxml.jackson.databind.JsonNode getSamplePayload()
          +
        • +
        + + + +
          +
        • +

          getName

          +
          public String getName()
          +
        • +
        + + + +
          +
        • +

          equals

          +
          public boolean equals​(Object o)
          +
          +
          Overrides:
          +
          equals in class Object
          +
          +
        • +
        + + + +
          +
        • +

          hashCode

          +
          public int hashCode()
          +
          +
          Overrides:
          +
          hashCode in class Object
          +
          +
        • +
        + + + + +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/DeliveryType.html b/docs/apidocs/com/adobe/aio/event/management/model/DeliveryType.html index 6176e14c..86b6ebe2 100644 --- a/docs/apidocs/com/adobe/aio/event/management/model/DeliveryType.html +++ b/docs/apidocs/com/adobe/aio/event/management/model/DeliveryType.html @@ -3,7 +3,7 @@ -DeliveryType (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +DeliveryType (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class EventMetadataIdOutputModel

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.adobe.aio.event.management.model.EventMetadataIdOutputModel
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public class EventMetadataIdOutputModel
      +extends Object
      +
      Model representing event metadata ID output. + Contains the event code and provider ID to uniquely identify an event.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          EventMetadataIdOutputModel

          +
          public EventMetadataIdOutputModel​(String eventCode,
          +                                  String providerId)
          +
        • +
        +
      • +
      +
      + +
      + +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/EventsOfInterest.html b/docs/apidocs/com/adobe/aio/event/management/model/EventsOfInterest.html index c6dfa11f..60490a6c 100644 --- a/docs/apidocs/com/adobe/aio/event/management/model/EventsOfInterest.html +++ b/docs/apidocs/com/adobe/aio/event/management/model/EventsOfInterest.html @@ -3,7 +3,7 @@ -EventsOfInterest (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +EventsOfInterest (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class SubscriberFilterModel

    +
    +
    + +
    +
      +
    • +
      +
      public class SubscriberFilterModel
      +extends CreateSubscriberFilterModel
      +
      Model representing a subscriber filter with an ID. + Extends CreateSubscriberFilterModel to include the unique identifier.
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationInputModel.html b/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationInputModel.html new file mode 100644 index 00000000..e483859c --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationInputModel.html @@ -0,0 +1,379 @@ + + + + + +SubscriberFilterValidationInputModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class SubscriberFilterValidationInputModel

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.adobe.aio.event.management.model.SubscriberFilterValidationInputModel
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public class SubscriberFilterValidationInputModel
      +extends Object
      +
      Model for validating subscriber filters. + Contains the subscriber filter to validate and optional custom sample events.
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationOutputModel.html b/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationOutputModel.html new file mode 100644 index 00000000..d4827397 --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/SubscriberFilterValidationOutputModel.html @@ -0,0 +1,443 @@ + + + + + +SubscriberFilterValidationOutputModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class SubscriberFilterValidationOutputModel

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.adobe.aio.event.management.model.SubscriberFilterValidationOutputModel
      • +
      +
    • +
    +
    +
      +
    • +
      +
      public class SubscriberFilterValidationOutputModel
      +extends Object
      +
      Model representing the output of subscriber filter validation. + Contains the results of testing the filter against events of interest and custom sample events.
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/CreateSubscriberFilterModel.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/CreateSubscriberFilterModel.html new file mode 100644 index 00000000..2fe7421d --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/CreateSubscriberFilterModel.html @@ -0,0 +1,303 @@ + + + + + +Uses of Class com.adobe.aio.event.management.model.CreateSubscriberFilterModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.CreateSubscriberFilterModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/CustomSampleEventModel.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/CustomSampleEventModel.html new file mode 100644 index 00000000..42762b48 --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/CustomSampleEventModel.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class com.adobe.aio.event.management.model.CustomSampleEventModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.CustomSampleEventModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/DeliveryType.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/DeliveryType.html index 5a362ccd..3074b6d3 100644 --- a/docs/apidocs/com/adobe/aio/event/management/model/class-use/DeliveryType.html +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/DeliveryType.html @@ -3,7 +3,7 @@ -Uses of Class com.adobe.aio.event.management.model.DeliveryType (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +Uses of Class com.adobe.aio.event.management.model.DeliveryType (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.EventMetadataIdOutputModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/EventsOfInterest.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/EventsOfInterest.html index 14ee8a66..a6334295 100644 --- a/docs/apidocs/com/adobe/aio/event/management/model/class-use/EventsOfInterest.html +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/EventsOfInterest.html @@ -3,7 +3,7 @@ -Uses of Class com.adobe.aio.event.management.model.EventsOfInterest (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +Uses of Class com.adobe.aio.event.management.model.EventsOfInterest (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.SubscriberFilterModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationInputModel.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationInputModel.html new file mode 100644 index 00000000..6d68bba7 --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationInputModel.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class com.adobe.aio.event.management.model.SubscriberFilterValidationInputModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.SubscriberFilterValidationInputModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationOutputModel.html b/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationOutputModel.html new file mode 100644 index 00000000..6158d2db --- /dev/null +++ b/docs/apidocs/com/adobe/aio/event/management/model/class-use/SubscriberFilterValidationOutputModel.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class com.adobe.aio.event.management.model.SubscriberFilterValidationOutputModel (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    com.adobe.aio.event.management.model.SubscriberFilterValidationOutputModel

    +
    +
    + +
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/event/management/model/package-summary.html b/docs/apidocs/com/adobe/aio/event/management/model/package-summary.html index 746d087a..8b2d3b31 100644 --- a/docs/apidocs/com/adobe/aio/event/management/model/package-summary.html +++ b/docs/apidocs/com/adobe/aio/event/management/model/package-summary.html @@ -3,7 +3,7 @@ -com.adobe.aio.event.management.model (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +com.adobe.aio.event.management.model (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Interface AccessTokenProvider

    +
    +
    +
    +
      +
    • +
      +
      Functional Interface:
      +
      This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
      +
      +
      +
      @FunctionalInterface
      +public interface AccessTokenProvider
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      + +
      +
    • +
    +
    +
    +
    + +
    + +

    Copyright © 2026 Adobe. All rights reserved.

    +
    + + diff --git a/docs/apidocs/com/adobe/aio/ims/ImsService.Builder.html b/docs/apidocs/com/adobe/aio/ims/ImsService.Builder.html index ad2b2db6..da0252a0 100644 --- a/docs/apidocs/com/adobe/aio/ims/ImsService.Builder.html +++ b/docs/apidocs/com/adobe/aio/ims/ImsService.Builder.html @@ -3,7 +3,7 @@ -ImsService.Builder (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +ImsService.Builder (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Interface
    com.adobe.aio.ims.AccessTokenProvider

    +
    +
    No usage of com.adobe.aio.ims.AccessTokenProvider
    +
    + + + diff --git a/docs/apidocs/com/adobe/aio/ims/class-use/ImsService.Builder.html b/docs/apidocs/com/adobe/aio/ims/class-use/ImsService.Builder.html index 73ca387f..4cfbafd8 100644 --- a/docs/apidocs/com/adobe/aio/ims/class-use/ImsService.Builder.html +++ b/docs/apidocs/com/adobe/aio/ims/class-use/ImsService.Builder.html @@ -3,7 +3,7 @@ -Uses of Class com.adobe.aio.ims.ImsService.Builder (Adobe I/O - Java SDK API v2.0.1-SNAPSHOT) +Uses of Class com.adobe.aio.ims.ImsService.Builder (Adobe I/O - Java SDK API v2.0.15-SNAPSHOT) @@ -14,14 +14,14 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +