Skip to content

CUMULUS-4273: Add optional return parameter to granule get/search endpoints that returns active/hidden status#4103

Open
Nnaga1 wants to merge 9 commits into
feature/duplicate-granule-751from
CUMULUS-4273
Open

CUMULUS-4273: Add optional return parameter to granule get/search endpoints that returns active/hidden status#4103
Nnaga1 wants to merge 9 commits into
feature/duplicate-granule-751from
CUMULUS-4273

Conversation

@Nnaga1

@Nnaga1 Nnaga1 commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

Summary: Summary of changes

Addresses CUMULUS-XX: Develop amazing new feature

Changes

  • Added a new query string parameter includeActiveState to the GranuleSearch class for whether to include group_id and state from the GranuleGroups table for granules in api search
  • Updated GranuleSearch and /granules api to be able to handle GranuleGroup groupId and state term, not, and terms queries
  • Added a new endpoint GET /granules/getGranuleAndGroup which takes a granuleId and returns a record of a granule with its granulGroup information as well

PR Checklist

  • Update CHANGELOG
  • Unit tests
  • Ad-hoc testing - Deploy changes and test manually
  • Integration tests

@Nnaga1 Nnaga1 changed the title CUMULUS-4273: Add optinal return parameter to granule get/search endpoints that returns active/hidden status CUMULUS-4273: Add optional return parameter to granule get/search endpoints that returns active/hidden status Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant