Merge remote-tracking branch 'origin/master' into production
This commit is contained in:
commit
213775f81d
|
@ -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');
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue