Skip to content

Commit

Permalink
Merge pull request #10 from keyko-io/feature/ts_parameter_null
Browse files Browse the repository at this point in the history
Changing the way to setup the default value in TimeSeriesParameter
  • Loading branch information
aaitor authored Feb 26, 2020
2 parents 090d700 + 38537ca commit 33154ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ History
=======


0.2.5 (2020-02)
------------------

* Changing the default option in `TimeSeriesParameter`


0.2.4 (2020-02)
------------------

* Added `TimeSeriesRecord` schemas


0.2.3 (2020-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.keyko.monitoring</groupId>
<artifactId>schemas</artifactId>
<packaging>jar</packaging>
<version>0.2.4</version>
<version>0.2.5</version>
<name>Web3 Monitoring Schemas</name>
<url>https://github.com/keyko-io/web3-monitoring-schemas</url>

Expand Down
7 changes: 5 additions & 2 deletions src/main/resources/avro/TimeSeriesParameter.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"name": "TimeSeriesParameter",
"fields": [{
"name": "value",
"type": ["null","string"]
"type": "string",
"default": ""
},
{
"name": "numberValue",
Expand All @@ -13,7 +14,9 @@
},
{
"name": "label",
"type": ["null","string"]
"type": "string",
"default": ""

}
]
}

0 comments on commit 33154ec

Please sign in to comment.