From 56e919b21ede16cf48a9596463d06b41b9981ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Wed, 4 Sep 2024 13:33:12 +0200 Subject: [PATCH 1/5] initial --- core/pom.xml | 1 + orchestration/pom.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/core/pom.xml b/core/pom.xml index 841ffe8e..1d0f2ce3 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -175,6 +175,7 @@ create protected + true diff --git a/orchestration/pom.xml b/orchestration/pom.xml index eb7f6bfe..196724c2 100644 --- a/orchestration/pom.xml +++ b/orchestration/pom.xml @@ -137,6 +137,7 @@ create protected + true From c81fdddbd975e57fa7802e78188e3a9437851543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Wed, 4 Sep 2024 13:33:25 +0200 Subject: [PATCH 2/5] Fix core --- .../sap/ai/sdk/core/client/model/AiArtifact.java | 7 +++++-- .../sdk/core/client/model/AiArtifactPostData.java | 7 +++++-- .../sap/ai/sdk/core/client/model/AiDeployment.java | 12 +++++++++--- ...eploymentModificationRequestWithIdentifier.java | 7 +++++-- .../model/AiDeploymentResponseWithDetails.java | 12 +++++++++--- .../sdk/core/client/model/AiDeploymentStatus.java | 6 ++++-- .../client/model/AiDeploymentTargetStatus.java | 6 ++++-- .../core/client/model/AiExecutableParameter.java | 7 +++++-- .../sap/ai/sdk/core/client/model/AiExecution.java | 7 +++++-- .../model/AiExecutionModificationRequest.java | 7 +++++-- ...ExecutionModificationRequestWithIdentifier.java | 7 +++++-- .../model/AiExecutionResponseWithDetails.java | 7 +++++-- .../client/model/AiExecutionScheduleStatus.java | 6 ++++-- .../sdk/core/client/model/AiExecutionStatus.java | 6 ++++-- .../client/model/BckndArgoCDRepositoryDetails.java | 7 +++++-- .../sap/ai/sdk/core/client/model/BckndEvent.java | 14 ++++++++++---- .../core/client/model/BckndExtendedService.java | 7 +++++-- .../client/model/BckndInternalResourceGroup.java | 7 +++++-- .../sdk/core/client/model/BckndResourceGroup.java | 7 +++++-- .../sap/ai/sdk/core/client/model/BckndService.java | 7 +++++-- .../model/BckndServiceServicePlanItemMetadata.java | 7 +++++-- .../ai/sdk/core/client/model/KpiColumnName.java | 4 +++- .../sap/ai/sdk/core/client/model/RTAArtifact.java | 7 +++++-- .../ai/sdk/core/client/model/RTADeployment.java | 14 ++++++++++---- .../core/client/model/RTAExecutableParameter.java | 7 +++++-- .../sap/ai/sdk/core/client/model/RTAExecution.java | 7 +++++-- 26 files changed, 142 insertions(+), 57 deletions(-) diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifact.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifact.java index 7d9171a2..6ecc4802 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifact.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifact.java @@ -58,7 +58,10 @@ public enum KindEnum { RESULTSET("resultset"), /** The OTHER option of this AiArtifact */ - OTHER("other"); + OTHER("other"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiArtifact */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static KindEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifactPostData.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifactPostData.java index 793a9aa7..20041b40 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifactPostData.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiArtifactPostData.java @@ -57,7 +57,10 @@ public enum KindEnum { RESULTSET("resultset"), /** The OTHER option of this AiArtifactPostData */ - OTHER("other"); + OTHER("other"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiArtifactPostData */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -101,7 +104,7 @@ public static KindEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeployment.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeployment.java index e8e9a9c1..4457ed39 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeployment.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeployment.java @@ -62,7 +62,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiDeployment */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiDeployment */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -106,7 +109,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -125,7 +128,10 @@ public enum LastOperationEnum { DELETE("DELETE"), /** The CASCADE_UPDATE option of this AiDeployment */ - CASCADE_UPDATE("CASCADE-UPDATE"); + CASCADE_UPDATE("CASCADE-UPDATE"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiDeployment */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentModificationRequestWithIdentifier.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentModificationRequestWithIdentifier.java index e16741e6..cd7719c8 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentModificationRequestWithIdentifier.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentModificationRequestWithIdentifier.java @@ -43,7 +43,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiDeploymentModificationRequestWithIdentifier */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiDeploymentModificationRequestWithIdentifier */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -87,7 +90,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentResponseWithDetails.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentResponseWithDetails.java index 323240af..cdd0626a 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentResponseWithDetails.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentResponseWithDetails.java @@ -62,7 +62,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiDeploymentResponseWithDetails */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiDeploymentResponseWithDetails */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -106,7 +109,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -125,7 +128,10 @@ public enum LastOperationEnum { DELETE("DELETE"), /** The CASCADE_UPDATE option of this AiDeploymentResponseWithDetails */ - CASCADE_UPDATE("CASCADE-UPDATE"); + CASCADE_UPDATE("CASCADE-UPDATE"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiDeploymentResponseWithDetails */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentStatus.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentStatus.java index aca4509e..d34156bf 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentStatus.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentStatus.java @@ -30,7 +30,9 @@ public enum AiDeploymentStatus { STOPPED("STOPPED"), - UNKNOWN("UNKNOWN"); + UNKNOWN("UNKNOWN"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -68,6 +70,6 @@ public static AiDeploymentStatus fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentTargetStatus.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentTargetStatus.java index f94b1d1d..f41c53cc 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentTargetStatus.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiDeploymentTargetStatus.java @@ -18,7 +18,9 @@ /** Status */ public enum AiDeploymentTargetStatus { - STOPPED("STOPPED"); + STOPPED("STOPPED"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -56,6 +58,6 @@ public static AiDeploymentTargetStatus fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutableParameter.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutableParameter.java index 41cb380c..440b957f 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutableParameter.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutableParameter.java @@ -43,7 +43,10 @@ public class AiExecutableParameter /** Type of the executable parameter */ public enum TypeEnum { /** The STRING option of this AiExecutableParameter */ - STRING("string"); + STRING("string"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiExecutableParameter */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -87,7 +90,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecution.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecution.java index c72e694f..ccb37908 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecution.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecution.java @@ -58,7 +58,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiExecution */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiExecution */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequest.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequest.java index 9319716f..a5f0ac43 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequest.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequest.java @@ -37,7 +37,10 @@ public class AiExecutionModificationRequest /** Desired target status of the execution (currently only STOPPED is supported) */ public enum TargetStatusEnum { /** The STOPPED option of this AiExecutionModificationRequest */ - STOPPED("STOPPED"); + STOPPED("STOPPED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiExecutionModificationRequest */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -81,7 +84,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequestWithIdentifier.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequestWithIdentifier.java index dc3adbf5..690363a2 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequestWithIdentifier.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionModificationRequestWithIdentifier.java @@ -43,7 +43,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiExecutionModificationRequestWithIdentifier */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiExecutionModificationRequestWithIdentifier */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -87,7 +90,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionResponseWithDetails.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionResponseWithDetails.java index 52af471b..534205f1 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionResponseWithDetails.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionResponseWithDetails.java @@ -58,7 +58,10 @@ public enum TargetStatusEnum { STOPPED("STOPPED"), /** The DELETED option of this AiExecutionResponseWithDetails */ - DELETED("DELETED"); + DELETED("DELETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AiExecutionResponseWithDetails */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static TargetStatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionScheduleStatus.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionScheduleStatus.java index 125c9146..1697ad06 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionScheduleStatus.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionScheduleStatus.java @@ -20,7 +20,9 @@ public enum AiExecutionScheduleStatus { ACTIVE("ACTIVE"), - INACTIVE("INACTIVE"); + INACTIVE("INACTIVE"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -58,6 +60,6 @@ public static AiExecutionScheduleStatus fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionStatus.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionStatus.java index 6064902e..453c31b4 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionStatus.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/AiExecutionStatus.java @@ -30,7 +30,9 @@ public enum AiExecutionStatus { STOPPED("STOPPED"), - UNKNOWN("UNKNOWN"); + UNKNOWN("UNKNOWN"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -68,6 +70,6 @@ public static AiExecutionStatus fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndArgoCDRepositoryDetails.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndArgoCDRepositoryDetails.java index fb08fda4..f99a997f 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndArgoCDRepositoryDetails.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndArgoCDRepositoryDetails.java @@ -46,7 +46,10 @@ public enum StatusEnum { IN_PROGRESS("IN-PROGRESS"), /** The COMPLETED option of this BckndArgoCDRepositoryDetails */ - COMPLETED("COMPLETED"); + COMPLETED("COMPLETED"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndArgoCDRepositoryDetails */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -90,7 +93,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndEvent.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndEvent.java index 2a2f1fed..e37d834b 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndEvent.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndEvent.java @@ -41,7 +41,10 @@ public enum ActionEnum { PROVISION("PROVISION"), /** The DEPROVISION option of this BckndEvent */ - DEPROVISION("DEPROVISION"); + DEPROVISION("DEPROVISION"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndEvent */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -85,7 +88,7 @@ public static ActionEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -101,7 +104,10 @@ public enum StateEnum { FAILED("FAILED"), /** The PENDING option of this BckndEvent */ - PENDING("PENDING"); + PENDING("PENDING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndEvent */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -145,7 +151,7 @@ public static StateEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndExtendedService.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndExtendedService.java index e4272b24..413c9ca1 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndExtendedService.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndExtendedService.java @@ -63,7 +63,10 @@ public enum StatusEnum { PROVISIONING("PROVISIONING"), /** The DEPROVISIONING option of this BckndExtendedService */ - DEPROVISIONING("DEPROVISIONING"); + DEPROVISIONING("DEPROVISIONING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndExtendedService */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -107,7 +110,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndInternalResourceGroup.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndInternalResourceGroup.java index 546c5b3b..04eae16a 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndInternalResourceGroup.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndInternalResourceGroup.java @@ -58,7 +58,10 @@ public enum StatusEnum { ERROR("ERROR"), /** The PROVISIONING option of this BckndInternalResourceGroup */ - PROVISIONING("PROVISIONING"); + PROVISIONING("PROVISIONING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndInternalResourceGroup */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndResourceGroup.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndResourceGroup.java index ae171f69..96944cec 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndResourceGroup.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndResourceGroup.java @@ -58,7 +58,10 @@ public enum StatusEnum { ERROR("ERROR"), /** The PROVISIONING option of this BckndResourceGroup */ - PROVISIONING("PROVISIONING"); + PROVISIONING("PROVISIONING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndResourceGroup */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndService.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndService.java index f96734cf..a90b35e6 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndService.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndService.java @@ -52,7 +52,10 @@ public enum StatusEnum { PROVISIONING("PROVISIONING"), /** The DEPROVISIONING option of this BckndService */ - DEPROVISIONING("DEPROVISIONING"); + DEPROVISIONING("DEPROVISIONING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndService */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -96,7 +99,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndServiceServicePlanItemMetadata.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndServiceServicePlanItemMetadata.java index 8feb79c0..f3169469 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndServiceServicePlanItemMetadata.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/BckndServiceServicePlanItemMetadata.java @@ -42,7 +42,10 @@ public enum SupportedPlatformsEnum { KUBERNETES("kubernetes"), /** The SAPBTP option of this BckndServiceServicePlanItemMetadata */ - SAPBTP("sapbtp"); + SAPBTP("sapbtp"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this BckndServiceServicePlanItemMetadata */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -86,7 +89,7 @@ public static SupportedPlatformsEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/KpiColumnName.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/KpiColumnName.java index 80b40baf..b817a67f 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/KpiColumnName.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/KpiColumnName.java @@ -28,7 +28,9 @@ public enum KpiColumnName { ARTIFACTS("Artifacts"), - DEPLOYMENTS("Deployments"); + DEPLOYMENTS("Deployments"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAArtifact.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAArtifact.java index d4327621..573eeb7b 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAArtifact.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAArtifact.java @@ -58,7 +58,10 @@ public enum KindEnum { RESULTSET("resultset"), /** The OTHER option of this RTAArtifact */ - OTHER("other"); + OTHER("other"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this RTAArtifact */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -102,7 +105,7 @@ public static KindEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTADeployment.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTADeployment.java index e4dc4eb0..fa9ec913 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTADeployment.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTADeployment.java @@ -71,7 +71,10 @@ public enum StatusEnum { UNKNOWN("UNKNOWN"), /** The DELETING option of this RTADeployment */ - DELETING("DELETING"); + DELETING("DELETING"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this RTADeployment */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -115,7 +118,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -141,7 +144,10 @@ public enum LastOperationEnum { CASCADE_UPDATE("CASCADE-UPDATE"), /** The DELETE option of this RTADeployment */ - DELETE("DELETE"); + DELETE("DELETE"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this RTADeployment */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -185,7 +191,7 @@ public static LastOperationEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecutableParameter.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecutableParameter.java index 66a43ee5..891c31e0 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecutableParameter.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecutableParameter.java @@ -43,7 +43,10 @@ public class RTAExecutableParameter /** Type of the signature argument */ public enum TypeEnum { /** The STRING option of this RTAExecutableParameter */ - STRING("string"); + STRING("string"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this RTAExecutableParameter */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -87,7 +90,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecution.java b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecution.java index 211dea72..969d4696 100644 --- a/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecution.java +++ b/core/src/main/java/com/sap/ai/sdk/core/client/model/RTAExecution.java @@ -62,7 +62,10 @@ public enum StatusEnum { STOPPED("STOPPED"), /** The UNKNOWN option of this RTAExecution */ - UNKNOWN("UNKNOWN"); + UNKNOWN("UNKNOWN"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this RTAExecution */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -106,7 +109,7 @@ public static StatusEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } From ef80759d1040832874070252ebf2dc277607c9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Wed, 4 Sep 2024 13:33:45 +0200 Subject: [PATCH 3/5] Fix orchestration --- .../model/AzureContentSafetyFilterConfig.java | 7 +++++-- .../orchestration/client/model/AzureThreshold.java | 6 ++++-- .../sdk/orchestration/client/model/DPIConfig.java | 14 ++++++++++---- .../orchestration/client/model/DPIEntities.java | 6 ++++-- .../orchestration/client/model/FilterConfig.java | 7 +++++-- .../client/model/GroundingFilter.java | 7 +++++-- .../client/model/GroundingModuleConfig.java | 7 +++++-- .../client/model/MaskingProviderConfig.java | 14 ++++++++++---- 8 files changed, 48 insertions(+), 20 deletions(-) diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java index 47d309a1..1f5a8d70 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java @@ -34,7 +34,10 @@ public class AzureContentSafetyFilterConfig /** String represents name of the filter provider */ public enum TypeEnum { /** The AZURE_CONTENT_SAFETY option of this AzureContentSafetyFilterConfig */ - AZURE_CONTENT_SAFETY("azure_content_safety"); + AZURE_CONTENT_SAFETY("azure_content_safety"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AzureContentSafetyFilterConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java index 3830ee75..d1998710 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java @@ -24,7 +24,9 @@ public enum AzureThreshold { NUMBER_4(4), - NUMBER_6(6); + NUMBER_6(6), + + NUMBER_unknown_default_open_api(11184809); private final Integer value; @@ -62,6 +64,6 @@ public static AzureThreshold fromValue(@Nonnull final Integer value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return NUMBER_unknown_default_open_api; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java index 9ff2338a..6f6ab62a 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java @@ -37,7 +37,10 @@ public class DPIConfig /** Type of masking service provider */ public enum TypeEnum { /** The SAP_DATA_PRIVACY_INTEGRATION option of this DPIConfig */ - SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"); + SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this DPIConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -81,7 +84,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -94,7 +97,10 @@ public enum MethodEnum { ANONYMIZATION("anonymization"), /** The PSEUDONYMIZATION option of this DPIConfig */ - PSEUDONYMIZATION("pseudonymization"); + PSEUDONYMIZATION("pseudonymization"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this DPIConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -138,7 +144,7 @@ public static MethodEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java index 228ff2d9..dc1fe069 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java @@ -66,7 +66,9 @@ public enum DPIEntities { TRADE_UNION("profile-trade-union"), - SENSITIVE_DATA("profile-sensitive-data"); + SENSITIVE_DATA("profile-sensitive-data"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -104,6 +106,6 @@ public static DPIEntities fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java index d355f9a5..dadfcda7 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java @@ -34,7 +34,10 @@ public class FilterConfig /** String represents name of the filter provider */ public enum TypeEnum { /** The AZURE_CONTENT_SAFETY option of this FilterConfig */ - AZURE_CONTENT_SAFETY("azure_content_safety"); + AZURE_CONTENT_SAFETY("azure_content_safety"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this FilterConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java index 35e33c8b..94822c86 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java @@ -48,7 +48,10 @@ public enum DataRepositoryTypeEnum { VECTOR("vector"), /** The HELP_SAP_COM option of this GroundingFilter */ - HELP_SAP_COM("help.sap.com"); + HELP_SAP_COM("help.sap.com"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this GroundingFilter */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -92,7 +95,7 @@ public static DataRepositoryTypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java index b7359461..865e9e97 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java @@ -34,7 +34,10 @@ public class GroundingModuleConfig /** Gets or Sets groundingService */ public enum GroundingServiceEnum { /** The DOCUMENT_GROUNDING_SERVICE option of this GroundingModuleConfig */ - DOCUMENT_GROUNDING_SERVICE("document_grounding_service"); + DOCUMENT_GROUNDING_SERVICE("document_grounding_service"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this GroundingModuleConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static GroundingServiceEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java index cbfc8b7b..9e049d64 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java @@ -37,7 +37,10 @@ public class MaskingProviderConfig /** Type of masking service provider */ public enum TypeEnum { /** The SAP_DATA_PRIVACY_INTEGRATION option of this MaskingProviderConfig */ - SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"); + SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this MaskingProviderConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -81,7 +84,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -94,7 +97,10 @@ public enum MethodEnum { ANONYMIZATION("anonymization"), /** The PSEUDONYMIZATION option of this MaskingProviderConfig */ - PSEUDONYMIZATION("pseudonymization"); + PSEUDONYMIZATION("pseudonymization"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this MaskingProviderConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -138,7 +144,7 @@ public static MethodEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } From b8007c43de0d7ac4f3b7fbec9f5883def533b09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20D=C3=BCmont?= Date: Wed, 4 Sep 2024 13:49:48 +0200 Subject: [PATCH 4/5] Adjust existing test case --- .../com/sap/ai/sdk/core/client/DeploymentUnitTest.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java b/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java index 2d4cbca7..a5a2a03d 100644 --- a/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java +++ b/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java @@ -12,6 +12,7 @@ import static com.sap.ai.sdk.core.Core.getClient; import static org.assertj.core.api.Assertions.assertThat; +import com.fasterxml.jackson.databind.ObjectMapper; import com.sap.ai.sdk.core.client.model.AiDeployment; import com.sap.ai.sdk.core.client.model.AiDeploymentCreationRequest; import com.sap.ai.sdk.core.client.model.AiDeploymentCreationResponse; @@ -22,6 +23,9 @@ import com.sap.ai.sdk.core.client.model.AiDeploymentStatus; import com.sap.ai.sdk.core.client.model.AiDeploymentTargetStatus; import com.sap.ai.sdk.core.client.model.AiExecutionStatus; +import com.sap.cloud.sdk.cloudplatform.connectivity.DefaultDestination; +import com.sap.cloud.sdk.cloudplatform.connectivity.DefaultHttpDestination; +import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient; import org.apache.hc.core5.http.HttpStatus; import org.junit.jupiter.api.Test; @@ -114,7 +118,7 @@ void testPostAiDeployment() { "deploymentUrl": "", "id": "d5b764fe55b3e87c", "message": "AiDeployment scheduled.", - "status": "UNKNOWN" + "status": "FOOBAR" } """))); @@ -128,7 +132,7 @@ void testPostAiDeployment() { assertThat(deployment.getDeploymentUrl()).isEqualTo(""); assertThat(deployment.getId()).isEqualTo("d5b764fe55b3e87c"); assertThat(deployment.getMessage()).isEqualTo("AiDeployment scheduled."); - assertThat(deployment.getStatus()).isEqualTo(AiExecutionStatus.UNKNOWN); + assertThat(deployment.getStatus()).isEqualTo(AiExecutionStatus.UNKNOWN_DEFAULT_OPEN_API); } @Test From 07e2e445d5c74759d40bba751f881e26b26ec2b4 Mon Sep 17 00:00:00 2001 From: SAP Cloud SDK Bot Date: Wed, 4 Sep 2024 11:50:22 +0000 Subject: [PATCH 5/5] Formatting --- .../java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java b/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java index a5a2a03d..b431d2b8 100644 --- a/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java +++ b/core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java @@ -12,7 +12,6 @@ import static com.sap.ai.sdk.core.Core.getClient; import static org.assertj.core.api.Assertions.assertThat; -import com.fasterxml.jackson.databind.ObjectMapper; import com.sap.ai.sdk.core.client.model.AiDeployment; import com.sap.ai.sdk.core.client.model.AiDeploymentCreationRequest; import com.sap.ai.sdk.core.client.model.AiDeploymentCreationResponse; @@ -23,9 +22,6 @@ import com.sap.ai.sdk.core.client.model.AiDeploymentStatus; import com.sap.ai.sdk.core.client.model.AiDeploymentTargetStatus; import com.sap.ai.sdk.core.client.model.AiExecutionStatus; -import com.sap.cloud.sdk.cloudplatform.connectivity.DefaultDestination; -import com.sap.cloud.sdk.cloudplatform.connectivity.DefaultHttpDestination; -import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient; import org.apache.hc.core5.http.HttpStatus; import org.junit.jupiter.api.Test;