-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into identities-devices-table
- Loading branch information
Showing
37 changed files
with
1,035 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...ConsumerApi/test/ConsumerApi.Tests.Integration/Features/RelationshipTemplates/GET.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@Integration | ||
Feature: GET /RelationshipTemplates | ||
|
||
User requests Relationship Templates | ||
|
||
Scenario Outline: Requesting a list of Relationship Templates in a variety of scenarios | ||
Given Identities i1, i2, i3 and i4 | ||
And the following Relationship Templates | ||
| templateName | templateOwner | forIdentity | password | | ||
| rt1 | i1 | - | - | | ||
| rt2 | i2 | - | - | | ||
| rt3 | i1 | - | - | | ||
| rt4 | i2 | - | - | | ||
| rt5 | i1 | - | password | | ||
| rt6 | i1 | - | password | | ||
| rt7 | i2 | - | password | | ||
| rt8 | i2 | - | password | | ||
| rt9 | i1 | i1 | - | | ||
| rt10 | i2 | i3 | - | | ||
| rt11 | i2 | i2 | - | | ||
| rt12 | i2 | i3 | - | | ||
| rt13 | i2 | i3 | password | | ||
| rt14 | i2 | i3 | password | | ||
When <activeIdentity> sends a GET request to the /RelationshipTemplate endpoint with the following payloads | ||
| templateName | passwordOnGet | | ||
| rt1 | - | | ||
| rt2 | - | | ||
| rt3 | password | | ||
| rt4 | password | | ||
| rt5 | password | | ||
| rt6 | - | | ||
| rt7 | password | | ||
| rt8 | - | | ||
| rt9 | - | | ||
| rt10 | - | | ||
| rt11 | - | | ||
| rt12 | - | | ||
| rt13 | password | | ||
| rt14 | wordpass | | ||
Then the response contains Relationship Template(s) <retreivedTemplates> | ||
|
||
Examples: | ||
| activeIdentity | retreivedTemplates | | ||
| i1 | rt1, rt2, rt3, rt4, rt5, rt6, rt7, rt9 | | ||
| i2 | rt1, rt2, rt3, rt4, rt5, rt7, rt8, rt10, rt11, rt12, rt13, rt14 | | ||
| i3 | rt1, rt2, rt3, rt4, rt5, rt7, rt10, rt12, rt13 | | ||
| i4 | rt1, rt2, rt3, rt4, rt5, rt7 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.