decouple sdk-java from router-backend

This commit is contained in:
CaiHQ 2021-12-23 00:13:11 +08:00
parent 6b8e2320be
commit eff33648e1
2 changed files with 1 additions and 14 deletions

View File

@ -12,7 +12,6 @@ application {
dependencies {
implementation project(":front-base")
implementation project(":sdk-java")
// https://mvnrepository.com/artifact/com.jianggujin/IKAnalyzer-lucene
implementation 'com.jianggujin:IKAnalyzer-lucene:8.0.0'
// https://mvnrepository.com/artifact/org.apache.lucene/lucene-analyzers-common

View File

@ -1,9 +1,6 @@
package org.bdware.server.nodecenter;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.jcraft.jsch.Session;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
@ -18,21 +15,13 @@ import org.bdware.sc.conn.ResultCallback;
import org.bdware.sc.db.CMTables;
import org.bdware.sc.db.KeyValueDBUtil;
import org.bdware.sc.db.TimeDBUtil;
import org.bdware.sc.http.HttpUtil;
import org.bdware.sc.util.FileUtil;
import org.bdware.sc.util.JsonUtil;
import org.bdware.server.action.Action;
import org.bdware.server.http.HttpMethod;
import org.bdware.server.http.URIPath;
import org.bdware.server.permission.Role;
import org.bouncycastle.crypto.CryptoException;
import org.bouncycastle.pqc.math.linearalgebra.ByteUtils;
import org.zz.gmhelper.SM2KeyPair;
import org.zz.gmhelper.SM2Util;
import org.bdware.client.SmartContractClient;
import java.io.*;
import java.lang.reflect.Method;
@ -50,7 +39,6 @@ public class FileActions {
static NodeCenterWSFrameHandler handler;
public FileActions(NodeCenterWSFrameHandler nodeCenterWSFrameHandler) {
handler = nodeCenterWSFrameHandler;
}
@ -478,4 +466,4 @@ public class FileActions {
List<FileItem> subFiles;
}
}
}