Skip to content

Commit

Permalink
fixed stat endpoint fanout logic to use prefix config (#170)
Browse files Browse the repository at this point in the history
* fixed stat endpoint fanout logic to use prefix config

* prep for release
  • Loading branch information
kristinapathak authored Apr 25, 2022
1 parent 1ee86b6 commit 17795e7
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 39 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v0.6.3]
- Fixed stat endpoint to use fanout prefix configuration. [#170](https://github.com/xmidt-org/scytale/pull/170)

## [v0.6.2]
- Updated spec file and rpkg version macro to be able to choose when the 'v' is included in the version. [#163](https://github.com/xmidt-org/scytale/pull/163)
- Reconfigured the Bascule Logger settings so that the logger isn't overwritten [#166](https://github.com/xmidt-org/scytale/pull/166)
- Added configurable v2 endpoint support. []()
- Added configurable v2 endpoint support. [#167](https://github.com/xmidt-org/scytale/pull/167)

## [v0.6.1]
- Fixed url parsing bug where we were leaving a '/'. [#161](https://github.com/xmidt-org/scytale/pull/161)
Expand Down Expand Up @@ -103,7 +106,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Initial creation.


[Unreleased]: https://github.com/xmidt-org/scytale/compare/v0.6.2...HEAD
[Unreleased]: https://github.com/xmidt-org/scytale/compare/v0.6.3...HEAD
[v0.6.3]: https://github.com/xmidt-org/scytale/compare/v0.6.2...v0.6.3
[v0.6.2]: https://github.com/xmidt-org/scytale/compare/v0.6.1...v0.6.2
[v0.6.1]: https://github.com/xmidt-org/scytale/compare/v0.6.0...v0.6.1
[v0.6.0]: https://github.com/xmidt-org/scytale/compare/v0.5.0...v0.6.0
Expand Down
3 changes: 2 additions & 1 deletion basculeValidators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
)

func TestRequirePartnerIDs(t *testing.T) {
type badType int
var tests = []struct {
name string
attrMap map[string]interface{}
Expand Down Expand Up @@ -41,7 +42,7 @@ func TestRequirePartnerIDs(t *testing.T) {
name: "malformed partnerIDs field",
attrMap: map[string]interface{}{
"allowedResources": map[string]interface{}{
"allowedPartners": []int{0, 1, 2},
"allowedPartners": []badType{0, 1, 2},
}},
},
}
Expand Down
7 changes: 4 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ require (
github.com/justinas/alice v1.2.0
github.com/samuel/go-zookeeper v0.0.0-20200724154423-2164a8ac840e // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/spf13/cast v1.3.1
github.com/spf13/cast v1.4.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.9.0
github.com/stretchr/testify v1.7.0
github.com/xmidt-org/bascule v0.10.2
github.com/xmidt-org/candlelight v0.0.6
github.com/xmidt-org/webpa-common/v2 v2.0.1
github.com/xmidt-org/webpa-common v1.11.9 // indirect
github.com/xmidt-org/webpa-common/v2 v2.0.4
github.com/xmidt-org/wrp-go/v3 v3.0.1
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux v0.19.0
)
Loading

0 comments on commit 17795e7

Please sign in to comment.