-
Couldn't load subscription status.
- Fork 2
[IBCDPE-1110] Add initial DUO templates + Python code to apply DUO bindings. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
templates/elite_long_life.json
Outdated
| { | ||
| "if": { | ||
| "properties": { | ||
| "DUO_0000006": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duoCodes: [“IRB”, “HMB", “GRB”]
duoCodes: [“HMB”, “IRB", “GRB”]
OR, but the below is a lot less clean...
IRB: True
HMB: True
GRB: True
So if... IRB exists, then an AR...
| } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | |
| }, | |
| , | |
| { | |
| "if": { | |
| "properties": { | |
| "duoCodes": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "contains": { | |
| "const": "NPU" | |
| } | |
| } | |
| } | |
| }, | |
| "then": { | |
| "properties": { | |
| "_accessRequirementIds": { | |
| "type": "array", | |
| "contains": { | |
| "const": sdfsdfs | |
| } | |
| } | |
| } | |
| } | |
| } |
| "_accessRequirementIds": { | ||
| "type": "array", | ||
| "contains": { | ||
| "const": 9606538 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a fresh set of ARs specific to that project
| syn.login() | ||
| with open("config.yml", "r") as f: | ||
| config = yaml.safe_load(f) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add another script to select the DUO codes, and to auto generate the json schema template + ARs
Add MC2 DUO-AR schema and example of data type JSON with AR schema referenced
Problem
Currently, there is no framework to maintain a library of DUO combinations as schema bindings.
Solution
This will serve as a starting point for the automation of application of DUO codes.
Bonus: Github will automatically populate the README.md file at the homepage, so I deleted the introduction.md