AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
833 stars 203 forks source link

[cueweb] CueWeb improvements and add unit testing #1457

Closed Zach-Fong closed 3 months ago

Zach-Fong commented 3 months ago

Features and improvements

  1. CueWeb authorization updates
    • Modified CueWeb to include authorization headers in all HTTP requests to the gRPC REST gateway.
    • Added functionality to generate JWT tokens using a secret for inclusion in authorization headers.
  2. Include unit testing
    • Introduced Jest tests for CueWeb to cover: Authentication middleware, error handling, and JWT creation.

Co-authored-by: Zachary Fong zfong@imageworks.com Co-authored-by: Ramon Figueiredo rfigueiredo@imageworks.com

ramonfigueiredo commented 3 months ago

This branch also merged the master and rest_gateway branches into the cueweb branch.

ramonfigueiredo commented 3 months ago

Hi @DiegoTavares @bcipriano

FYI ...

I already reviewed these new changes in the CueWeb. Everything is fine! For now, @Zach-Fong's PR will be merged into the cueweb branch, not the master.