Skip to content

Extended API for FinOps#388

Open
bdjilka wants to merge 4 commits intomainfrom
feature/ffc_api
Open

Extended API for FinOps#388
bdjilka wants to merge 4 commits intomainfrom
feature/ffc_api

Conversation

@bdjilka
Copy link
Copy Markdown

@bdjilka bdjilka commented Mar 26, 2026

Description

Related issue number

Special notes

Checklist

  • The pull request title is a good summary of the changes
  • Unit tests for the changes exist
  • New and existing unit tests pass locally

@bdjilka bdjilka marked this pull request as ready for review April 20, 2026 16:17
@bdjilka bdjilka changed the title [DON'T MERGE] Extended API for FinOps Extended API for FinOps Apr 20, 2026
@bdjilka bdjilka force-pushed the feature/ffc_api branch 2 times, most recently from 3b5322c to 4eced8d Compare April 20, 2026 16:48
Comment thread .github/workflows/test_ffc_api.yaml Outdated
Comment thread ffc_api/ffc_api_server/app/auth/auth.py Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I understand that the whole ClickHouse package will be moved outside to a shared library. I'm saying so just because we should choose a better name like expenses. Definitively, we access also mongo from the code contained into this package.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Agree. Package will be moved, but as you know it can take a significant amount of time

Comment thread ffc_api/ffc_api_server/app/db/human_readable_pk.py Outdated

settings = get_settings()

if not secrets.compare_digest(secret, settings.cluster_secret): # type: ignore[type-var]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I love this compare_digest, security PRO, do you know if Hystax guys are also using it in their components?
Great job 🥇

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Unfortunately that use simple comparison for secret

Comment thread ffc_api/.gitignore Outdated
Comment thread ffc_api/.pylintrc Outdated
Comment thread ffc_api/Dockerfile Outdated
Comment thread ffc_api/run_test.sh
Comment thread ffc_api/sonar-project.properties Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants