home.process.processConfig.json Maven / Gradle / Ivy
[
{
"id":"notifyNewSubmission",
"pre" : [
{
"class":"com.googlecode.fascinator.portal.process.RecordProcessor",
"config":"${fascinator.home}/process/newRecords.json",
"inputKey":"",
"outputKey":"newOids"
}
],
"main" : [
{
"class":"com.googlecode.fascinator.portal.process.EmailNotifier",
"config":"${fascinator.home}/process/emailer.json",
"inputKey":"newOids",
"outputKey":"failedOids"
}
],
"post" : [
{
"class":"com.googlecode.fascinator.portal.process.RecordProcessor",
"config":"${fascinator.home}/process/newRecords.json",
"inputKey":"failedOids",
"outputKey":""
}
]
},
{
"id":"notifyApproval",
"pre" : [
{
"class":"com.googlecode.fascinator.portal.process.RecordProcessor",
"config":"${fascinator.home}/process/approvedRecords.json",
"inputKey":"",
"outputKey":"newOids"
}
],
"main" : [
{
"class":"com.googlecode.fascinator.portal.process.EmailNotifier",
"config":"${fascinator.home}/process/emailer.json",
"inputKey":"newOids",
"outputKey":"failedOids"
},
{
"class":"com.googlecode.fascinator.portal.process.HomeInstitutionNotifier",
"config":"${fascinator.home}/process/notification/homeInstitutions.json",
"inputKey":"newOids",
"outputKey":"failedOids"
}
],
"post" : [
{
"class":"com.googlecode.fascinator.portal.process.RecordProcessor",
"config":"${fascinator.home}/process/approvedRecords.json",
"inputKey":"failedOids",
"outputKey":""
}
]
}
]