Merge remote-tracking branch 'origin/master' into production

This commit is contained in:
Konstantinos Triantafyllou 2024-06-26 16:58:37 +03:00
commit 213775f81d
3 changed files with 6963 additions and 6009 deletions

View File

@ -1,7 +1,5 @@
load('library/initialize.js');
var aliasWithRole = ["met-eireann","mary-immaculate-college","technological-university-dublin","sport-ireland","dcu","irel","nda","ucd","rcsi","sfi","health-service-executive","hib","atu","ul","deptecc","tusla---child-and-family-agency","tcd","galway","maynooth","heanet","i-form-advanced-manufacturing-research-centre","rotunda-hospital","ucc","department-of-children-and-youth-affairs","dublin","marine-institute","seai","cit","setu","esri1","department-of-agriculture-food-and-the-marine","iph"];
function keepRPOsWithRole(aliasWithRole) {
var stakeholders = db.stakeholder.find({ alias: { $in: aliasWithRole } });
rpos = removeDuplicateIds(rpos, 'id');

View File

@ -61,6 +61,7 @@ function initializeRPOs(rpos) {
"visibility": "PUBLIC",
"topics": [],
"copy": false,
"standalone": true,
"defaultId": defaultRPO._id.valueOf()
}
db.stakeholder.save(stakeholder);
@ -90,6 +91,7 @@ function initializeRFOs(rfos) {
"visibility": "PUBLIC",
"topics": [],
"copy": false,
"standalone": true,
"defaultId": defaultRFO._id.valueOf()
}
db.stakeholder.save(stakeholder);
@ -114,6 +116,8 @@ function initializeDatasources(datasources) {
"locale": "EN",
"visibility": "PUBLIC",
"topics": [],
"copy": false,
"standalone": true,
"defaultId": defaultRepo._id.valueOf()
}
db.stakeholder.save(stakeholder);

File diff suppressed because it is too large Load Diff