-
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.
Topaz: option to enable the profiler service.
Also add a manifest, test data, and assertions, and use them in the topaz chart test.
- Loading branch information
Showing
15 changed files
with
650 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"assertions": [ | ||
{ | ||
"check": { | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com", | ||
"relation": "member", | ||
"object_type": "group", | ||
"object_id": "admin" | ||
}, | ||
"expected": true | ||
} | ||
] | ||
} |
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,34 @@ | ||
{ | ||
"objects": [ | ||
{ | ||
"type": "resource-creator", | ||
"id": "resource-creators", | ||
"display_name": "Resource creators", | ||
"properties": {} | ||
}, | ||
{ | ||
"type": "resource", | ||
"id": "mega-seed", | ||
"display_name": "Mega seed", | ||
"properties": {} | ||
}, | ||
{ | ||
"type": "resource", | ||
"id": "portal-gun", | ||
"display_name": "Portal gun", | ||
"properties": {} | ||
}, | ||
{ | ||
"type": "resource", | ||
"id": "space-cruiser", | ||
"display_name": "Space cruiser", | ||
"properties": {} | ||
}, | ||
{ | ||
"type": "resource", | ||
"id": "time-crystal", | ||
"display_name": "Time crystal", | ||
"properties": {} | ||
} | ||
] | ||
} |
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,88 @@ | ||
{ | ||
"relations": [ | ||
{ | ||
"object_type": "resource-creator", | ||
"object_id": "resource-creators", | ||
"relation": "member", | ||
"subject_type": "user", | ||
"subject_id": "morty@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource-creator", | ||
"object_id": "resource-creators", | ||
"relation": "member", | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource-creator", | ||
"object_id": "resource-creators", | ||
"relation": "member", | ||
"subject_type": "user", | ||
"subject_id": "summer@the-smiths.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "mega-seed", | ||
"relation": "owner", | ||
"subject_type": "user", | ||
"subject_id": "morty@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "mega-seed", | ||
"relation": "reader", | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "space-cruiser", | ||
"relation": "owner", | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "space-cruiser", | ||
"relation": "writer", | ||
"subject_type": "user", | ||
"subject_id": "morty@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "space-cruiser", | ||
"relation": "reader", | ||
"subject_type": "user", | ||
"subject_id": "summer@the-smiths.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "portal-gun", | ||
"relation": "owner", | ||
"subject_type": "user", | ||
"subject_id": "morty@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "portal-gun", | ||
"relation": "writer", | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "time-crystal", | ||
"relation": "writer", | ||
"subject_type": "user", | ||
"subject_id": "rick@the-citadel.com" | ||
}, | ||
{ | ||
"object_type": "resource", | ||
"object_id": "time-crystal", | ||
"relation": "reader", | ||
"subject_type": "user", | ||
"subject_id": "morty@the-citadel.com" | ||
} | ||
] | ||
} |
Oops, something went wrong.