Skip to content

Commit

Permalink
Bump to 4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonjoo2010 committed Jul 30, 2019
1 parent 7338fe5 commit 1b61134
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 127 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ A simple non-centralizing scheduling framework.
- [Run](#run)
- [Load Balancing](#load-balancing)
- [Changelog](#changelog)
- [4.1.1](#411)
- [4.1.0](#410)
- [4.0.1](#401)
- [4.0.0](#400)
Expand All @@ -26,23 +27,23 @@ The necessary dependency:
```
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-core</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
```

If you use zookeeper as storage:

```
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-storage-zookeeper</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
```

If you want use extensions like extension of task:

```
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-extension-task</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
```

See [tbschedule-demo](tbschedule-demo) for demo.
Expand Down Expand Up @@ -171,6 +172,9 @@ SERVER_PORT=8080
In older original version the worker instances' distribution always includes the leader node. So if you have many jobs or some `single instance` jobs the leader will be the heaviest node. To solve this we introduce `dynamic schedule distribution` algorithm. A shuffling on scheduling servers will be done when rescheduling.

# Changelog
## 4.1.1
* Introduce the flattern plugin
* Optimize the deploy files

## 4.1.0
* Restructure the storage related logics.
Expand Down
32 changes: 30 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>com.yoloho.enhanced.parent</groupId>
<artifactId>enhanced-parent</artifactId>
<version>1.0.3</version>
<version>1.0.5</version>
</parent>
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-parent</artifactId>
<packaging>pom</packaging>
<version>${revision}</version>
<properties>
<revision>4.1.0</revision>
<revision>4.1.1</revision>
</properties>
<modules>
<module>tbschedule-core</module>
Expand Down Expand Up @@ -82,6 +82,34 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<pomElements>
<build>remove</build>
<pluginManagement>remove</pluginManagement>
</pomElements>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
4 changes: 2 additions & 2 deletions tbschedule-console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.yoloho.enhanced.parent</groupId>
<artifactId>enhanced-parent-springboot-web</artifactId>
<version>1.0.0</version>
<version>1.0.5</version>
</parent>
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-console</artifactId>
<name>tbschedule-console</name>
<version>4.1.0</version>
<version>4.1.1</version>
<packaging>jar</packaging>
<dependencies>
<!-- tbschedule -->
Expand Down
11 changes: 11 additions & 0 deletions tbschedule-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,15 @@
<module>tbschedule-demo-redis</module>
<module>tbschedule-demo-zookeeper</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
46 changes: 6 additions & 40 deletions tbschedule-demo/tbschedule-demo-memory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.yoloho.enhanced.parent</groupId>
<artifactId>enhanced-parent-springboot-base</artifactId>
<version>1.0.0</version>
<version>1.0.5</version>
</parent>
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-demo-memory</artifactId>
<name>tbschedule-demo-memory</name>
<version>4.1.0</version>
<version>4.1.1</version>
<packaging>jar</packaging>
<dependencies>
<!-- tbschedule -->
Expand Down Expand Up @@ -81,44 +81,10 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
46 changes: 6 additions & 40 deletions tbschedule-demo/tbschedule-demo-redis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.yoloho.enhanced.parent</groupId>
<artifactId>enhanced-parent-springboot-base</artifactId>
<version>1.0.0</version>
<version>1.0.5</version>
</parent>
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-demo-redis</artifactId>
<name>tbschedule-demo-redis</name>
<version>4.1.0</version>
<version>4.1.1</version>
<packaging>jar</packaging>
<dependencies>
<!-- tbschedule -->
Expand Down Expand Up @@ -81,44 +81,10 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
46 changes: 6 additions & 40 deletions tbschedule-demo/tbschedule-demo-zookeeper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>com.yoloho.enhanced.parent</groupId>
<artifactId>enhanced-parent-springboot-base</artifactId>
<version>1.0.0</version>
<version>1.0.5</version>
</parent>
<groupId>com.yoloho.schedule</groupId>
<artifactId>tbschedule-demo-zookeeper</artifactId>
<name>tbschedule-demo-zookeeper</name>
<version>4.1.0</version>
<version>4.1.1</version>
<packaging>jar</packaging>
<dependencies>
<!-- tbschedule -->
Expand Down Expand Up @@ -81,44 +81,10 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 1b61134

Please sign in to comment.