Skip to content

Commit

Permalink
increase api version (#194)
Browse files Browse the repository at this point in the history
* increase api version

* update changelog

* updated caduceus api version

* changed docker log default to debug

* prep for release
  • Loading branch information
kristinapathak committed Dec 2, 2021
1 parent 6cd8ee5 commit f7cc21e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v0.6.0]
- Updated api version in url to v3 to indicate breaking changes in response codes when an invalid auth is sent. This change was made in an earlier release (v0.5.13). [#194](https://github.com/xmidt-org/talaria/pull/194)

## [v0.5.13]
- Changed Authkey from string splice to string [#188](https://github.com/xmidt-org/talaria/pull/188)
Expand All @@ -14,8 +16,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed reading of 'requestTimeout' config variable. [#187](https://github.com/xmidt-org/talaria/pull/187)
- Modify consul registration address value in spruce config file so rehasher would work as expected. [#190](https://github.com/xmidt-org/talaria/pull/190) thanks to @Sachin4403



## [v0.5.12]
- Prevent Authorization header from getting logged. [#181](https://github.com/xmidt-org/talaria/pull/181)
- Add way to modify deviceAccessCheck type through docker-compose env var. [#184](https://github.com/xmidt-org/talaria/pull/184)
Expand Down Expand Up @@ -122,7 +122,8 @@ Switching to new build process
## [v0.1.1] Tue Mar 28 2017 Weston Schmidt - 0.1.1
- initial creation

[Unreleased]: https://github.com/xmidt-org/talaria/compare/v0.5.13...HEAD
[Unreleased]: https://github.com/xmidt-org/talaria/compare/v0.6.0...HEAD
[v0.6.0]: https://github.com/xmidt-org/talaria/compare/v0.5.13...v0.6.0
[v0.5.13]: https://github.com/xmidt-org/talaria/compare/v0.5.12...v0.5.13
[v0.5.12]: https://github.com/xmidt-org/talaria/compare/v0.5.11...v0.5.12
[v0.5.11]: https://github.com/xmidt-org/talaria/compare/v0.5.10...v0.5.11
Expand Down
4 changes: 2 additions & 2 deletions deploy/packaging/talaria_spruce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ log:

# level is the logging level to use - INFO, DEBUG, WARN, ERROR
# (Optional) defaults to ERROR
level: (( grab $LOG_LEVEL || "INFO" ))
level: (( grab $LOG_LEVEL || "DEBUG" ))

# maxsize is the maximum file size in MB
# (Optional) defaults to max 100MB
Expand Down Expand Up @@ -232,7 +232,7 @@ device:
# where the key is the device event type (https://godoc.org/github.com/xmidt-org/webpa-common/device#EventType)
# and the value is the url.
eventEndpoints:
default: (( grab $CADUCEUS_ENDPOINT || "http://caduceus:6000/api/v3/notify" ))
default: (( grab $CADUCEUS_ENDPOINT || "http://caduceus:6000/api/v4/notify" ))

# enableConsulRoundRobin will overwrite the eventEndpoints with using consul to discover the caduceus in the datacenter.
# NOTE: eventEndpoints still must be set, and in the service section of this config caduceus must be added to the list
Expand Down
2 changes: 1 addition & 1 deletion primaryHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const (
baseURI = "/api"

// TODO: Should this change for talaria 2.0?
version = "v2"
version = "v3"

// TODO: This should be configurable at some point
poolSize = 1000
Expand Down
2 changes: 1 addition & 1 deletion talaria.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ device:
# where the key is the device event type (https://godoc.org/github.com/xmidt-org/webpa-common/device#EventType)
# and the value is the url.
eventEndpoints:
default: http://caduceus:6000/api/v3/notify
default: http://caduceus:6000/api/v4/notify

# enableConsulRoundRobin will overwrite the eventEndpoints with using consul to discover the caduceus in the datacenter.
# NOTE: eventEndpoints still must be set, and in the service section of this config caduceus must be added to the list
Expand Down

0 comments on commit f7cc21e

Please sign in to comment.