mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: update container template
This commit is contained in:
parent
3ce47382d8
commit
f3b4e91745
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-common</artifactId>
|
<artifactId>powerjob-server-common</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-core</artifactId>
|
<artifactId>powerjob-server-core</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-extension</artifactId>
|
<artifactId>powerjob-server-extension</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-migrate</artifactId>
|
<artifactId>powerjob-server-migrate</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-persistence</artifactId>
|
<artifactId>powerjob-server-persistence</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-remote</artifactId>
|
<artifactId>powerjob-server-remote</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>tech.powerjob</groupId>
|
|
||||||
<artifactId>powerjob-server-starter</artifactId>
|
<artifactId>powerjob-server-starter</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
|
@ -11,4 +11,4 @@ ${AnsiColor.BRIGHT_RED}
|
|||||||
* Maintainer: tengjiqi@gmail.com & Team PowerJob
|
* Maintainer: tengjiqi@gmail.com & Team PowerJob
|
||||||
* OfficialWebsite: http://www.powerjob.tech/
|
* OfficialWebsite: http://www.powerjob.tech/
|
||||||
* SourceCode: https://github.com/PowerJob/PowerJob
|
* SourceCode: https://github.com/PowerJob/PowerJob
|
||||||
* PoweredBy: SpringBoot${spring-boot.formatted-version} & Akka (v2.6.12)
|
* PoweredBy: SpringBoot${spring-boot.formatted-version} & Akka (v2.6.12) & Vert.x (v4.0.2)
|
||||||
|
Binary file not shown.
@ -31,7 +31,7 @@ public class StaticSliceProcessor extends MapReduceProcessor {
|
|||||||
|
|
||||||
// root task 负责分发任务
|
// root task 负责分发任务
|
||||||
if (isRootTask()) {
|
if (isRootTask()) {
|
||||||
// 从控制台传递分片参数,架设格式为KV:1=a&2=b&3=c
|
// 从控制台传递分片参数,假设格式为KV:1=a&2=b&3=c
|
||||||
String jobParams = context.getJobParams();
|
String jobParams = context.getJobParams();
|
||||||
Map<String, String> paramsMap = Splitter.on("&").withKeyValueSeparator("=").split(jobParams);
|
Map<String, String> paramsMap = Splitter.on("&").withKeyValueSeparator("=").split(jobParams);
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ import java.util.Collections;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 单机处理器 示例
|
* 单机处理器 示例
|
||||||
* com.github.kfcfans.powerjob.samples.processors.StandaloneProcessorDemo
|
|
||||||
*
|
*
|
||||||
* @author tjq
|
* @author tjq
|
||||||
* @since 2020/4/17
|
* @since 2020/4/17
|
||||||
|
@ -10,7 +10,6 @@ import java.util.Map;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 测试追加工作流上下文数据
|
* 测试追加工作流上下文数据
|
||||||
* com.github.kfcfans.powerjob.samples.tester.AppendWorkflowContextTester
|
|
||||||
*
|
*
|
||||||
* @author Echo009
|
* @author Echo009
|
||||||
* @since 2021/2/6
|
* @since 2021/2/6
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<configuration>
|
|
||||||
<!-- %m输出的信息,%p日志级别,%t线程名,%d日期,%c类的全名,%i索引【从数字0开始递增】,,, -->
|
|
||||||
<!-- appender是configuration的子节点,是负责写日志的组件。 -->
|
|
||||||
<!-- ConsoleAppender:把日志输出到控制台 -->
|
|
||||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
||||||
<encoder>
|
|
||||||
<pattern>%d [%t] %-5level %logger{36}.%M\(%file:%line\) - %msg%n</pattern>
|
|
||||||
<!-- 控制台也要使用UTF-8,不要使用GBK,否则会中文乱码 -->
|
|
||||||
<charset>UTF-8</charset>
|
|
||||||
</encoder>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<logger name="com.zaxxer.hikari" level="ERROR">
|
|
||||||
<appender-ref ref="STDOUT"/>
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
<logger name="com.github.kfcfans.powerjob" level="INFO" additivity="false">
|
|
||||||
<appender-ref ref="STDOUT"/>
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
<!-- 控制台输出日志级别 -->
|
|
||||||
<root level="INFO">
|
|
||||||
<appender-ref ref="STDOUT"/>
|
|
||||||
</root>
|
|
||||||
</configuration>
|
|
Loading…
x
Reference in New Issue
Block a user