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

List ftrack project on AYON server #195

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Dec 30, 2024

Changelog Description

Implemented base of simple async ftrack session to collect ftrack projects using server, api key and username from ftrack settings.

Additional review information

Implemented ftrack session is using httpx which is available on server. The list of ftrack projects is available under endpoint /ftrackProjects.

Notes

I don't know what error code I should return when it is not possible to create ftrack connection, e.g. because missing/invalid ftrack url or missing/invalid credentials. Right now it does return 200 with success and error information in response.

Testing notes:

  1. Create package, upload, use in bundle.
  2. Fill ftrack url, service api key/username.
  3. Call GET {AYON server url}/addons/ftrack/1.3.3+dev/ftrackProjects e.g. using ayon_api. If settings are set in dev or staging variant, then also add ?variant={variant} to url.
  4. It should return response with project names if everything is set up correctly.

Resolves #188

@iLLiCiTiT iLLiCiTiT added the type: feature Adding something new and exciting to the product label Dec 30, 2024
@iLLiCiTiT iLLiCiTiT self-assigned this Dec 30, 2024
@iLLiCiTiT iLLiCiTiT changed the base branch from feature/76-ftrack-project-import to develop January 10, 2025 13:37
@iLLiCiTiT iLLiCiTiT merged commit 5765c30 into develop Jan 10, 2025
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the feature/188-list-ftrack-project-on-ayon-server branch January 10, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Adding something new and exciting to the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List ftrack project on AYON server
1 participant