-
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.
feature(policies): add more information to the policy detail page (#2935
) Adds further info to the policy detail page. Please note this purposefully doesn't add the producer/consumer/system type yet. I'll be adding that along with the same in the listing page. Closes #2929 Also defaults any empty top-level targetRef to `Mesh` Closes #2934 --- Signed-off-by: John Cowen <[email protected]>
- Loading branch information
Showing
8 changed files
with
127 additions
and
34 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
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
28 changes: 28 additions & 0 deletions
28
src/test-support/mocks/src/meshes/_/meshfaultinjections/_/_resources/dataplanes.ts
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,28 @@ | ||
import type { EndpointDependencies, MockResponder } from '@/test-support' | ||
|
||
export default (_deps: EndpointDependencies): MockResponder => (_req) => { | ||
return { | ||
headers: {}, | ||
body: { | ||
total: 3, | ||
items: [ | ||
{ | ||
type: 'Dataplane', | ||
mesh: 'default', | ||
name: 'backend', | ||
}, | ||
{ | ||
type: 'Dataplane', | ||
mesh: 'default', | ||
name: 'db', | ||
}, | ||
{ | ||
type: 'Dataplane', | ||
mesh: 'default', | ||
name: 'frontend', | ||
}, | ||
], | ||
next: null, | ||
}, | ||
} | ||
} |