Christos KK Loverdos [Wed, 4 Apr 2012 16:12:35 +0000 (19:12 +0300)]
Rename HERE to CONF_HERE
Christos KK Loverdos [Wed, 4 Apr 2012 15:57:27 +0000 (18:57 +0300)]
Remove unused code
Christos KK Loverdos [Wed, 4 Apr 2012 15:52:52 +0000 (18:52 +0300)]
Fix API breakage from previous upgrade
In the process, renamed a few Exceptions to AquariumExceptions.
Christos KK Loverdos [Wed, 4 Apr 2012 14:44:07 +0000 (17:44 +0300)]
Upgrade a few utilities
This is an API incompatible change.
Christos KK Loverdos [Wed, 4 Apr 2012 13:13:14 +0000 (16:13 +0300)]
Use a file appender for logging
Christos KK Loverdos [Wed, 4 Apr 2012 11:38:11 +0000 (14:38 +0300)]
Proper logging configuration
We take advantage of AQUARIUM_HOME to locate logback.xml.
Inside the code, we use a custom initialization sequence to boot
logback-classic for slf4j.
Christos KK Loverdos [Wed, 4 Apr 2012 10:02:16 +0000 (13:02 +0300)]
Simplify resource locator. Use AQUARIUM_HOME
Christos KK Loverdos [Wed, 4 Apr 2012 09:22:52 +0000 (12:22 +0300)]
ID as a suffix is ID and not Id
Christos KK Loverdos [Wed, 4 Apr 2012 09:01:29 +0000 (12:01 +0300)]
Local fs store for events must be outside AQUARIUM_HOME hierarchy
Christos KK Loverdos [Tue, 3 Apr 2012 22:21:27 +0000 (01:21 +0300)]
Properly save to local fs store (for debugging)
Christos KK Loverdos [Tue, 3 Apr 2012 22:20:42 +0000 (01:20 +0300)]
Handle ACK/NACK for unparsed event
Christos KK Loverdos [Tue, 3 Apr 2012 22:10:59 +0000 (01:10 +0300)]
Add filename-friendly versions of formatting methods
Christos KK Loverdos [Tue, 3 Apr 2012 22:10:28 +0000 (01:10 +0300)]
TODO: ResourceEvents: Save unparsed ones to DB
Christos KK Loverdos [Tue, 3 Apr 2012 22:07:55 +0000 (01:07 +0300)]
Introduce save.unparsed.event.im
This is a boolean flag. If set to true then a user event arriving from
the queue that cannot be parsed to a UserEvent object is saved to the
UserEventStore.
Christos KK Loverdos [Tue, 3 Apr 2012 22:06:55 +0000 (01:06 +0300)]
Forward only not-null events (ie parsed)
Christos KK Loverdos [Tue, 3 Apr 2012 22:06:20 +0000 (01:06 +0300)]
Keep the boolean character of persist and combine it with local fs event storage
Christos KK Loverdos [Tue, 3 Apr 2012 21:52:27 +0000 (00:52 +0300)]
Forward only not-null events (ie parsed)
Christos KK Loverdos [Tue, 3 Apr 2012 21:50:43 +0000 (00:50 +0300)]
Remove suspicious code
Christos KK Loverdos [Tue, 3 Apr 2012 20:51:10 +0000 (23:51 +0300)]
Do not get dependencies in fast mode
Christos KK Loverdos [Tue, 3 Apr 2012 10:37:20 +0000 (13:37 +0300)]
eventVersion is a String now (Fixes #2290)
Christos KK Loverdos [Tue, 3 Apr 2012 10:23:28 +0000 (13:23 +0300)]
Rename since they are the local scripts anyway
Christos KK Loverdos [Tue, 3 Apr 2012 10:22:05 +0000 (13:22 +0300)]
Sync proeprties
Christos KK Loverdos [Tue, 3 Apr 2012 09:47:51 +0000 (12:47 +0300)]
Add local dev scripts.
These assume that you run make-local-dist.sh and can fireup and stop
Aquarium running locally. Purely for development purposes.
Christos KK Loverdos [Tue, 3 Apr 2012 09:46:20 +0000 (12:46 +0300)]
Do not startup if AKKA_HOME is set.
We do not rely on external AKKA setup, so having AKKA_HOME around is
dangerous.
Christos KK Loverdos [Tue, 3 Apr 2012 09:39:08 +0000 (12:39 +0300)]
Add dev build script (helper)
Christos KK Loverdos [Tue, 3 Apr 2012 09:37:20 +0000 (12:37 +0300)]
Add local build script (helper)
Christos KK Loverdos [Mon, 2 Apr 2012 21:46:14 +0000 (00:46 +0300)]
TODO: Use AQUARIUM_HOME in the resource context
Christos KK Loverdos [Mon, 2 Apr 2012 21:31:59 +0000 (00:31 +0300)]
Lazy vals to the rescue (Beware of NPEs)
Christos KK Loverdos [Mon, 2 Apr 2012 21:31:24 +0000 (00:31 +0300)]
make-dist accepts the archive name
Christos KK Loverdos [Mon, 2 Apr 2012 21:08:34 +0000 (00:08 +0300)]
Doc for AQUARIUM_HOME and move HERE to resource locator
Christos KK Loverdos [Mon, 2 Apr 2012 21:03:29 +0000 (00:03 +0300)]
Make local fs store relative to AQUARIUM_HOME
If it is not in absolute form already.
Christos KK Loverdos [Mon, 2 Apr 2012 20:56:13 +0000 (23:56 +0300)]
Mome AQUARIUM_HOME to ResourceLocator
Christos KK Loverdos [Mon, 2 Apr 2012 20:07:20 +0000 (23:07 +0300)]
Get canonical file of home
Christos KK Loverdos [Mon, 2 Apr 2012 15:32:25 +0000 (18:32 +0300)]
User events that cannot be parsed to objects are just stored
Christos KK Loverdos [Mon, 2 Apr 2012 13:52:22 +0000 (16:52 +0300)]
Remove previous archive before generating new one
Just being defensive
Christos KK Loverdos [Mon, 2 Apr 2012 13:48:14 +0000 (16:48 +0300)]
Add script shortcuts
Christos KK Loverdos [Mon, 2 Apr 2012 13:33:04 +0000 (16:33 +0300)]
Make an array of bytes (UTF-8) from a String
Christos KK Loverdos [Mon, 2 Apr 2012 13:28:58 +0000 (16:28 +0300)]
Make a UTF-8 string from an array of bytes
Christos KK Loverdos [Mon, 2 Apr 2012 13:18:33 +0000 (16:18 +0300)]
Move effectful handling from definition site to use site
Pay attention to this one (!)
Christos KK Loverdos [Mon, 2 Apr 2012 13:13:16 +0000 (16:13 +0300)]
Remove unused code
Christos KK Loverdos [Mon, 2 Apr 2012 13:12:00 +0000 (16:12 +0300)]
Store received events in local fs (debug mode) even if they do not parse
Christos KK Loverdos [Mon, 2 Apr 2012 11:53:25 +0000 (14:53 +0300)]
Using SLF4J with logback-classic
Christos KK Loverdos [Mon, 2 Apr 2012 09:27:58 +0000 (12:27 +0300)]
Better make-dist. Can use custom props
Christos KK Loverdos [Mon, 2 Apr 2012 07:01:45 +0000 (10:01 +0300)]
Ignore sshfs local folder
Christos KK Loverdos [Fri, 30 Mar 2012 11:31:14 +0000 (14:31 +0300)]
Ehhmm... Do not lie about guarantees
Christos KK Loverdos [Fri, 30 Mar 2012 11:29:52 +0000 (14:29 +0300)]
Also storing events in the filesystem (for debugging)
Christos KK Loverdos [Fri, 30 Mar 2012 11:08:50 +0000 (14:08 +0300)]
Disabling incompatible assertions
The do not play with the test.sh script and the IM events it generates.
TODO: Fix the behaviour of either the assertions or the event generator.
Christos KK Loverdos [Fri, 30 Mar 2012 09:39:49 +0000 (12:39 +0300)]
Carry along the initial event payload
Christos KK Loverdos [Fri, 30 Mar 2012 09:10:12 +0000 (12:10 +0300)]
Add folder to store incoming events
This is a debugging aid, triggered by the presence of a configuration
key.
Christos KK Loverdos [Fri, 30 Mar 2012 08:49:05 +0000 (11:49 +0300)]
Introduce AquariumException
Christos KK Loverdos [Thu, 29 Mar 2012 15:04:15 +0000 (18:04 +0300)]
We drink coffee
Christos KK Loverdos [Thu, 29 Mar 2012 14:44:01 +0000 (17:44 +0300)]
Set AQUARIUM_HOME and print a bunch of useful properties
Christos KK Loverdos [Thu, 29 Mar 2012 14:42:29 +0000 (17:42 +0300)]
Export AQUARIUM_HOME
Christos KK Loverdos [Thu, 29 Mar 2012 13:08:24 +0000 (16:08 +0300)]
FIXME notice
Christos KK Loverdos [Thu, 29 Mar 2012 13:06:00 +0000 (16:06 +0300)]
Copyright
Christos KK Loverdos [Thu, 29 Mar 2012 12:58:52 +0000 (15:58 +0300)]
Introduce the resource locator
There are still stuff that need to be cleaned up, eg how policy files
are loaded in Policy.scala but let's deal with them one at a time.
Christos KK Loverdos [Thu, 29 Mar 2012 12:25:51 +0000 (15:25 +0300)]
Use jbootstrap to boot Aquarium. At last.
No more ugly classpath. Even the ps command output is easier to see and
understand.
Christos KK Loverdos [Thu, 29 Mar 2012 12:25:12 +0000 (15:25 +0300)]
More docs and modularization to make-dist
Christos KK Loverdos [Thu, 29 Mar 2012 11:28:17 +0000 (14:28 +0300)]
Fix noclean handling
Christos KK Loverdos [Thu, 29 Mar 2012 11:15:00 +0000 (14:15 +0300)]
Use SHA part
Christos KK Loverdos [Thu, 29 Mar 2012 10:49:30 +0000 (13:49 +0300)]
Ditch debugger attachment. There will be other ways to debug
Christos KK Loverdos [Thu, 29 Mar 2012 10:20:06 +0000 (13:20 +0300)]
Start using jbootstrap
Christos KK Loverdos [Thu, 29 Mar 2012 08:15:18 +0000 (11:15 +0300)]
ignore local properties
Christos KK Loverdos [Wed, 28 Mar 2012 13:52:01 +0000 (16:52 +0300)]
Possible override of project cleaning for faster builds
Christos KK Loverdos [Wed, 28 Mar 2012 08:17:56 +0000 (11:17 +0300)]
Save the originating commit SHA in the distribution (apart from the archive name itself)
Christos KK Loverdos [Tue, 27 Mar 2012 14:13:37 +0000 (17:13 +0300)]
make-dist.sh is less destructive now
1. Does not do any git-fu.
2. Uses current working folder. It's your responsibility to have it OK.
Christos KK Loverdos [Tue, 27 Mar 2012 13:57:25 +0000 (16:57 +0300)]
Delete reference to non-existent constant
Christos KK Loverdos [Tue, 27 Mar 2012 13:53:34 +0000 (16:53 +0300)]
Removing the executable flag from original make-dist.sh
Christos KK Loverdos [Tue, 27 Mar 2012 13:33:52 +0000 (16:33 +0300)]
Get aquarium.properties from former dist/ folder
Christos KK Loverdos [Tue, 27 Mar 2012 13:18:25 +0000 (16:18 +0300)]
Gather only the scripts (ref #2265)
Christos KK Loverdos [Tue, 27 Mar 2012 13:16:36 +0000 (16:16 +0300)]
Remove duplicate files (ref #2265)
Christos KK Loverdos [Tue, 27 Mar 2012 12:24:17 +0000 (15:24 +0300)]
Fix how rest port is obtained (#2263)
Christos KK Loverdos [Tue, 27 Mar 2012 12:22:38 +0000 (15:22 +0300)]
New default port for the REST service
Christos KK Loverdos [Tue, 27 Mar 2012 12:20:48 +0000 (15:20 +0300)]
Cleanup akka.conf in test/ a bit
Note that the spray-can port is still configured from
aquarium.properties, not akka.conf.
Christos KK Loverdos [Tue, 27 Mar 2012 12:19:28 +0000 (15:19 +0300)]
Take care of a bug in the Props library
Ints are not properly converted. This is my library (external to the
project) so I must find time to fix it.
Christos KK Loverdos [Tue, 27 Mar 2012 12:18:27 +0000 (15:18 +0300)]
Take care of SBT build file
This is a second-class citizen up to now and I always forget to update
any relevant info after a change in pom.xml.
Christos KK Loverdos [Tue, 27 Mar 2012 10:30:49 +0000 (13:30 +0300)]
Comment on dependency tracking/sorting
Christos KK Loverdos [Tue, 27 Mar 2012 10:26:25 +0000 (13:26 +0300)]
Selectively configure actors
Christos KK Loverdos [Tue, 27 Mar 2012 10:24:15 +0000 (13:24 +0300)]
Mark configuration messages
Christos KK Loverdos [Tue, 27 Mar 2012 09:33:29 +0000 (12:33 +0300)]
Upgrade spray lib
Christos KK Loverdos [Mon, 26 Mar 2012 13:48:06 +0000 (16:48 +0300)]
Modularize tests
Christos KK Loverdos [Mon, 26 Mar 2012 13:47:11 +0000 (16:47 +0300)]
Notes from George
Christos KK Loverdos [Mon, 26 Mar 2012 13:46:14 +0000 (16:46 +0300)]
Update SBT project file
Christos KK Loverdos [Mon, 26 Mar 2012 12:30:15 +0000 (15:30 +0300)]
Do not create a super fat jar
Christos KK Loverdos [Mon, 26 Mar 2012 12:29:28 +0000 (15:29 +0300)]
Pass a few more helpful parameters to the compiler
Christos KK Loverdos [Mon, 26 Mar 2012 12:07:01 +0000 (15:07 +0300)]
Upgrade scala-maven-plugin
Notice that both the artifactId and the groupId have changed.
Announcement: http://implicit.ly/scala-maven-plugin-301
Source: https://github.com/davidB/scala-maven-plugin/blob/master/pom.xml
Christos KK Loverdos [Mon, 26 Mar 2012 12:01:04 +0000 (15:01 +0300)]
Upgrade scopt
Georgios Gousios [Thu, 22 Mar 2012 14:29:43 +0000 (16:29 +0200)]
How to run the test.sh script
Georgios Gousios [Thu, 22 Mar 2012 13:58:21 +0000 (15:58 +0200)]
Script to help test a new Aquarium installation
Georgios Gousios [Thu, 22 Mar 2012 13:47:11 +0000 (15:47 +0200)]
A few notes on how to test MongoDB replication
Georgios Gousios [Thu, 22 Mar 2012 13:15:00 +0000 (15:15 +0200)]
Deprecate the descriminator field for complex resources
Georgios Gousios [Thu, 22 Mar 2012 10:47:11 +0000 (12:47 +0200)]
Make a bit clearer that queues must be configured
Georgios Gousios [Thu, 22 Mar 2012 09:42:27 +0000 (11:42 +0200)]
Allow more than 1 threads to access the cache concurrently
Georgios Gousios [Thu, 22 Mar 2012 09:36:49 +0000 (11:36 +0200)]
Set queue prefetch size to 1.
This might decrease queue reading performance but it also
increases the chances of no messages get lost if Aquarium
crashes
Georgios Gousios [Thu, 22 Mar 2012 09:35:24 +0000 (11:35 +0200)]
Support for sending messages from user actors
Christos KK Loverdos [Wed, 21 Mar 2012 14:31:45 +0000 (16:31 +0200)]
Add a test for an orphan vmtime OFF
Christos KK Loverdos [Wed, 21 Mar 2012 14:30:53 +0000 (16:30 +0200)]
Update the latest resource event in user state when processing one resource event
Christos KK Loverdos [Wed, 21 Mar 2012 14:28:49 +0000 (16:28 +0200)]
Show size even when printing in one line (for Seq)
Christos KK Loverdos [Wed, 21 Mar 2012 12:48:39 +0000 (14:48 +0200)]
Ignore a couple of things
Christos KK Loverdos [Wed, 21 Mar 2012 09:31:47 +0000 (11:31 +0200)]
Add two billing month tests