Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
dc-java
Commits
47b78057
Commit
47b78057
authored
Jan 15, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
3d2e3cdb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
6 deletions
+50
-6
pom.xml
data-base/base-sync-finance-ebay/pom.xml
+0
-1
pom.xml
data-base/base-sync-purchase-details/pom.xml
+40
-3
Dockerfile
...ase/base-sync-purchase-details/src/main/docker/Dockerfile
+8
-0
pom.xml
data-base/pom.xml
+1
-1
job.properties
...show/show-auto-turnover/src/main/resources/job.properties
+1
-1
No files found.
data-base/base-sync-finance-ebay/pom.xml
View file @
47b78057
...
...
@@ -63,7 +63,6 @@
</executions>
</plugin>
<!-- docker的maven插件,官网:https://github.com/spotify/docker-maven-plugin -->
<plugin>
<groupId>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
...
...
data-base/base-sync-purchase-details/pom.xml
View file @
47b78057
...
...
@@ -10,6 +10,10 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<properties>
<maven.build.timestamp.format>
yyyyMMddHHmm
</maven.build.timestamp.format>
</properties>
<artifactId>
base-sync-purchase-details
</artifactId>
<dependencies>
...
...
@@ -31,19 +35,52 @@
</plugin>
<plugin>
<
groupId>
org.springframework.boot
</group
Id>
<
artifactId>
spring-boot-maven-plugin
</artifactId
>
<
artifactId>
maven-assembly-plugin
</artifact
Id>
<
version>
3.1.0
</version
>
<configuration>
<archive>
<manifest>
<mainClass>
com.bailuntec.Application
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
<appendAssemblyId>
false
</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
repackag
e
</goal>
<goal>
singl
e
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
<version>
1.0.0
</version>
<configuration>
<!--镜像名称:镜像版本-->
<skipDockerBuild>
false
</skipDockerBuild>
<imageName>
ccr.ccs.tencentyun.com/blt.data.center/base-sync-purchase-details:${maven.build.timestamp}
</imageName>
<dockerDirectory>
src/main/docker
</dockerDirectory>
<resources>
<resource>
<targetPath>
/
</targetPath>
<directory>
${project.build.directory}
</directory>
<include>
${project.build.finalName}.jar
</include>
</resource>
</resources>
<serverId>
bailuntec-docker
</serverId>
</configuration>
</plugin>
</plugins>
<resources>
...
...
data-base/base-sync-purchase-details/src/main/docker/Dockerfile
0 → 100644
View file @
47b78057
FROM
openjdk:8-jdk-alpine
VOLUME
/tmp
ADD
base-sync-purchase-details-1.0-SNAPSHOT.jar base-sync-purchase-details-1.0-SNAPSHOT.jar
RUN
echo
"Asia/Shanghai"
>
/etc/timezone
ENTRYPOINT
["java","-jar","/base-sync-purchase-details-1.0-SNAPSHOT.jar"]
EXPOSE
8080
data-base/pom.xml
View file @
47b78057
...
...
@@ -28,7 +28,7 @@
<module>
base-sync-shopify
</module>
<!--deprecate-->
<
!-- <module>base-sync-purchase-details</module>--
>
<
module>
base-sync-purchase-details
</module
>
<!-- <module>base-sync-finance-fee</module>-->
<!-- <module>base-sync-amazon-ad</module>-->
<!-- <module>base-sync-cashier</module>-->
...
...
data-show/show-auto-turnover/src/main/resources/job.properties
View file @
47b78057
...
...
@@ -12,7 +12,7 @@ NAME_SPACE=data-center
JOB_NAME
=
show-auto-turnover41
#JOB_CRON=0 0 3 * * ?
JOB_CRON
=
0
40 16
* * ?
JOB_CRON
=
0
30 15
* * ?
SHARDING_TOTAL_COUNT
=
8
JOB_NAME_NE_NORMAL
=
show-auto-turnover-ne-normal
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment