Created a very few tests for Persistence. Both InMemory and DynamoDB inherit and run the same specs test. Created DynamoDB implementation of Persistence, only a few methods overridden, but working (not fast (with consistency)). Created setup script for DyanmoDB. Just Nonce table present yet.
Removing unused imports
Owh, me stupid. Of course. The persiting call was just a future. I didn't even terminate until we already were querying. Fhcuk. Awaited. Passes without sleep.
PersistenceSpec complete.
Abstract test for Persistence is moved out. Only relevant DyanmoTest is here.
Implemented DynamoDBPersistence fully. Compiles. Not tested.
Persistence tests passing for DynamoDB implementation. :) WHAT??git add .
Added example tokens, users to Dyanamo Setup DB. Tested Proxy with local dynamo. Works as InMemory. Great! Can deploy now.
Adding sonatype repos.
Trying to set up a real dynamodb. Not successful yet. Table already exists exception. Btw, i seriously need a dependency injection, inversion of control library. Guice. Or the other new cool stuff.