Skip to content

Commit 42b296f

Browse files
Merge pull request #50 from BorderTech/feature/extract-cache-helper
Extract cache-helper from taskmaster into own repo
2 parents 7d95045 + ef06eab commit 42b296f

File tree

18 files changed

+10
-757
lines changed

18 files changed

+10
-757
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Switch from travis-ci to GitHub Actions #45
77
* Latest dependencies
88
* Extract taskmaster-servlet-tools into its own repo java-servlet-tools. Projects using servlet-tools will need to add the new dependency as it is no longer provided by taskmaster-core #47
9+
* Extract taskmaster-cache-helper into its own repo java-cache-helper #49
910

1011
## 2.0.0-beta-1
1112

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Task Master helps run ASYNC tasks.
66
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-taskmaster&metric=alert_status)](https://sonarcloud.io/dashboard?id=bordertech-java-taskmaster)
77
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-taskmaster&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=bordertech-java-taskmaster)
88
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=bordertech-java-taskmaster&metric=coverage)](https://sonarcloud.io/dashboard?id=bordertech-java-taskmaster)
9-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/83bcfdba5e34433894e8b958bdb958a5)](https://www.codacy.com/app/BorderTech/java-taskmaster?utm_source=github.com&utm_medium=referral&utm_content=BorderTech/java-taskmaster&utm_campaign=Badge_Grade)
109
[![Javadocs](https://www.javadoc.io/badge/com.github.bordertech.taskmaster/taskmaster-core.svg)](https://www.javadoc.io/doc/com.github.bordertech.taskmaster/taskmaster-core)
1110
[![Maven Central](https://img.shields.io/maven-central/v/com.github.bordertech.taskmaster/taskmaster-core.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.bordertech.taskmaster%22%20AND%20a:%22taskmaster-core%22)
1211

@@ -21,8 +20,5 @@ interface of `TaskFuture` that implements both Future and Serializable. It does
2120
reference to the Future, the default implementation of TaskFuture (ie TaskFutureWrapper) wraps the future by
2221
putting the `Future` on a cache and holding onto the cache key that is serializable.
2322

24-
## Cache Helper (JSR107)
25-
The `CacheHelper` allows projects to provide a specific mechanism for creating their cache requirements.
26-
2723
## ServiceHelper
2824
The `ServiceHelper` class helps applications submit ASYNC service calls.

pom.xml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@
4545
<dependencyManagement>
4646
<dependencies>
4747

48+
<!-- Cache Helper -->
49+
<dependency>
50+
<groupId>com.github.bordertech.taskmaster</groupId>
51+
<artifactId>cache-helper</artifactId>
52+
<version>1.0.0</version>
53+
</dependency>
54+
4855
<!-- Didums Injection -->
4956
<dependency>
5057
<groupId>com.github.bordertech.didums</groupId>
@@ -80,27 +87,13 @@
8087
<version>1.2</version>
8188
</dependency>
8289

83-
<!-- Caching API. -->
84-
<dependency>
85-
<groupId>javax.cache</groupId>
86-
<artifactId>cache-api</artifactId>
87-
<version>1.1.1</version>
88-
</dependency>
89-
9090
<!-- Servlet Interface -->
9191
<dependency>
9292
<groupId>javax.servlet</groupId>
9393
<artifactId>javax.servlet-api</artifactId>
9494
<version>3.1.0</version>
9595
</dependency>
9696

97-
<!-- ehcache -->
98-
<dependency>
99-
<groupId>org.ehcache</groupId>
100-
<artifactId>ehcache</artifactId>
101-
<version>3.9.9</version>
102-
</dependency>
103-
10497
<!-- Common Lang3 -->
10598
<dependency>
10699
<groupId>org.apache.commons</groupId>
@@ -112,8 +105,6 @@
112105
</dependencyManagement>
113106

114107
<modules>
115-
<module>taskmaster-cache-helper</module>
116-
<module>taskmaster-cache-ehcache</module>
117108
<module>taskmaster-core</module>
118109
<module>taskmaster-service-helper</module>
119110
</modules>

taskmaster-cache-ehcache/pom.xml

Lines changed: 0 additions & 67 deletions
This file was deleted.

taskmaster-cache-ehcache/src/main/java/com/github/bordertech/taskmaster/ehcache/CachingHelperProviderEhCache.java

Lines changed: 0 additions & 130 deletions
This file was deleted.

taskmaster-cache-ehcache/src/main/java/com/github/bordertech/taskmaster/ehcache/package-info.java

Lines changed: 0 additions & 4 deletions
This file was deleted.

taskmaster-cache-ehcache/src/main/resources/bordertech-defaults.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

taskmaster-cache-helper/pom.xml

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)