Skip to content

Commit

Permalink
fix(catalogue): add UMCG template loader (#4466)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendaHijmans authored Nov 21, 2024
1 parent 0847fc9 commit 7e49563
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions apps/central/src/components/SchemaCreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default {
"DATA_CATALOGUE",
"DATA_CATALOGUE_COHORT_STAGING",
"DATA_CATALOGUE_NETWORK_STAGING",
"UMCG_COHORT_STAGING",
"UMCU_COHORTS_STAGING",
"RD3",
"JRC_COMMON_DATA_ELEMENTS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
public class DataModels {

public enum Profile {
DATA_CATALOGUE("_profiles/DataCatalogue.yaml"),
DATA_CATALOGUE_COHORT_STAGING("_profiles/CohortsStaging.yaml"),
DATA_CATALOGUE_NETWORK_STAGING("_profiles/NetworksStaging.yaml"),
DATA_CATALOGUE_AGGREGATES("_profiles/DataCatalogueAggregates.yaml"),
DATA_CATALOGUE("_profiles/DataCatalogue.yaml"),
UMCG_COHORT_STAGING("_profiles/UMCGCohortsStaging.yaml"),
UMCU_COHORTS_STAGING("_profiles/UMCUCohorts.yaml"),
FAIR_DATA_HUB("_profiles/FAIRDataHub.yaml"),
RD3("_profiles/RD3.yaml"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
resource,role,first name,last name,prefix,initials,title,organisation,email,orcid,homepage,photo,photo_filename,expertise
testCohort,"Principal Investigator,Primary contact",Morris,Swertz,,,,UMCG,m.a.swertz@rug.nl,0000-0002-0979-3401,https://www.rug.nl/staff/m.a.swertz/,,,edit
resource,role,first name,last name,prefix,initials,title,organisation,email,orcid,homepage,photo,photo_filename,expertise,statement of consent personal data,statement of consent email
testCohort,"Principal Investigator,Primary contact",Morris,Swertz,,,,UMCG,m.a.swertz@rug.nl,0000-0002-0979-3401,https://www.rug.nl/staff/m.a.swertz/,,,edit,TRUE,TRUE
10 changes: 7 additions & 3 deletions data/_profiles/UMCGCohortsStaging.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
---
name: Staging area for filling out UMCG cohort metadata
name: UMCGCohortsStaging
description: "Staging area for filling out UMCG cohort metadata"

profileTags: UMCGCohortsStaging

# demoData: _demodata/applications/datacatalogue
demoData: _demodata/applications/datacatalogue_cohortstaging

#settings: _settings/datacatalogue

# special options
# setViewPermission: anonymous
ontologiesToFixedSchema: CatalogueOntologies
setFixedSchemaViewPermission: anonymous
firstCreateSchemasIfMissing:
- name: UMCG
profile: _profiles/DataCatalogue.yaml
importDemoData: false

0 comments on commit 7e49563

Please sign in to comment.