Accounts on Cassandra
by Juraci Paixão Kröhling
Team,
I'm moving Accounts to Cassandra, so that Hawkular won't need a RDMBS
just because of it.
I tried to keep backwards compatibility, but there's one part that could
break your code: the models are now using UUIDs for the IDs. Previously,
the IDs were strings, which were UUIDs as string by default, but your
component had the freedom to specify an own ID.
As far as I know, only Inventory specifies its own ID for the Resource
class. It seems that Jirka is OK with changing it to UUID, but if you
have any problems with that, let me know and I'll remove this requirement.
Note that if all you do is consume the IDs generated by Accounts, you
should *not* be affected, as all old methods are converting the UUIDs
that you send as String back to UUID.
Apart from that, it should be fully backwards compatible, but in any
case, I'll be releasing accounts 1.0.17.Final and branching 1.0.x.
Cassandra changes will be applied to 1.1.0.Final. All changes from
1.1.0.Final and on will be backported to 1.0.x *up to the next MS*. If
everything goes right for the next MS, I'll stop maintaining 1.0.x.
- Juca.