You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2023/04/04 11:50:03 UTC

[linkis] branch dev-1.4.0 updated: Delete useless files (#4425)

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

peacewong pushed a commit to branch dev-1.4.0
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0 by this push:
     new 9d1ae92ab Delete useless files (#4425)
9d1ae92ab is described below

commit 9d1ae92abab5b848009e6e66de1af7d040210c64
Author: ChengJie1053 <18...@163.com>
AuthorDate: Tue Apr 4 19:49:54 2023 +0800

    Delete useless files (#4425)
    
    * Delete useless files(RPCHttpContextClientConfig.java)
---
 .../org/apache/linkis/proxy/ProxyUserService.java  | 23 ---------------------
 .../linkis/server/utils/LinkisMainHelper.scala     |  2 +-
 .../linkis/cli/core/constants/CommonKeys.java      | 20 ------------------
 .../client/builder/RPCHttpContextClientConfig.java | 20 ------------------
 .../listener/callback/AbstractCallbackEngine.java  | 24 ----------------------
 5 files changed, 1 insertion(+), 88 deletions(-)

diff --git a/linkis-commons/linkis-module/src/main/java/org/apache/linkis/proxy/ProxyUserService.java b/linkis-commons/linkis-module/src/main/java/org/apache/linkis/proxy/ProxyUserService.java
deleted file mode 100644
index cb4e6eecc..000000000
--- a/linkis-commons/linkis-module/src/main/java/org/apache/linkis/proxy/ProxyUserService.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * 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.linkis.proxy;
-
-public interface ProxyUserService {
-
-  ProxyUserEntity getProxyUserEntity(String proxyUser, String loginUser);
-}
diff --git a/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/utils/LinkisMainHelper.scala b/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/utils/LinkisMainHelper.scala
index 7614bbef2..5c04d985f 100644
--- a/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/utils/LinkisMainHelper.scala
+++ b/linkis-commons/linkis-module/src/main/scala/org/apache/linkis/server/utils/LinkisMainHelper.scala
@@ -61,7 +61,7 @@ object LinkisMainHelper {
       }
       resArr = resArr :+ s"--prometheus.endpoint=$prometheusEndpoint"
     }
-    return resArr
+    resArr
   }
 
 }
diff --git a/linkis-computation-governance/linkis-client/linkis-cli/linkis-cli-core/src/main/java/org/apache/linkis/cli/core/constants/CommonKeys.java b/linkis-computation-governance/linkis-client/linkis-cli/linkis-cli-core/src/main/java/org/apache/linkis/cli/core/constants/CommonKeys.java
deleted file mode 100644
index 39eb2f941..000000000
--- a/linkis-computation-governance/linkis-client/linkis-cli/linkis-cli-core/src/main/java/org/apache/linkis/cli/core/constants/CommonKeys.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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.linkis.cli.core.constants;
-
-public class CommonKeys {}
diff --git a/linkis-public-enhancements/linkis-context-service/linkis-cs-client/src/main/java/org/apache/linkis/cs/client/builder/RPCHttpContextClientConfig.java b/linkis-public-enhancements/linkis-context-service/linkis-cs-client/src/main/java/org/apache/linkis/cs/client/builder/RPCHttpContextClientConfig.java
deleted file mode 100644
index d1cab66a5..000000000
--- a/linkis-public-enhancements/linkis-context-service/linkis-cs-client/src/main/java/org/apache/linkis/cs/client/builder/RPCHttpContextClientConfig.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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.linkis.cs.client.builder;
-
-public class RPCHttpContextClientConfig {}
diff --git a/linkis-public-enhancements/linkis-context-service/linkis-cs-listener/src/main/java/org/apache/linkis/cs/listener/callback/AbstractCallbackEngine.java b/linkis-public-enhancements/linkis-context-service/linkis-cs-listener/src/main/java/org/apache/linkis/cs/listener/callback/AbstractCallbackEngine.java
deleted file mode 100644
index 8e4bb0545..000000000
--- a/linkis-public-enhancements/linkis-context-service/linkis-cs-listener/src/main/java/org/apache/linkis/cs/listener/callback/AbstractCallbackEngine.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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.linkis.cs.listener.callback;
-
-public interface AbstractCallbackEngine extends CallbackEngine {
-  // 实现事件的存储和按需消费:存储这些变化的事件,并且按需消费
-  // 事件超过一定时间还没被消费,自动移除
-  // cskey被五个client注册了listener,如果有挂掉,那么必须要一个最大消费时间的机制
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org