-
Notifications
You must be signed in to change notification settings - Fork 248
Expand file tree
/
Copy pathwindows.feature
More file actions
20 lines (19 loc) · 1.06 KB
/
windows.feature
File metadata and controls
20 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@cloudfoundry_scaffold
Feature: Configuration
In order to show you how to use Steeltoe with IConfiguration
You can run the configuration sample
@net10.0
@windows
Scenario: ConfigurationProviders (net10.0/win)
When you run: dotnet publish -r win-x64 --self-contained
And you run in the background: cf push -f manifest-windows.yml -p bin/Release/net10.0/win-x64/publish
And you wait until CloudFoundry app configuration-providers-sample is started
When you get https://configuration-providers-sample/Home/ExternalConfigurationData
Then you should see "Property bar = spam"
When you get https://configuration-providers-sample/Home/ConfigServerSettings
Then you should see "spring:cloud:config:name = foo"
When you get https://configuration-providers-sample/Home/CloudFoundry
Then you should see "vcap:application:application_name = configuration-providers-sample"
When you get https://configuration-providers-sample/Home/PlaceholderValues
Then you should see "ResolvedFromJson"
And you should see "Information"