-
Notifications
You must be signed in to change notification settings - Fork 24
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
Aardvark Support #105
Comments
Do we want two separate rake tasks (geocombine:index-aardvark and geocombine:index)? Will mixed ingesting work in a front end? |
I would also like to know this. Being able to ingest both Aardvark and 1.0 records would be really useful for our case. |
Nope – you just need to set an environment variable. To index Aardvark records, you can set: SCHEMA_VERSION='Aardvark' bundle exec rake geocombine:index For 1.0 records, you don't need to do anything, since it is the default – although #163 proposes changing that, since Aardvark should really be the default now. You can force it to use 1.0 with: SCHEMA_VERSION='1.0' bundle exec rake geocombine:index |
Thanks for the reply. Now that the Schema V1 to Aardvark migrator is working, I wonder if it would be possible to ingest 1.0 records and migrate them to Aardvark. For example, our instance uses Aarvark, but I would like to ingest 1.0 records from other portals and have them be migrated to Aardvark automatically. What would it take to add that functionality? |
I think the way I'd do that is to write a small script or rake task (probably we could even make it part of GeoCombine later) that takes a path to directory as its argument (most likely the cloned OpenGeoMetadata repo for one institution). You could add methods to or adapt the The task would need to make two passes:
id_map = {
'My Collection 1' => 'institution:my-collection-1',
'My Collection 2' => 'institution:my-collection-2'
}
If you do it this way, you can just use |
Per a conversation at a sprint standup meeting, we should consider updating the GeoCombine test fixture. It seems out of sync with the GeoBlacklight test fixture. Maybe that's okay, but it should probably be part of the process for adding Aardvark support generally. |
I updated the |
Identify Aardvark implications for GeoCombine.
geocombine:index
rake task has a hard-codedlayer_id_s
field statement. That field is changed togbl_wxsIdentifier_s
in Aardvark.) (addressed by f05d344)layer_slug_s
anddc_source_s
is present inspec/lib/geo_blacklight_harvester_spec.rb
)The text was updated successfully, but these errors were encountered: