The Backend component of Munich Quantum Portal Dashboard, and it is a part of MQSS Client. This repository implements interfaces API of Quantum database and connect to QDMI database.
- LDAP Authentication
- Manage Access Token
- Query Jobs and Resources from Quantum database
- Query Telemetry Data from QDMI proxy database
- Automated testing and CI support
See CONTRIBUTING.md.
See CODE_OF_CONDUCT.md.
Licensed under the Apache License v2.0 with LLVM Exceptions.
Examples:
<short_author_name>/feat: add JWT authentication
<short_author_name>/fix: resolve docker startup issue
<short_author_name>/docs: update API documentationBefore submitting a PR:
- Ensure tests pass
- Ensure lint checks pass
- Add tests for new functionality
- Update documentation where needed
PRs should include:
- Summary of changes
- Related issue references
- Screenshots/examples if applicable
- Follow PEP 8
- Use type hints when possible
- Keep functions focused and testable
- Add docstrings for public APIs
- Keep routes lightweight
- Move business logic into services
- Use blueprints for modularity
Please include:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Logs/screenshots if applicable
27-11-2024 In bqp_dashboard_backend/tokens.py, we hardcoded, that users in the user group MQP_EDU (table users_in_user_groups in the quantum database) are returned only
"ThisIsAnEducationalTokenItCannotBeUsedToSubmitJobsThisIsAnEducat" as a token, which is not useable to submit jobs.
If this token is encountered by the frontend, it will display a banner "This is an educational token, it cannot be used to submit jobs".