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

OLMIS-7953 Copied solution with multiple program ids to make application logging performance better. #61

Merged
merged 5 commits into from
Jul 10, 2024

Conversation

tsznaj
Copy link
Contributor

@tsznaj tsznaj commented Jul 2, 2024

This solution is about adding the ability to use mulitple program ids in the request to /api/validReasons.

Cherry-pick (modified) from OAM-218 solution, commit 8b82790.

OAM-218: Updated programId param to repeatable (#60)

  • OAM-218: WIP

  • OAM-218: Updated programId param to repeatable

  • OAM-218: Removed unused import, provided constants

  • OAM-218: Removed unnecessary stubbings

  • OAM-218: Added extra tests

  • OAM-218: Provided changes after review

  • OAM-218: Removed 'Ignore' annotation

  • OAM-218: Added extra condition to test

  • OAM-218: Fixed params/method names

  • OAM-218: Added tests for coverage.


Co-authored-by: Piotr Wargulak [email protected]
Co-authored-by: tsznaj [email protected]

Conflicts:

src/integration-test/java/org/openlmis/stockmanagement/web/ValidSourceDestinationControllerIntegrationTest.java # src/main/java/org/openlmis/stockmanagement/repository/SourceDestinationAssignmentRepository.java # src/main/java/org/openlmis/stockmanagement/service/SourceDestinationBaseService.java # src/main/java/org/openlmis/stockmanagement/service/StockCardSummariesService.java # src/main/java/org/openlmis/stockmanagement/service/ValidDestinationService.java # src/main/java/org/openlmis/stockmanagement/service/ValidSourceService.java # src/main/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidator.java # src/main/java/org/openlmis/stockmanagement/web/ValidSourceDestinationController.java # src/test/java/org/openlmis/stockmanagement/service/SourceDestinationBaseServiceTest.java # src/test/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidatorTest.java

OAM-218: Updated programId param to repeatable (#60)

* OAM-218: WIP

* OAM-218: Updated programId param to repeatable

* OAM-218: Removed unused import, provided constants

* OAM-218: Removed unnecessary stubbings

* OAM-218: Added extra tests

* OAM-218: Provided changes after review

* OAM-218: Removed 'Ignore' annotation

* OAM-218: Added extra condition to test

* OAM-218: Fixed params/method names

* OAM-218: Added tests for coverage.

---------

Co-authored-by: Piotr Wargulak <[email protected]>
Co-authored-by: tsznaj <[email protected]>
# Conflicts:
#	src/integration-test/java/org/openlmis/stockmanagement/web/ValidSourceDestinationControllerIntegrationTest.java
#	src/main/java/org/openlmis/stockmanagement/repository/SourceDestinationAssignmentRepository.java
#	src/main/java/org/openlmis/stockmanagement/service/SourceDestinationBaseService.java
#	src/main/java/org/openlmis/stockmanagement/service/StockCardSummariesService.java
#	src/main/java/org/openlmis/stockmanagement/service/ValidDestinationService.java
#	src/main/java/org/openlmis/stockmanagement/service/ValidSourceService.java
#	src/main/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidator.java
#	src/main/java/org/openlmis/stockmanagement/web/ValidSourceDestinationController.java
#	src/test/java/org/openlmis/stockmanagement/service/SourceDestinationBaseServiceTest.java
#	src/test/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidatorTest.java
@tsznaj tsznaj changed the title OLMIS-7953 Copied solution with multiple program ids to make the loging loading performance better. OLMIS-7953 Copied solution with multiple program ids to make application logging performance better. Jul 2, 2024
Copy link

sonarcloud bot commented Jul 8, 2024

Copy link
Contributor

@mgrochalskisoldevelo mgrochalskisoldevelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mgrochalskisoldevelo mgrochalskisoldevelo merged commit a54531b into master Jul 10, 2024
3 checks passed
@tsznaj tsznaj deleted the OLMIS-7953 branch July 10, 2024 10:01
khobatha pushed a commit to Lesotho-eLMIS/lesotho-stockmanagement that referenced this pull request Jul 25, 2024
…ion logging performance better. (OpenLMIS#61)

* Cherry-pick (modified) from OAM-218 solution, commit 8b82790.

OAM-218: Updated programId param to repeatable (OpenLMIS#60)

* OAM-218: WIP

* OAM-218: Updated programId param to repeatable

* OAM-218: Removed unused import, provided constants

* OAM-218: Removed unnecessary stubbings

* OAM-218: Added extra tests

* OAM-218: Provided changes after review

* OAM-218: Removed 'Ignore' annotation

* OAM-218: Added extra condition to test

* OAM-218: Fixed params/method names

* OAM-218: Added tests for coverage.

---------

Co-authored-by: Piotr Wargulak <[email protected]>
Co-authored-by: tsznaj <[email protected]>
# Conflicts:
#	src/integration-test/java/org/openlmis/stockmanagement/web/ValidSourceDestinationControllerIntegrationTest.java
#	src/main/java/org/openlmis/stockmanagement/repository/SourceDestinationAssignmentRepository.java
#	src/main/java/org/openlmis/stockmanagement/service/SourceDestinationBaseService.java
#	src/main/java/org/openlmis/stockmanagement/service/StockCardSummariesService.java
#	src/main/java/org/openlmis/stockmanagement/service/ValidDestinationService.java
#	src/main/java/org/openlmis/stockmanagement/service/ValidSourceService.java
#	src/main/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidator.java
#	src/main/java/org/openlmis/stockmanagement/web/ValidSourceDestinationController.java
#	src/test/java/org/openlmis/stockmanagement/service/SourceDestinationBaseServiceTest.java
#	src/test/java/org/openlmis/stockmanagement/validators/SourceDestinationGeoLevelAffinityValidatorTest.java

* OLMIS-7953: coverage test

* OLMIS-7953: moved to impl subdirectories

* OLMIS-7953: little changes to omit unnecessary coverage tests

* OLMIS-7953: added coverage test

---------

Co-authored-by: Szymon Radziszewski <[email protected]>
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.

3 participants