-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ruby, elasticsearch upgrades, and documentation #211
Conversation
Adds documentation for new changes, closes #208 |
dd8d51f
to
d4a8144
Compare
Force pushed after rebase removing the duplicate commits from #210 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Merging into the other branch.
CHANGELOG.md
Outdated
- API schema can either be 1.0 or 2.0 (which includes nested fields); 1.0 will be run by default unless 2.0 is specified. Add the following to `public.yml` or `private.yml` in the data repo: | ||
``` | ||
api_version: '2.0' | ||
``` | ||
- schema validation with API version 2.0, invalidly constructed documents will not post | ||
- authentication with Elasticesarch 8.5; add the following to `public.yml` or `private.yml` in the data repo: | ||
``` | ||
es_user: username | ||
es_password: ******** | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instructions like these to add / edit config files should be in the Migration section. Otherwise the Migration section looks very thorough 👍 I'll have to edit this file for merge conflicts after I updated the changelog file to fix up the last release though. I'll take care of it during review of the release/v1.0.0
branch which will have the merge conflict.
if get_list(@xpaths["date"]) | ||
datestr = get_list(@xpaths["date"]).first | ||
else | ||
datestr = nil | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd write this more briefly with a ternary, but no need to change it:
datestr = get_list(@xpaths["date"]) ? get_list(@xpaths["date"]).first : nil
fixes #205