Wiki

Version 28 (Christos KK Loverdos, 05/24/2012 03:01 pm)

1 1 Giorgos Gousios
h1. Aquarium
2 1 Giorgos Gousios
3 26 Christos KK Loverdos
Aquarium provides charging and billing services for the Okeanos IaaS.
4 1 Giorgos Gousios
5 20 Christos KK Loverdos
h2. Getting Started
6 20 Christos KK Loverdos
7 20 Christos KK Loverdos
We use Scala for development and Git for version control.
8 20 Christos KK Loverdos
You can find some helpful Scala resources here:
9 20 Christos KK Loverdos
* "Main Scala site":http://www.scala-lang.org
10 20 Christos KK Loverdos
* "Scala books":http://www.scala-lang.org/node/959
11 21 Christos KK Loverdos
** Programming in Scala, 1st edition is "free":http://www.artima.com/pins1ed/
12 20 Christos KK Loverdos
13 20 Christos KK Loverdos
You can find some helpful Git resources here:
14 20 Christos KK Loverdos
* "Pro Git Book":http://progit.org/
15 21 Christos KK Loverdos
** Available in "HTML":http://progit.org/book/, "pdf":http://progit.org/ebook/progit.pdf, "mobi":https://github.s3.amazonaws.com/media/pro-git.en.mobi and "epub":https://github.s3.amazonaws.com/media/progit.epub
16 20 Christos KK Loverdos
17 25 Christos KK Loverdos
The code is "here":https://code.grnet.gr/git/aquarium. Feel free to use an "Atom":https://code.grnet.gr/git/aquarium/atom or an "RSS":https://code.grnet.gr/git/aquarium/rss feed of the commits.
18 24 Christos KK Loverdos
19 28 Christos KK Loverdos
You can also find some statistics "here":http://83.212.96.239/aquarium/gitstats/. The statistics are served by a VM in the Okeanos IaaS. So, we eat our own dog food.
20 20 Christos KK Loverdos
21 2 Giorgos Gousios
h2. Accounting
22 1 Giorgos Gousios
23 3 Giorgos Gousios
The accounting subsystem accepts usage events from other systems and translates them to  accounting entries in the user's wallet.
24 2 Giorgos Gousios
25 2 Giorgos Gousios
* [[Accounting system design]]
26 2 Giorgos Gousios
* [[The accounting policy DSL]]
27 2 Giorgos Gousios
28 2 Giorgos Gousios
h2. Sharing
29 2 Giorgos Gousios
30 3 Giorgos Gousios
The sharing system enables users to share resources in a controlled manner.
31 4 Giorgos Gousios
32 15 Christos KK Loverdos
h2. Events
33 16 Christos KK Loverdos
34 17 Christos KK Loverdos
* [[Resource Event Format]]
35 19 Christos KK Loverdos
* [[User Event Format]]
36 14 Christos KK Loverdos
37 4 Giorgos Gousios
h2. Project organization and conventions
38 4 Giorgos Gousios
39 7 Giorgos Gousios
* "Coding Style":http://docs.scala-lang.org/style/ The guide does not specify a strict limit of characters per line. For Aquarium, we use 120.
40 12 Christos KK Loverdos
41 12 Christos KK Loverdos
h2. Useful sites
42 13 Christos KK Loverdos
43 5 Christos KK Loverdos
* "Scala cheatsheets":http://docs.scala-lang.org/cheatsheets/
44 6 Christos KK Loverdos
* "Scaladoc":https://wiki.scala-lang.org/display/SW/Scaladoc
45 11 Christos KK Loverdos
* "Scala info on StackOverflow":http://stackoverflow.com/tags/scala/info
46 12 Christos KK Loverdos
* "Twitter's Effective Scala":http://twitter.github.com/effectivescala/
47 8 Christos KK Loverdos
48 27 Christos KK Loverdos
h2. Other software docs
49 8 Christos KK Loverdos
50 27 Christos KK Loverdos
* "MongoDB Production Notes":http://www.mongodb.org/display/DOCS/Production+Notes