Add missing test files for mongo and redis

- There was an oversight for #588 and its pr which only
  added data15.json file for jpa. This commit
  adds those for mongodb and redis.
This commit is contained in:
Janne Valkealahti
2019-10-27 10:15:57 +00:00
parent 7465451cc3
commit af81e8dd2b
2 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
[
{
"@id": "3",
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryAction",
"spel": "false"
},
{
"@id": "4",
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryAction",
"spel": "false"
},
{
"@id": "5",
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryAction",
"spel": "false"
},
{
"@id": "1",
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryState",
"initial": true,
"state": "S1",
"exitActions": ["3"]
},
{
"@id": "2",
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryState",
"initial": false,
"state": "S2",
"entryActions": ["4"],
"stateActions": ["5"]
},
{
"_class": "org.springframework.statemachine.data.mongodb.MongoDbRepositoryTransition",
"source": "1",
"target": "2",
"event": "E1",
"kind": "EXTERNAL"
}
]

View File

@@ -0,0 +1,39 @@
[
{
"@id": "3",
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryAction",
"spel": "false"
},
{
"@id": "4",
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryAction",
"spel": "false"
},
{
"@id": "5",
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryAction",
"spel": "false"
},
{
"@id": "1",
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryState",
"initial": true,
"state": "S1",
"exitActions": ["3"]
},
{
"@id": "2",
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryState",
"initial": false,
"state": "S2",
"entryActions": ["4"],
"stateActions": ["5"]
},
{
"_class": "org.springframework.statemachine.data.redis.RedisRepositoryTransition",
"source": "1",
"target": "2",
"event": "E1",
"kind": "EXTERNAL"
}
]