|
|
|
There are various properties files that we use to configure the shells for testing. Currently, there are 3: intake.properties, ingest.properties, and replication.properties.
|
|
|
|
|
|
|
|
##### Intake Properties
|
|
|
|
|
|
|
|
Since the intake-shell is only a mock service, the properties file for it represents the bare necessities:
|
|
|
|
|
|
|
|
* node.name
|
|
|
|
- The name of the node in Chronopolis (ie: ncar, sdsc, or umiacs)
|
|
|
|
* node.storage.bags
|
|
|
|
- The location on disk where bags are kept (ex: /tmp/bags)
|
|
|
|
- Should also be accessible from the replication server
|
|
|
|
* node.exchange
|
|
|
|
- The AMQP exchange to connect to (defaults to chronopolis-control)
|
|
|
|
- Will be deprecated in the future
|
|
|
|
* node.inbound.routing.key
|
|
|
|
- The routing key for the AMQP queue for receiving messages
|
|
|
|
- Will be deprecated, as the mock service does not receive any messages
|
|
|
|
* node.broadcast.routing.key
|
|
|
|
- The routing key when broadcasting AMQP messages
|
|
|
|
- Will be deprecated, this is not defined in code
|
|
|
|
|
|
|
|
##### Ingest Properties
|
|
|
|
|
|
|
|
The ingest-shell is undergoing development so the properties may not be stable for the time being (current date 07/09/2014)
|
|
|
|
|
|
|
|
* chron.nodes
|
|
|
|
- The set of all nodes in the chronopolis network
|
|
|
|
* node.name
|
|
|
|
- Same as intake
|
|
|
|
* node.storage.bags
|
|
|
|
- Same as intake
|
|
|
|
* node.storage.tokens
|
|
|
|
- The location on disk where token stores will be written to (ex: /tmp/tokens)
|
|
|
|
- Should also be accessible from the replication server
|
|
|
|
* node.replication.server
|
|
|
|
- The server which a replicating service will connect to in order to pull bags and tokens (ex: chronopolis-sage.umiacs.umd.edu)
|
|
|
|
* node.external.user
|
|
|
|
- The user a replicating service will connect as (ex: chrono)
|
|
|
|
- TODO: rename to node.replication.user to match the above
|
|
|
|
* ace.ims.host
|
|
|
|
- The IMS host to use for generating tokens (ex: ims.umiacs.umd.edu)
|
|
|
|
* dpn.push
|
|
|
|
- For dpn integration, will send a replication-init-query if set to true in the future
|
|
|
|
* smtp.host
|
|
|
|
- The smtp host/domain to use when create e-mail messages (ex: localhost.localdomain)
|
|
|
|
* smtp.to
|
|
|
|
- The address which e-mails should be sent to (ex: chron-support@sdsc.edu)
|
|
|
|
* smtp.from
|
|
|
|
- Will likely be removed
|
|
|
|
|
|
|
|
##### Replication Properties
|
|
|
|
|
|
|
|
* node.name
|
|
|
|
- Same as intake
|
|
|
|
* node.storage.bags
|
|
|
|
- The area which bags are replicated to (ex: /preservation/bags)
|
|
|
|
- TODO: Rename so there is no conflict with the temporary spaces in ingest/intake
|
|
|
|
* node.exchange
|
|
|
|
- The AMQP exchange to connect to
|
|
|
|
- To be deprecated
|
|
|
|
* ace.fqdn
|
|
|
|
- The fully qualified domain name in order to connect to ace (ex: chron-monitor.umiacs.umd.edu)
|
|
|
|
* ace.path
|
|
|
|
- The path ace deploys to in Tomcat (ex: ace-am)
|
|
|
|
* ace-user
|
|
|
|
- The user to connect as in order to run administrative tasks in ace (ex: admin)
|
|
|
|
* ace.pass
|
|
|
|
- The password for the ace.user field (ex: admin)
|
|
|
|
* ace.port
|
|
|
|
- The port tomcat is running on (ex: 8080)
|
|
|
|
* smtp.host
|
|
|
|
- Same as ingest
|
|
|
|
* smtp.to
|
|
|
|
- Same as ingest
|
|
|
|
* smtp.from
|
|
|
|
- Same as ingest |
|
|
\ No newline at end of file |