-
Notifications
You must be signed in to change notification settings - Fork 8
Schema 4.5 - Initial release #1042
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
Changes from 44 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
800a6e5
Temporarily - pull the schema-4.5 bolognese branch - for development.
svogt0511 9e21f05
Merge remote-tracking branch 'origin/master' into schema-4.5-r2
svogt0511 71251f7
Appease rubocop.
svogt0511 cbf19ae
Elastic search and misc
svogt0511 a4dc6b7
Fix syntax errors.
svogt0511 02823f2
Preliminary support for receiving and storing publisher hash values
codycooperross 3ab5c6c
Use updated bolognese from schema-4.5-r2 branch - ref works better th…
svogt0511 67e5ff4
Added accessor for publisher in doi model, serializer, and ?publisher…
svogt0511 b54dbbf
Fix to serializer for null publisher.
svogt0511 80b6d5b
More fixes.
svogt0511 d3dff8c
Fixes to serializer for publisher param when data is from ES; refinem…
codycooperross b907405
Normalization for publisher-as-hash in GraphQL WorkType
codycooperross b5e47c8
Support for publisher hash in WorkSerializer; test corrections for bo…
codycooperross 85326ed
Merge remote-tracking branch 'origin/master' into schema-4.5-r2
svogt0511 4ba23fa
Update bolognese gem (from bolognese schema-4.5 branch)
svogt0511 203483e
Update schema -4.5-r2 branch from master
svogt0511 c462c44
Make publisher_obj private.
svogt0511 28b07dd
Allow publisher=true to available options for validate (and affiliati…
svogt0511 eb0e99a
First installment of migration script (publisher => publisher_obj). …
svogt0511 856e495
Change private to protected on publisher_obj accessors.
svogt0511 a069e3d
Mods for activities endpoint.
svogt0511 ddfd286
Mods for activities endpoint. Made publisher_obj accessors public to…
svogt0511 703bb65
Tests for activities endpoint - publishers flag.
svogt0511 dc9c611
Validation for publisher_obj (activerecord_json_validator).
svogt0511 14cb361
Mods to publisher/publisher_obj. (activerecord_json_validator).
svogt0511 61bd4ad
Merge remote-tracking branch 'origin/master' into schema-4.5-r2
svogt0511 a1cc1a9
Clean blank and null properties from publisher parameters in datacite…
svogt0511 a1974b1
Merge remote-tracking branch 'origin/master' into schema-4.5-r2
svogt0511 c104c9d
Revert back original to publisher_obj validation.
svogt0511 be0bbd3
Allow blank/null publisher_obj properties.
svogt0511 e685e04
Validation.
svogt0511 676ded1
Move processing of null parameters over to update_publisher.
svogt0511 c0a98ca
Appease rubocop.
svogt0511 b6756d5
Cleanup
codycooperross dde6e51
Publisher param test corrections
codycooperross 11cd92c
Merge remote-tracking branch 'origin/master' into schema-4.5-r2
svogt0511 8fa20c1
Mods from suggestions in PR.
svogt0511 3926084
Appease rubocop.
svogt0511 8e8bb94
Use updated bolognese branch.
svogt0511 9916391
Cleanup syntax error.
svogt0511 1782bb3
Appease rubocop.
svogt0511 b7db165
Revert some changes.
svogt0511 06c5e31
DOI serializer.
svogt0511 7954d19
Cleanup.
svogt0511 668c643
Update bolognese branch.
svogt0511 cbce6af
Update bolognese to use v2.0.0
svogt0511 580e305
Implementing review comment.
svogt0511 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
class DoiConvertPublisherByIdJob < ApplicationJob | ||
queue_as :lupo_background | ||
|
||
rescue_from ActiveJob::DeserializationError, | ||
Elasticsearch::Transport::Transport::Errors::BadRequest do |error| | ||
Rails.logger.error error.message | ||
end | ||
|
||
def perform(options = {}) | ||
Doi.convert_publisher_by_id(options) | ||
end | ||
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.