Skip to content
Snippets Groups Projects
Commit 8ae8b1ff authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Update config to include excluded dashboards

parent c166b73b
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,6 @@ import json
import jsonschema
DEFAULT_ORGANIZATIONS = [
{
"name": "Main Org.",
"excluded_nrens": [],
"excluded_dashboards": []
},
{
"name": "GÉANT Staff",
"excluded_nrens": [],
......@@ -15,23 +10,40 @@ DEFAULT_ORGANIZATIONS = [
{
"name": "NRENs",
"excluded_nrens": [],
"excluded_dashboards": []
"excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
},
{
"name": "General Public",
"excluded_nrens": [
"JISC",
"CARNET",
"PSNC"
],
"excluded_dashboards": []
"excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
},
{
"name": "CAE1 - Europe",
"excluded_nrens": [],
"excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
},
{
"name": "CAE1 - Asia",
"excluded_nrens": [
"JISC",
"CARNET",
"PSNC"
],
"excluded_dashboards": []
"excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
}
]
......@@ -68,13 +80,14 @@ CONFIG_SCHEMA = {
"type": "object",
"properties": {
"name": {"type": "string"},
"excluded_nrens": {"type": "array", "items": {"type": "string"}},
"excluded_dashboards": {"type": "array", "items": {"type": "string"}},
"excluded_nrens": {
"type": "array",
"items": {"type": "string"}
},
},
"required": [
"name",
"excluded_nrens",
"excluded_dashboards"
]
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment