Tags: mindventures/kork
Tags
perf(redis): Optimize payloadSize (spinnaker#310) Instead of builing a long string and getting the payload size of that string, just compute the size of each string in the list and return the sum. This significantly reduces allocations during caching cycles for the kubernetes provider, which often calls mset with a long list of parameters.
fix(rpc): exception handling on interceptors (spinnaker#308) Changes AuthenticatedRequest to lombok SneakyThrow instead of catching and rethrowing RuntimeException to ensure we don't actually wrap and lose an IO Exception (this is preferrable when used in an interceptor in okhttp). Adds defensive catch Exception and rethrow as IOException on OkHttp interceptors.
feat(ssl/blacklist): ops improvements for SSL blacklist (spinnaker#304) adds metrics on checked/rejected requests adds ability to disable via dynamic property service
feat(exceptions): Adding tiered root-level exceptions (spinnaker#297) Adds a hierarchy of root-level Spinnaker exception types: ``` SpinnakerException # root-level class | +- UserException # exceptional conditions caused by an end-user | +- IntegrationException # exceptional conditions caused by non-core Spinnaker | # code (cloud providers, extensions, etc) | +- SystemException # exceptional conditions caused by core Spinnaker | # (defects, infra/db errors, etc) | +- ConstraintViolationException # exceptional conditions that are potentially expected ``` All types extend from `RuntimeException`, although these can be used directly, they should instead be treated as abstracts that are extended further for specific cases.
feat(exceptions): Adding tiered root-level exceptions (spinnaker#297) Adds a hierarchy of root-level Spinnaker exception types: ``` SpinnakerException # root-level class | +- UserException # exceptional conditions caused by an end-user | +- IntegrationException # exceptional conditions caused by non-core Spinnaker | # code (cloud providers, extensions, etc) | +- SystemException # exceptional conditions caused by core Spinnaker | # (defects, infra/db errors, etc) | +- ConstraintViolationException # exceptional conditions that are potentially expected ``` All types extend from `RuntimeException`, although these can be used directly, they should instead be treated as abstracts that are extended further for specific cases.
fix(headers): fix mixed up request/execution_id headers (spinnaker#302) also, remove the side-effect of generating request id for now
fix(http-headers): Make sure X-SPINNAKER-REQUEST-ID is always generat… …ed (spinnaker#298) If we don't call `propagate` the `X-SPINNAKER-REQUEST-ID` doesn't get generated, so unless it's there from the get go (e.g. requestFilter) it will not be set making it difficult to trace API calls from one log to another. This ensures that the `X-SPINNAKER-REQUEST-ID` header is always generated
chore(dependencies): autobump on final release (spinnaker#300)
PreviousNext