All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.system-config.json Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
{
    "version": "1.1.0.1",
    "redbox.version.string": "${redbox.version}",
    "redbox.identity": {
        "institution": "University of Newcastle",
        "RIF-CS Group": "The University of Newcastle, Australia",
        "internalGrantString": "urn:uon:internal"
    },
    "configured": true,
    "urlBase": "${server.url.base}",
    "email": "DO_NOT_CHANGE",
    "sso": {
        "plugins": [],
        "urlExclusions": {
            "startsWith": ["css/", "feed/", "images/", "js/", "flowplayer/"],
            "endsWith": [".ico"],
            "equals": ["css"]
        },
        "trustTokens": {
        }
    },
    "accesscontrol": {
        "type": "derby",
        "derby": {
        }
    },
    "authentication": {
        "type": "internal",
        "internal": {
            "path": "${fascinator.home}/security/users.properties"
        }
    },
    "roles": {
        "type": "internal",
        "internal": {
            "path": "${fascinator.home}/security/roles.properties"
        }
    },
    "storage": {
        "type": "file-system",
        "file-system": {
            "home": "${storage.home}"
        }
    },
    "messaging": {
        "url": "tcp://localhost:${amq.port}",
        "stompUrl": "stomp://localhost:${amq.stomp.port}",
        "home": "${fascinator.home}/activemq-data",
        "startup": {
            "delay": "5000",
            "timer": "15000"
        },
        "statistics": {
            "enabled": true,
            "destination": "houseKeeping"
        },
        "toolChainQueue": "transactionManager",
        "threads": [
            {
                "id": "transactionManager",
                "description": "Transaction Manager Queue for complicated tool chains.",
                "priority": "5",
                "config": {
                    "name": "transactionManager",
                    "transactionManagerPlugin": "curation-redbox"
                }
            },
            {
                "id": "subscriber",
                "description": "Subscriber queue for event log.",
                "priority": "7",
                "config": {
                    "name": "subscriber",
                    "subscribers": ["solr-event-log"]
                }
            },
            {
                "id": "solrwrapper",
                "description": "Wrapper for ingest into main Solr core.",
                "priority": "5",
                "config": {
                    "name": "solrwrapper"
                }
            },
            {
                "id": "emailnotification",
                "description": "Queue to send email notifications",
                "priority": "8",
                "config": {
                    "name": "emailnotification",
                    "debug": false,
                    "from": {
                        "email": "${admin.email}",
                        "name": "ReDBox"
                    },
                    "smtp": {
                        "host": "${smtp.host}"
                    },
                    "defaults": {
                        "subject": "Notification",
                        "body": "Default email message"
                    }
                }
            }
        ]
    },
    "andsDoi": {
        "apiKey": "1234",
        "apiBaseUrl": "https://services.ands.org.au/doi/1.1/",
        "doiProperty": "andsDoi",
        "security": {
            "users": [],
            "roles": ["admin"]
        }
    },
    "curation": {
        "curationEmailAddress": "${admin.email}",
        "curationRequiresConfirmation": false,
        "pidProperty": "vitalHandle",
        "pidType": "handle",
        "mintBroker": "${mint.amq.broker}",

        "relations": {
            "dc:relation.vivo:Dataset.0.dc:identifier": {
                "path": ["dc:relation", "vivo:Dataset"],
                "identifier": ["dc:identifier"],
                "relationship": ["vivo:Relationship", "rdf:PlainLiteral"],
                "excludeCondition": {
                    "path": ["redbox:publish"],
                    "value": ""
                },
                "system": "redbox",
                "optional": true
            },
            "dc:relation.vivo:Service.0.dc:identifier": {
                "path": ["dc:relation", "vivo:Service"],
                "identifier": ["dc:identifier"],
                "relationship": ["vivo:Relationship", "rdf:PlainLiteral"]
            },
            "dc:creator.foaf:Person.0.dc:identifier": {
                "path": ["dc:creator", "foaf:Person"],
                "identifier": ["dc:identifier"],
                "excludeCondition": {
                    "path": ["dc:identifier"],
                    "startsWith": "http://nla.gov.au/nla.party-"
                },
                "relationship": "hasCollector"
            },
            "locrel:prc.foaf:Person.dc:identifier": {
                "path": ["locrel:prc", "foaf:Person"],
                "identifier": ["dc:identifier"],
                "excludeCondition": {
                    "path": ["dc:identifier"],
                    "startsWith": "http://nla.gov.au/nla.party-"
                },
                "relationship": "hasAssociationWith",
                "description": "Primary Contact"
            },
            "swrc:supervisor.foaf:Person.0.dc:identifier": {
                "path": ["swrc:supervisor", "foaf:Person"],
                "identifier": ["dc:identifier"],
                "excludeCondition": {
                    "path": ["dc:identifier"],
                    "startsWith": "http://nla.gov.au/nla.party-"
                },
                "relationship": "hasAssociationWith",
                "description": "Supervisor"
            },
            "foaf:Organization.dc:identifier": {
                "path": ["foaf:Organization"],
                "identifier": ["dc:identifier"],
                "relationship": "isManagedBy"
            },
            "foaf:fundedBy.vivo:Grant.0.dc:identifier": {
                "path": ["foaf:fundedBy", "vivo:Grant"],
                "identifier": ["dc:identifier"],
                "relationship": "isOutputOf",
                "excludeCondition": {
                    "path": ["redbox:internalGrant"],
                    "value": "on"
                }
            }
        },
        "reverseMappings": {
            "describes": "isDescribedBy",
            "hasPart": "isPartOf",
            "hasAssociationWith": "hasAssociationWith",
            "hasCollector": "isCollectorOf",
            "isDescribedBy": "describes",
            "isLocatedIn": "isLocationFor",
            "isLocationFor": "isLocatedIn",
            "isManagedBy": "isManagerOf",
            "isOutputOf": "hasOutput",
            "isOwnedBy": "isOwnerOf",
            "isPartOf": "hasPart",
            "supports": "isSupportedBy",
            "isEnrichedBy": "enriches",
            "isDerivedFrom": "hasDerivedCollection",
            "hasDerivedCollection": "isDerivedFrom"
        }
    },
    "indexer": {
        "type": "solr",
        "properties": "TF-OBJ-META",
        "useCache": true,
        "buffer": {
            "docLimit": "200",
            "sizeLimit": "204800",
            "timeLimit": "30"
        },
        "solr": {
            "uri": "http://localhost:${jetty.port}/solr/fascinator",
            "coreName": "fascinator",
            "autocommit": false,
            "embedded": false
        },
        "anotar": {
            "uri": "http://localhost:${jetty.port}/solr/anotar",
            "coreName": "anotar",
            "autocommit": true
        }
    },
    "transformerDefaults": {
        "vital": {
            "id": "vital",
            "tempDir": "${java.io.tmpdir}/rbvital",
            "foxmlTemplate": "${fascinator.home}/vital/foxml_template_fedora3.xml",
            "waitConditions": {
                "property": "published"
            },
            "failure": {
                "emailQueue": "emailnotification",
                "emailAddress": ["${admin.email}"],
                "emailSubject": "VITAL Integration Failed",
                "emailTemplate": "This is an automated message from ReDBox.\n\nThe record titled: '[[TITLE]]' has had an error occur during transmission to VITAL.\n\nThe record's detail page is here: ${server.url.base}default/detail/[[OID]]\n\nError details are below:\n[[MESSAGE]]\n\n====================\n\n[[ERROR]]"
            },
            "server": {
                "url": "http://localhost:8888/fedora/",
                "username": "fedoraAdmin",
                "password": "fedoraAdmin",
                "namespace": "redbox",
                "message": "Datastream update from ReDBox '[[OID]]'",
                "timeout": "15",
                "publishedDomain": "hdl.handle.net"
            },
            "dataStreams": {
                "marc.xml": {
                    "dsID": "MARC",
                    "label": "MARC",
                    "status": "A",
                    "controlGroup": "X",
                    "versionable": true,
                    "retainIds": true
                },
                "oai_dc.xml": {
                    "dsID": "DC",
                    "label": "Dublin Core Metadata",
                    "status": "A",
                    "controlGroup": "X",
                    "versionable": true,
                    "retainIds": true
                },
                "rif.xml": {
                    "dsID": "RIF",
                    "label": "RIF-CS Metadata",
                    "status": "A",
                    "controlGroup": "X",
                    "versionable": true,
                    "retainIds": true
                },
                ".tfpackage": {
                    "dsID": "REDBOX",
                    "label": "ReDBox Form Data",
                    "status": "I",
                    "controlGroup": "M",
                    "versionable": true,
                    "retainIds": true
                }
            },
            "attachments": {
                "dsID": "ATTACHMENT%02d",
                "statusField": "access_rights",
                "status": {
                    "private": "I",
                    "public": "A"
                },
                "labelField": "attachment_type",
                "label": {
                    "data-file": "Data file",
                    "readme": "Read me",
                    "supporting-material": "Supporting material"
                },
                "controlGroup": "M",
                "versionable": false,
                "altIds": {
                    "application/pdf": [
                        "info:vital/synchronize/jhove#JHOVE%d",
                        "info:vital/synchronize/premis#PREMIS%d",
                        "info:vital/synchronize/fulltext#FULLTEXT%d",
                        "info:vital/synchronize/thumbnail#THUMBNAIL"
                    ],
                    "image/": [
                        "info:vital/synchronize/jhove#JHOVE%d",
                        "info:vital/synchronize/premis#PREMIS%d",
                        "info:vital/synchronize/thumbnail#THUMBNAIL"
                    ],
                    "text/": [
                        "info:vital/synchronize/jhove#JHOVE%d",
                        "info:vital/synchronize/premis#PREMIS%d",
                        "info:vital/synchronize/fulltext#FULLTEXT%d"
                    ],
                    "default": [
                        "info:vital/synchronize/jhove#JHOVE%d",
                        "info:vital/synchronize/premis#PREMIS%d"
                    ]
                },
                "retainIds": true
            }
        },
        "jsonVelocity": {
            "id": "jsonVelocity",
            "sourcePayload": ".tfpackage",
            "templatesPath": "${fascinator.home}/templates"
        }
    },
    "uploader": {
        "attachment-upload":{
            "screen-label": "Attachment Upload",
            "security": ["librarian", "reviewer", "admin"],
            "upload-path": "${fascinator.home}/uploads/attachments",
            "json-config": "${fascinator.home}/harvest/workflows/attachment.json"
        },
        "notify": {
            "screen-label": "Notify us about a dataset",
            "security": ["guest", "librarian", "reviewer", "admin"],
            "upload-path": "${fascinator.home}/uploads/submissions",
            "json-config": "${fascinator.home}/harvest/workflows/dataset.json",
            "upload-template": "workflows/submission"
        }
    },
    "mime-types": {
        "tfpackage": "application/x-fascinator-package"
    },
    "database-service": {
        "derbyHome": "${fascinator.home}/database"
    },
    "portal": {
        "home": "${portal.home}",
        "contentDir": "${fascinator.home}/content",
        "defaultView": "default",
        "sessionTimeout": "60",
        "skins": {
            "default": "default",
            "order": [ "local", "redbox" ]
        },
        "caching": {
            "caches": {
                "scriptObjects": {
                    "label": "Cache for Jython scripts",
                    "profile": "dynamic",
                    "lastModifiedCheck": true
                },
                "pathLookup": {
                    "label": "Cache for path lookups",
                    "profile": "full"
                }
            },
            "profiles": {
                "default": {
                    "label": "Factory defaults",
                    "refreshIntervalSeconds": 30,
                    "maxElementsInMemory": 10000,
                    "eternal": false,
                    "timeToIdleSeconds": 120,
                    "timeToLiveSeconds": 120,
                    "overflowToDisk": false,
                    "maxElementsOnDisk": 10000,
                    "diskPersistent": false,
                    "memoryStoreEvictionPolicy": "LRU"
                },
                "off": {
                    "label": "Disabled",
                    "maxElementsInMemory": 10000,
                    "eternal": false,
                    "timeToIdleSeconds": 1,
                    "timeToLiveSeconds": 1,
                    "overflowToDisk": false,
                    "maxElementsOnDisk": 1,
                    "diskPersistent": false,
                    "memoryStoreEvictionPolicy": "LRU"
                },
                "dynamic": {
                    "label": "Dynamic - Caches are refreshed periodically",
                    "maxElementsInMemory": 25000,
                    "eternal": false,
                    "timeToIdleSeconds": 120,
                    "timeToLiveSeconds": 300,
                    "overflowToDisk": false,
                    "maxElementsOnDisk": 25000,
                    "diskPersistent": false,
                    "memoryStoreEvictionPolicy": "LRU"
                },
                "full": {
                    "label": "Full - Caches never expire",
                    "maxElementsInMemory": 100000,
                    "eternal": true,
                    "timeToIdleSeconds": 0,
                    "timeToLiveSeconds": 0,
                    "overflowToDisk": true,
                    "maxElementsOnDisk": 100000,
                    "diskPersistent": false,
                    "memoryStoreEvictionPolicy": "LRU"
                }
            }
        },
        "layout": "layout",
        "nativeJython": true,
        "packageTypes": {
            "default": {
                "jsonconfig": "packaging-config.json",
                "packages-in-package": false
            },
            "dataset": {
                "jsonconfig": "dataset.json",
                "packages-in-package": false
            }
        },
        "harvestFiles": "${fascinator.home}/harvest",
        "houseKeeping": {
            "config": {
                "quartzConfig": "${fascinator.home}/quartz.properties",
                "desktop": true,
                "frequency": "3600",
                "jobs": [
                    {
                        "name": "vital-handles",
                        "type": "external",
                        "url": "http://localhost:${jetty.port}/redbox/default/hkjobs/vital.script",
                        "timing": "0 0/15 * * * ?"
                    },
                    {
                        "name": "alerts-poll",
                        "type": "external",
                        "url": "http://localhost:${jetty.port}/redbox/default/hkjobs/alerts.py",
                        "timing": "0 0/15 * * * ?"
                    }
                ]
            }
        },
        "oai-pmh": {
            "sessionExpiry": "300000",
            "metadataFormats": {
                "oai_dc": {
                    "enabledInAllViews": false,
                    "enabledViews": ["published"],
                    "schema": "http://www.openarchives.org/OAI/2.0/oai_dc.xsd",
                    "metadataNamespace": "http://www.openarchives.org/OAI/2.0/oai_dc/"
                },
                "eac_cpf": {
                    "enabledInAllViews": false,
                    "enabledViews": ["published"],
                    "schema": "urn:isbn:1-931666-33-4 http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd",
                    "metadataNamespace": "urn:isbn:1-931666-33-4"
                },
                "rif": {
                    "enabledInAllViews": false,
                    "enabledViews": ["published"],
                    "schema": "http://ands.org.au/standards/rif-cs/registryObjects http://services.ands.org.au/home/orca/schemata/registryObjects.xsd",
                    "metadataNamespace": "http://ands.org.au/standards/rif-cs/registryObjects"
                },
                "marc": {
                    "enabledInAllViews": false,
                    "enabledViews": ["published"],
                    "schema": "http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd",
                    "metadataNamespace": "http://www.loc.gov/MARC21/slim"
                }
            }
        }
    },
    "proxy-urls": {
        "Activities": "${mint.proxy.url}/Activities/opensearch/lookup",
        "ANZSRC_FOR": "${mint.proxy.url}/ANZSRC_FOR/opensearch/lookup",
        "ANZSRC_SEO": "${mint.proxy.url}/ANZSRC_SEO/opensearch/lookup",
        "Languages": "${mint.proxy.url}/Languages/opensearch/lookup",
        "Funding_Bodies": "${mint.proxy.url}/Funding_Bodies/opensearch/lookup",
        "Parties_Groups": "${mint.proxy.url}/Parties_Groups/opensearch/lookup",
        "Parties_People": "${mint.proxy.url}/Parties_People/opensearch/lookup",
        "Services": "${mint.proxy.url}/Services/opensearch/lookup",
        "Geonames": "${mint.proxy.server}/geonames/search",
        "NLA_SRU": "${mint.proxy.url}/default/search/nlaLookup"
    },
    "alerts": {
        "path": "${fascinator.home}/alerts",
        "xmlMaps": {
            "xml": "${fascinator.home}/alerts/config/basicXmlMap.json",
            "rif": "${fascinator.home}/alerts/config/rifXmlMap.json"
        }
    },
    "subscriber": {
        "solr-event-log": {
            "uri": "http://localhost:${jetty.port}/solr/eventlog",
            "buffer": {
                "docLimit": "200",
                "sizeLimit": "204800",
                "timeLimit": "30"
            }
        }
    },
    "restoreTool": {
        "harvestRemap": {
            "enabled": false,
            "allowOlder": false,
            "failOnMissing": false
        },
        "migrationScript": "${fascinator.home}/restore/redboxMigration1.5.py"
    },
    "services": [
           {
           "id": "languageService",
           "className": "com.googlecode.fascinator.portal.services.impl.JavaPropertiesLanguageService",
           "config": {
               "propertiesDir": "${fascinator.home}/language-files/"
           }
       },
    	{
    		"id":"reportManager",
    		"className":"com.googlecode.fascinator.portal.report.service.ReportManager",
    		"config": {
    			"home":"${fascinator.home}/reports/saved-reports"
    		}	
    	},
      {
    		"id":"reportStats",
    		"className":"com.googlecode.fascinator.portal.report.service.ReportStats",
    		"config": {
            "stats":[
              {
                "name":"redbox-all",
                "query":"*:*",
                "params": {
                  "fq":["item_type:\"object\""],
                  "rows":"100"
                },
                "fields":[
                  {
                    "name":"rb-total",                  
                    "label":"Records in ReDBox",
                    "solr_field":"numFound",
                    "solr_field_value":""                                                
                  },
                  { 
                    "name":"rb-collection",                
                    "label":"Records in ReDBox   - COLLECTION (type)",
                    "solr_field":"workflow_id",
                    "solr_field_value":"dataset"                
                  },
                  {                 
                    "name":"rb-collection-dataset",
                    "label":"Records in ReDBox - (Collection type) Dataset",
                    "solr_field":"dc_type",
                    "solr_field_value":"dataset"                
                  },
                  { 
                    "name":"rb-collection-collection",                 
                    "label":"Records in ReDBox - (Collection type) Collection",
                    "solr_field":"dc_type",
                    "solr_field_value":"collection"                
                  },
                  {
                    "name":"rb-collection-index",
                    "label":"Records in ReDBox - (Collection type) Catalogue or Index",
                    "solr_field":"dc_type",
                    "solr_field_value":"catalogueOrIndex"                
                  },
                  {                  
                    "name":"rb-collection-registry",
                    "label":"Records in ReDBox - (Collection type) Registry",
                    "solr_field":"dc_type",
                    "solr_field_value":"registry"                
                  },
                  {
                    "name":"rb-collection-repository",
                    "label":"Records in ReDBox - (Collection type) Repository",
                    "solr_field":"dc_type",
                    "solr_field_value":"repository"                
                  },
                  {                  
                    "name":"rb-workflow-published",
                    "label":"Records in ReDBox - (workflow) Published",
                    "solr_field":"workflow_step",
                    "solr_field_value":"live"                
                  },
                  {                  
                    "name":"rb-workflow-final",
                    "label":"Records in ReDBox - (workflow) Final Review",
                    "solr_field":"workflow_step",
                    "solr_field_value":"final-review"                
                  },
                  {                  
                    "name":"rb-workflow-metadata",
                    "label":"Records in ReDBox - (workflow) Metadata Review",
                    "solr_field":"workflow_step",
                    "solr_field_value":"metadata-review"                
                  },
                  {                  
                    "name":"rb-workflow-investigation",
                    "label":"Records in ReDBox - (workflow) Investigation",
                    "solr_field":"workflow_step",
                    "solr_field_value":"investigation"                
                  },
                  {                  
                    "name":"rb-workflow-retired",
                    "label":"Records in ReDBox - (workflow) Retired",
                    "solr_field":"workflow_step",
                    "solr_field_value":"retired"                
                  }
                ]                         
              }
            ]
          }         
        }
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy