|
|
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.
|
|
Currently we follow the standard from spring-boot and provide an application.properties file. This allows us
|
|
|
|
|
to do provide default values for the properties, and reduce the amount of code in some places.
|
|
|
Note: The schema for properties is currently in flux from [Issue-6](https://adapt.umiacs.umd.edu/gitlab/chronopolis/chronopolis-core/issues/6)
|
|
|
|
|
|
|
Any properties which are unique to a service can still be included in the application.properties, and services
|
|
|
### Intake Properties
|
|
which don't use them will simply ignore them.
|
|
|
|
|
|
|
|
Since the intake-shell is only a mock service, the properties file for it represents the bare necessities:
|
|
### Properties
|
|
|
|
|
|
|
|
* node.name
|
|
#### General chronopolis configuration
|
|
|
- The name of the node in Chronopolis (ie: ncar, sdsc, or umiacs)
|
|
* chron.node=umiacs
|
|
|
* node.storage.bags
|
|
* chron.stage.bags=/scratch1/staging
|
|
|
- The location on disk where bags are kept (ex: /tmp/bags)
|
|
* chron.stage.tokens=/scratch1/tokens
|
|
|
- Should also be accessible from the replication server
|
|
* chron.stage.restore=/scratch1/restore
|
|
|
* node.exchange
|
|
* chron.storage.preservation=/scratch1/chron_storage
|
|
|
- The AMQP exchange to connect to (defaults to chronopolis-control)
|
|
|
|
|
- Will be deprecated in the future
|
|
#### ACE IMS configuration
|
|
|
* node.inbound.routing.key
|
|
* ace.ims.host=ims.umiacs.umd.edu
|
|
|
- The routing key for the AMQP queue for receiving messages
|
|
|
|
|
- Will be deprecated, as the mock service does not receive any messages
|
|
#### ACE AM configuration
|
|
|
* node.broadcast.routing.key
|
|
* ace.am.host=localhost
|
|
|
- The routing key when broadcasting AMQP messages
|
|
* ace.am.port=8080
|
|
|
- Will be deprecated, this is defined in the code as an enum now
|
|
* ace.am.path=ace-am
|
|
|
* node.virtual.host
|
|
* ace.am.user=admin
|
|
|
- The virtual host to connect to of the RabbitMQ broker
|
|
* ace.am.password=admin
|
|
|
|
|
* ace.am.validate=false
|
|
|
### Ingest Properties
|
|
|
|
|
|
|
#### Ingest configuration
|
|
|
The ingest-shell is undergoing development so the properties may not be stable for the time being (current date 07/09/2014)
|
|
* ingest.nodes=ncar,sdsc,umiacs
|
|
|
|
|
* ingest.replication.server=chronopolis-stage.umiacs.umd.edu
|
|
|
* chron.nodes
|
|
* ingest.external.user=chrono
|
|
|
- The set of all nodes in the chronopolis network
|
|
* ingest.dpn=false
|
|
|
* node.name
|
|
|
|
|
- Same as intake
|
|
#### Duracloud integration
|
|
|
* node.storage.bags
|
|
* ingest.stage.duracloud=/export/duraspace/snapshots
|
|
|
- Same as intake
|
|
|
|
|
* node.storage.tokens
|
|
#### SMTP Configuration
|
|
|
- The location on disk where token stores will be written to (ex: /tmp/tokens)
|
|
* smtp.host=localhost.localdomain
|
|
|
- Should also be accessible from the replication server
|
|
* smtp.to=chron-support@sdsc.edu
|
|
|
* node.replication.server
|
|
* smtp.from=localhost
|
|
|
- The server which a replicating service will connect to in order to pull bags and tokens (ex: chronopolis-sage.umiacs.umd.edu)
|
|
* smtp.send=false
|
|
|
* node.external.user
|
|
|
|
|
- The user a replicating service will connect as (ex: chrono)
|
|
#### RabbitMQ/AMQP Configuration
|
|
|
- TODO: rename to node.replication.user to match the above
|
|
* amqp.virtual.host=chronopolis
|
|
|
* ace.ims.host
|
|
* amqp.exchange=chronopolis-control
|
|
|
- The IMS host to use for generating tokens (ex: ims.umiacs.umd.edu)
|
|
* amqp.address=adapt-mq.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
|
|
|
|
|
* node.virtual.host
|
|
|
|
|
- The virtual host to connect to of the RabbitMQ broker
|
|
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|
* node.virtual.host
|
|
|
|
|
- The virtual host to connect to of the RabbitMQ broker
|
|
|
|
|
|
|
|
|
|
--------------------------
|
|
|
|
|
#### TODO
|
|
|
|
|
* List the default values for propeties if they are missing |
|
|
|
\ No newline at end of file |
|
|