@namespace("gr.grnet.aquarium.message.avro.gen")
protocol AquariumEvents {
- record _AnyValue {
- union {
- null,
- int,
- long,
- boolean,
- double,
- bytes,
- string
- } anyValue;
- }
+ import idl "aquarium-anyvalue.avdl";
- record _ResourceEvent {
+ record ResourceEventMsg {
string @aliases(["originalID", "ID"]) id;
string @aliased(["_id", "inStoreID"]) idInStore;
long occurredMillis;
string @aliases(["resourceType"]) resource;
string instanceID;
string value;
- map<_AnyValue> details;
+ map<AnyValueMsg> details;
}
- record _IMEvent {
+ record IMEventMsg {
string @aliases(["originalID", "ID"]) id;
string @aliased(["_id", "inStoreID"]) idInStore;
long occurredMillis;
string eventVersion = "1.0";
boolean isActive;
string role;
- map<_AnyValue> details;
+ map<AnyValueMsg> details;
}
}
\ No newline at end of file