orchestrator-core 2.10.0rc1__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.bumpversion.cfg +1 -1
- orchestrator_core-3.0.0/.github/workflows/run-codspeed-tests.yml +71 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/run-linting-tests.yml +0 -7
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.pre-commit-config.yaml +3 -3
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/PKG-INFO +10 -8
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/README.md +7 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/contributing/guidelines.md +14 -0
- orchestrator_core-3.0.0/docs/migration-guide/3.0.md +18 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/mkdocs.yml +3 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/__init__.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/api.py +24 -3
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/processes.py +1 -1
- orchestrator_core-3.0.0/orchestrator/api/api_v1/endpoints/product_blocks.py +56 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/products.py +28 -1
- orchestrator_core-3.0.0/orchestrator/api/api_v1/endpoints/resource_types.py +56 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/settings.py +2 -1
- orchestrator_core-3.0.0/orchestrator/api/api_v1/endpoints/workflows.py +54 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/app.py +3 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/product_block.py +1 -9
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/create_product.j2 +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/modify_product.j2 +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/shared_workflows.j2 +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/terminate_product.j2 +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/test_create_workflow.j2 +0 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/test_modify_workflow.j2 +1 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/validate_product.j2 +3 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/helpers/print_helpers.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/config/assignee.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/models.py +17 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/devtools/populator.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/devtools/scripts/migrate_20.py +11 -106
- orchestrator_core-3.0.0/orchestrator/devtools/scripts/migrate_30.py +61 -0
- orchestrator_core-3.0.0/orchestrator/devtools/scripts/shared.py +108 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/distlock/managers/redis_distlock_manager.py +3 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/domain/base.py +1 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/domain/lifecycle.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/settings.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/product.py +19 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/helpers.py +1 -1
- orchestrator_core-3.0.0/orchestrator/migrations/versions/schema/2025-02-12_bac6be6f2b4f_added_input_state_table.py +56 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/engine_settings.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/product.py +4 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/product_block.py +4 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/resource_type.py +4 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/subscription.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/workflow.py +4 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/celery.py +7 -4
- orchestrator_core-3.0.0/orchestrator/services/input_state.py +76 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/processes.py +8 -6
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/products.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/subscriptions.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/tasks.py +13 -7
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/workflows.py +13 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/settings.py +5 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/targets.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/types.py +8 -43
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/errors.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/redis.py +6 -11
- orchestrator_core-3.0.0/orchestrator/utils/redis_client.py +35 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/state.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflow.py +3 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/modify_note.py +1 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/steps.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/tasks/cleanup_tasks_log.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/tasks/resume_workflows.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/tasks/validate_product_type.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/tasks/validate_products.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/utils.py +2 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/pyproject.toml +7 -6
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/setup.cfg +0 -12
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/devtools/populator/test_product_populator.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/workflows/create_test_product.py +2 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_processes_ws.py +1 -1
- orchestrator_core-3.0.0/test/unit_tests/api/test_product_blocks.py +58 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_products.py +30 -0
- orchestrator_core-3.0.0/test/unit_tests/api/test_resource_types.py +56 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_subscriptions.py +2 -2
- orchestrator_core-3.0.0/test/unit_tests/api/test_workflows.py +57 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_blocks/example4sub.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example1/create_example1.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example1/modify_example1.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example1/terminate_example1.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example1/validate_example1.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example2/create_example2.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example2/modify_example2.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example2/terminate_example2.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example4/create_example4.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example4/modify_example4.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example4/terminate_example4.py +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/conftest.py +114 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/test_base.py +4 -4
- orchestrator_core-3.0.0/test/unit_tests/domain/test_base_performance.py +125 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_block_one_nested.py +12 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_product.py +44 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_settings.py +2 -3
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_subscriptions.py +28 -0
- orchestrator_core-3.0.0/test/unit_tests/services/test_input_state.py +63 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/test_processes.py +12 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/test_workflow.py +1 -2
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_state.py +2 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/__init__.py +6 -3
- orchestrator_core-3.0.0/test/unit_tests/workflows/test_generic_workflow_steps.py +103 -0
- orchestrator_core-2.10.0rc1/mutmut_config.py +0 -35
- orchestrator_core-2.10.0rc1/test/unit_tests/api/test_product_blocks.py +0 -0
- orchestrator_core-2.10.0rc1/test/unit_tests/workflows/test_generic_workflow_steps.py +0 -52
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.coveragerc +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/dependabot.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/README.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/build-push-container.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/changelog.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/codeql-analysis.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/gh-pages.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/issues.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/publish-package.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/run-unit-tests.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/scheduled-build.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.gitignore +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.stignore +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/CHANGELOG.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/Dockerfile +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/LICENSE +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/NOTICE +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/codecov.yml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/application/domainmodels.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/application/forms-frontend.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/application/tasks.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/application/workflow.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/framework.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/img/base-orchestrator-setup.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/img/custom-orchestrator-setup.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/orchestration/img/Custom-orchestrator-ui-using-override.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/orchestration/img/Standard-orchestrator-ui.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/orchestration/orchestrator-ui.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/orchestration/philosophy.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/backfilling.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/context.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/imports.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/introduction.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/ip_static.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/ip_static.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/l2_point_to_point.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/l2_point_to_point.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/l2_vpn.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/l2_vpn.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/modelling.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/node.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/node.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/port.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/port.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/product_block_graph.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/product_block_graph.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/standards.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/product_modelling/terminology.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/architecture/tldr.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/contributing/development.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/contributing/testing.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/css/custom.css +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/css/style.css +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/css/termynal.css +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/getting-started/base.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/getting-started/docker.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/getting-started/orchestration-ui.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/getting-started/prepare-source-folder.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/getting-started/versions.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/img/WFO-Emblem-White.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/img/favicon.ico +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/index.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/js/custom.js +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/js/termynal.js +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/migration-guide/2.0.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/api.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/app/app.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/app/scaling.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/auth-backend-and-frontend.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/cli.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/database.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/generator.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/instantiating.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/model_attributes.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/overview.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/product_blocks.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/product_types.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/properties.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/pydantic_hooks.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/type_casting.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/union_types.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/domain_models/validation.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/forms.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/graphql.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/python.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/search.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/search_overview.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/serialization.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/tasks.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/tests.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/tldr.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/websockets.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/workflows/callbacks.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/workflows/workflow-lifecycles.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/reference-docs/workflows/workflow-steps.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/bootstrap.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/create-your-own.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/docker-installation.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/domain-models.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/execute-workflows.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/generator.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/l2_point_to_point.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/node-create.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/node-modify.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/node-terminate.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/node-validate.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/overview.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/scenario.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/workflow-basics.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/advanced/workflow-introduction.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/create-user-group.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/create-user.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/database-migration.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/debian.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/docker.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/domain-models.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/explore.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/input-forms.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/macos.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/modify-user-group.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/modify-user.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/register-workflows.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/start-applications.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/terminate-user-group.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/terminate-user.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/workflow-introduction.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/beginner/workshop-overview.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/Software-topology.drawio.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/clab_topology.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/metadata_products.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/netbox_devices_active.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/subscriptions.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/docs/workshops/images/topology.drawio.png +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/includes/abbreviations.md +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/nitpick-style.toml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/health.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/subscription_customer_descriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/translations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/user.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/api_v1/endpoints/ws.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/error_handling.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/api/models.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/database.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/fixed_input_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/product_block_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/product_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/resource_type_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/domain_gen_helpers/types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generate.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/README +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_create_imports.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_create_input_fields.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_create_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_modify_imports.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_modify_input_fields.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_modify_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_terminate_imports.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_terminate_input_fields.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/custom_templates/additional_terminate_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/enums.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/migration.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/settings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/translations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/unittest.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/validations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/generator/workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/products/workshop/circuit.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/products/workshop/node.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/products/workshop/user.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/products/workshop/user_group.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/additional_create_imports.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/additional_create_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/additional_modify_imports.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/additional_modify_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/additional_terminate_steps.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/constrained_int_definitions.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/create_data_head.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/enums.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/lazy_workflow_instance.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/list_definitions.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/macros.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/new_product_migration.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/product.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/product_block.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/shared_forms.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/subscription_model_registry.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/test_product_type.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/test_terminate_workflow.j2 +1 -1
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/generator/templates/test_validate_workflow.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/helpers/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/helpers/input_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/main.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/migrate_domain_models.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/migrate_tasks.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/migrate_workflows.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/migration_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/cli/scheduler.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/config/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/database.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/filters.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/product_block.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/resource_type.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/search_filters/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/search_filters/inferred_filter.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/filters/workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/listeners.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/loaders.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/range/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/range/range.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/product_block.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/resource_type.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/sorting.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/db/sorting/workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/devtools/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/devtools/scripts/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/distlock/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/distlock/distlock_manager.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/distlock/managers/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/distlock/managers/memory_distlock_manager.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/domain/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/domain/customer_description.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/domain/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/exception_handlers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/customer_contact_list.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/customer_id.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/display_subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/network_type_validators.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/forms/validators/product_id.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/autoregistration.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/extensions/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/extensions/stats.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/loaders/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/loaders/subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/mutations/customer_description.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/mutations/start_process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/pagination.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/customer.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/product_block.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/resource_type.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/version.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/resolvers/workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schema.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/customer.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/customer_description.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/errors.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/fixed_input.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/product_block.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/resource_type.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/settings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/strawberry_pydantic_patch.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/version.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/schemas/workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/create_resolver_error_handler.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/get_query_loaders.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/get_selected_fields.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/get_selected_paths.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/get_subscription_product_blocks.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/is_query_detailed.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/override_class.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/graphql/utils/to_graphql_result_page.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/log_config.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/README +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/alembic.ini +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/env.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/script.py.mako +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/templates/alembic.ini.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/templates/env.py.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/templates/helpers.py.j2 +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2020-10-19_3323bcb934e7_fix_tsv_triggers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2020-10-19_a76b9185b334_add_generic_workflows_to_core.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2020-10-19_c112305b07d3_initial_schema_migration.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2021-04-06_3c8b9185c221_add_validate_products_task.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2021-07-01_6896a54e9483_add_product_block_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2021-11-17_19cdd3ab86f6_fix_parse_websearch.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2022-02-16_bed6bc0b197a_rename_parent_and_child_block_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-03-06_e05bb1967eff_add_subscriptions_search_view.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-05-25_b1970225392d_add_subscription_metadata_workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-06-28_a09ac125ea73_add_throttling_to_refresh_subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-06-28_a09ac125ea73_add_throttling_to_refresh_subscriptions.sql +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-07-17_165303a20fb1_customer_id_to_varchar.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-07-17_165303a20fb1_customer_id_to_varchar.sql +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-09-25_da5c9f4cce1c_add_subscription_metadata_to_fulltext_.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-09-25_da5c9f4cce1c_add_subscription_metadata_to_fulltext_.sql +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2023-12-06_048219045729_add_workflow_id_to_processes_table.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2024-09-27_460ec6748e37_add_uuid_search_workaround.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2024-09-27_460ec6748e37_add_uuid_search_workaround.sql +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2025-01-08_4c5859620539_add_version_column_to_subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/migrations/versions/schema/2025-10-19_4fjdn13f83ga_add_validate_product_type_task.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/py.typed +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/resume_workflows.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/scheduling.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/task_vacuum.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/validate_products.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schedules/validate_subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/base.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/fixed_input.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/problem_detail.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/schemas/subscription_descriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/security.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/fixed_inputs.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/process_broadcast_thread.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/resource_types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/settings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/subscription_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/services/translations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/crypt.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/datetime.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/deprecation_logger.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/docs.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/enrich_process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/fixed_inputs.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/functional.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/get_subscription_dict.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/get_updated_properties.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/json.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/search_query.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/strings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/utils/validate_data_version.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/version.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/websocket/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/websocket/managers/broadcast_websocket_manager.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/websocket/managers/memory_websocket_manager.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/websocket/websocket_manager.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/removed_workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/tasks/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/orchestrator/workflows/translations/en-GB.json +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/setup.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/conftest.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/devtools/populator/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/main.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/product_blocks/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/product_blocks/test_product_blocks.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/products/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/products/test_product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/fixtures/test_orchestrator/workflows/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/acceptance_tests/test_test_product.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_caching.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_health.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_models.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_processes.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_settings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_subscription_customer_descriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/api/test_ws.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/conftest.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/alembic.ini +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/main.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/env.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/script.py.mako +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/versions/schema/2024-02-20_59e1199aff7f_create_data_head.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/versions/schema/2024-02-20_85be1c80731c_add_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/versions/schema/2024-02-20_ea9e6c9de75c_add_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/migrations/versions/schema/2024-06-07_380a5b0c928c_add_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_blocks/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_blocks/example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_blocks/example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_blocks/example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_types/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_types/example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_types/example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/products/product_types/example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/domain/product_types/test_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/domain/product_types/test_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/domain/product_types/test_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example1/test_create_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example1/test_modify_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example1/test_terminate_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example1/test_validate_example1.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example2/test_create_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example2/test_modify_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example2/test_terminate_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example2/test_validate_example2.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example4/test_create_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example4/test_modify_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example4/test_terminate_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/test/unit_tests/workflows/example4/test_validate_example4.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/translations/en-GB.json +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example1/shared/forms.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example2/shared/forms.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/example4/shared/forms.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate/workflows/shared.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/generate.sh +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/invalid_product_config1.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/invalid_product_config2.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/product_config1.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/product_config2.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/product_config3.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/data/product_config4.yaml +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/generator/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/generator/test_enums.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/test_cli_generate.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/test_config_validation.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/test_generate_code.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/test_migrate_domain_models_with_instances.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/cli/test_migrate_domain_models_without_instances.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/config.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/db/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/db/test_listeners.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/test_base_multiple.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/test_base_with_list_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/test_base_with_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/domain/test_lifecycle.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/processes.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_block_list_nested.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_block_one.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_block_with_list_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_block_with_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_sub_block_one.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_blocks/product_sub_block_two.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_list_nested.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_list_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_list_union_overlap.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_one.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_one_nested.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_sub_list_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_sub_one.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_sub_two.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_sub_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/product_type_union.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/product_types/subscription_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/products/resource_types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/fixtures/workflows.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/forms/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/forms/test_customer_contact_list.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/forms/test_customer_id.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/forms/test_display_subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/forms/test_generic_validators.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/conftest.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/extensions/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/extensions/test_stats.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/mutations/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/mutations/test_customer_description.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/mutations/test_start_process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_customer.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_process.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_processes.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_product_blocks.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_resource_types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_sort_and_filter_fields.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_subscription.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_subscription_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_version.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/test_workflows.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/fixtures.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_autoregistration.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_get_query_loaders.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_get_selected_paths.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_is_query_detailed.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_is_querying_page_data.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/graphql/utils/test_override_class.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/helpers.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/schedules/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/schedules/test_scheduling.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/test_products.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/test_subscription_relations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/test_subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/services/test_translations.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/test_db.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/test_types.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/get_subscription_dict.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_datetime.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_errors.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_functional.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_get_updated_properties.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_json.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_search_query.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/utils/test_strings.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/websocket/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/websocket/test_broadcast.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/conftest.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/shared/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/shared/test_validate_subscriptions.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/tasks/__init__.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/tasks/test_clean_up_task_log.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/tasks/test_resume_workflows.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/tasks/test_validate_product_type.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/tasks/test_validate_products.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/test_async_workflow.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/test_config_db_code.py +0 -0
- {orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/test/unit_tests/workflows/test_modify_note.py +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: CodSpeed
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "main" ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
codspeed:
|
|
11
|
+
name: Run benchmarks
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
container:
|
|
14
|
+
image: python:3.11
|
|
15
|
+
options: --privileged
|
|
16
|
+
services:
|
|
17
|
+
postgres:
|
|
18
|
+
image: postgres:15-alpine
|
|
19
|
+
# Provide the password for postgres
|
|
20
|
+
env:
|
|
21
|
+
POSTGRES_PASSWORD: nwa
|
|
22
|
+
POSTGRES_USER: nwa
|
|
23
|
+
# Set health checks to wait until postgres has started
|
|
24
|
+
options: >-
|
|
25
|
+
--health-cmd pg_isready
|
|
26
|
+
--health-interval 10s
|
|
27
|
+
--health-timeout 5s
|
|
28
|
+
--health-retries 5
|
|
29
|
+
redis:
|
|
30
|
+
# Docker Hub image
|
|
31
|
+
image: redis
|
|
32
|
+
# Set health checks to wait until redis has started
|
|
33
|
+
options: >-
|
|
34
|
+
--health-cmd "redis-cli ping"
|
|
35
|
+
--health-interval 10s
|
|
36
|
+
--health-timeout 5s
|
|
37
|
+
--health-retries 5
|
|
38
|
+
steps:
|
|
39
|
+
# Downloads a copy of the code in your repository before running CI tests
|
|
40
|
+
- name: Check out repository code
|
|
41
|
+
uses: actions/checkout@v3
|
|
42
|
+
|
|
43
|
+
- name: Install dependencies
|
|
44
|
+
run: |
|
|
45
|
+
apt update
|
|
46
|
+
apt install curl git build-essential libpq-dev libffi-dev -y
|
|
47
|
+
python -m pip install --upgrade pip
|
|
48
|
+
pip install flit
|
|
49
|
+
flit install --deps develop --symlink
|
|
50
|
+
echo "GIT_COMMIT_HASH=\"test\"" > orchestrator/version.py
|
|
51
|
+
env:
|
|
52
|
+
FLIT_ROOT_INSTALL: 1
|
|
53
|
+
|
|
54
|
+
# Prevent error "repository path is not owned by the current user"
|
|
55
|
+
- name: Fix git owner
|
|
56
|
+
run: git config --global --add safe.directory "*"
|
|
57
|
+
|
|
58
|
+
# Speculatively add the cargo binary directory to the PATH because codspeed's installer script somehow doesn't
|
|
59
|
+
- name: Add $HOME/.cargo/bin to PATH
|
|
60
|
+
run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
|
61
|
+
|
|
62
|
+
- uses: CodSpeedHQ/action@v3
|
|
63
|
+
with:
|
|
64
|
+
run: CACHE_URI=redis://redis DATABASE_URI=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB pytest test/unit_tests --codspeed
|
|
65
|
+
token: ${{ secrets.CODSPEED_TOKEN }}
|
|
66
|
+
env:
|
|
67
|
+
POSTGRES_DB: orchestrator-core-test
|
|
68
|
+
POSTGRES_USER: nwa
|
|
69
|
+
POSTGRES_PASSWORD: nwa
|
|
70
|
+
POSTGRES_HOST: postgres
|
|
71
|
+
ENVIRONMENT: TESTING
|
{orchestrator_core-2.10.0rc1 → orchestrator_core-3.0.0}/.github/workflows/run-linting-tests.yml
RENAMED
|
@@ -29,13 +29,6 @@ jobs:
|
|
|
29
29
|
python -m pip install --upgrade pip
|
|
30
30
|
pip install flit
|
|
31
31
|
flit install --deps develop --symlink
|
|
32
|
-
- name: Check formatting
|
|
33
|
-
run: |
|
|
34
|
-
black --check .
|
|
35
|
-
- name: Lint with ruff
|
|
36
|
-
run: |
|
|
37
|
-
# stop the build if there are Python syntax errors or undefined names
|
|
38
|
-
ruff check .
|
|
39
32
|
- name: Check with mypy
|
|
40
33
|
run: |
|
|
41
34
|
mypy .
|
|
@@ -3,7 +3,7 @@ default_language_version:
|
|
|
3
3
|
exclude: ^test/unit_tests/cli/data/generate/.*\.py|orchestrator/vendor.*
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/psf/black
|
|
6
|
-
rev:
|
|
6
|
+
rev: 25.1.0
|
|
7
7
|
hooks:
|
|
8
8
|
- id: black
|
|
9
9
|
# - repo: https://github.com/asottile/blacken-docs
|
|
@@ -14,12 +14,12 @@ repos:
|
|
|
14
14
|
# Disabling since this cannot parse bit shift operators how we've overloaded them and you can't ignore lines.
|
|
15
15
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
16
16
|
# Ruff version.
|
|
17
|
-
rev: v0.6
|
|
17
|
+
rev: v0.9.6
|
|
18
18
|
hooks:
|
|
19
19
|
- id: ruff
|
|
20
20
|
args: [ --fix, --exit-non-zero-on-fix, --show-fixes ]
|
|
21
21
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
22
|
-
rev:
|
|
22
|
+
rev: v5.0.0
|
|
23
23
|
hooks:
|
|
24
24
|
- id: trailing-whitespace
|
|
25
25
|
exclude:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: orchestrator-core
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: This is the orchestrator workflow engine.
|
|
5
5
|
Requires-Python: >=3.11,<3.14
|
|
6
6
|
Classifier: Intended Audience :: Information Technology
|
|
@@ -27,11 +27,12 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.11
|
|
28
28
|
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
29
29
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
30
|
+
License-File: LICENSE
|
|
30
31
|
Requires-Dist: alembic==1.14.1
|
|
31
32
|
Requires-Dist: anyio>=3.7.0
|
|
32
33
|
Requires-Dist: click==8.*
|
|
33
34
|
Requires-Dist: deprecated
|
|
34
|
-
Requires-Dist: deepmerge==
|
|
35
|
+
Requires-Dist: deepmerge==2.0
|
|
35
36
|
Requires-Dist: fastapi~=0.115.2
|
|
36
37
|
Requires-Dist: fastapi-etag==0.4.0
|
|
37
38
|
Requires-Dist: more-itertools~=10.6.0
|
|
@@ -40,13 +41,13 @@ Requires-Dist: Jinja2==3.1.5
|
|
|
40
41
|
Requires-Dist: orjson==3.10.15
|
|
41
42
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
42
43
|
Requires-Dist: pydantic[email]~=2.8.2
|
|
43
|
-
Requires-Dist: pydantic-settings~=2.
|
|
44
|
+
Requires-Dist: pydantic-settings~=2.8.0
|
|
44
45
|
Requires-Dist: python-dateutil==2.8.2
|
|
45
46
|
Requires-Dist: python-rapidjson>=1.18,<1.21
|
|
46
|
-
Requires-Dist: pytz==
|
|
47
|
+
Requires-Dist: pytz==2025.1
|
|
47
48
|
Requires-Dist: redis==5.0.3
|
|
48
49
|
Requires-Dist: schedule==1.1.0
|
|
49
|
-
Requires-Dist: sentry-sdk[fastapi]~=2.
|
|
50
|
+
Requires-Dist: sentry-sdk[fastapi]~=2.22.0
|
|
50
51
|
Requires-Dist: SQLAlchemy==2.0.38
|
|
51
52
|
Requires-Dist: SQLAlchemy-Utils==0.41.2
|
|
52
53
|
Requires-Dist: structlog
|
|
@@ -56,7 +57,7 @@ Requires-Dist: nwa-stdlib~=1.9.0
|
|
|
56
57
|
Requires-Dist: oauth2-lib~=2.4.0
|
|
57
58
|
Requires-Dist: tabulate==0.9.0
|
|
58
59
|
Requires-Dist: strawberry-graphql>=0.246.2
|
|
59
|
-
Requires-Dist: pydantic-forms~=1.
|
|
60
|
+
Requires-Dist: pydantic-forms~=1.3.0
|
|
60
61
|
Requires-Dist: celery~=5.4.0 ; extra == "celery"
|
|
61
62
|
Requires-Dist: toml ; extra == "dev"
|
|
62
63
|
Requires-Dist: bumpversion ; extra == "dev"
|
|
@@ -81,8 +82,9 @@ Requires-Dist: dirty-equals ; extra == "test"
|
|
|
81
82
|
Requires-Dist: jsonref ; extra == "test"
|
|
82
83
|
Requires-Dist: mypy==1.9 ; extra == "test"
|
|
83
84
|
Requires-Dist: pyinstrument ; extra == "test"
|
|
84
|
-
Requires-Dist: pytest==8.3.
|
|
85
|
+
Requires-Dist: pytest==8.3.4 ; extra == "test"
|
|
85
86
|
Requires-Dist: pytest-asyncio==0.21.2 ; extra == "test"
|
|
87
|
+
Requires-Dist: pytest-codspeed ; extra == "test"
|
|
86
88
|
Requires-Dist: pytest-cov ; extra == "test"
|
|
87
89
|
Requires-Dist: pytest-httpx ; extra == "test"
|
|
88
90
|
Requires-Dist: pytest-xdist ; extra == "test"
|
|
@@ -191,3 +191,10 @@ You can do the necessary change with a clean, e.g. every change committed, branc
|
|
|
191
191
|
```shell
|
|
192
192
|
bumpversion patch --new-version 0.4.1-rc3
|
|
193
193
|
```
|
|
194
|
+
|
|
195
|
+
### Changing the Core database schema
|
|
196
|
+
When you would like to change the core database schema, execute the following steps.
|
|
197
|
+
|
|
198
|
+
- Create the new model `orchestrator/database/models.py`
|
|
199
|
+
- `cd orchestrator/migrations`
|
|
200
|
+
- `alembic revision --autogenerate -m "Name of the migratioin"`
|
|
@@ -6,6 +6,20 @@ free to raise an issue in the project. We will strive to reply to your enquiry A
|
|
|
6
6
|
## Documentation
|
|
7
7
|
We use [**MKDOCS**](https://www.mkdocs.org) as a documentation tool. Please create a PR if you have any additions or contributions to make. All docs can be written in MD or html. Full guidelines on how to set this up can be found [here](development.md).
|
|
8
8
|
|
|
9
|
+
## Pre-commit hooks
|
|
10
|
+
We use pre-commit hooks to ensure that the code is formatted correctly and that the tests pass. To install the
|
|
11
|
+
pre-commit hooks, run the following command:
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
pre-commit install
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
To run the pre-commit hooks manually, run the following command:
|
|
18
|
+
|
|
19
|
+
```shell
|
|
20
|
+
pre-commit run --all-files
|
|
21
|
+
```
|
|
22
|
+
|
|
9
23
|
## Orchestrator release
|
|
10
24
|
The `orchestrator-core` has no release schedule but is actively used and maintained by the workflow orchestrator group.
|
|
11
25
|
Creating a new release is done by the developers of the project and the procedure is as follows.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
hide:
|
|
3
|
+
- navigation
|
|
4
|
+
---
|
|
5
|
+
# 3.0 Migration Guide
|
|
6
|
+
|
|
7
|
+
In this document we describe the steps that should be taken to migrate from `orchestrator-core` v2 to v3.
|
|
8
|
+
|
|
9
|
+
## About 3.0
|
|
10
|
+
|
|
11
|
+
In this release, deprecated import statements from the `orchestrator.types` module are removed, that now come from
|
|
12
|
+
`pydantic-forms.types` instead. These will have to be updated in your implementation of the orchestrator as well.
|
|
13
|
+
|
|
14
|
+
## Steps
|
|
15
|
+
|
|
16
|
+
To update the import statements you may have in your implementation of Workflow Orchestrator, we offer a migration
|
|
17
|
+
script that can be run as follows: `python -m orchestrator.devtools.scripts.migrate_30 <dir>` where `<dir>` points to
|
|
18
|
+
your orchestrator implementation.
|
|
@@ -189,7 +189,9 @@ nav:
|
|
|
189
189
|
# - Workflow Lifecycles: reference-docs/workflows/workflow-lifecycles.md
|
|
190
190
|
- Callbacks: reference-docs/workflows/callbacks.md
|
|
191
191
|
- Websockets: reference-docs/websockets.md
|
|
192
|
-
- Migration
|
|
192
|
+
- Migration guides:
|
|
193
|
+
- 2.x: migration-guide/2.0.md
|
|
194
|
+
- 3.x: migration-guide/3.0.md
|
|
193
195
|
|
|
194
196
|
- Workshops:
|
|
195
197
|
# - Beginner:
|
|
@@ -19,12 +19,15 @@ from fastapi.routing import APIRouter
|
|
|
19
19
|
from orchestrator.api.api_v1.endpoints import (
|
|
20
20
|
health,
|
|
21
21
|
processes,
|
|
22
|
+
product_blocks,
|
|
22
23
|
products,
|
|
24
|
+
resource_types,
|
|
23
25
|
settings,
|
|
24
26
|
subscription_customer_descriptions,
|
|
25
27
|
subscriptions,
|
|
26
28
|
translations,
|
|
27
29
|
user,
|
|
30
|
+
workflows,
|
|
28
31
|
ws,
|
|
29
32
|
)
|
|
30
33
|
from orchestrator.security import authorize
|
|
@@ -34,14 +37,32 @@ api_router = APIRouter()
|
|
|
34
37
|
api_router.include_router(
|
|
35
38
|
processes.router, prefix="/processes", tags=["Core", "Processes"], dependencies=[Depends(authorize)]
|
|
36
39
|
)
|
|
40
|
+
api_router.include_router(
|
|
41
|
+
subscriptions.router,
|
|
42
|
+
prefix="/subscriptions",
|
|
43
|
+
tags=["Core", "Subscriptions"],
|
|
44
|
+
dependencies=[Depends(authorize)],
|
|
45
|
+
)
|
|
37
46
|
api_router.include_router(processes.ws_router, prefix="/processes", tags=["Core", "Processes"])
|
|
38
47
|
api_router.include_router(
|
|
39
48
|
products.router, prefix="/products", tags=["Core", "Product"], dependencies=[Depends(authorize)]
|
|
40
49
|
)
|
|
41
50
|
api_router.include_router(
|
|
42
|
-
|
|
43
|
-
prefix="/
|
|
44
|
-
tags=["Core", "
|
|
51
|
+
product_blocks.router,
|
|
52
|
+
prefix="/product_blocks",
|
|
53
|
+
tags=["Core", "Product Blocks"],
|
|
54
|
+
dependencies=[Depends(authorize)],
|
|
55
|
+
)
|
|
56
|
+
api_router.include_router(
|
|
57
|
+
resource_types.router,
|
|
58
|
+
prefix="/resource_types",
|
|
59
|
+
tags=["Core", "Resource Types"],
|
|
60
|
+
dependencies=[Depends(authorize)],
|
|
61
|
+
)
|
|
62
|
+
api_router.include_router(
|
|
63
|
+
workflows.router,
|
|
64
|
+
prefix="/workflows",
|
|
65
|
+
tags=["Core", "Workflows"],
|
|
45
66
|
dependencies=[Depends(authorize)],
|
|
46
67
|
)
|
|
47
68
|
api_router.include_router(
|
|
@@ -61,7 +61,6 @@ from orchestrator.services.processes import (
|
|
|
61
61
|
)
|
|
62
62
|
from orchestrator.services.settings import get_engine_settings
|
|
63
63
|
from orchestrator.settings import app_settings
|
|
64
|
-
from orchestrator.types import JSON, State
|
|
65
64
|
from orchestrator.utils.enrich_process import enrich_process
|
|
66
65
|
from orchestrator.websocket import (
|
|
67
66
|
WS_CHANNELS,
|
|
@@ -70,6 +69,7 @@ from orchestrator.websocket import (
|
|
|
70
69
|
websocket_manager,
|
|
71
70
|
)
|
|
72
71
|
from orchestrator.workflow import ProcessStatus
|
|
72
|
+
from pydantic_forms.types import JSON, State
|
|
73
73
|
|
|
74
74
|
router = APIRouter()
|
|
75
75
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Copyright 2019-2020 SURF.
|
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
# you may not use this file except in compliance with the License.
|
|
4
|
+
# You may obtain a copy of the License at
|
|
5
|
+
#
|
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
#
|
|
8
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
# See the License for the specific language governing permissions and
|
|
12
|
+
# limitations under the License.
|
|
13
|
+
|
|
14
|
+
from http import HTTPStatus
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
|
|
17
|
+
from fastapi.param_functions import Body
|
|
18
|
+
from fastapi.routing import APIRouter
|
|
19
|
+
|
|
20
|
+
from orchestrator.api.error_handling import raise_status
|
|
21
|
+
from orchestrator.db import db
|
|
22
|
+
from orchestrator.db.models import ProductBlockTable
|
|
23
|
+
from orchestrator.schemas.product_block import ProductBlockPatchSchema, ProductBlockSchema
|
|
24
|
+
|
|
25
|
+
router = APIRouter()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@router.get("/{product_block_id}", response_model=ProductBlockSchema)
|
|
29
|
+
def get_product_block_description(product_block_id: UUID) -> str:
|
|
30
|
+
product_block = db.session.get(ProductBlockTable, product_block_id)
|
|
31
|
+
if product_block is None:
|
|
32
|
+
raise_status(HTTPStatus.NOT_FOUND)
|
|
33
|
+
return product_block
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@router.patch("/{product_block_id}", status_code=HTTPStatus.CREATED, response_model=ProductBlockSchema)
|
|
37
|
+
async def patch_product_block_by_id(
|
|
38
|
+
product_block_id: UUID, data: ProductBlockPatchSchema = Body(...)
|
|
39
|
+
) -> ProductBlockTable:
|
|
40
|
+
product_block = db.session.get(ProductBlockTable, product_block_id)
|
|
41
|
+
if not product_block:
|
|
42
|
+
raise_status(HTTPStatus.NOT_FOUND, f"Product_block id {product_block_id} not found")
|
|
43
|
+
|
|
44
|
+
return await _patch_product_block_description(data, product_block)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
async def _patch_product_block_description(
|
|
48
|
+
data: ProductBlockPatchSchema,
|
|
49
|
+
product_block: ProductBlockTable,
|
|
50
|
+
) -> ProductBlockTable:
|
|
51
|
+
|
|
52
|
+
updated_properties = data.model_dump(exclude_unset=True)
|
|
53
|
+
description = updated_properties.get("description", product_block.description)
|
|
54
|
+
product_block.description = description
|
|
55
|
+
db.session.commit()
|
|
56
|
+
return product_block
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
from http import HTTPStatus
|
|
15
15
|
from uuid import UUID
|
|
16
16
|
|
|
17
|
+
from fastapi.param_functions import Body
|
|
17
18
|
from fastapi.routing import APIRouter
|
|
18
19
|
from sqlalchemy import select
|
|
19
20
|
from sqlalchemy.orm import joinedload, selectinload
|
|
@@ -21,6 +22,7 @@ from sqlalchemy.orm import joinedload, selectinload
|
|
|
21
22
|
from orchestrator.api.error_handling import raise_status
|
|
22
23
|
from orchestrator.db import ProductBlockTable, ProductTable, db
|
|
23
24
|
from orchestrator.schemas import ProductSchema
|
|
25
|
+
from orchestrator.schemas.product import ProductPatchSchema
|
|
24
26
|
|
|
25
27
|
router = APIRouter()
|
|
26
28
|
|
|
@@ -48,6 +50,13 @@ def fetch(tag: str | None = None, product_type: str | None = None) -> list[Produ
|
|
|
48
50
|
response_model=ProductSchema,
|
|
49
51
|
)
|
|
50
52
|
def product_by_id(product_id: UUID) -> ProductTable:
|
|
53
|
+
product = _product_by_id(product_id)
|
|
54
|
+
if not product:
|
|
55
|
+
raise_status(HTTPStatus.NOT_FOUND, f"Product id {product_id} not found")
|
|
56
|
+
return product
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _product_by_id(product_id: UUID) -> ProductTable | None:
|
|
51
60
|
stmt = (
|
|
52
61
|
select(ProductTable)
|
|
53
62
|
.options(
|
|
@@ -57,7 +66,25 @@ def product_by_id(product_id: UUID) -> ProductTable:
|
|
|
57
66
|
)
|
|
58
67
|
.filter(ProductTable.product_id == product_id)
|
|
59
68
|
)
|
|
60
|
-
|
|
69
|
+
return db.session.scalars(stmt).unique().one_or_none()
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@router.patch("/{product_id}", status_code=HTTPStatus.CREATED, response_model=ProductSchema)
|
|
73
|
+
async def patch_product_by_id(product_id: UUID, data: ProductPatchSchema = Body(...)) -> ProductTable:
|
|
74
|
+
product = _product_by_id(product_id)
|
|
61
75
|
if not product:
|
|
62
76
|
raise_status(HTTPStatus.NOT_FOUND, f"Product id {product_id} not found")
|
|
77
|
+
|
|
78
|
+
return await _patch_product_description(data, product)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
async def _patch_product_description(
|
|
82
|
+
data: ProductPatchSchema,
|
|
83
|
+
product: ProductTable,
|
|
84
|
+
) -> ProductTable:
|
|
85
|
+
|
|
86
|
+
updated_properties = data.model_dump(exclude_unset=True)
|
|
87
|
+
description = updated_properties.get("description", product.description)
|
|
88
|
+
product.description = description
|
|
89
|
+
db.session.commit()
|
|
63
90
|
return product
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Copyright 2019-2020 SURF.
|
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
# you may not use this file except in compliance with the License.
|
|
4
|
+
# You may obtain a copy of the License at
|
|
5
|
+
#
|
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
#
|
|
8
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
# See the License for the specific language governing permissions and
|
|
12
|
+
# limitations under the License.
|
|
13
|
+
|
|
14
|
+
from http import HTTPStatus
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
|
|
17
|
+
from fastapi.param_functions import Body
|
|
18
|
+
from fastapi.routing import APIRouter
|
|
19
|
+
|
|
20
|
+
from orchestrator.api.error_handling import raise_status
|
|
21
|
+
from orchestrator.db import db
|
|
22
|
+
from orchestrator.db.models import ResourceTypeTable
|
|
23
|
+
from orchestrator.schemas.resource_type import ResourceTypePatchSchema, ResourceTypeSchema
|
|
24
|
+
|
|
25
|
+
router = APIRouter()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@router.get("/{resource_type_id}", response_model=ResourceTypeSchema)
|
|
29
|
+
def get_resource_type_description(resource_type_id: UUID) -> str:
|
|
30
|
+
resource_type = db.session.get(ResourceTypeTable, resource_type_id)
|
|
31
|
+
if resource_type is None:
|
|
32
|
+
raise_status(HTTPStatus.NOT_FOUND)
|
|
33
|
+
return resource_type
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@router.patch("/{resource_type_id}", status_code=HTTPStatus.CREATED, response_model=ResourceTypeSchema)
|
|
37
|
+
async def patch_resource_type_by_id(
|
|
38
|
+
resource_type_id: UUID, data: ResourceTypePatchSchema = Body(...)
|
|
39
|
+
) -> ResourceTypeTable:
|
|
40
|
+
resource_type = db.session.get(ResourceTypeTable, resource_type_id)
|
|
41
|
+
if not resource_type:
|
|
42
|
+
raise_status(HTTPStatus.NOT_FOUND, f"ResourceType id {resource_type_id} not found")
|
|
43
|
+
|
|
44
|
+
return await _patch_resource_type_description(data, resource_type)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
async def _patch_resource_type_description(
|
|
48
|
+
data: ResourceTypePatchSchema,
|
|
49
|
+
resource_type: ResourceTypeTable,
|
|
50
|
+
) -> ResourceTypeTable:
|
|
51
|
+
|
|
52
|
+
updated_properties = data.model_dump(exclude_unset=True)
|
|
53
|
+
description = updated_properties.get("description", resource_type.description)
|
|
54
|
+
resource_type.description = description
|
|
55
|
+
db.session.commit()
|
|
56
|
+
return resource_type
|
|
@@ -28,6 +28,7 @@ from orchestrator.services import processes, settings
|
|
|
28
28
|
from orchestrator.settings import ExecutorType, app_settings
|
|
29
29
|
from orchestrator.utils.json import json_dumps
|
|
30
30
|
from orchestrator.utils.redis import delete_keys_matching_pattern
|
|
31
|
+
from orchestrator.utils.redis_client import create_redis_asyncio_client
|
|
31
32
|
from orchestrator.websocket import WS_CHANNELS, broadcast_invalidate_cache, websocket_manager
|
|
32
33
|
|
|
33
34
|
router = APIRouter()
|
|
@@ -41,7 +42,7 @@ CACHE_FLUSH_OPTIONS: dict[str, str] = {
|
|
|
41
42
|
|
|
42
43
|
@router.delete("/cache/{name}")
|
|
43
44
|
async def clear_cache(name: str) -> int | None:
|
|
44
|
-
cache: AIORedis =
|
|
45
|
+
cache: AIORedis = create_redis_asyncio_client(app_settings.CACHE_URI)
|
|
45
46
|
if name not in CACHE_FLUSH_OPTIONS:
|
|
46
47
|
raise_status(HTTPStatus.BAD_REQUEST, "Invalid cache name")
|
|
47
48
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Copyright 2019-2020 SURF.
|
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
# you may not use this file except in compliance with the License.
|
|
4
|
+
# You may obtain a copy of the License at
|
|
5
|
+
#
|
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
#
|
|
8
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
# See the License for the specific language governing permissions and
|
|
12
|
+
# limitations under the License.
|
|
13
|
+
|
|
14
|
+
from http import HTTPStatus
|
|
15
|
+
from uuid import UUID
|
|
16
|
+
|
|
17
|
+
from fastapi.param_functions import Body
|
|
18
|
+
from fastapi.routing import APIRouter
|
|
19
|
+
|
|
20
|
+
from orchestrator.api.error_handling import raise_status
|
|
21
|
+
from orchestrator.db import db
|
|
22
|
+
from orchestrator.db.models import WorkflowTable
|
|
23
|
+
from orchestrator.schemas.workflow import WorkflowPatchSchema, WorkflowSchema
|
|
24
|
+
|
|
25
|
+
router = APIRouter()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@router.get("/{workflow_id}", response_model=WorkflowSchema)
|
|
29
|
+
def get_workflow_description(workflow_id: UUID) -> str:
|
|
30
|
+
workflow = db.session.get(WorkflowTable, workflow_id)
|
|
31
|
+
if workflow is None:
|
|
32
|
+
raise_status(HTTPStatus.NOT_FOUND)
|
|
33
|
+
return workflow
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@router.patch("/{workflow_id}", status_code=HTTPStatus.CREATED, response_model=WorkflowSchema)
|
|
37
|
+
async def patch_workflow_by_id(workflow_id: UUID, data: WorkflowPatchSchema = Body(...)) -> WorkflowTable:
|
|
38
|
+
workflow = db.session.get(WorkflowTable, workflow_id)
|
|
39
|
+
if not workflow:
|
|
40
|
+
raise_status(HTTPStatus.NOT_FOUND, f"Workflow id {workflow_id} not found")
|
|
41
|
+
|
|
42
|
+
return await _patch_workflow_description(data, workflow)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
async def _patch_workflow_description(
|
|
46
|
+
data: WorkflowPatchSchema,
|
|
47
|
+
workflow: WorkflowTable,
|
|
48
|
+
) -> WorkflowTable:
|
|
49
|
+
|
|
50
|
+
updated_properties = data.model_dump(exclude_unset=True)
|
|
51
|
+
description = updated_properties.get("description", workflow.description)
|
|
52
|
+
workflow.description = description
|
|
53
|
+
db.session.commit()
|
|
54
|
+
return workflow
|
|
@@ -199,8 +199,9 @@ class OrchestratorCore(FastAPI):
|
|
|
199
199
|
|
|
200
200
|
def register_graphql(
|
|
201
201
|
self: "OrchestratorCore",
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
# mypy 1.9 cannot properly inspect these, fixed in 1.15
|
|
203
|
+
query: Any = Query, # type: ignore
|
|
204
|
+
mutation: Any = Mutation, # type: ignore
|
|
204
205
|
register_models: bool = True,
|
|
205
206
|
subscription_interface: Any = SubscriptionInterface,
|
|
206
207
|
graphql_models: StrawberryModelType | None = None,
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
# See the License for the specific language governing permissions and
|
|
12
12
|
# limitations under the License.
|
|
13
13
|
|
|
14
|
-
import re
|
|
15
14
|
from collections import ChainMap
|
|
16
15
|
from collections.abc import Mapping
|
|
17
16
|
from pathlib import Path
|
|
@@ -56,15 +55,8 @@ def get_product_block_path(product_block: dict) -> Path:
|
|
|
56
55
|
|
|
57
56
|
|
|
58
57
|
def enrich_product_block(product_block: dict) -> dict:
|
|
59
|
-
def to_block_name() -> str:
|
|
60
|
-
"""Separate block name into words."""
|
|
61
|
-
type = product_block["type"]
|
|
62
|
-
name = re.sub("(.)([A-Z][a-z]+)", r"\1 \2", type)
|
|
63
|
-
return re.sub("([a-z0-9])([A-Z])", r"\1 \2", name)
|
|
64
|
-
|
|
65
58
|
fields = get_all_fields(product_block)
|
|
66
|
-
block_name = product_block.get("block_name",
|
|
67
|
-
|
|
59
|
+
block_name = product_block.get("block_name", product_block.get("type"))
|
|
68
60
|
return product_block | {
|
|
69
61
|
"fields": fields,
|
|
70
62
|
"block_name": block_name,
|
|
@@ -7,11 +7,12 @@ from typing import Annotated
|
|
|
7
7
|
|
|
8
8
|
import structlog
|
|
9
9
|
from pydantic import AfterValidator, ConfigDict, model_validator
|
|
10
|
+
from pydantic_forms.types import FormGenerator, State, UUIDstr
|
|
10
11
|
|
|
11
12
|
from orchestrator.forms import FormPage
|
|
12
13
|
from orchestrator.forms.validators import Divider, Label, CustomerId, MigrationSummary
|
|
13
14
|
from orchestrator.targets import Target
|
|
14
|
-
from orchestrator.types import
|
|
15
|
+
from orchestrator.types import SubscriptionLifecycle
|
|
15
16
|
from orchestrator.workflow import StepList, begin, step
|
|
16
17
|
from orchestrator.workflows.steps import store_process_subscription
|
|
17
18
|
from orchestrator.workflows.utils import create_workflow
|
|
@@ -6,11 +6,12 @@ from typing import Annotated
|
|
|
6
6
|
|
|
7
7
|
import structlog
|
|
8
8
|
from pydantic import AfterValidator, ConfigDict, model_validator
|
|
9
|
+
from pydantic_forms.types import FormGenerator, State, UUIDstr
|
|
9
10
|
from pydantic_forms.validators import ReadOnlyField
|
|
10
11
|
|
|
11
12
|
from orchestrator.forms import FormPage
|
|
12
13
|
from orchestrator.forms.validators import CustomerId, Divider
|
|
13
|
-
from orchestrator.types import
|
|
14
|
+
from orchestrator.types import SubscriptionLifecycle
|
|
14
15
|
from orchestrator.workflow import StepList, begin, step
|
|
15
16
|
from orchestrator.workflows.steps import set_status
|
|
16
17
|
from orchestrator.workflows.utils import modify_workflow
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import structlog
|
|
4
4
|
from pydantic import AfterValidator, ConfigDict, model_validator
|
|
5
|
+
from pydantic_forms.types import InputForm, State, UUIDstr
|
|
5
6
|
|
|
6
7
|
from orchestrator.forms import FormPage
|
|
7
8
|
from orchestrator.forms.validators import DisplaySubscription
|
|
8
|
-
from orchestrator.types import InputForm, State, UUIDstr
|
|
9
9
|
from orchestrator.workflow import StepList, begin, step
|
|
10
10
|
from orchestrator.workflows.utils import terminate_workflow
|
|
11
11
|
|
|
@@ -4,7 +4,6 @@ from orchestrator.db import ProductTable
|
|
|
4
4
|
from orchestrator.forms import FormValidationError
|
|
5
5
|
|
|
6
6
|
from test.unit_tests.workflows import assert_complete, extract_state, run_workflow
|
|
7
|
-
|
|
8
7
|
from {{ product_types_module }}.{{ product.variable }} import {{ product.type }}
|
|
9
8
|
|
|
10
9
|
|