/
RabbitMQ.feature
49 lines (46 loc) · 2.81 KB
/
RabbitMQ.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
49
@cloud
Feature: RabbitMQ Connector
In order to show you how to use Steeltoe for connecting to RabbitMQ
You can run some RabbitMQ connection samples
@netcoreapp2.1
@win10-x64
Scenario: Rabbit Connector for .Net Core 2.1 (win10-x64)
Given you have at least .NET Core SDK 2.1.300 installed
And you have CloudFoundry service p-rabbitmq installed
When you run: cf create-service p-rabbitmq standard myRabbitMQService
And you wait until CloudFoundry service myRabbitMQService is created
And you run: dotnet restore --configfile nuget.config
And you run: dotnet publish -f netcoreapp2.1 -r win10-x64
And you run in the background: cf push -f manifest-windows.yml -p bin/Debug/netcoreapp2.1/win10-x64/publish
And you wait until CloudFoundry app rabbitmq-connector is started
When you post "Message=HEY THERE" to https://rabbitmq-connector.x.y.z/RabbitMQ/Send
And you get https://rabbitmq-connector.x.y.z/RabbitMQ/Receive
Then you should see "Message=HEY THERE"
@netcoreapp2.1
@ubuntu.14.04-x64
Scenario: Rabbit Connector for .Net Core 2.1 (ubuntu.14.04-x64)
Given you have at least .NET Core SDK 2.1.300 installed
And you have CloudFoundry service p-rabbitmq installed
When you run: cf create-service p-rabbitmq standard myRabbitMQService
And you wait until CloudFoundry service myRabbitMQService is created
And you run: dotnet restore --configfile nuget.config
And you run: dotnet publish -f netcoreapp2.1 -r ubuntu.14.04-x64
And you run in the background: cf push -f manifest.yml -p bin/Debug/netcoreapp2.1/ubuntu.14.04-x64/publish
And you wait until CloudFoundry app rabbitmq-connector is started
When you post "Message=HEY THERE" to https://rabbitmq-connector.x.y.z/RabbitMQ/Send
And you get https://rabbitmq-connector.x.y.z/RabbitMQ/Receive
Then you should see "Message=HEY THERE"
@net461
@win10-x64
Scenario: Rabbit Connector for .Net Framework 4.6.1 (win10-x64)
Given you have at least .NET Core SDK 2.1.300 installed
And you have CloudFoundry service p-rabbitmq installed
When you run: cf create-service p-rabbitmq standard myRabbitMQService
And you wait until CloudFoundry service myRabbitMQService is created
And you run: dotnet restore --configfile nuget.config
And you run: dotnet publish -f net461 -r win10-x64
And you run in the background: cf push -f manifest-windows.yml -p bin/Debug/net461/win10-x64/publish
And you wait until CloudFoundry app rabbitmq-connector is started
When you post "Message=HEY THERE" to https://rabbitmq-connector.x.y.z/RabbitMQ/Send
And you get https://rabbitmq-connector.x.y.z/RabbitMQ/Receive
Then you should see "Message=HEY THERE"