From 8e66e5afedbd3450547a6ec2205960cea35d8793 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 21:05:11 +0000 Subject: [PATCH 1/2] chore: [DevOps] bump com.puppycrawl.tools:checkstyle Bumps the production-major group with 1 update: [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle). Updates `com.puppycrawl.tools:checkstyle` from 13.8.0 to 14.0.0 - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-13.8.0...checkstyle-14.0.0) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-version: 14.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: production-major ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 740feb5c0..94c9492d8 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ 3.13.2 3.27.7 2.0.17 - 13.8.0 + 14.0.0 2.1.3 3.5.6 1.1.8 From 611b9d018d7b6baa747e4dccd407b84069b4ad00 Mon Sep 17 00:00:00 2001 From: I538344 Date: Fri, 28 Aug 2026 11:47:18 +0200 Subject: [PATCH 2/2] fix checkstyle issues --- .pipeline/checkstyle.xml | 6 +- .../sdk/orchestration/AzureContentFilter.java | 11 ++- .../ai/sdk/orchestration/ContentFilter.java | 11 ++- .../sap/ai/sdk/orchestration/DpiMasking.java | 4 +- .../sap/ai/sdk/orchestration/Grounding.java | 4 +- .../sdk/orchestration/GroundingProvider.java | 4 +- .../sdk/orchestration/LlamaGuardFilter.java | 11 ++- .../ai/sdk/orchestration/MaskingProvider.java | 4 +- .../orchestration/OrchestrationAiModel.java | 9 +- .../OrchestrationModuleConfig.java | 90 ++++++++++--------- .../sdk/orchestration/TranslationConfig.java | 11 +-- 11 files changed, 84 insertions(+), 81 deletions(-) diff --git a/.pipeline/checkstyle.xml b/.pipeline/checkstyle.xml index d300b917f..ba470a5e4 100644 --- a/.pipeline/checkstyle.xml +++ b/.pipeline/checkstyle.xml @@ -28,10 +28,8 @@ - - - - + + diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/AzureContentFilter.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/AzureContentFilter.java index fe6b2fa59..93792bbc1 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/AzureContentFilter.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/AzureContentFilter.java @@ -24,12 +24,11 @@ * .selfHarm(AzureFilterThreshold.ALLOW_SAFE_LOW); * } * - * @link SAP AI - * Core: Orchestration - Input Filtering - * @link SAP - * AI Core: Orchestration - Output Filtering + *

SAP + * AI Core: Orchestration - Input Filtering + * + *

SAP + * AI Core: Orchestration - Output Filtering */ @Setter @NoArgsConstructor diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/ContentFilter.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/ContentFilter.java index 97fcff8bd..4e63cbcd2 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/ContentFilter.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/ContentFilter.java @@ -9,12 +9,11 @@ * Interface representing convenience wrappers of serializable content filter that defines * thresholds for different content categories. * - * @link SAP AI - * Core: Orchestration - Input Filtering - * @link SAP - * AI Core: Orchestration - Output Filtering + *

SAP + * AI Core: Orchestration - Input Filtering + * + *

