This is an automated email from the ASF dual-hosted git repository.

fanjia pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-web.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a37ebfa [Fix] Remove secretKey in application.yml (#165)
4a37ebfa is described below

commit 4a37ebfa4b57e177bf7857cf39a6dbdc00f75f78
Author: Jia Fan <[email protected]>
AuthorDate: Wed Jun 12 11:30:33 2024 +0800

    [Fix] Remove secretKey in application.yml (#165)
    
    * [Fix] Remove secretKey in application.yml
    
    * [Fix] Remove secretKey in application.yml
---
 .../plugin/db2/jdbc/Db2JdbcDataSourceChannel.java       | 17 +++++++++++++++++
 .../seatunnel-app/src/main/resources/application.yml    |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git 
a/seatunnel-datasource/seatunnel-datasource-plugins/datasource-jdbc-db2/src/main/java/org/apache/seatunnel/datasource/plugin/db2/jdbc/Db2JdbcDataSourceChannel.java
 
b/seatunnel-datasource/seatunnel-datasource-plugins/datasource-jdbc-db2/src/main/java/org/apache/seatunnel/datasource/plugin/db2/jdbc/Db2JdbcDataSourceChannel.java
index 15c21229..844a4756 100644
--- 
a/seatunnel-datasource/seatunnel-datasource-plugins/datasource-jdbc-db2/src/main/java/org/apache/seatunnel/datasource/plugin/db2/jdbc/Db2JdbcDataSourceChannel.java
+++ 
b/seatunnel-datasource/seatunnel-datasource-plugins/datasource-jdbc-db2/src/main/java/org/apache/seatunnel/datasource/plugin/db2/jdbc/Db2JdbcDataSourceChannel.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.seatunnel.datasource.plugin.db2.jdbc;
 
 import org.apache.seatunnel.api.configuration.util.OptionRule;
diff --git a/seatunnel-server/seatunnel-app/src/main/resources/application.yml 
b/seatunnel-server/seatunnel-app/src/main/resources/application.yml
index 4eeb1245..a85295a6 100644
--- a/seatunnel-server/seatunnel-app/src/main/resources/application.yml
+++ b/seatunnel-server/seatunnel-app/src/main/resources/application.yml
@@ -34,7 +34,8 @@ spring:
 
 jwt:
   expireTime: 86400
-  secretKey: https://github.com/apache/seatunnel
+  # please add key when deploy
+  secretKey:
   algorithm: HS256
 
 ---

Reply via email to