From 72776f3bc0b6266d208478f1e5a856471046d32f Mon Sep 17 00:00:00 2001 From: ikiler Date: Tue, 19 Dec 2023 13:46:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E7=9A=84pom=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dinky-admin/pom.xml | 12 +-- dinky-gateway/pom.xml | 91 ------------------- .../ConfigurationForm/FlinkK8s/contants.tsx | 3 +- pom.xml | 6 ++ 4 files changed, 10 insertions(+), 102 deletions(-) diff --git a/dinky-admin/pom.xml b/dinky-admin/pom.xml index 97d0867231..1cabfcceb6 100644 --- a/dinky-admin/pom.xml +++ b/dinky-admin/pom.xml @@ -166,21 +166,15 @@ org.dinky - dinky-core + dinky-gateway org.dinky - dinky-daemon + dinky-core org.dinky - dinky-gateway - - - io.fabric8 - kubernetes-client - - + dinky-daemon org.dinky diff --git a/dinky-gateway/pom.xml b/dinky-gateway/pom.xml index 3831c1cc71..eaf17b63c5 100644 --- a/dinky-gateway/pom.xml +++ b/dinky-gateway/pom.xml @@ -38,7 +38,6 @@ io.fabric8 kubernetes-client - 5.12.4 org.dinky @@ -136,94 +135,4 @@ for k8s commit tasks--> - - - - org.apache.maven.plugins - maven-shade-plugin - - - shade-dinky - - shade - - package - - - - io.fabric8:kubernetes-client - io.fabric8:kubernetes-model-* - io.fabric8:zjsonpatch - - - com.fasterxml.jackson.core:jackson-core - com.fasterxml.jackson.core:jackson-annotations - com.fasterxml.jackson.core:jackson-databind - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml - com.fasterxml.jackson.datatype:jackson-datatype-jsr310 - com.squareup.okhttp3:* - com.squareup.okio:okio - org.yaml:* - dk.brics.automaton:* - - - - - *:* - - *.aut - META-INF/services/*com.fasterxml* - META-INF/proguard/** - OSGI-INF/** - schema/** - *.vm - *.properties - *.xml - META-INF/jandex.idx - license.header - - - - - - com.fasterxml.jackson - org.dinky.gateway.kubernetes.operator.com.fasterxml.jackson - - - okhttp3/internal/publicsuffix - META-INF - - **/NOTICE - - - - okhttp3 - org.dinky.gateway.kubernetes.operator.okhttp3 - - - okio - org.dinky.gateway.kubernetes.operator.okio - - - org.yaml - org.dinky.gateway.kubernetes.operator.org.yaml - - - dk.brics.automaton - org.dinky.gateway.kubernetes.operator.dk.brics.automaton - - - io.fabric8 - org.dinky.gateway.kubernetes.operator.io.fabric8 - - - - - - - - - - - diff --git a/dinky-web/src/pages/RegCenter/Cluster/Configuration/components/ConfigurationModal/ConfigurationForm/FlinkK8s/contants.tsx b/dinky-web/src/pages/RegCenter/Cluster/Configuration/components/ConfigurationModal/ConfigurationForm/FlinkK8s/contants.tsx index 255997fa3a..d338bba1f3 100644 --- a/dinky-web/src/pages/RegCenter/Cluster/Configuration/components/ConfigurationModal/ConfigurationForm/FlinkK8s/contants.tsx +++ b/dinky-web/src/pages/RegCenter/Cluster/Configuration/components/ConfigurationModal/ConfigurationForm/FlinkK8s/contants.tsx @@ -23,9 +23,8 @@ export const ExposedTypeOptions = [ ]; export const versionOptions = [ - { label: '1.14', value: 'v1_14' }, { label: '1.15', value: 'v1_15' }, { label: '1.16', value: 'v1_16' }, { label: '1.17', value: 'v1_17' }, - { label: '1.18', value: 'v1_18', disabled: true } + { label: '1.18', value: 'v1_18' } ]; diff --git a/pom.xml b/pom.xml index e2a81a8471..1ce8282552 100644 --- a/pom.xml +++ b/pom.xml @@ -80,6 +80,7 @@ 5.13.1.202206130422-r 5.9.1 4.1.0 + 5.12.4 2.19.0 1.18.24 3.4.2 @@ -125,6 +126,11 @@ + + io.fabric8 + kubernetes-client + ${kubernetes-client.version} + com.amazonaws aws-java-sdk-s3 From 2edd5ec799bb9b9646a9a8c5a8ecdf63505f74c2 Mon Sep 17 00:00:00 2001 From: ikiler Date: Tue, 19 Dec 2023 22:02:36 +0800 Subject: [PATCH 2/2] fix log error --- .../java/org/dinky/aop/exception/UnKnownExceptionHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dinky-admin/src/main/java/org/dinky/aop/exception/UnKnownExceptionHandler.java b/dinky-admin/src/main/java/org/dinky/aop/exception/UnKnownExceptionHandler.java index f1913b8ee6..37038aa9a5 100644 --- a/dinky-admin/src/main/java/org/dinky/aop/exception/UnKnownExceptionHandler.java +++ b/dinky-admin/src/main/java/org/dinky/aop/exception/UnKnownExceptionHandler.java @@ -34,6 +34,7 @@ public class UnKnownExceptionHandler { @ExceptionHandler public Result unknownException(Exception e) { + log.error(e.getMessage(), e); return Result.exception(e.getMessage(), e); } }