Skip to content

Commit

Permalink
Change with TimeSeriesParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Feb 25, 2020
1 parent 9783554 commit 4353ba8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 123 deletions.
19 changes: 19 additions & 0 deletions src/main/resources/avro/TimeSeriesParameter.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"namespace": "io.keyko.monitoring.schemas",
"type": "record",
"name": "TimeSeriesParameter",
"fields": [{
"name": "value",
"type": ["null","string"]
},
{
"name": "numberValue",
"type": "long",
"default": 0
},
{
"name": "label",
"type": ["null","string"]
}
]
}
143 changes: 20 additions & 123 deletions src/main/resources/avro/TimeSeriesRecord.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -21,147 +21,44 @@
"type": "string"
},
{
"name": "output.input_0.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_0.value",
"type": ["null","string"]
},
{
"name": "output.input_0.label",
"type": ["null","string"]
"name": "param_0",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_1.numberValue",
"type": "long",
"default": 0
"name": "param_1",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_1.value",
"type": ["null","string"]
"name": "param_2",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_1.label",
"type": ["null","string"]
"name": "param_3",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_2.numberValue",
"type": "long",
"default": 0
"name": "param_4",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_2.value",
"type": ["null","string"]
"name": "param_5",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_2.label",
"type": ["null","string"]
"name": "param_6",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_3.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_3.value",
"type": ["null","string"]
},
{
"name": "output.input_3.label",
"type": ["null","string"]
},
{
"name": "output.input_4.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_4.value",
"type": ["null","string"]
},
{
"name": "output.input_4.label",
"type": ["null","string"]
},
{
"name": "output.input_5.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_5.value",
"type": ["null","string"]
},
{
"name": "output.input_5.label",
"type": ["null","string"]
},
{
"name": "output.input_6.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_6.value",
"type": ["null","string"]
},
{
"name": "output.input_6.label",
"type": ["null","string"]
},
{
"name": "output.input_7.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_7.value",
"type": ["null","string"]
},
{
"name": "output.input_7.label",
"type": ["null","string"]
},
{
"name": "output.input_8.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_8.value",
"type": ["null","string"]
},
{
"name": "output.input_8.label",
"type": ["null","string"]
},
{
"name": "output.input_9.numberValue",
"type": "long",
"default": 0
},
{
"name": "output.input_9.value",
"type": ["null","string"]
},
{
"name": "output.input_9.label",
"type": ["null","string"]
},
{
"name": "output.input_10.numberValue",
"type": "long",
"default": 0
"name": "param_7",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_10.value",
"type": ["null","string"]
"name": "param_8",
"type": ["null","TimeSeriesParameter"]
},
{
"name": "output.input_10.label",
"type": ["null","string"]
"name": "param_9",
"type": ["null","TimeSeriesParameter"]
}

]
Expand Down

0 comments on commit 4353ba8

Please sign in to comment.