Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODINVSTOR-1219: Do not return routing service points by default #1022

Merged
merged 9 commits into from
May 23, 2024

Conversation

OleksandrVidinieiev
Copy link
Contributor

Purpose

Return ECS routing service points in response to GET /service-points only when explicitly requested.
MODINVSTOR-1219

Approach

Introduce a new query parameter includeRoutingServicePoints to GET /service-points endpoint. Set this flag to false by default. Return ECS routing service points only when it is explicitly set to true.

Changes Checklist

  • API Changes: Document any API paths, methods, request or response bodies changed, added, or removed.
  • Database Schema Changes: Indicate any database schema changes and their impact. Confirm that migration scripts were created.
  • Interface Version Changes: Indicate any changes to interface versions.
  • Interface Dependencies: Document added or removed dependencies.
  • Permissions: Document any changes to permissions.
  • Logging: Confirm that logging is appropriately handled.
  • Unit Testing: Confirm that changed classes were covered by unit tests.
  • Integration Testing: Confirm that changed logic was covered by integration tests.
  • Manual Testing: Confirm that changes were tested on local or dev environment.
  • NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Related Issues

List any Jira issues related to this pull request.

Learning and Resources (if applicable)

Discuss any research conducted during the development of this pull request. Include links to relevant blog posts, patterns, libraries, or addons that were used to solve the problem.

Screenshots (if applicable)

If this pull request involves any visual changes or new features, consider including screenshots or GIFs to illustrate the changes.

Copy link

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@OleksandrVidinieiev OleksandrVidinieiev merged commit 0c567d2 into ecs-tlr-feature May 23, 2024
6 checks passed
@OleksandrVidinieiev OleksandrVidinieiev deleted the MODINVSTOR-1219 branch May 23, 2024 10:15
alexanderkurash added a commit that referenced this pull request Nov 12, 2024
* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema (#1010)

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Bump service-point.raml version

---------

Co-authored-by: alexanderkurash <[email protected]>

* MODINVSTOR-1219: Do not return routing service points by default (#1022)

* MODINVSTOR-1219 Do not return routing service points by default

* MODINVSTOR-1219 Fix formatting

* MODINVSTOR-1219 Extend test

* MODINVSTOR-1219 Update query parameter description

* MODINVSTOR-1219 Fix checkstyle violations

* MODINVSTOR-1219 Test refactoring

* MODINVSTOR-1219 Test refactoring

* MODINVSTOR-1219 Put filter in front of original query, update tests

* MODINVSTOR-1219 Minor refactoring

* MODINVSTOR-1245: Implement synchronization operation for service point events (#1088)

* MODINVSTOR-1245: Implement synchronization operation for service point event

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Comply with check style

* MODINVSTOR-1245: Comply with check style

* MODINVSTOR-1245: Add api test

* MODINVSTOR-1245: Rename service point event

* MODINVSTOR-1245: Rename tests

* MODINVSTOR-1245: Replace service point creation with service implementation

* MODINVSTOR-1245: Add validation for hold shelf expiry and pick up location

* MODINVSTOR-1245: Replace system-stubs-junit4 instead of hard-coded env variable

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Add logs

* Fix mockConsortiumTenants after merge

* Disable canRequestOaiPmhViewWhenEmptyDb test

* MODINVSTOR-1262 Re-enable disabled tests

* MODINVSTOR-1262 Update NEWS

* MODINVSTOR-1262 Remove unneeded dependency

* MODINVSTOR-1262 improve test coverage, update readme

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 add missing permission

* MODINVSTOR-1262 add test coverage

* MODINVSTOR-1262 add test coverage

* MODINVSTOR-1262 fix code smell

* MODINVSTOR-1262 fix code smell

* MODINVSTOR-1262 Move ECS TLR news to In progress

---------

Co-authored-by: Magzhan <[email protected]>
Co-authored-by: OleksandrVidinieiev <[email protected]>
Co-authored-by: Oleksandr Vidinieiev <[email protected]>
Co-authored-by: Maksat <[email protected]>
Co-authored-by: Roman_Barannyk <[email protected]>
Co-authored-by: Roman Barannyk <[email protected]>
roman-barannyk pushed a commit that referenced this pull request Dec 1, 2024
* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema (#1010)

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Add ecsRequestRouting field to service point schema

* MODINVSTOR-1179 Bump service-point.raml version

---------

Co-authored-by: alexanderkurash <[email protected]>

* MODINVSTOR-1219: Do not return routing service points by default (#1022)

* MODINVSTOR-1219 Do not return routing service points by default

* MODINVSTOR-1219 Fix formatting

* MODINVSTOR-1219 Extend test

* MODINVSTOR-1219 Update query parameter description

* MODINVSTOR-1219 Fix checkstyle violations

* MODINVSTOR-1219 Test refactoring

* MODINVSTOR-1219 Test refactoring

* MODINVSTOR-1219 Put filter in front of original query, update tests

* MODINVSTOR-1219 Minor refactoring

* MODINVSTOR-1245: Implement synchronization operation for service point events (#1088)

* MODINVSTOR-1245: Implement synchronization operation for service point event

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Comply with check style

* MODINVSTOR-1245: Comply with check style

* MODINVSTOR-1245: Add api test

* MODINVSTOR-1245: Rename service point event

* MODINVSTOR-1245: Rename tests

* MODINVSTOR-1245: Replace service point creation with service implementation

* MODINVSTOR-1245: Add validation for hold shelf expiry and pick up location

* MODINVSTOR-1245: Replace system-stubs-junit4 instead of hard-coded env variable

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Fix from code review

* MODINVSTOR-1245: Add logs

* Fix mockConsortiumTenants after merge

* Disable canRequestOaiPmhViewWhenEmptyDb test

* MODINVSTOR-1262 Re-enable disabled tests

* MODINVSTOR-1262 Update NEWS

* MODINVSTOR-1262 Remove unneeded dependency

* MODINVSTOR-1262 improve test coverage, update readme

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 improve test coverage

* MODINVSTOR-1262 add missing permission

* MODINVSTOR-1262 add test coverage

* MODINVSTOR-1262 add test coverage

* MODINVSTOR-1262 fix code smell

* MODINVSTOR-1262 fix code smell

* MODINVSTOR-1262 Move ECS TLR news to In progress

---------

Co-authored-by: Magzhan <[email protected]>
Co-authored-by: OleksandrVidinieiev <[email protected]>
Co-authored-by: Oleksandr Vidinieiev <[email protected]>
Co-authored-by: Maksat <[email protected]>
Co-authored-by: Roman_Barannyk <[email protected]>
Co-authored-by: Roman Barannyk <[email protected]>

(cherry picked from commit 810764f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants