-
Notifications
You must be signed in to change notification settings - Fork 253
/
Copy pathPostgreSqlEFCore.feature
23 lines (21 loc) · 1.06 KB
/
PostgreSqlEFCore.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@cloudfoundry_scaffold
Feature: PostgreSqlEFCore Connector
In order to show you how to use Steeltoe for connecting to PostgreSQL using Entity Framework Core
You can run some PostgreSQL using Entity Framework Core connection samples
@net8.0
@windows
Scenario: PostgreSqlEFCore 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 postgresql-efcore-connector-sample is started
When you get https://postgresql-efcore-connector-sample/
Then you should see "Test Data 1 - AppDbContext"
And you should see "Test Data 2 - AppDbContext"
@net8.0
@linux
Scenario: PostgreSqlEFCore Connector (net8.0/linux)
When you run: cf push -f manifest.yml
And you wait until CloudFoundry app postgresql-efcore-connector-sample is started
When you get https://postgresql-efcore-connector-sample/
Then you should see "Test Data 1 - AppDbContext"
And you should see "Test Data 2 - AppDbContext"