From 55d67431689527e17e3bb7a20f79550052b2a948 Mon Sep 17 00:00:00 2001 From: Sergey Zinchenko Date: Wed, 20 Nov 2024 17:33:28 +0100 Subject: [PATCH] fixes after review. CustomAppValidationException moved. --- .../com/epam/aidial/core/server/service/ApplicationService.java | 2 +- .../epam/aidial/core/server/util/CustomApplicationUtils.java | 1 + .../{util => validation}/CustomAppValidationException.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename server/src/main/java/com/epam/aidial/core/server/{util => validation}/CustomAppValidationException.java (92%) diff --git a/server/src/main/java/com/epam/aidial/core/server/service/ApplicationService.java b/server/src/main/java/com/epam/aidial/core/server/service/ApplicationService.java index 0cb73087..71baf1d7 100644 --- a/server/src/main/java/com/epam/aidial/core/server/service/ApplicationService.java +++ b/server/src/main/java/com/epam/aidial/core/server/service/ApplicationService.java @@ -11,10 +11,10 @@ import com.epam.aidial.core.server.security.AccessService; import com.epam.aidial.core.server.security.EncryptionService; import com.epam.aidial.core.server.util.BucketBuilder; -import com.epam.aidial.core.server.util.CustomAppValidationException; import com.epam.aidial.core.server.util.CustomApplicationUtils; import com.epam.aidial.core.server.util.ProxyUtil; import com.epam.aidial.core.server.util.ResourceDescriptorFactory; +import com.epam.aidial.core.server.validation.CustomAppValidationException; import com.epam.aidial.core.storage.blobstore.BlobStorageUtil; import com.epam.aidial.core.storage.data.MetadataBase; import com.epam.aidial.core.storage.data.NodeType; diff --git a/server/src/main/java/com/epam/aidial/core/server/util/CustomApplicationUtils.java b/server/src/main/java/com/epam/aidial/core/server/util/CustomApplicationUtils.java index 237c4c74..99d07597 100644 --- a/server/src/main/java/com/epam/aidial/core/server/util/CustomApplicationUtils.java +++ b/server/src/main/java/com/epam/aidial/core/server/util/CustomApplicationUtils.java @@ -5,6 +5,7 @@ import com.epam.aidial.core.metaschemas.MetaSchemaHolder; import com.epam.aidial.core.server.ProxyContext; import com.epam.aidial.core.server.security.EncryptionService; +import com.epam.aidial.core.server.validation.CustomAppValidationException; import com.epam.aidial.core.server.validation.DialFileFormat; import com.epam.aidial.core.server.validation.DialFileKeyword; import com.epam.aidial.core.server.validation.DialMetaKeyword; diff --git a/server/src/main/java/com/epam/aidial/core/server/util/CustomAppValidationException.java b/server/src/main/java/com/epam/aidial/core/server/validation/CustomAppValidationException.java similarity index 92% rename from server/src/main/java/com/epam/aidial/core/server/util/CustomAppValidationException.java rename to server/src/main/java/com/epam/aidial/core/server/validation/CustomAppValidationException.java index db29fdc8..123f6434 100644 --- a/server/src/main/java/com/epam/aidial/core/server/util/CustomAppValidationException.java +++ b/server/src/main/java/com/epam/aidial/core/server/validation/CustomAppValidationException.java @@ -1,4 +1,4 @@ -package com.epam.aidial.core.server.util; +package com.epam.aidial.core.server.validation; import com.networknt.schema.ValidationMessage; import lombok.Getter;