Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Webpublisher: Use client query functions #3333

Merged

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Webpublish routes are using query functions from PR instead of direct use of mongo queries.

Description

Webpublish routes are using query functions from openpype.client. Webpublish routes do not inherit from private class of _RestApiEndpoint from avalon module instead has it's own implementation which was split into 2 because of new function calls. Did some logical renaming (e.g. OpenPypeRestApiResource -> WebpublishRestApiResource).

Testing notes:

  1. Run blender
  2. Frame start/end should be set to asset's resolution
  3. Publish layout

PR waits for merge of PR

@ynbot
Copy link
Contributor

ynbot commented Jun 13, 2022

Task linked: OP-3387 Use query functions in Webpublisher

@iLLiCiTiT iLLiCiTiT requested review from kalisp and 64qam June 14, 2022 09:17
@iLLiCiTiT iLLiCiTiT self-assigned this Jun 14, 2022
@iLLiCiTiT iLLiCiTiT added the type: refactor Structural changes not affecting functionality label Jun 14, 2022
@iLLiCiTiT iLLiCiTiT marked this pull request as ready for review June 14, 2022 09:17
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Webpublisher still works with this one

@iLLiCiTiT iLLiCiTiT merged commit 45cce2c into develop Jun 17, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-3387_Use-query-functions-in-Webpublisher branch June 17, 2022 16:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: refactor Structural changes not affecting functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants