All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added zap logger and basculehelper package [#403] (xmidt-org#403)
- Updated tracing configuration documentation in caduceus.yaml to reflect changes in Candlelight #372
- Updated bascule config in docker env [#388] (https://github.com/xmidt-org/caduceus/pull/388/files)
- Remove several unused build files and update the docker images to work. #360
- Fix the docker container so it has configuration in the right place.
- Dependency updates with no vulnerabilities patched.
- Fix linting related issues.
- Restore building docker images.
- Added latency metric, which Tracks the time spent waiting on outbound client URLs to respond. #312
- Dependency update, note vulnerabilities
- github.com/hashicorp/consul/api v1.13.1 // indirect Wasn't able to find much info about this one besides the following dep vulns
- Introduces new vuln https://www.mend.io/vulnerability-database/CVE-2022-29526
- guardrails says github.com/gorilla/websocket v1.5.0 has a high vulnerability but no vulnerabilities have been filed
- JWT Migration #331
- updated to use clortho
Resolver
&Refresher
- updated to use clortho
metrics
&logging
- updated to use clortho
- Update ancla client initialization
- Update Config
- Use uber/zap for clortho logging
- Use xmidt-org/sallust for the zap config unmarshalling
- Update auth config for clortho
- Update ancla config
- Fix a missing return after an invalid utf8 string is handled. #315
- Bumped wrp-go to v3.1.3 in order to reject all wrps with non-utf-8 strings as invalid. #314
- Modified senderWrapper to defer all lock unlocking. #314
- Added github.com/xmidt-org/httpaux as a dependency
- Added httpaux/recovery middleware to the top-level gorilla/mux Router to prevent panics from shutting down a server
- Fixed issue of endpoints no longer being found. #311
- Added configurable support for v3 notify endpoint. #309
- Updated spec file and rpkg version macro to be able to choose when the 'v' is included in the version. #304
- Added debug logging to outbound sender. #305
- Removed endpoint for registering webhooks. #299
- Moved auth middleware to use bascule package instead of deprecated webpa-common/secure. #299
- Updated api version in url to v4 to indicate breaking changes in response codes when an invalid auth is sent. #299
- Edited retry functions in outboundSender and bumped webpa-common from v2.0.1 to v2.0.3. #280
- Bumped ancla to v0.3.5 in order to fix panic in post webhook endpoint. #298
- Used already existing configuration for whether to check partner IDs in post webhook endpoint. #298
- Edited Queue function to fix duplicate events bug. #278
- Bumped webpa-common to v2. #276
- Added configuration for PartnerID check. #276
- Changed passsing Webhooks to InternalWebhooks to allow for storage of PartnerIDs. #276
- Added 415 response for Content-Type header issues. #272
- Fixed log and response for incoming queue full 503. #275
- Add OpenTelemetry tracing feature. #263 thanks to @utsavbatra5
- Fix a bug where the response bodies were not cleaned up when informing a client of a failure. #250
- Migrate to github actions, normalize analysis tools, Dockerfiles and Makefiles. #246
- Update buildtime format in Makefile to match RPM spec file. #245
- Update to use wrp-go v3 to be able to use the MIME constants. #252
- Remove some unused code. #254
- Bump webpa-common version with xwebhook item ID format update. #257
- Update webhook integration to use xmidt-org/ancla. #259
- Bug in which only mTLS was allowed as valid config for a webpa server. #242
- update argus integration #239
- switch webhook configuration from sns to argus #202
- removed
/hooks
endpoint #202 - Updated references to the main branch #227
- Fixed bug of chrysom client not starting #235
- Empty queue when webhook expires #237
- Moved and renamed configuration variable for outgoing hostname validation #223
- added metric for counting when caduceus re-encodes the wrp #216
- Made outgoing hostname validation configurable #217
- Note: To be backwards compatable, the configuration value of
allowInsecureTLS: true
will need to be defined, otherwise hostname validation is enabled by default.
- Note: To be backwards compatable, the configuration value of
- removed contentTypeCounter #218
- added configuration for which http codes Caduceus should retry on #219
- Note: This configuration change causes the existing retry logic to change.
- cleaned up shutdown logic for outbound sender #205
- added resetting queue depth and current workers gauges to outbound sender #205
- removed queueEmpty variable from outbound sender #209
- fixed outbound sender's long running dispatcher() goroutine to not exit when a cutoff occurs #210
- register for specific OS signals #211
- pared down logging, especially debugging logs #196
- added dropped events to metric #195
- removed all calls to logging.Debug(), logging.Info(), and logging.Error() #199
- bumped webpa-common version to use a webhooks page without those logging calls #199
- bumped webpa-common version includes a fix to authorization logging issue #192
- reduced time from when cutoff is sent to when queue is emptied
- fix emptying queue when received cutoff #188
- add queue full check to prevent push event into queue if already full #189
- bump webpa-common to v1.5.0
- Fixed a missing cardinality dimension in a metric that caused a panic.
- Metrics to support debugging the problem found by GH Issue issue 145
- Add WRP Header support for Partner-Ids and Metadata
- converting glide to go mod
fixed build upload
- Add alternative urls and consumer max retry logic for webhooks
- Retry on non 2xx status codes
- Fix for no retries being attempted
- Add metric for incoming content type
v0.1.3 - 2019-02-27
- Fix for issue 126
v0.1.2 - 2019-02-21
- Fix for delivering events as json or msgpack based events issue 113
- Updated to new version of webpa-common library
- Remove the worker pool as a fixed number of workers per endpoint and simply cap the maximum number. Partial fix for issue 115, issue 103
- Fix for webhook shallow copy bug. Partial fix for issue 115
- Fix for webhook update for all fields (updated webpa-common code to bring in fix)
- Fix for retry logic so all failures are retried the specified number of times - issue 91
- Fix for waiting for DNS to resolve prior to listening for webhook updates - issue 111
- Fix for cpu spike after about 10 mintues due to worker go routines not finishing.
- Fix logic for updating webhooks
- Fix for sending the same event multiple times to the same webhook.
- Fix for issue 99
0.1.1 - 2018-04-06
- Fix for X-Webpa-Event header
- Use all cores-1 for IO control by default
- Fix a bug where the regex matching was too greedy
- Add retries on errors deemed "retryable"
- Add all X-Midt headers
- Add metrics data
0.0.1 - 2017-03-28
- Initial creation