Sync proeprties
[aquarium] / src / main / resources / aquarium.properties
1 version = 0.0.2-SNAPSHOT
2
3 # Location of the Aquarium accounting policy config file. If commented
4 # out, Aquarium will look for the file policy.yaml first at the program
5 # starting directory and then fall back to the classpath.
6 aquarium.policy = policy.yaml
7
8 # Location of the file that defines the mappings between
9 # user roles and agreements
10 aquarium.role-agreement.map=role-agreement.map
11
12 ### Queue related settings
13
14 # Comma separated list of amqp servers to use. The servers must be in an
15 # active-active mode.
16 amqp.servers=localhost
17
18 # Port for connecting to the AMQP server
19 amqp.port=5672
20
21 # User name for connecting with the AMQP server
22 amqp.username=aquarium
23
24 # Passwd for connecting with the AMQP server
25 amqp.passwd=aquarium
26
27 # Virtual host on the AMQP server
28 amqp.vhost=/
29
30 # Queue declarations for receiving resource events.
31 # Format is "exchange:routing.key:queue". Entries are separated by ;
32 amqp.resevents.queues=pithos:pithos.resource.#:aquarium-pithos-resevents;cyclades:cyclades.resource.#:aquarium-cyclades-resevents
33
34 # Queue declarations for receiving IM events, format is "exchange:routing.key:queue"
35 amqp.userevents.queues=exch:*.resource.#:aquarium-resevents
36
37 # REST service listening port
38 rest.port=8888
39
40 ### Message store related settings
41
42 # Provider for persistence services.
43 # Currently one of: mongo
44 persistence.provider=mongodb
45
46 # Hostname for the persistence service
47 persistence.host=localhost
48
49 # Port for connecting to the persistence service
50 persistence.port=27017
51
52 # Username for connecting to the persistence service
53 persistence.username=aquarium
54
55 # Password for connecting to the persistence service
56 persistence.password=aquarium
57
58 ### Performance options
59
60 # Maximum number of open connections to MongoDB. Has no effect if
61 # another driver is in use
62 mongo.connection.pool.size=20
63
64 events.store.folder=events
65
66 #######
67 # DO NOT TOUCH the following options, unless you know what you are doing
68 #######
69
70 # Actor subsystem
71 actor.provider.class=gr.grnet.aquarium.actor.SimpleLocalActorProvider
72 # Class that initializes the REST service
73 rest.service.class=gr.grnet.aquarium.rest.actor.RESTActorService
74 # Store subsystem
75 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
76 # Override the user store (if present, it will not be given by the store provider above)
77 #user.state.store.class=gr.grnet.aquarium.store.memory.MemStorede the event store (if present, it will not be given by the store provider above)
78 #resource.event.store.class=
79 # Override the WalletEntry store (if present, it will not be given by the store provider above)
80 #wallet.entry.store.class=
81 # Override the user event store (if present, it will not be given by the store provider above)
82 #user.event.store.class=
83 # Override the user event store (if present, it will not be given by the store provider above)
84 #policy.store.class=
85
86 # The lower mark for the UserActors' LRU, managed by UserActorManager.
87 user.actor.LRU.lower.mark=800
88 # The upper mark for the UserActors' LRU, managed by UserActorManager.
89 user.actors.LRU.upper.mark=1000
90
91 # A time period in milliseconds for which we can tolerate stale data regarding user state.
92 user.state.timestamp.threshold=10000
93
94 # Exchnage used by Aquarium to publish messages
95 amqp.exchange=aquarium
96
97 # The name of the DB schema to use
98 persistence.db=aquarium