infrahub-server 1.1.1__tar.gz → 1.1.3__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.
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/PKG-INFO +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/__init__.py +13 -5
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/artifact.py +9 -15
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/auth.py +7 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/dependencies.py +15 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/diff/diff.py +13 -7
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/file.py +5 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/internal.py +19 -6
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/menu.py +8 -6
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/oauth2.py +25 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/oidc.py +26 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/query.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/schema.py +48 -59
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/storage.py +8 -8
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/transformation.py +6 -5
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/auth.py +1 -26
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/__init__.py +1 -1
- infrahub_server-1.1.3/backend/infrahub/cli/context.py +15 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/db.py +6 -6
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/git_agent.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/computed_attribute/models.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/computed_attribute/tasks.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/config.py +5 -5
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/account.py +2 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/attribute.py +22 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/branch/models.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/branch/tasks.py +4 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/calculator.py +14 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/combiner.py +6 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/conflicts_enricher.py +2 -2
- infrahub_server-1.1.3/backend/infrahub/core/diff/coordinator.py +576 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/data_check_synchronizer.py +33 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/cardinality_one.py +3 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/hierarchy.py +4 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/merger/merger.py +11 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/merger/serializer.py +5 -29
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/model/path.py +88 -4
- infrahub_server-1.1.3/backend/infrahub/core/diff/query/field_specifiers.py +35 -0
- infrahub_server-1.1.3/backend/infrahub/core/diff/query/roots_metadata.py +48 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/save.py +1 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query_parser.py +27 -11
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/repository/deserializer.py +7 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/repository/repository.py +100 -9
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/tasks.py +1 -1
- infrahub_server-1.1.3/backend/infrahub/core/graph/__init__.py +1 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +6 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/utilization.py +6 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/manager.py +8 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/merge.py +6 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/__init__.py +2 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +1 -1
- infrahub_server-1.1.3/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +101 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/attribute_add.py +5 -5
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/tasks.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/shared.py +3 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/__init__.py +8 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +9 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/__init__.py +5 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/diff.py +32 -19
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/ipam.py +30 -22
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/node.py +91 -40
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/attribute_schema.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/base_node_schema.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/relationship_schema.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/schema_branch_computed.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/task/task_log.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/kind.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/interface.py +1 -2
- infrahub_server-1.1.3/backend/infrahub/core/validators/models/violation.py +9 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/shared.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/tasks.py +7 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/uniqueness/index.py +2 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/index.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +2 -0
- infrahub_server-1.1.3/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +8 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +2 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/base.py +3 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/integrator.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/api/endpoints.py +12 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/app.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +2 -17
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +1 -12
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +6 -40
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +5 -8
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/enums.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/initialization.py +27 -8
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/manager.py +9 -3
- infrahub_server-1.1.3/backend/infrahub/graphql/models.py +6 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/account.py +14 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/computed_attribute.py +11 -22
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/diff.py +2 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/main.py +5 -16
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/proposed_change.py +11 -20
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/resource_manager.py +6 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/schema.py +8 -7
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/tasks.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/permissions.py +3 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/account.py +2 -11
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/resource_manager.py +21 -10
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/query.py +3 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/resolvers/resolver.py +5 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/task.py +14 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/generator.py +6 -18
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_node_mutated.py +2 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/check/repository.py +2 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/event/branch.py +2 -4
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/requests/proposed_change.py +1 -1
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/requests/repository.py +3 -5
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/types.py +1 -1
- infrahub_server-1.1.3/backend/infrahub/permissions/__init__.py +13 -0
- infrahub_server-1.1.3/backend/infrahub/permissions/backend.py +17 -0
- infrahub_server-1.1.3/backend/infrahub/permissions/constants.py +32 -0
- infrahub_server-1.1.3/backend/infrahub/permissions/local_backend.py +38 -0
- infrahub_server-1.1.3/backend/infrahub/permissions/manager.py +135 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/permissions/report.py +14 -25
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/permissions/types.py +6 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/proposed_change/tasks.py +1 -1
- infrahub_server-1.1.3/backend/infrahub/task_manager/models.py +65 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/task_manager/task.py +14 -6
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/visuals.py +1 -3
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/pyproject.toml +15 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/client.py +204 -43
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/cli_commands.py +106 -6
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/data.py +3 -2
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/graphql.py +5 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/node.py +21 -2
- infrahub_server-1.1.3/python_sdk/infrahub_sdk/queries.py +113 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/schema/main.py +1 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/schemas/animal.py +1 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/types.py +6 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/utils.py +17 -0
- infrahub_server-1.1.1/backend/infrahub/cli/context.py +0 -18
- infrahub_server-1.1.1/backend/infrahub/core/diff/coordinator.py +0 -367
- infrahub_server-1.1.1/backend/infrahub/core/diff/query/empty_roots.py +0 -33
- infrahub_server-1.1.1/backend/infrahub/core/graph/__init__.py +0 -1
- infrahub_server-1.1.1/backend/infrahub/core/validators/models/violation.py +0 -22
- infrahub_server-1.1.1/backend/infrahub/permissions/__init__.py +0 -4
- infrahub_server-1.1.1/backend/infrahub/permissions/backend.py +0 -32
- infrahub_server-1.1.1/backend/infrahub/permissions/constants.py +0 -28
- infrahub_server-1.1.1/backend/infrahub/permissions/local_backend.py +0 -135
- infrahub_server-1.1.1/backend/infrahub/task_manager/models.py +0 -36
- infrahub_server-1.1.1/python_sdk/infrahub_sdk/queries.py +0 -44
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/LICENSE.txt +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/README.md +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/events.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/cli/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/computed_attribute/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/branch/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/branch/flow_models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constants/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constants/infrahubkind.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constants/schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constraint/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/constraint/node/runner.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/merger/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/model/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/payload_builder.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/artifact.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/delete_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/diff_get.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/drop_tracking_id.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/field_summary.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/filters.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/merge.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/diff/repository/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/enums.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/graph/index.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/integrity/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/reconciler.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/ipam/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/attribute_rename.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/node_duplicate.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/node_remove.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/base.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/constraints/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/delete_validator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/ipam.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/node/standard.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/path.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/property.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/protocols.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/protocols_base.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/delete.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/resource_manager.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/standard_node.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/task.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/task_log.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/query/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/registry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/constraints/count.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/relationship/model.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/attribute_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/basenode_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/definitions/core.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/definitions/internal.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/generic_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/manager.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/node_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/profile_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/relationship_schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/schema/schema_branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/task/user_task.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/timestamp.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/aggregated_checker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/choices.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/enum.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/length.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/optional.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/regex.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/attribute/unique.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/determiner.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/models/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/hierarchy.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/relationship/count.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/relationship/optional.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/relationship/peer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/manager.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/memgraph.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/component/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/dependencies/registry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/branch_action.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/node_action.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/repository_action.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/events/schema_action.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/generators/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/generators/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/generators/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git_credential/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/git_credential/helper.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/analyzer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/api/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/loaders/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/loaders/node.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/artifact_definition.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/ipam.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/menu.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/mutations/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/parser.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/internal.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/ipam.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/search.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/status.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/queries/task.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/subscription/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/subscription/events.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/common.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/enums.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/node.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/permission.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/relationship.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/standard_node.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/graphql/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/groups/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/groups/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/lock.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/menu.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/check_artifact_create.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/check_generator_run.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/check_repository_checkdefinition.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/check_repository_mergeconflicts.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/check_repository_usercheck.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_branch_create.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_branch_delete.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_branch_merge.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_branch_rebased.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_schema_update.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/event_worker_newprimaryapi.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/finalize_validator_execution.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/proposed_change/base_with_diff.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/proposed_change/request_proposedchange_refreshartifacts.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/request_artifactdefinition_check.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/request_generatordefinition_check.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/request_proposedchange_pipeline.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/request_repository_checks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/request_repository_userchecks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/check/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/check/artifact.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/check/generator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/event/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/event/node.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/event/schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/event/worker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/finalize/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/finalize/validator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/git/file.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/requests/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/requests/artifact_definition.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/requests/generator_definition.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/middleware.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/pools/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/pools/prefix.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/proposed_change/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/pytest_plugin.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/schema/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/schema/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/schema/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/server.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/cache/nats.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/cache/redis.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/database/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/event/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/http/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/http/httpx.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/message_bus/nats.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/workflow/local.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/component.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/protocols.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/services/scheduler.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/storage.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/support/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/support/macro.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/task_manager/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/task_manager/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/artifact.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/registry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/tasks/telemetry.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/transformations/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/transformations/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/transformations/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/types.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/webhook/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/webhook/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/webhook/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/webhook/tasks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workers/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workers/infrahub_async.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/catalogue.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/initialization.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/backend/infrahub/workflows/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/batch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/code_generator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/config.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/_file.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/check.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/exporter.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/generator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/importer.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/generator.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/protocols.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/query_groups.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/schema/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/task_report.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/docker.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/timestamp.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_sdk/infrahub_sdk/yaml.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_testcontainers/infrahub_testcontainers/container.py +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +0 -0
- {infrahub_server-1.1.1 → infrahub_server-1.1.3}/python_testcontainers/infrahub_testcontainers/helpers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: infrahub-server
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: Infrahub is taking a new approach to Infrastructure Management by providing a new generation of datastore to organize and control all the data that defines how an infrastructure should run.
|
|
5
5
|
Home-page: https://opsmill.com
|
|
6
6
|
License: AGPL-3.0-only
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
from
|
|
1
|
+
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from
|
|
3
|
+
from typing import TYPE_CHECKING, NoReturn
|
|
4
|
+
|
|
5
|
+
from fastapi import APIRouter, Depends
|
|
4
6
|
from fastapi.openapi.docs import (
|
|
5
7
|
get_redoc_html,
|
|
6
8
|
get_swagger_ui_html,
|
|
7
9
|
)
|
|
8
|
-
from starlette.responses import HTMLResponse
|
|
10
|
+
from starlette.responses import HTMLResponse # noqa: TC002
|
|
9
11
|
|
|
10
12
|
from infrahub.api import (
|
|
11
13
|
artifact,
|
|
@@ -21,8 +23,12 @@ from infrahub.api import (
|
|
|
21
23
|
storage,
|
|
22
24
|
transformation,
|
|
23
25
|
)
|
|
26
|
+
from infrahub.api.dependencies import get_current_user
|
|
24
27
|
from infrahub.exceptions import ResourceNotFoundError
|
|
25
28
|
|
|
29
|
+
if TYPE_CHECKING:
|
|
30
|
+
from infrahub.auth import AccountSession
|
|
31
|
+
|
|
26
32
|
router = APIRouter(prefix="/api")
|
|
27
33
|
|
|
28
34
|
router.include_router(artifact.router)
|
|
@@ -40,7 +46,9 @@ router.include_router(transformation.router)
|
|
|
40
46
|
|
|
41
47
|
|
|
42
48
|
@router.get("/docs", include_in_schema=False)
|
|
43
|
-
async def custom_swagger_ui_html(
|
|
49
|
+
async def custom_swagger_ui_html(
|
|
50
|
+
_: AccountSession = Depends(get_current_user),
|
|
51
|
+
) -> HTMLResponse:
|
|
44
52
|
return get_swagger_ui_html(
|
|
45
53
|
openapi_url="/api/openapi.json",
|
|
46
54
|
title="Infrahub - Swagger UI",
|
|
@@ -50,7 +58,7 @@ async def custom_swagger_ui_html() -> HTMLResponse:
|
|
|
50
58
|
|
|
51
59
|
|
|
52
60
|
@router.get("/redoc", include_in_schema=False)
|
|
53
|
-
async def redoc_html() -> HTMLResponse:
|
|
61
|
+
async def redoc_html(_: AccountSession = Depends(get_current_user)) -> HTMLResponse:
|
|
54
62
|
return get_redoc_html(
|
|
55
63
|
openapi_url="/api/openapi.json",
|
|
56
64
|
title="Infrahub - ReDoc",
|
|
@@ -5,13 +5,13 @@ from typing import TYPE_CHECKING
|
|
|
5
5
|
from fastapi import APIRouter, Body, Depends, Request, Response
|
|
6
6
|
from pydantic import BaseModel, Field
|
|
7
7
|
|
|
8
|
-
from infrahub.api.dependencies import BranchParams, get_branch_params, get_current_user, get_db
|
|
8
|
+
from infrahub.api.dependencies import BranchParams, get_branch_params, get_current_user, get_db, get_permission_manager
|
|
9
9
|
from infrahub.core import registry
|
|
10
10
|
from infrahub.core.account import ObjectPermission
|
|
11
11
|
from infrahub.core.constants import GLOBAL_BRANCH_NAME, InfrahubKind, PermissionAction
|
|
12
12
|
from infrahub.core.protocols import CoreArtifactDefinition
|
|
13
|
-
from infrahub.database import InfrahubDatabase # noqa:
|
|
14
|
-
from infrahub.exceptions import NodeNotFoundError
|
|
13
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
14
|
+
from infrahub.exceptions import NodeNotFoundError
|
|
15
15
|
from infrahub.git.models import RequestArtifactDefinitionGenerate
|
|
16
16
|
from infrahub.log import get_logger
|
|
17
17
|
from infrahub.permissions.constants import PermissionDecisionFlag
|
|
@@ -19,6 +19,7 @@ from infrahub.workflows.catalogue import REQUEST_ARTIFACT_DEFINITION_GENERATE
|
|
|
19
19
|
|
|
20
20
|
if TYPE_CHECKING:
|
|
21
21
|
from infrahub.auth import AccountSession
|
|
22
|
+
from infrahub.permissions import PermissionManager
|
|
22
23
|
|
|
23
24
|
log = get_logger()
|
|
24
25
|
router = APIRouter(prefix="/artifact")
|
|
@@ -37,7 +38,7 @@ async def get_artifact(
|
|
|
37
38
|
artifact_id: str,
|
|
38
39
|
db: InfrahubDatabase = Depends(get_db),
|
|
39
40
|
branch_params: BranchParams = Depends(get_branch_params),
|
|
40
|
-
_:
|
|
41
|
+
_: AccountSession = Depends(get_current_user),
|
|
41
42
|
) -> Response:
|
|
42
43
|
artifact = await registry.manager.get_one(db=db, id=artifact_id, branch=branch_params.branch, at=branch_params.at)
|
|
43
44
|
if not artifact:
|
|
@@ -61,25 +62,18 @@ async def generate_artifact(
|
|
|
61
62
|
),
|
|
62
63
|
db: InfrahubDatabase = Depends(get_db),
|
|
63
64
|
branch_params: BranchParams = Depends(get_branch_params),
|
|
64
|
-
|
|
65
|
+
permission_manager: PermissionManager = Depends(get_permission_manager),
|
|
65
66
|
) -> None:
|
|
66
67
|
permission_decision = (
|
|
67
68
|
PermissionDecisionFlag.ALLOW_DEFAULT
|
|
68
69
|
if branch_params.branch.name in (GLOBAL_BRANCH_NAME, registry.default_branch)
|
|
69
70
|
else PermissionDecisionFlag.ALLOW_OTHER
|
|
70
71
|
)
|
|
71
|
-
|
|
72
|
+
permissions = [
|
|
72
73
|
ObjectPermission(namespace="Core", name="Artifact", action=action.value, decision=permission_decision)
|
|
73
74
|
for action in (PermissionAction.CREATE, PermissionAction.UPDATE)
|
|
74
|
-
]
|
|
75
|
-
|
|
76
|
-
for permission_backend in registry.permission_backends:
|
|
77
|
-
if has_permission := await permission_backend.has_permission(
|
|
78
|
-
db=db, account_session=account_session, permission=permission, branch=branch_params.branch
|
|
79
|
-
):
|
|
80
|
-
break
|
|
81
|
-
if not has_permission:
|
|
82
|
-
raise PermissionDeniedError(f"You do not have the following permission: {permission}")
|
|
75
|
+
]
|
|
76
|
+
permission_manager.raise_for_permissions(permissions=permissions)
|
|
83
77
|
|
|
84
78
|
# Verify that the artifact definition exists for the requested branch
|
|
85
79
|
artifact_definition = await registry.manager.get_one_by_id_or_default_filter(
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
1
5
|
from fastapi import APIRouter, Depends, Response
|
|
2
6
|
|
|
3
7
|
from infrahub import config, models
|
|
@@ -8,7 +12,9 @@ from infrahub.auth import (
|
|
|
8
12
|
create_fresh_access_token,
|
|
9
13
|
invalidate_refresh_token,
|
|
10
14
|
)
|
|
11
|
-
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from infrahub.database import InfrahubDatabase
|
|
12
18
|
|
|
13
19
|
router = APIRouter(prefix="/auth")
|
|
14
20
|
|
|
@@ -8,11 +8,12 @@ from pydantic import BaseModel, ConfigDict
|
|
|
8
8
|
|
|
9
9
|
from infrahub import config
|
|
10
10
|
from infrahub.auth import AccountSession, authentication_token, validate_jwt_access_token, validate_jwt_refresh_token
|
|
11
|
-
from infrahub.core.branch import Branch # noqa:
|
|
11
|
+
from infrahub.core.branch import Branch # noqa: TC001
|
|
12
12
|
from infrahub.core.registry import registry
|
|
13
13
|
from infrahub.core.timestamp import Timestamp
|
|
14
|
-
from infrahub.database import InfrahubDatabase # noqa:
|
|
14
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
15
15
|
from infrahub.exceptions import AuthorizationError
|
|
16
|
+
from infrahub.permissions import PermissionManager
|
|
16
17
|
|
|
17
18
|
if TYPE_CHECKING:
|
|
18
19
|
from neo4j import AsyncSession
|
|
@@ -120,3 +121,15 @@ async def get_current_user(
|
|
|
120
121
|
return account_session
|
|
121
122
|
|
|
122
123
|
raise AuthorizationError("Authentication is required")
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
async def get_permission_manager(
|
|
127
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
128
|
+
branch_params: BranchParams = Depends(get_branch_params),
|
|
129
|
+
account_session: AccountSession = Depends(get_current_user),
|
|
130
|
+
) -> PermissionManager:
|
|
131
|
+
"""Return a `PermissionManager` for an account session based on a branch."""
|
|
132
|
+
permission_manager = PermissionManager(account_session=account_session)
|
|
133
|
+
await permission_manager.load_permissions(db=db, branch=branch_params.branch)
|
|
134
|
+
|
|
135
|
+
return permission_manager
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
from collections import defaultdict
|
|
4
|
-
from typing import TYPE_CHECKING
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
5
5
|
|
|
6
6
|
from fastapi import APIRouter, Depends, Request
|
|
7
7
|
|
|
8
8
|
from infrahub.api.dependencies import get_branch_dep, get_current_user, get_db
|
|
9
9
|
from infrahub.core import registry
|
|
10
|
-
from infrahub.core.branch import Branch # noqa: TCH001
|
|
11
10
|
from infrahub.core.diff.artifacts.calculator import ArtifactDiffCalculator
|
|
12
11
|
from infrahub.core.diff.branch_differ import BranchDiffer
|
|
13
12
|
from infrahub.core.diff.model.diff import (
|
|
@@ -15,9 +14,11 @@ from infrahub.core.diff.model.diff import (
|
|
|
15
14
|
BranchDiffFile,
|
|
16
15
|
BranchDiffRepository,
|
|
17
16
|
)
|
|
18
|
-
from infrahub.database import InfrahubDatabase # noqa: TCH001
|
|
19
17
|
|
|
20
18
|
if TYPE_CHECKING:
|
|
19
|
+
from infrahub.auth import AccountSession
|
|
20
|
+
from infrahub.core.branch import Branch
|
|
21
|
+
from infrahub.database import InfrahubDatabase
|
|
21
22
|
from infrahub.services import InfrahubServices
|
|
22
23
|
|
|
23
24
|
|
|
@@ -29,17 +30,22 @@ async def get_diff_files(
|
|
|
29
30
|
request: Request,
|
|
30
31
|
db: InfrahubDatabase = Depends(get_db),
|
|
31
32
|
branch: Branch = Depends(get_branch_dep),
|
|
32
|
-
time_from:
|
|
33
|
-
time_to:
|
|
33
|
+
time_from: str | None = None,
|
|
34
|
+
time_to: str | None = None,
|
|
34
35
|
branch_only: bool = True,
|
|
35
|
-
_:
|
|
36
|
+
_: AccountSession = Depends(get_current_user),
|
|
36
37
|
) -> dict[str, dict[str, BranchDiffRepository]]:
|
|
37
38
|
response: dict[str, dict[str, BranchDiffRepository]] = defaultdict(dict)
|
|
38
39
|
service: InfrahubServices = request.app.state.service
|
|
39
40
|
|
|
40
41
|
# Query the Diff for all files and repository from the database
|
|
41
42
|
diff = await BranchDiffer.init(
|
|
42
|
-
db=db,
|
|
43
|
+
db=db,
|
|
44
|
+
branch=branch,
|
|
45
|
+
diff_from=time_from,
|
|
46
|
+
diff_to=time_to,
|
|
47
|
+
branch_only=branch_only,
|
|
48
|
+
service=service,
|
|
43
49
|
)
|
|
44
50
|
diff_files = await diff.get_files()
|
|
45
51
|
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from typing import TYPE_CHECKING
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
4
|
|
|
5
5
|
from fastapi import APIRouter, Depends, Request
|
|
6
6
|
from starlette.responses import PlainTextResponse
|
|
7
7
|
|
|
8
|
-
from infrahub.api.dependencies import
|
|
9
|
-
BranchParams,
|
|
10
|
-
get_branch_params,
|
|
11
|
-
get_current_user,
|
|
12
|
-
get_db,
|
|
13
|
-
)
|
|
8
|
+
from infrahub.api.dependencies import BranchParams, get_branch_params, get_current_user, get_db
|
|
14
9
|
from infrahub.core.constants import InfrahubKind
|
|
15
10
|
from infrahub.core.manager import NodeManager
|
|
16
|
-
from infrahub.database import InfrahubDatabase # noqa:
|
|
11
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
17
12
|
from infrahub.exceptions import CommitNotFoundError, PropagatedFromWorkerError
|
|
18
13
|
from infrahub.message_bus.messages import GitFileGet, GitFileGetResponse
|
|
19
14
|
|
|
@@ -32,13 +27,13 @@ async def get_file(
|
|
|
32
27
|
file_path: str,
|
|
33
28
|
branch_params: BranchParams = Depends(get_branch_params),
|
|
34
29
|
db: InfrahubDatabase = Depends(get_db),
|
|
35
|
-
commit:
|
|
30
|
+
commit: str | None = None,
|
|
36
31
|
_: str = Depends(get_current_user),
|
|
37
32
|
) -> PlainTextResponse:
|
|
38
33
|
"""Retrieve a file from a git repository."""
|
|
39
34
|
service: InfrahubServices = request.app.state.service
|
|
40
35
|
|
|
41
|
-
repo:
|
|
36
|
+
repo: CoreRepository | CoreReadOnlyRepository = await NodeManager.get_one_by_id_or_default_filter(
|
|
42
37
|
db=db,
|
|
43
38
|
id=repository_id,
|
|
44
39
|
kind=InfrahubKind.GENERICREPOSITORY,
|
|
@@ -1,16 +1,27 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import re
|
|
2
|
-
from typing import
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
3
5
|
|
|
4
6
|
import ujson
|
|
5
|
-
from fastapi import APIRouter, Request
|
|
7
|
+
from fastapi import APIRouter, Depends, Request
|
|
6
8
|
from lunr.index import Index
|
|
7
9
|
from pydantic import BaseModel
|
|
8
10
|
|
|
9
11
|
from infrahub import config
|
|
10
|
-
from infrahub.
|
|
12
|
+
from infrahub.api.dependencies import get_current_user
|
|
13
|
+
from infrahub.config import ( # noqa: TC001
|
|
14
|
+
AnalyticsSettings,
|
|
15
|
+
ExperimentalFeaturesSettings,
|
|
16
|
+
LoggingSettings,
|
|
17
|
+
MainSettings,
|
|
18
|
+
)
|
|
11
19
|
from infrahub.core import registry
|
|
12
20
|
from infrahub.exceptions import NodeNotFoundError
|
|
13
21
|
|
|
22
|
+
if TYPE_CHECKING:
|
|
23
|
+
from infrahub.auth import AccountSession
|
|
24
|
+
|
|
14
25
|
router = APIRouter()
|
|
15
26
|
|
|
16
27
|
|
|
@@ -39,7 +50,7 @@ async def get_config() -> ConfigAPI:
|
|
|
39
50
|
|
|
40
51
|
|
|
41
52
|
@router.get("/info")
|
|
42
|
-
async def get_info(request: Request) -> InfoAPI:
|
|
53
|
+
async def get_info(request: Request, _: AccountSession = Depends(get_current_user)) -> InfoAPI:
|
|
43
54
|
return InfoAPI(deployment_id=str(registry.id), version=request.app.version)
|
|
44
55
|
|
|
45
56
|
|
|
@@ -47,7 +58,7 @@ class SearchDocs:
|
|
|
47
58
|
def __init__(self) -> None:
|
|
48
59
|
self._title_documents: list[dict] = []
|
|
49
60
|
self._heading_documents: list[dict] = []
|
|
50
|
-
self._heading_index:
|
|
61
|
+
self._heading_index: Index | None = None
|
|
51
62
|
|
|
52
63
|
def _load_json(self) -> None:
|
|
53
64
|
"""
|
|
@@ -142,7 +153,9 @@ class SearchResultAPI(BaseModel):
|
|
|
142
153
|
|
|
143
154
|
|
|
144
155
|
@router.get("/search/docs", include_in_schema=False)
|
|
145
|
-
async def search_docs(
|
|
156
|
+
async def search_docs(
|
|
157
|
+
query: str, limit: int | None = None, _: AccountSession = Depends(get_current_user)
|
|
158
|
+
) -> list[SearchResultAPI]:
|
|
146
159
|
smart_query = smart_queries(query)
|
|
147
160
|
search_results = search_docs_loader.heading_index.search(smart_query)
|
|
148
161
|
heading_results = [
|
|
@@ -4,17 +4,17 @@ from typing import TYPE_CHECKING
|
|
|
4
4
|
|
|
5
5
|
from fastapi import APIRouter, Depends
|
|
6
6
|
|
|
7
|
-
from infrahub.api.dependencies import get_branch_dep,
|
|
7
|
+
from infrahub.api.dependencies import get_branch_dep, get_db, get_permission_manager
|
|
8
8
|
from infrahub.core import registry
|
|
9
|
-
from infrahub.core.branch import Branch # noqa:
|
|
9
|
+
from infrahub.core.branch import Branch # noqa: TC001
|
|
10
10
|
from infrahub.core.protocols import CoreMenuItem
|
|
11
11
|
from infrahub.log import get_logger
|
|
12
12
|
from infrahub.menu.generator import generate_restricted_menu
|
|
13
|
-
from infrahub.menu.models import Menu # noqa:
|
|
13
|
+
from infrahub.menu.models import Menu # noqa: TC001
|
|
14
14
|
|
|
15
15
|
if TYPE_CHECKING:
|
|
16
|
-
from infrahub.auth import AccountSession
|
|
17
16
|
from infrahub.database import InfrahubDatabase
|
|
17
|
+
from infrahub.permissions import PermissionManager
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
log = get_logger()
|
|
@@ -25,10 +25,12 @@ router = APIRouter(prefix="/menu")
|
|
|
25
25
|
async def get_menu(
|
|
26
26
|
db: InfrahubDatabase = Depends(get_db),
|
|
27
27
|
branch: Branch = Depends(get_branch_dep),
|
|
28
|
-
|
|
28
|
+
permission_manager: PermissionManager = Depends(get_permission_manager),
|
|
29
29
|
) -> Menu:
|
|
30
30
|
log.info("menu_request", branch=branch.name)
|
|
31
31
|
|
|
32
32
|
menu_items = await registry.manager.query(db=db, schema=CoreMenuItem, branch=branch, prefetch_relationships=True)
|
|
33
|
-
menu = await generate_restricted_menu(
|
|
33
|
+
menu = await generate_restricted_menu(
|
|
34
|
+
db=db, branch=branch, menu_items=menu_items, account_permissions=permission_manager
|
|
35
|
+
)
|
|
34
36
|
return menu.to_rest()
|
|
@@ -3,9 +3,11 @@ from __future__ import annotations
|
|
|
3
3
|
from typing import TYPE_CHECKING
|
|
4
4
|
from urllib.parse import urljoin
|
|
5
5
|
|
|
6
|
+
import ujson
|
|
6
7
|
from authlib.integrations.httpx_client import AsyncOAuth2Client
|
|
7
8
|
from fastapi import APIRouter, Depends, Request, Response
|
|
8
9
|
from fastapi.responses import JSONResponse, RedirectResponse
|
|
10
|
+
from opentelemetry import trace
|
|
9
11
|
|
|
10
12
|
from infrahub import config, models
|
|
11
13
|
from infrahub.api.dependencies import get_db
|
|
@@ -20,27 +22,34 @@ if TYPE_CHECKING:
|
|
|
20
22
|
from infrahub.database import InfrahubDatabase
|
|
21
23
|
from infrahub.services import InfrahubServices
|
|
22
24
|
|
|
25
|
+
# pylint: disable=R0801
|
|
26
|
+
|
|
23
27
|
log = get_logger()
|
|
24
28
|
router = APIRouter(prefix="/oauth2")
|
|
25
29
|
|
|
26
30
|
|
|
27
31
|
def _get_redirect_url(request: Request, provider_name: str) -> str:
|
|
28
|
-
"""
|
|
29
|
-
base_url = config.SETTINGS.
|
|
32
|
+
"""Return public redirect URL."""
|
|
33
|
+
base_url = config.SETTINGS.main.public_url or str(request.base_url)
|
|
30
34
|
return urljoin(base_url, f"auth/oauth2/{provider_name}/callback")
|
|
31
35
|
|
|
32
36
|
|
|
33
37
|
@router.get("/{provider_name:str}/authorize")
|
|
34
38
|
async def authorize(request: Request, provider_name: str, final_url: str | None = None) -> Response:
|
|
35
39
|
provider = config.SETTINGS.security.get_oauth2_provider(provider=provider_name)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_oauth2_client_configuration") as span:
|
|
42
|
+
span.set_attribute("provider_name", provider_name)
|
|
43
|
+
span.set_attribute("scopes", provider.scopes)
|
|
44
|
+
|
|
45
|
+
client = AsyncOAuth2Client(
|
|
46
|
+
client_id=provider.client_id,
|
|
47
|
+
client_secret=provider.client_secret,
|
|
48
|
+
scope=provider.scopes,
|
|
49
|
+
)
|
|
41
50
|
|
|
42
51
|
redirect_uri = _get_redirect_url(request=request, provider_name=provider_name)
|
|
43
|
-
final_url = final_url or config.SETTINGS.
|
|
52
|
+
final_url = final_url or config.SETTINGS.main.public_url or str(request.base_url)
|
|
44
53
|
|
|
45
54
|
authorization_uri, state = client.create_authorization_url(
|
|
46
55
|
url=provider.authorization_url, redirect_uri=redirect_uri, scope=provider.scopes, final_url=final_url
|
|
@@ -88,7 +97,10 @@ async def token(
|
|
|
88
97
|
|
|
89
98
|
token_response = await service.http.post(provider.token_url, data=token_data)
|
|
90
99
|
_validate_response(response=token_response)
|
|
91
|
-
|
|
100
|
+
|
|
101
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
102
|
+
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
103
|
+
payload = token_response.json()
|
|
92
104
|
|
|
93
105
|
headers = {"Authorization": f"{payload.get('token_type')} {payload.get('access_token')}"}
|
|
94
106
|
if provider.userinfo_method == config.UserInfoMethod.GET:
|
|
@@ -102,7 +114,10 @@ async def token(
|
|
|
102
114
|
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
103
115
|
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
104
116
|
|
|
105
|
-
|
|
117
|
+
with trace.get_tracer(__name__).start_as_current_span("signin_sso_account") as span:
|
|
118
|
+
span.set_attribute("account_name", ujson.dumps(userinfo_response.json()))
|
|
119
|
+
span.set_attribute("sso_groups", sso_groups)
|
|
120
|
+
user_token = await signin_sso_account(db=db, account_name=user_info["name"], sso_groups=sso_groups)
|
|
106
121
|
|
|
107
122
|
response.set_cookie(
|
|
108
123
|
"access_token", user_token.access_token, httponly=True, max_age=config.SETTINGS.security.access_token_lifetime
|
|
@@ -3,9 +3,11 @@ from __future__ import annotations
|
|
|
3
3
|
from typing import TYPE_CHECKING
|
|
4
4
|
from urllib.parse import urljoin
|
|
5
5
|
|
|
6
|
+
import ujson
|
|
6
7
|
from authlib.integrations.httpx_client import AsyncOAuth2Client
|
|
7
8
|
from fastapi import APIRouter, Depends, Request, Response
|
|
8
9
|
from fastapi.responses import JSONResponse, RedirectResponse
|
|
10
|
+
from opentelemetry import trace
|
|
9
11
|
from pydantic import BaseModel, HttpUrl
|
|
10
12
|
|
|
11
13
|
from infrahub import config, models
|
|
@@ -21,6 +23,8 @@ if TYPE_CHECKING:
|
|
|
21
23
|
from infrahub.database import InfrahubDatabase
|
|
22
24
|
from infrahub.services import InfrahubServices
|
|
23
25
|
|
|
26
|
+
# pylint: disable=R0801
|
|
27
|
+
|
|
24
28
|
log = get_logger()
|
|
25
29
|
router = APIRouter(prefix="/oidc")
|
|
26
30
|
|
|
@@ -54,8 +58,8 @@ class OIDCDiscoveryConfig(BaseModel):
|
|
|
54
58
|
|
|
55
59
|
|
|
56
60
|
def _get_redirect_url(request: Request, provider_name: str) -> str:
|
|
57
|
-
"""
|
|
58
|
-
base_url = config.SETTINGS.
|
|
61
|
+
"""Return public redirect URL."""
|
|
62
|
+
base_url = config.SETTINGS.main.public_url or str(request.base_url)
|
|
59
63
|
return urljoin(base_url, f"auth/oidc/{provider_name}/callback")
|
|
60
64
|
|
|
61
65
|
|
|
@@ -68,14 +72,19 @@ async def authorize(request: Request, provider_name: str, final_url: str | None
|
|
|
68
72
|
_validate_response(response=response)
|
|
69
73
|
oidc_config = OIDCDiscoveryConfig(**response.json())
|
|
70
74
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_oauth2_client_configuration") as span:
|
|
76
|
+
span.set_attribute("provider_name", provider_name)
|
|
77
|
+
span.set_attribute("scopes", provider.scopes)
|
|
78
|
+
span.set_attribute("discovery_url", provider.discovery_url)
|
|
79
|
+
|
|
80
|
+
client = AsyncOAuth2Client(
|
|
81
|
+
client_id=provider.client_id,
|
|
82
|
+
client_secret=provider.client_secret,
|
|
83
|
+
scope=provider.scopes,
|
|
84
|
+
)
|
|
76
85
|
|
|
77
86
|
redirect_uri = _get_redirect_url(request=request, provider_name=provider_name)
|
|
78
|
-
final_url = final_url or config.SETTINGS.
|
|
87
|
+
final_url = final_url or config.SETTINGS.main.public_url or str(request.base_url)
|
|
79
88
|
|
|
80
89
|
authorization_uri, state = client.create_authorization_url(
|
|
81
90
|
url=str(oidc_config.authorization_endpoint), redirect_uri=redirect_uri, scope=provider.scopes
|
|
@@ -126,7 +135,10 @@ async def token(
|
|
|
126
135
|
|
|
127
136
|
token_response = await service.http.post(str(oidc_config.token_endpoint), data=token_data)
|
|
128
137
|
_validate_response(response=token_response)
|
|
129
|
-
|
|
138
|
+
|
|
139
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
140
|
+
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
141
|
+
payload = token_response.json()
|
|
130
142
|
|
|
131
143
|
headers = {"Authorization": f"{payload.get('token_type')} {payload.get('access_token')}"}
|
|
132
144
|
|
|
@@ -138,10 +150,14 @@ async def token(
|
|
|
138
150
|
_validate_response(response=userinfo_response)
|
|
139
151
|
user_info = userinfo_response.json()
|
|
140
152
|
sso_groups = user_info.get("groups", [])
|
|
153
|
+
|
|
141
154
|
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
142
155
|
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
143
156
|
|
|
144
|
-
|
|
157
|
+
with trace.get_tracer(__name__).start_as_current_span("signin_sso_account") as span:
|
|
158
|
+
span.set_attribute("account_name", ujson.dumps(userinfo_response.json()))
|
|
159
|
+
span.set_attribute("sso_groups", sso_groups)
|
|
160
|
+
user_token = await signin_sso_account(db=db, account_name=user_info["name"], sso_groups=sso_groups)
|
|
145
161
|
|
|
146
162
|
response.set_cookie(
|
|
147
163
|
"access_token", user_token.access_token, httponly=True, max_age=config.SETTINGS.security.access_token_lifetime
|
|
@@ -10,7 +10,7 @@ from infrahub.api.dependencies import BranchParams, get_branch_params, get_curre
|
|
|
10
10
|
from infrahub.core import registry
|
|
11
11
|
from infrahub.core.constants import InfrahubKind
|
|
12
12
|
from infrahub.core.protocols import CoreGraphQLQuery
|
|
13
|
-
from infrahub.database import InfrahubDatabase # noqa:
|
|
13
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
14
14
|
from infrahub.graphql.analyzer import InfrahubGraphQLQueryAnalyzer
|
|
15
15
|
from infrahub.graphql.api.dependencies import build_graphql_query_permission_checker
|
|
16
16
|
from infrahub.graphql.initialization import prepare_graphql_params
|
|
@@ -57,7 +57,7 @@ async def execute_query(
|
|
|
57
57
|
db=db, id=query_id, kind=CoreGraphQLQuery, branch=branch_params.branch, at=branch_params.at
|
|
58
58
|
)
|
|
59
59
|
|
|
60
|
-
gql_params = prepare_graphql_params(
|
|
60
|
+
gql_params = await prepare_graphql_params(
|
|
61
61
|
db=db, branch=branch_params.branch, at=branch_params.at, account_session=account_session
|
|
62
62
|
)
|
|
63
63
|
analyzed_query = InfrahubGraphQLQueryAnalyzer(
|