-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dataplanes): integrates Gateways in Data Plane Proxy list view
Integrates the Gateway list view in the Data Plane Proxy list view. Adds a type column and the appropriate type filter to the DPP list view and the service detail view’s DPP list. Removes the protocol and zone columns. Signed-off-by: Philipp Rudloff <[email protected]>
- Loading branch information
Philipp Rudloff
committed
Nov 9, 2023
1 parent
a655564
commit 95f08c5
Showing
28 changed files
with
495 additions
and
981 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
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,61 @@ | ||
Feature: Dataplane policies | ||
Background: | ||
Given the CSS selectors | ||
| Alias | Selector | | ||
| builtin-gateway-dataplane-policies | [data-testid='builtin-gateway-dataplane-policies'] | | ||
| standard-dataplane-policies | [data-testid='standard-dataplane-policies'] | | ||
|
||
Scenario: Dataplane policies view shows expected content for standard proxy | ||
Given the URL "/meshes/default/dataplanes/dataplane-1/_overview" responds with | ||
""" | ||
body: | ||
mesh: default | ||
dataplane: | ||
networking: | ||
gateway: !!js/undefined | ||
""" | ||
When I visit the "/meshes/default/data-planes/dataplane-1/policies" URL | ||
|
||
Then the "$standard-dataplane-policies" element exists | ||
|
||
Scenario: Dataplane policies view shows expected content for delegated gateway | ||
Given the URL "/meshes/default/dataplanes/dataplane-1/_overview" responds with | ||
""" | ||
body: | ||
mesh: default | ||
dataplane: | ||
networking: | ||
gateway: | ||
type: DELEGATED | ||
""" | ||
When I visit the "/meshes/default/data-planes/dataplane-1/policies" URL | ||
|
||
Then the "$standard-dataplane-policies" element exists | ||
|
||
Scenario: Dataplane policies view shows expected content for delegated gateway (with omitted type field) | ||
Given the URL "/meshes/default/dataplanes/dataplane-1/_overview" responds with | ||
""" | ||
body: | ||
mesh: default | ||
dataplane: | ||
networking: | ||
gateway: | ||
type: !!js/undefined | ||
""" | ||
When I visit the "/meshes/default/data-planes/dataplane-1/policies" URL | ||
|
||
Then the "$standard-dataplane-policies" element exists | ||
|
||
Scenario: Dataplane policies view shows expected content for built-in gateway | ||
Given the URL "/meshes/default/dataplanes/dataplane-1/_overview" responds with | ||
""" | ||
body: | ||
mesh: default | ||
dataplane: | ||
networking: | ||
gateway: | ||
type: BUILTIN | ||
""" | ||
When I visit the "/meshes/default/data-planes/dataplane-1/policies" URL | ||
|
||
Then the "$builtin-gateway-dataplane-policies" element exists |
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.