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

As a user, I want Harvest automatically convert date / time fields to ISO format supported by Elasticsearch #54

Closed
tdddblog opened this issue Jun 29, 2021 · 1 comment

Comments

@tdddblog
Copy link
Contributor

tdddblog commented Jun 29, 2021

Motivation

...so that I can load my data into Elasticsearch

Additional Details

Current version of Harvest only converts fields containing "date" in the field name, such as start_date_time. Fields like earth_received_start_time are not converted and documents with those fields could not be loaded into Elasticsearch. Harvest should convert all date / time fields based on data dictionary field definition.

Follow-on to #55

Acceptance Criteria

**Given a date/time field defined in an LDD
**When I perform harvesting of products referring that LDD
**Then I expect all date/time fields converted to "ISO instant" format supported by Elasticsearch.

Engineering Details

  • Harvest should be able to read registry data dictionary from Elasticsearch registry-dd index.
  • If a field data type is one of PDS4 date/time types, the field value should be converted to "ISO instant" format.
@jordanpadams
Copy link
Member

closed per PRs above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants