X-Git-Url: https://code.grnet.gr/git/aquarium/blobdiff_plain/04842ee9e24faa175d57bc019e5a8fff30ec45b1..f98a722e8458fc3534c00bf99c16515c122d70f6:/src/test/resources/aquarium.properties diff --git a/src/test/resources/aquarium.properties b/src/test/resources/aquarium.properties index ce820cb..c1f730a 100644 --- a/src/test/resources/aquarium.properties +++ b/src/test/resources/aquarium.properties @@ -11,69 +11,80 @@ aquarium.role-agreement.map=role-agreement.map ### Queue related settings -# Comma separated list of amqp servers to use. The servers must be in an +# How often do we attemot a reconnection? +rabbitmq.reconnect.period.millis=1000 + +# Comma separated list of rabbitmq servers to use. The servers must be in an # active-active mode. -amqp.servers=localhost +rabbitmq.servers=localhost -# Comma separated list of amqp servers to use. The servers must be in an +# Comma separated list of rabbitmq servers to use. The servers must be in an # active-active mode. -amqp.port=5672 +rabbitmq.port=5672 # User name for connecting with the AMQP server -amqp.username=aquarium +rabbitmq.username=guest # Passwd for connecting with the AMQP server -amqp.passwd=aquarium +rabbitmq.passwd=guest # Virtual host on the AMQP server -amqp.vhost=/ +rabbitmq.vhost=/ # Queue declarations for receiving resource events. -# Format is "exchange:routing.key:queue". Entries are separated by ; -amqp.resevents.queues=pithos:pithos.resource.#:aquarium-pithos-resevents;cyclades:cyclades.resource.#:aquarium-cyclades-resevents +# Format is "exchange:routing.key:queue". Entries are separated by comma ',' +rabbitmq.rcevents.queues=pithos:pithos.resource.#:aquarium-pithos-rcevents,cyclades:cyclades.resource.#:aquarium-cyclades-rcevents # Queue declarations for receiving IM events, format is "exchange:routing.key:queue" -amqp.userevents.queues=astakos:astakos.user:aquarium-userevents +rabbitmq.imevents.queues=astakos:astakos.user:aquarium-imevents # REST service listening port rest.port=8888 ### Message store related settings -# Provider for persistence services. -# Currently one of: mongo -persistence.provider=mongodb - # Hostname for the persistence service -persistence.host=localhost +mongodb.host=127.0.0.1 # Port for connecting to the persistence service -persistence.port=27017 +mongodb.port=27017 # Username for connecting to the persistence service -persistence.username=aquarium +mongodb.username=aquarium # Password for connecting to the persistence service -persistence.password=aquarium +mongodb.password=aquarium + +# The name of the DB schema to use +mongodb.dbschema=aquarium ### Performance options # Maximum number of open connections to MongoDB. Has no effect if # another driver is in use -mongo.connection.pool.size=20 +mongodb.connection.pool.size=20 # Relative to AQUARIUM_HOME or an absolute path events.store.folder=../events-store +# Store resource events to events.store.folder as well +events.store.save.rc.events=true + +# Store IM events to events.store.folder as well +events.store.save.im.events=true + +# How often do we attempt a reconnection to the store(s)? +anystore.reconnect.period.millis=1000 + ####### # DO NOT TOUCH the following options, unless you know what you are doing ####### # Actor subsystem -actor.provider.class=gr.grnet.aquarium.actor.SimpleLocalActorProvider +actor.provider.class=gr.grnet.aquarium.service.SimpleLocalRoleableActorProviderService # Class that initializes the REST service -rest.service.class=gr.grnet.aquarium.rest.actor.RESTActorService +rest.service.class=gr.grnet.aquarium.service.RESTActorService # Store subsystem store.provider.class=gr.grnet.aquarium.store.mongodb.MemStore @@ -84,33 +95,30 @@ user.state.store.class=gr.grnet.aquarium.store.memory.MemStore # Override the event store (if present, it will not be given by the store provider above) resource.event.store.class=gr.grnet.aquarium.store.memory.MemStore -# Override the WalletEntry store (if present, it will not be given by the store provider above) -wallet.entry.store.class=gr.grnet.aquarium.store.memory.MemStore - # Override the user event store (if present, it will not be given by the store provider above) user.event.store.class=gr.grnet.aquarium.store.memory.MemStore # Override the user event store (if present, it will not be given by the store provider above) policy.store.class=gr.grnet.aquarium.store.memory.MemStore -# The lower mark for the UserActors' LRU, managed by UserActorManager. +# The lower mark for the UserActors' LRU. user.actor.LRU.lower.mark=800 -# The upper mark for the UserActors' LRU, managed by UserActorManager. +# The upper mark for the UserActors' LRU. user.actors.LRU.upper.mark=1000 # A time period in milliseconds for which we can tolerate stale data regarding user state. user.state.timestamp.threshold=10000 # Comma separated list of exchanges known to aquarium -amqp.exchange=aquarium - -# The name of the DB schema to use -persistence.db=aquarium +rabbitmq.exchange=aquarium # This is an absolute constant for the lifetime of an Aquarium installation. # 1 means that every second counts time.unit.in.seconds = 1 # Save unparsed user events to user event store -ack.unparsed.event.im=false \ No newline at end of file +ack.unparsed.event.im=false + +# Administrative REST API authorization cookie +admin.cookie=1 \ No newline at end of file