SAP + * AI Core: Orchestration - Output Filtering */ public interface ContentFilter { diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/DpiMasking.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/DpiMasking.java index 8dd35683f..181a6c335 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/DpiMasking.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/DpiMasking.java @@ -26,8 +26,8 @@ * SAP Data Privacy Integration (DPI) can mask personally identifiable information using either * anonymization or pseudonymization. * - * @link SAP - * AI Core: Orchestration - Data Masking + *

SAP AI + * Core: Orchestration - Data Masking */ @Value @Getter(AccessLevel.PACKAGE) diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/Grounding.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/Grounding.java index b8e2e7b02..a03d22cd0 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/Grounding.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/Grounding.java @@ -21,8 +21,8 @@ * processes. This data supplements the natural language processing capabilities of pre-trained * models, which are trained on general material. * - * @link SAP AI - * Core: Orchestration - Grounding + *

SAP AI + * Core: Orchestration - Grounding */ @Accessors(fluent = true) public class Grounding implements GroundingProvider { diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/GroundingProvider.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/GroundingProvider.java index b19b4c018..31df0e818 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/GroundingProvider.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/GroundingProvider.java @@ -6,8 +6,8 @@ /** * Interface for grounding configurations. * - * @link SAP AI - * Core: Orchestration - Grounding + *

SAP AI + * Core: Orchestration - Grounding */ @FunctionalInterface public interface GroundingProvider { diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/LlamaGuardFilter.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/LlamaGuardFilter.java index b2fc225e0..b312d882c 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/LlamaGuardFilter.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/LlamaGuardFilter.java @@ -25,12 +25,11 @@ * val filterConfig = new LlamaGuardFilter().config(config); * } * - * @link SAP AI - * Core: Orchestration - Input Filtering - * @link SAP - * AI Core: Orchestration - Output Filtering + *

SAP + * AI Core: Orchestration - Input Filtering + * + *

SAP + * AI Core: Orchestration - Output Filtering */ @Accessors(fluent = true) @Setter diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/MaskingProvider.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/MaskingProvider.java index d18ec4a61..804aff91d 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/MaskingProvider.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/MaskingProvider.java @@ -6,8 +6,8 @@ /** * Interface for masking configurations. * - * @link SAP - * AI Core: Orchestration - Data Masking + *

SAP AI + * Core: Orchestration - Data Masking */ public interface MaskingProvider { diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationAiModel.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationAiModel.java index dd6c4e9f8..9aafa9025 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationAiModel.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationAiModel.java @@ -35,9 +35,8 @@ public class OrchestrationAiModel { * "presence_penalty", 0) * } * - * @link SAP - * AI Core: Orchestration - Harmonized API + *

SAP + * AI Core: Orchestration - Harmonized API */ Map params; @@ -517,7 +516,7 @@ LLMModelDetails createConfig() { * @param key the parameter key. * @param value the parameter value, nullable. * @return A new model with the additional parameter. - * @link SAP * AI Core: Orchestration - Harmonized API */ @@ -535,7 +534,7 @@ public OrchestrationAiModel withParam(@Nonnull final String key, @Nullable final * @param value the parameter value, nullable. * @param the parameter value type. * @return A new model with the additional parameter. - * @link SAP * AI Core: Orchestration - Harmonized API */ diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationModuleConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationModuleConfig.java index 265f6e1f0..82f4c6754 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationModuleConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationModuleConfig.java @@ -42,9 +42,9 @@ *

  • Output Content Filtering (Optional) * * - * @link - * SAP AI Core: Orchestration - Orchestration Workflow + *

    SAP + * AI Core: Orchestration - Orchestration Workflow */ @Value @With @@ -54,9 +54,9 @@ public class OrchestrationModuleConfig { /** * The configured language model settings. This configuration is required when executing requests. * - * @link - * SAP AI Core: Orchestration - Model Configuration + *

    SAP + * AI Core: Orchestration - Model Configuration */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @Nullable @@ -66,8 +66,8 @@ public class OrchestrationModuleConfig { * A template to be populated with input parameters. Upon request execution, this template will be * enhanced with any messages and parameter values from {@link OrchestrationPrompt}. * - * @link SAP - * AI Core: Orchestration - Templating + *

    SAP AI + * Core: Orchestration - Templating */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @Nullable @@ -76,9 +76,8 @@ public class OrchestrationModuleConfig { /** * A masking configuration to pseudonymous or anonymize sensitive data in the input. * - * @link SAP AI - * Core: Orchestration - Data Masking + *

    SAP + * AI Core: Orchestration - Data Masking */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @Nullable @@ -87,12 +86,13 @@ public class OrchestrationModuleConfig { /** * A content filter to filter the prompt. * - * @link SAP - * AI Core: Orchestration - Input Filtering - * @link SAP - * AI Core: Orchestration - Output Filtering + *

    SAP AI + * Core: Orchestration - Input Filtering + * + *

    SAP AI + * Core: Orchestration - Output Filtering */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @Nullable @@ -101,8 +101,9 @@ public class OrchestrationModuleConfig { /** * A grounding configuration to provide additional context to the AI model. * - * @link SAP - * AI Core: Orchestration - + *

    SAP AI + * Core: Orchestration - + * * @since 1.1.0 */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @@ -112,9 +113,10 @@ public class OrchestrationModuleConfig { /** * Configuration for translating input content before processing. * - * @link - * SAP AI Core: Orchestration - Input Translation + *

    + * SAP AI Core: Orchestration - Input Translation + * * @since 1.8.0 */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @@ -124,9 +126,10 @@ public class OrchestrationModuleConfig { /** * Configuration for translating output content after processing. * - * @link - * SAP AI Core: Orchestration - Output Translation + *

    + * SAP AI Core: Orchestration - Output Translation + * * @since 1.8.0 */ @SuppressWarnings({"PMD.LombokGetterSetterExposesModelType", "PMD.LombokWithExposesModelType"}) @@ -148,9 +151,10 @@ public class OrchestrationModuleConfig { /** * Creates a new configuration with the given LLM configuration. * - * @link - * SAP AI Core: Orchestration - Model Configuration + *

    SAP + * AI Core: Orchestration - Model Configuration + * * @param aiModel The LLM configuration to use. * @return A new configuration with the given LLM configuration. */ @@ -177,9 +181,9 @@ public OrchestrationModuleConfig withStreamConfig( /** * Creates a new configuration with the given Data Masking configuration. * - * @link SAP AI - * Core: Orchestration - Data Masking + *

    SAP + * AI Core: Orchestration - Data Masking + * * @param maskingProvider The Data Masking configuration to use. * @param maskingProviders Additional Data Masking configurations to use. * @return A new configuration with the given Data Masking configuration. @@ -202,9 +206,10 @@ public OrchestrationModuleConfig withMaskingConfig( * *

    Preferred over {@link #withFilteringConfig(FilteringModuleConfig)} for adding input filters. * - * @link SAP - * AI Core: Orchestration - Input Filtering + *

    SAP AI + * Core: Orchestration - Input Filtering + * * @param contentFilter a filter to apply to the input. * @param contentFilters zero or more additional content filters to apply to the input. * @return a new {@code OrchestrationModuleConfig} instance with the specified input filters @@ -240,9 +245,10 @@ public OrchestrationModuleConfig withInputFiltering( *

    Preferred over {@link #withFilteringConfig(FilteringModuleConfig)} for adding output * filters. * - * @link SAP - * AI Core: Orchestration - Output Filtering + *

    SAP AI + * Core: Orchestration - Output Filtering + * * @param contentFilter a filter to apply to the input. * @param contentFilters zero or more additional content filters to apply to the input. * @return a new {@code OrchestrationModuleConfig} instance with the specified output filters @@ -305,8 +311,9 @@ OrchestrationModuleConfig withOutputFilteringStreamOptions( /** * Creates a new configuration with the given grounding configuration. * - * @link SAP - * AI Core: Orchestration - Grounding + *

    SAP AI + * Core: Orchestration - Grounding + * * @param groundingProvider The grounding configuration to use. * @return A new configuration with the given grounding configuration. */ @@ -319,8 +326,9 @@ public OrchestrationModuleConfig withGrounding( /** * Creates a new configuration with the given template configuration as {@link TemplateConfig}. * - * @link SAP - * AI Core: Orchestration - Templating + *

    SAP AI + * Core: Orchestration - Templating + * * @param templateConfig The template configuration to use. * @return A new configuration with the given template configuration. * @since 1.4.0 diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/TranslationConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/TranslationConfig.java index b5ca61b9e..1d5ec47a1 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/TranslationConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/TranslationConfig.java @@ -24,9 +24,10 @@ /** * Configuration helper for SAP Document Translation. * - * @link SAP - * AI Core: Orchestration - SAP Document Translation + *

    SAP + * AI Core: Orchestration - SAP Document Translation + * * @since 1.14.0 */ public interface TranslationConfig { @@ -179,7 +180,7 @@ SAPDocumentTranslationOutput createSAPDocumentTranslationOutput() { * Create a new input translation configuration. * * @param targetLanguage The target language code - * @link SAP * AI Core: Orchestration - SAP Translation Hub Table with official languages * @return A TranslationConfig configured for input translation @@ -193,7 +194,7 @@ static TranslationConfig.Input translateInputTo(@Nonnull final String targetLang * Create a new output translation configuration. * * @param targetLanguage The target language code - * @link * SAP AI Core: Orchestration - SAP Translation Hub Table with official languages * @return A TranslationConfig configured for output translation