🎨 Improving structure / format of the code.rename project: pigx-daemon-elastic --> pigx-daemon-elastic-job

This commit is contained in:
萌萌哒Sakura酱 committed 2019-03-23 10:09:52 +08:00
1 parent a75a0d90f9
commit 1c1764a95b
25 files changed
+12 -22

No files matched your search

+4 -4
View File
@@ -98,13 +98,13 @@ services:
image: pigx-daemon-quartz
container_name: pigx-daemon-quartz
pigx-daemon-elastic:
pigx-daemon-elastic-job:
build:
context: ./
dockerfile: ./pigx-visual/pigx-daemon-elastic/Dockerfile
dockerfile: ./pigx-visual/pigx-daemon-elastic-job/Dockerfile
restart: always
image: pigx-daemon-elastic
container_name: pigx-daemon-elastic
image: pigx-daemon-elastic-job
container_name: pigx-daemon-elastic-job
pigx-codegen:
@@ -4,12 +4,12 @@ MAINTAINER wangiegie@gmail.com
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /pigx-daemon-elastic
RUN mkdir -p /pigx-daemon-elastic-job
WORKDIR /pigx-daemon-elastic
WORKDIR /pigx-daemon-elastic-job
EXPOSE 5002
ADD ./pigx-visual/pigx-daemon-elastic/target/pigx-daemon-elastic.jar ./
ADD ./pigx-visual/pigx-daemon-elastic-job/target/pigx-daemon-elastic-job.jar ./
CMD java -Djava.security.egd=file:/dev/./urandom -jar pigx-daemon-elastic.jar
CMD java -Djava.security.egd=file:/dev/./urandom -jar pigx-daemon-elastic-job.jar
@@ -26,7 +26,7 @@
<version>2.6.0</version>
</parent>
<artifactId>pigx-daemon-elastic</artifactId>
<artifactId>pigx-daemon-elastic-job</artifactId>
<packaging>jar</packaging>
<description>基于elastic-job后台跑批定时任务模块</description>
@@ -34,10 +34,10 @@ import org.springframework.cloud.client.SpringCloudApplication;
@EnablePigxFeignClients
@SpringCloudApplication
@EnablePigxResourceServer
public class PigxDaemonElasticApplication {
public class PigxDaemonElasticJobApplication {
public static void main(String[] args) {
SpringApplication.run(PigxDaemonElasticApplication.class, args);
SpringApplication.run(PigxDaemonElasticJobApplication.class, args);
}
}
-10
View File
@@ -71,16 +71,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.company.platform.frwcloud.job.FrwcloudJobApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
+1 -1
View File
@@ -34,7 +34,7 @@
<modules>
<module>pigx-activiti</module>
<module>pigx-codegen</module>
<module>pigx-daemon-elastic</module>
<module>pigx-daemon-elastic-job</module>
<module>pigx-daemon-quartz</module>
<module>pigx-monitor</module>
<module>pigx-sso-client-demo</module>