09/04/19

Meeting Information

Time: 12:00 PDT/15:00 EDT/19:00 UTC - 13:00 PDT/16:00PM EDT/20:00 UTC

Zoom: https://princeton.zoom.us/j/7739591625


Attendees


Agenda

  • Update on browse-everything 2.0 API development
    • James has created and has been progressing with a separate repository:
    • Testing two JSON-API Gems (rails_json_api and fast_jsonapi)
    • New Resource Classes
      • Sessions
      • Bytestreams
      • Containers
      • Authorizations (being integrated)
      • Uploads (forthcoming)
    • Sessions
      • Holds information needed to access cloud storage provider APIs
    • Bytestreams
      • Generalizes the model of a cloud storage file
    • Containers
      • Generalizes the model of a cloud storage folder
    • Authorizations
      • This is needed to support OAuth workflows
      • Should a Session require that multiple authorization attempts be made, this handles those cases
    • Uploads
      • These are actually going to contain the Bytestreams (files) and Containers (directories) which will be selected for upload
      • I argue in favor of keeping Uploads separated from Sessions given that we want to ensure that users can reuse the same Session objects while creating a queue of unprocessed Uploads


Notes

James: Will contact Adam Arling of NU before proceeding with React/StencilJS

James: Will schedule pairing with Thomas to spec out API test suites

James: Documentation/diagrams/slides for the next update



Testing:

RSpec API for the Rails API

Request specs

Controller specs

Feature specs

Beyond this, avoid JavaScript testing in the Rails layer


JavaScript: Jest framework

(Works with React, James suspects that it work with StencilJS)


Weekly updates?  Or Zoom meetings?

Weekly updates were found to be acceptable


Meeting adjourned at 12:36 PDT/15:36 EDT