Code reorganization
[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 # Relative to AQUARIUM_HOME or an absolute path
65 events.store.folder=../events-store
66
67 #######
68 # DO NOT TOUCH the following options, unless you know what you are doing
69 #######
70
71 # Actor subsystem
72 actor.provider.class=gr.grnet.aquarium.actor.provider.SimpleLocalActorProvider
73 # Class that initializes the REST service
74 rest.service.class=gr.grnet.aquarium.service.RESTActorService
75 # Store subsystem
76 store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
77 # Override the user store (if present, it will not be given by the store provider above)
78 #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)
79 #resource.event.store.class=
80 # Override the WalletEntry store (if present, it will not be given by the store provider above)
81 #wallet.entry.store.class=
82 # Override the user event store (if present, it will not be given by the store provider above)
83 #user.event.store.class=
84 # Override the user event store (if present, it will not be given by the store provider above)
85 #policy.store.class=
86
87 # The lower mark for the UserActors' LRU, managed by UserActorManager.
88 user.actor.LRU.lower.mark=800
89 # The upper mark for the UserActors' LRU, managed by UserActorManager.
90 user.actors.LRU.upper.mark=1000
91
92 # A time period in milliseconds for which we can tolerate stale data regarding user state.
93 user.state.timestamp.threshold=10000
94
95 # Exchnage used by Aquarium to publish messages
96 amqp.exchange=aquarium
97
98 # The name of the DB schema to use
99 persistence.db=aquarium
100
101 # Save unparsed user events to user event store
102 ack.unparsed.event.im=false
103
104 # Administrative REST API authorization cookie
105 admin.cookie=1