SearchArchive should deduplicate against CMR UAT in hyp3-test

Open
#2,868 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, python
Domain
backend, cloud

Research direction

Start with apps/search-archive/src/search_archive.py and trace its call to asf_enumeration.aria_s1_gunw.get_product; then read get_product in the linked asf-enumeration file to see how it calls asf_search.search. Find how that search can target CMR UAT and how the HyP3 deployment is identified. Done means searches from hyp3-test use CMR UAT while other deployments retain their intended behavior.

Written by the indexing model from the issue text.

Description

Jira Bug

Jira: https://asfdaac.atlassian.net/browse/TOOL-3872

Note: The above link is accessible only to members of ASF.


Currently SearchArchive always searches CMR prod regardless of HyP3 deployment. We want it to search CMR UAT in the EDC UAT HyP3 deployment (hyp3-test).

SearchArchive calls asf_enumeration.aria_s1_gunw.get_product to check if the ARIA_S1_GUNW job exists in the archive. In asf-enumeration, get_product calls asf_search.search. I assume there's a way to tell asf_search to search CMR UAT.

Dominant language
Python
Stars
53
Forks
13
Avg merge
1d 2h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ASFHyP3/hyp3

All issues in ASFHyP3/hyp3

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.