Skip to content

Commit

Permalink
Get Sony Ci ID from GUID via UI
Browse files Browse the repository at this point in the history
* Updates sony_ci_api gem to use sony_ci_api_rewrite in github, branch v0.1.
	* Had to create a branch that was compatible with Faraday v0.17.x, b/c Hyrax dependencies
	  would not allow Faraday v1.3.
* Customizes Sony Ci ID input to include filename fetched from Sony Ci.
* Customizes Sony Ci ID input partial to include button that will populate Sony Ci ID
  entries from Sony Ci, where the filename matches a translated form of the Asset ID.
* Replaces old instances of SonyCiBasic with SonyCiApi::Client.
* Adds a SonyCi::APIController to wrap very specific requests to Sony Ci API using the
  new gem. Endpoints include:
  * /sony_ci/api/find_media&query={QUERY}&fields={FIELDS}
  	This will search the API for records matching {QUERY} and return JSON objects having properties
	specified by the comma-separated field list {FIELDS}
  * /sony_ci/api/get_filename&sony_ci_id={SONY_CI_ID}
    This will find the Sony Ci record and return a JSON object containing fields 'sony_ci_id' and 'name'.

Closes #585.
  • Loading branch information
afred committed Aug 17, 2021
1 parent 92b56f4 commit a777ec6
Show file tree
Hide file tree
Showing 19 changed files with 518 additions and 173 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ gem 'bootstrap-multiselect-rails'
gem 'hyrax-batch_ingest', git: 'https://github.com/samvera-labs/hyrax-batch_ingest'
gem 'pbcore', '~> 0.3.0'
gem 'curb'
gem 'sony_ci_api', '~> 0.2.1'
# gem 'sony_ci_api', '~> 0.2.1'
gem 'sony_ci_api', github: 'WGBH-MLA/sony_ci_api_rewrite', branch: 'v0.1'
# gem 'hyrax-iiif_av', '>= 0.2.0'
# gem 'hyrax-iiif_av', github: 'samvera-labs/hyrax-iiif_av', branch: 'hyrax_master'
gem 'webpacker'
Expand Down
Loading

0 comments on commit a777ec6

Please sign in to comment.