Skip to content

Commit

Permalink
Update configs to nested json structure
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Nov 9, 2023
1 parent 76c3f42 commit 422491a
Show file tree
Hide file tree
Showing 21 changed files with 540 additions and 10 deletions.
25 changes: 25 additions & 0 deletions dcc/ADKP/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "AD Knowledge Portal",
"synapse_asset_view": "syn51324810",
"data_model_url": "https://raw.githubusercontent.com/adknowledgeportal/data-models/main/divco.data.model.v1.jsonld",
"template_menu_config_file": "dcc/ADKP/dca-template-config.json",
"logo_location": "dcc/ADKP/ADKnowledgePortal.png",
"logo_link": "https://adknowledgeportal.synapse.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "file_only",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/BTC/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "BTC DCC",
"synapse_asset_view": "syn51407795",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/btc-data-models/main/btc.model.jsonld",
"template_menu_config_file": "dcc/BTC/dca-template-config.json",
"5": {},
"6": {}
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e72",
"sidebar_col": "#191920"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/EL/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "EL",
"synapse_asset_view": "syn51753858",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/ELITE-data-models/main/example.model.jsonld",
"template_menu_config_file": "dcc/EL/dca-template-config.json",
"5": {},
"6": {}
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/GF/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "Gray Foundation",
"synapse_asset_view": "syn28142805",
"data_model_url": "https://raw.githubusercontent.com/gf-dcc/data-model/v1.1.0-rc/GF.jsonld",
"template_menu_config_file": "dcc/GF/dca-template-config.json",
"5": {},
"6": {}
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": true,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/HTAN/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "HTAN All Projects",
"synapse_asset_view": "syn20446927",
"data_model_url": "https://raw.githubusercontent.com/ncihtan/data-models/main/HTAN.model.jsonld",
"template_menu_config_file": "dcc/HTAN/dca-template-config.json",
"logo_location": "dcc/HTAN/HTAN_text_logo.png",
"logo_link": "https://humantumoratlas.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#605ca8",
"secondary_col": "#5F008C",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "file_only",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/MC2/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "Cancer Complexity Knowledge Portal - Database",
"synapse_asset_view": "syn27210848",
"data_model_url": "https://raw.githubusercontent.com/mc2-center/data-models/main/mc2.model.jsonld",
"template_menu_config_file": "dcc/MC2/dca-template-config.json",
"logo_location": "dcc/MC2/cckp_logo.png",
"logo_link": "https://cancercomplexity.synapse.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#407BA0",
"secondary_col": "#5BB0B5",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": false,
"model_submit.table_manipulation": "upsert",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
25 changes: 25 additions & 0 deletions dcc/NF-OSI/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "NF-OSI",
"synapse_asset_view": "syn16858331",
"data_model_url": "https://raw.githubusercontent.com/nf-osi/nf-metadata-dictionary/v8.0.1/NF.jsonld",
"template_menu_config_file": "dcc/NF-OSI/dca-template-config.json",
"5": {},
"6": {}
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": true,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": true
}
}
25 changes: 25 additions & 0 deletions dcc/VEOIBD/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "VEOIBD",
"synapse_asset_view": "syn51397378",
"data_model_url": "https://raw.githubusercontent.com/VEOIBD/data_models/main/veoibd.data.model.jsonld",
"template_menu_config_file": "dcc/VEOIBD/dca-template-config.json",
"logo_location": "dcc/VEOIBD/VEOIBD Logo.png",
"logo_link": "https://veoibd.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e72",
"sidebar_col": "#191920"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": true,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "upsert",
"model_submit.manifest_record_type": "file_only",
"model_submit.hide_blanks": false
}
}
31 changes: 31 additions & 0 deletions dcc/demo/dca-template-config-v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"manifest_schemas": [
{
"display_name": "Biospecimen",
"schema_name": "Biospecimen",
"type": "record"
},
{
"display_name": "Bulk RNA-seq Assay",
"schema_name": "BulkRNA-seqAssay",
"type": "file"
},
{
"display_name": "MockComponent",
"schema_name": "MockComponent",
"type": "record"
},
{
"display_name": "Other Assay",
"schema_name": "OtherAssay",
"type": "file"
},
{
"display_name": "Patient",
"schema_name": "Patient",
"type": "record"
}
],
"service_version": "v23.9.3",
"schema_version": ""
}
34 changes: 34 additions & 0 deletions dcc/demo/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"dcc": {
"project_name":"DCA Demo",
"synapse_asset_view":"syn33715412",
"data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld",
"data_model_info": "",
"template_menu_config_file":"dcc/demo/dca-template-config.json",
"logo_location":"dcc/demo/Logo_Sage_Logomark.png",
"logo_link":"https://synapse.org",
"dcc_help_link": "",
"portal_help_link": ""
},
"dca": {
"use_compliance_dashboard":false,
"primary_col":"#2a668d",
"secondary_col":"#184e71",
"sidebar_col":"#191919"
},
"schematic": {
"manifest_generate": {
"output_format":"google_sheet",
"use_annotations":false
},
"model_validate": {
"restrict_rules":false
},
"model_submit": {
"use_schema_labels":true,
"table_manipulation":"replace",
"manifest_record_type":"table_and_file",
"hide_blanks":false
}
}
}
25 changes: 25 additions & 0 deletions dcc/demo_upsert/dca_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"dcc": {
"project_name": "DCA Demo Upsert",
"synapse_asset_view": "syn51489635",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/schematic/develop/tests/data/example.model.jsonld",
"template_menu_config_file": "dcc/demo_upsert/dca-template-config.json",
"5": {},
"6": {}
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "excel",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": false,
"model_submit.table_manipulation": "upsert",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
26 changes: 25 additions & 1 deletion test/smoke_test_dca_config.json
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
{"project_name":"DCA Smoke Test","synapse_asset_view":"syn52701135","data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld","template_menu_config_file":"dcc/demo/dca-template-config.json","logo_location":"dcc/demo/Logo_Sage_Logomark.png","logo_link":"https://synapse.org","manifest_output_format":"google_sheet","manifest_use_annotations":false,"validate_restrict_rules":false,"submit_use_schema_labels":true,"submit_table_manipulation":"replace","submit_manifest_record_type":"table_and_file","submit_hide_blanks":false,"use_compliance_dashboard":false,"primary_col":"#2a668d","secondary_col":"#184e71","sidebar_col":"#191919"}
{
"dcc": {
"project_name": "DCA Smoke Test",
"synapse_asset_view": "syn52701135",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld",
"template_menu_config_file": "dcc/demo/dca-template-config.json",
"logo_location": "dcc/demo/Logo_Sage_Logomark.png",
"logo_link": "https://synapse.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
26 changes: 25 additions & 1 deletion test/test_cross_manifest_validation_type_dca_config.json
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
{"project_name":"DCA cross manifest validation","synapse_asset_view":"syn52786230","data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld","template_menu_config_file":"dcc/demo/dca-template-config.json","logo_location":"dcc/demo/Logo_Sage_Logomark.png","logo_link":"https://synapse.org","manifest_output_format":"google_sheet","manifest_use_annotations":false,"validate_restrict_rules":false,"submit_use_schema_labels":true,"submit_table_manipulation":"replace","submit_manifest_record_type":"file_only","submit_hide_blanks":false,"use_compliance_dashboard":false,"primary_col":"#2a668d","secondary_col":"#184e71","sidebar_col":"#191919"}
{
"dcc": {
"project_name": "DCA cross manifest validation",
"synapse_asset_view": "syn52786230",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld",
"template_menu_config_file": "dcc/demo/dca-template-config.json",
"logo_location": "dcc/demo/Logo_Sage_Logomark.png",
"logo_link": "https://synapse.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "file_only",
"model_submit.hide_blanks": false
}
}
26 changes: 25 additions & 1 deletion test/test_load_test_dca_config.json
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
{"project_name":"FAIR Data Load Test","synapse_asset_view":"syn52392410","data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld","template_menu_config_file":"dcc/demo/dca-template-config.json","logo_location":"dcc/demo/Logo_Sage_Logomark.png","logo_link":"https://synapse.org","manifest_output_format":"google_sheet","manifest_use_annotations":false,"validate_restrict_rules":false,"submit_use_schema_labels":true,"submit_table_manipulation":"replace","submit_manifest_record_type":"table_and_file","submit_hide_blanks":false,"use_compliance_dashboard":false,"primary_col":"#2a668d","secondary_col":"#184e71","sidebar_col":"#191919"}
{
"dcc": {
"project_name": "FAIR Data Load Test",
"synapse_asset_view": "syn52392410",
"data_model_url": "https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld",
"template_menu_config_file": "dcc/demo/dca-template-config.json",
"logo_location": "dcc/demo/Logo_Sage_Logomark.png",
"logo_link": "https://synapse.org"
},
"dca": {
"use_compliance_dashboard": false,
"primary_col": "#2a668d",
"secondary_col": "#184e71",
"sidebar_col": "#191919"
},
"schematic": {
"manifest_get.output_format": "google_sheet",
"manifest_get.use_annotations": false,
"model_validate.restrict_rules": false,
"model_submit.use_schema_labels": true,
"model_submit.table_manipulation": "replace",
"model_submit.manifest_record_type": "table_and_file",
"model_submit.hide_blanks": false
}
}
Loading

0 comments on commit 422491a

Please sign in to comment.