GenomicDataInfrastructure / gdi-userportal-dataset-discovery-service

0 stars 1 forks source link

Deactive keep alive header from rest client #120

Closed brunopacheco1 closed 2 months ago

brunopacheco1 commented 2 months ago

Summary by Sourcery

Remove the 'listFilteringTerms' method and the 'FacetGroup' schema to streamline the codebase and API definitions, focusing on reducing redundancy and unused components.

Enhancements:

Chores:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request removes the listFilteringTerms method from the BeaconFilteringTermsService class and deletes the FacetGroup schema from the OpenAPI specification. The changes simplify the code by removing unused functionality and streamline the API structure.

File-Level Changes

Change Details Files
Removal of listFilteringTerms method
  • Deleted the entire listFilteringTerms method
  • Removed @CacheResult annotation for 'beacon-facet-group-cache'
  • Eliminated FacetGroup building logic
src/main/java/io/github/genomicdatainfrastructure/discovery/services/BeaconFilteringTermsService.java
Simplification of listFilteringTermList method
  • Removed intermediate variable assignment for facets
  • Directly returned the result of buildFacets method
src/main/java/io/github/genomicdatainfrastructure/discovery/services/BeaconFilteringTermsService.java
Removal of FacetGroup schema from OpenAPI specification
  • Deleted the entire FacetGroup schema definition
src/main/openapi/discovery.yaml

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.