Remove spring-statemachine-redis

- For now classes just moved under
  spring-statemachine-data-redis
- Fixes #514
This commit is contained in:
jvalkeal
2018-02-23 12:23:32 +02:00
parent 140ccbf2f0
commit 65c9bfac89
8 changed files with 10 additions and 30 deletions

View File

@@ -265,24 +265,6 @@ project('spring-statemachine-zookeeper') {
}
}
project('spring-statemachine-redis') {
description = "Spring State Machine Redis"
dependencies {
compile project(":spring-statemachine-core")
compile project(":spring-statemachine-kryo")
compile "org.springframework.data:spring-data-redis"
compile "redis.clients:jedis"
testCompile project(":spring-statemachine-test")
testCompile "org.springframework:spring-test"
testCompile "org.hamcrest:hamcrest-core"
testCompile "org.hamcrest:hamcrest-library"
testCompile "junit:junit"
testRuntime "org.apache.logging.log4j:log4j-core"
}
}
project('spring-statemachine-data-common') {
configurations {
testArtifacts.extendsFrom testRuntime
@@ -369,12 +351,13 @@ project('spring-statemachine-build-tests') {
dependencies {
testCompile project(":spring-statemachine-uml")
testCompile project(":spring-statemachine-test")
testCompile project(":spring-statemachine-redis")
testCompile project(":spring-statemachine-data-common:spring-statemachine-data-jpa")
testCompile project(":spring-statemachine-data-common:spring-statemachine-data-redis")
testCompile project(":spring-statemachine-data-common:spring-statemachine-data-mongodb")
testCompile "org.apache.commons:commons-pool2"
testRuntime "org.springframework.boot:spring-boot-starter-data-mongodb"
testRuntime "org.springframework.boot:spring-boot-starter-data-redis"
testRuntime "redis.clients:jedis"
testCompile "org.springframework.boot:spring-boot-starter-data-jpa"
testCompile "com.h2database:h2"
testCompile "org.springframework.boot:spring-boot-starter"

View File

@@ -35,9 +35,6 @@ framework.
|spring-statemachine-kryo
|`Kryo` serializers for state machine.
|spring-statemachine-redis
|`Redis` related features for state machine.
|spring-statemachine-data-common
|Common support module for `Spring Data`.

View File

@@ -4,7 +4,6 @@ include 'spring-statemachine-core'
include 'spring-statemachine-test'
include 'spring-statemachine-kryo'
include 'spring-statemachine-zookeeper'
include 'spring-statemachine-redis'
include 'spring-statemachine-cluster'
include 'spring-statemachine-uml'
include 'spring-statemachine-build-tests'

View File

@@ -36,10 +36,10 @@ import org.springframework.statemachine.config.EnumStateMachineConfigurerAdapter
import org.springframework.statemachine.config.StateMachineFactory;
import org.springframework.statemachine.config.builders.StateMachineStateConfigurer;
import org.springframework.statemachine.config.builders.StateMachineTransitionConfigurer;
import org.springframework.statemachine.data.redis.RedisStateMachineContextRepository;
import org.springframework.statemachine.data.redis.RedisStateMachinePersister;
import org.springframework.statemachine.persist.RepositoryStateMachinePersist;
import org.springframework.statemachine.persist.StateMachinePersister;
import org.springframework.statemachine.redis.RedisStateMachineContextRepository;
import org.springframework.statemachine.redis.RedisStateMachinePersister;
public class RedisPersistTests extends AbstractBuildTests {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.statemachine.redis;
package org.springframework.statemachine.data.redis;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.statemachine.redis;
package org.springframework.statemachine.data.redis;
import org.springframework.statemachine.StateMachinePersist;
import org.springframework.statemachine.persist.AbstractStateMachinePersister;

View File

@@ -89,10 +89,11 @@ project('spring-statemachine-samples-security') {
project('spring-statemachine-samples-eventservice') {
description = 'Spring State Machine Event Service Sample'
dependencies {
compile project(":spring-statemachine-redis")
compile project(":spring-statemachine-data-common:spring-statemachine-data-redis")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.apache.commons:commons-pool2")
runtime("redis.clients:jedis")
}
}

View File

@@ -35,9 +35,9 @@ import org.springframework.statemachine.StateMachinePersist;
import org.springframework.statemachine.action.Action;
import org.springframework.statemachine.config.StateMachineBuilder;
import org.springframework.statemachine.config.StateMachineBuilder.Builder;
import org.springframework.statemachine.data.redis.RedisStateMachineContextRepository;
import org.springframework.statemachine.data.redis.RedisStateMachinePersister;
import org.springframework.statemachine.persist.RepositoryStateMachinePersist;
import org.springframework.statemachine.redis.RedisStateMachineContextRepository;
import org.springframework.statemachine.redis.RedisStateMachinePersister;
@Configuration
public class StateMachineConfig {