测试编译class文件
parent
cd5a449c42
commit
d62e3b5dd8
|
@ -7,6 +7,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
|
|||
VOLUME ["/home/logs/cloud-etl-engine"]
|
||||
|
||||
COPY ./cloud-etl-server/target/cloud-engine.jar /home/app.jar
|
||||
COPY ./lib /home/lib/
|
||||
|
||||
ENTRYPOINT ["java","-jar","-Dfile.encoding=UTF-8"]
|
||||
CMD ["/home/app.jar"]
|
||||
|
|
|
@ -20,20 +20,13 @@ public class GenerateConstant {
|
|||
public static final String DATA_FIELD = "DataEngineValueActuator";
|
||||
public static final String DATA_RECORD = "DataEngineRecordActuator";
|
||||
public static final String DATA_SET = "DataEngineSetActuator";
|
||||
public static final String ACTION_IMPORT = "import com.muyu.abstracts.DataValue;";
|
||||
public static final String SCOPE_IMPORT = "import com.muyu.engine.basic.abstracts.";
|
||||
public static final String ACTION_IMPORT = "import com.muyu.abstracts.DataValue";
|
||||
// public static final String ACTION_IMPORT = "import com.muyu.abstracts.DataValue;";
|
||||
public static final String SCOPE_IMPORT = "import com.muyu.basic.abstracts.DataEngineValueActuator;";
|
||||
// public static final String SCOPE_IMPORT = "import com.muyu.engine.basic.abstracts.";
|
||||
// public static final String PACKAGE_PATH = "package com.muyu.generate;\n";
|
||||
public static final String PACKAGE_PATH = "package com.muyu.generate;\n";
|
||||
private static final String endpoint = "https://oss-cn-shanghai.aliyuncs.com";
|
||||
|
||||
private static final String accessKeyId = "LTAI5t8LmMHfW8ckPaAZR6oQ";
|
||||
|
||||
private static final String accessKeySecret = "pwzEwkpxcTFgurkARyr7sG7V6syc9x";
|
||||
|
||||
private static final String bucketName = "011811";
|
||||
// OSS文件路径
|
||||
private static final String filePath = "build/rule/version/";
|
||||
|
||||
private static final String fileName = "engine";
|
||||
|
||||
public static String getClassName(String versionCode) {
|
||||
String[] splits = versionCode.split("_");
|
||||
|
@ -58,7 +51,7 @@ public class GenerateConstant {
|
|||
" * @Description: " + ruleVersion.getName() + "_" + ruleVersion.getVersionCode() + "\n" +
|
||||
" * @Version: 1.0\n" +
|
||||
" */\n" +
|
||||
"public class " + getClassName(ruleVersion.getVersionCode()) + " extends " + "DataEngineRowActuator" + " {\n" +
|
||||
"public class " + getClassName(ruleVersion.getVersionCode()) + " extends " +SCOPE_IMPORT + " {\n" +
|
||||
" @Override\n" +
|
||||
" public void run () {\n" +
|
||||
"if(DataValue.getValue==null)\n{" +
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue