-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathRedis.feature
37 lines (35 loc) · 1.74 KB
/
Redis.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@cloudfoundry_scaffold
Feature: Redis Connector
In order to show you how to use Steeltoe for connecting to Redis
You can run some Redis connection samples
@net8.0
@windows
Scenario: Redis Connector (net8.0/windows)
When you run: dotnet publish -r win-x64 --self-contained
And you run: cf push -f manifest-windows.yml -p bin/Release/net8.0/win-x64/publish
And you wait until CloudFoundry app redis-connector-sample is started
When you get https://redis-connector-sample/
Then you should see "redis-connector-sampleKeySetUsingMicrosoftApi1"
Then you should see "ValueSetUsingMicrosoftApi1"
Then you should see "redis-connector-sampleKeySetUsingMicrosoftApi2"
Then you should see "ValueSetUsingMicrosoftApi2"
Then you should see "redis-connector-sampleKeySetUsingRedisApi1"
Then you should see "ValueSetUsingRedisApi1"
Then you should see "redis-connector-sampleKeySetUsingRedisApi2"
Then you should see "ValueSetUsingRedisApi2"
And you should see "Hello from Lua"
@net8.0
@linux
Scenario: Redis Connector (net8.0/linux)
When you run: cf push -f manifest.yml
And you wait until CloudFoundry app redis-connector-sample is started
When you get https://redis-connector-sample/
Then you should see "redis-connector-sampleKeySetUsingMicrosoftApi1"
Then you should see "ValueSetUsingMicrosoftApi1"
Then you should see "redis-connector-sampleKeySetUsingMicrosoftApi2"
Then you should see "ValueSetUsingMicrosoftApi2"
Then you should see "redis-connector-sampleKeySetUsingRedisApi1"
Then you should see "ValueSetUsingRedisApi1"
Then you should see "redis-connector-sampleKeySetUsingRedisApi2"
Then you should see "ValueSetUsingRedisApi2"
And you should see "Hello from Lua"