-
Notifications
You must be signed in to change notification settings - Fork 252
/
Copy pathRedis.feature
48 lines (44 loc) · 2.18 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
38
39
40
41
42
43
44
45
46
47
48
@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
@netcoreapp3.1
@win10-x64
Scenario: Redis Connector (netcoreapp3.1/win10-x64)
When you run: dotnet restore --configfile ../../../nuget.config
And you run: dotnet publish -f netcoreapp3.1 -r win10-x64
And you run in the background: cf push -f manifest-windows.yml -p bin/Debug/netcoreapp3.1/win10-x64/publish
And you wait until CloudFoundry app redis-connector is started
When you get https://redis-connector.x.y.z/Home/CacheData
Then you should see "Key1=Key1Value"
And you should see "Key2=Key2Value"
@net6.0
@win10-x64
Scenario: Redis Connector (net6.0/win10-x64)
When you run: dotnet restore --configfile ../../../nuget.config
And you run: dotnet publish -f net6.0 -r win10-x64
And you run in the background: cf push -f manifest-windows.yml -p bin/Debug/net6.0/win10-x64/publish
And you wait until CloudFoundry app redis-connector is started
When you get https://redis-connector.x.y.z/Home/CacheData
Then you should see "Key1=Key1Value"
And you should see "Key2=Key2Value"
@netcoreapp3.1
@linux-x64
Scenario: Redis Connector (netcoreapp3.1/linux-x64)
When you run: dotnet restore --configfile ../../../nuget.config
And you run: dotnet publish -f netcoreapp3.1 -r linux-x64
And you run in the background: cf push -f manifest.yml -p bin/Debug/netcoreapp3.1/linux-x64/publish
And you wait until CloudFoundry app redis-connector is started
When you get https://redis-connector.x.y.z/Home/CacheData
Then you should see "Key1=Key1Value"
And you should see "Key2=Key2Value"
@net6.0
@linux-x64
Scenario: Redis Connector (net6.0/linux-x64)
When you run: dotnet restore --configfile ../../../nuget.config
And you run: dotnet publish -f net6.0 -r linux-x64
And you run in the background: cf push -f manifest.yml -p bin/Debug/net6.0/linux-x64/publish
And you wait until CloudFoundry app redis-connector is started
When you get https://redis-connector.x.y.z/Home/CacheData
Then you should see "Key1=Key1Value"
And you should see "Key2=Key2Value"