-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DCJ-610] JobModel includes more info on targeted resource (#1779)
* [DCJ-610] JobModel includes more info on targeted resource Specifically, iam_resource_type, iam_resource_id, and iam_resource_action. Motivation: when debugging flights on behalf of users, it's not always clear from a flight's description or log spelunking what resource is being targeted. We already pass this information as flight inputs for the majority of our flights, to enable Sam-based permission checks when retrieving information on flights. * Reformat target resource information in JobModel It makes more sense to group the type, ID, and action together in a single JobTargetResourceModel object. Expanded unit tests to exercise cases where these values are not available as input parameters. * test - rename test methods to clarify behavior
- Loading branch information
1 parent
dfb0741
commit 9175206
Showing
3 changed files
with
150 additions
and
37 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