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

Update Schema Automatically #23

Merged
merged 19 commits into from
May 18, 2021
Merged

Update Schema Automatically #23

merged 19 commits into from
May 18, 2021

Conversation

tdddblog
Copy link
Contributor

@tdddblog tdddblog commented May 5, 2021

(1) See NASA-PDS/registry#113
(2) Java docs

Test Instructions

  • Delete old registry: regfistry-manager delete-registry
  • Create new registry: regfistry-manager create-registry
  • Harvest some OREX data, for example https://sbnarchive.psi.edu/pds4/orex/orex.ovirs/data_raw/orbit_r/20191117T030457S365_ovr_scil0.xml
  • Load harvested OREX data: registry-manager load-data ...
  • Registry manager should automatically download OREX LDD and load harvested OREX data.

Copy link
Member

@tloubrieu-jpl tloubrieu-jpl left a comment

Choose a reason for hiding this comment

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

Hi @tdddblog ,

I was not able to make the test procedure you describe work:

S./bin/registry-manager load-data -dir ~/tmp/son_pere less /Users/loubrieu/tmp/sElasticsearch URL: http://localhost:9200
Index: registry

Updating schema with fields from /Users/loubrieu/tmp/son_pere/fields.txt
[ERROR] Could not find datatype for field 'orex:Time/orex:start_sclk'.
See 'https://nasa-pds.github.io/pds-registry-app/operate/common-ops.html#Load' for more information.

I am using this harvest configuration
bundles.xml.zip

@tdddblog
Copy link
Contributor Author

To troubleshoot your issue with OREX schema I need all files from your Harvest output directory. Can you zip it and attach or email to me. Also can you please provide full log for "registry-manager load-data" command.

@tloubrieu-jpl
Copy link
Member

To troubleshoot your issue with OREX schema I need all files from your Harvest output directory. Can you zip it and attach or email to me. Also can you please provide full log for "registry-manager load-data" command.

That is my mistake, I used an older version of the registry-manager. This works with the current version

Copy link
Member

@tloubrieu-jpl tloubrieu-jpl left a comment

Choose a reason for hiding this comment

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

mvn javadoc:jar works now

@tloubrieu-jpl tloubrieu-jpl merged commit d9f6da7 into master May 18, 2021
@tdddblog tdddblog deleted the schema branch June 26, 2021 00:26
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.

2 participants