Skip to content

feat: add daac_provider #593

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

Merged
merged 3 commits into from
Jun 2, 2025
Merged

feat: add daac_provider #593

merged 3 commits into from
Jun 2, 2025

Conversation

wphyojpl
Copy link
Collaborator

@wphyojpl wphyojpl commented Jun 2, 2025

Closes #592

@@ -117,7 +117,7 @@ def send_to_daac_internal(self, uds_cnm_json: dict):
},
"identifier": uds_cnm_json['identifier'],
"submissionTime": f'{TimeUtils.get_current_time()}Z',
"provider": granule_identifier.tenant,
"provider": daac_config['daac_provider'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

@wphyojpl can we fallback to granule_identifier.tenant if daac_provider isn't set?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

does that mean daac_provider is optional during the creation of daac_config?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, let's make daac_provider optional

@wphyojpl wphyojpl requested a review from ngachung June 2, 2025 18:42
@wphyojpl wphyojpl merged commit 715d327 into develop Jun 2, 2025
1 check passed
@wphyojpl wphyojpl deleted the daac_provider branch June 2, 2025 20:25
@ngachung ngachung mentioned this pull request Jun 25, 2025
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.

[New Feature]: Allow tenant to set CNM-S provider value
2 participants