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

Merge from development for production deployment #607

Merged
merged 9 commits into from
Aug 30, 2021
Merged

Merge from development for production deployment #607

merged 9 commits into from
Aug 30, 2021

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    a77c680 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8809163 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Configuration menu
    Copy the full SHA
    ad58dd1 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Saves Sony Ci ID to Asset via webhook

    * Adds SonyCi::WebhooksController#save_sony_ci_id which receives a webhook request from Sony Ci
      and finds an Asset based on the filename, and if found, saves the Sony Ci ID to the Asset.
    * Logs webhook activity from Sony Ci in the sony_ci_webhook_logs table (model name SonyCi::WebhookLog).
      NOTE: Scaffolding was used to generate WebhookLog code. Any generated code that we will likely use soon
      was kept, the rest was not added to the git repo.
    
    Closes #584.
    afred committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    90865c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Merge pull request #597 from WGBH-MLA/585-handle-sony-ci-webhook

    584 handle sony ci webhook
    afred authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    92b56f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. Get Sony Ci ID from GUID via UI

    * 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'.
    * Handles SonyCiApi gem errors.
    
    Closes #585.
    afred committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    cae13a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Follow-up fixes after code review. Squash this commit before resubmit…

    …ting the PR.
    
    * Updates Sony Ci gem with updated error handling.
    * refactors error specs a bit to better guarantee we are ALWAYS returning JSON.
    * Removes unused error class
    * Tests error responses for controller action sony_ci/api/find_media
    * Defines all routes under /sony_ci/* in the same place in routes.rb.
    * Sets default format to JSON for routes under /sony_ci/api/*.
    afred committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    df80274 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Merge pull request #604 from WGBH-MLA/585-sony-ci-id-from-asset

    Get Sony Ci ID from GUID via UI
    afred authored Aug 26, 2021
    Configuration menu
    Copy the full SHA
    cee3cee View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Merge pull request #593 from WGBH-MLA/2265_time_start_annotation

    2265 Proxy Time Start Annotation
    afred authored Aug 30, 2021
    Configuration menu
    Copy the full SHA
    0888ed7 View commit details
    Browse the repository at this point in the history