Skip to content

Fix GC auth filter and API validation for Query API

Rustam Lotsmanenko (EPAM) requested to merge gc-fix-query-api into master

Description:

  • added query endpoints to GC and Comm Impl auth filters white list.
  • added Not null validation for queryList param.
  • replaced javax.validation with jakarta.validation in Query API to enable it.
  • Updated test case, jersey client won't provide content-length header if body is empty, but POST request without content-length is unacceptable for GC env.

How to test:

IT

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
  • Bugfix (a non-breaking change that solves an issue).
  • New feature (a non-breaking change that adds functionality).
  • Breaking change (a change that is not backward-compatible and/or changes current functionality).

Changes in:

  • GC
  • Common Code

Dev Checklist:

  • Added Unit Tests, wherever applicable.
  • Updated the Readme, if applicable.
  • Existing Tests pass
  • Verified functionality locally
  • Self Reviewed my code for formatting and complex business logic.

Other comments:

Any comments to approvers here

Edited by Rustam Lotsmanenko (EPAM)

Merge request reports

Loading