infrahub-server 1.1.4__tar.gz → 1.1.6__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.4 → infrahub_server-1.1.6}/PKG-INFO +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/artifact.py +4 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/oidc.py +33 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/transformation.py +2 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/computed_attribute/tasks.py +9 -5
- infrahub_server-1.1.6/backend/infrahub/core/diff/calculator.py +179 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/coordinator.py +1 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/ipam_diff_parser.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/merger/serializer.py +15 -8
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/model/path.py +0 -9
- infrahub_server-1.1.6/backend/infrahub/core/diff/query/all_conflicts.py +64 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/diff_get.py +17 -22
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query_parser.py +51 -28
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/repository/deserializer.py +51 -47
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/repository/repository.py +75 -33
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/merge.py +7 -5
- infrahub_server-1.1.6/backend/infrahub/core/query/diff.py +682 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/model.py +11 -3
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/schema_branch.py +16 -7
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/aggregated_checker.py +34 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/hierarchy.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/generators/tasks.py +12 -10
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/base.py +50 -8
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/integrator.py +30 -19
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/models.py +3 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/repository.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/tasks.py +19 -11
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/artifact_definition.py +10 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/check_repository_usercheck.py +1 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/check/repository.py +5 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/requests/artifact_definition.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/requests/proposed_change.py +4 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/types.py +1 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/proposed_change/tasks.py +6 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/storage.py +6 -5
- infrahub_server-1.1.6/backend/infrahub/transformations/constants.py +1 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/transformations/models.py +3 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/transformations/tasks.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/webhook/models.py +9 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/catalogue.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/pyproject.toml +2 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/batch.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/config.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/check.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/cli_commands.py +4 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/exporter.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/importer.py +6 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/repository.py +56 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/utils.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/data.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/node.py +1 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/protocols.py +0 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/schema/__init__.py +0 -3
- infrahub_server-1.1.6/python_sdk/infrahub_sdk/testing/docker.py +48 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/exporter/json.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +1 -1
- infrahub_server-1.1.4/backend/infrahub/core/diff/calculator.py +0 -87
- infrahub_server-1.1.4/backend/infrahub/core/query/diff.py +0 -931
- infrahub_server-1.1.4/python_sdk/infrahub_sdk/testing/docker.py +0 -18
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/LICENSE.txt +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/README.md +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/auth.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/dependencies.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/diff/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/oauth2.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/api/storage.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/auth.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/context.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/db.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/events.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/git_agent.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/cli/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/computed_attribute/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/computed_attribute/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/branch/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/branch/flow_models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/branch/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/branch/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constants/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constants/infrahubkind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constants/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constraint/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/constraint/node/runner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/combiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/merger/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/merger/merger.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/model/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/payload_builder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/delete_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/drop_tracking_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/field_specifiers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/field_summary.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/filters.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/merge.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/roots_metadata.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/save.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/repository/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/graph/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/graph/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/integrity/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/reconciler.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/ipam/utilization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/attribute_add.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/attribute_rename.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/node_duplicate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/node_remove.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/schema/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/migrations/shared.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/constraints/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/delete_validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/node/standard.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/path.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/property.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/protocols.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/protocols_base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/standard_node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/query/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/constraints/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/attribute_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/basenode_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/definitions/core.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/definitions/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/attribute_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generated/relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/generic_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/profile_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/task/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/task/user_task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/timestamp.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/choices.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/enum.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/length.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/regex.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/attribute/unique.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/determiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/models/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/models/violation.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/relationship/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/relationship/optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/relationship/peer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/shared.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/memgraph.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/component/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/dependencies/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/branch_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/node_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/repository_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/events/schema_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/generators/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/generators/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git_credential/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/git_credential/helper.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/analyzer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/api/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/api/endpoints.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/app.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/loaders/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/loaders/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/computed_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/main.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/proposed_change.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/mutations/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/parser.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/permissions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/search.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/status.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/queries/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/resolvers/resolver.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/subscription/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/subscription/events.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/common.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/permission.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/standard_node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/graphql/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/groups/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/groups/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/lock.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/check_artifact_create.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/check_generator_run.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/check_repository_checkdefinition.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/check_repository_mergeconflicts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_branch_create.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_branch_delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_branch_merge.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_branch_rebased.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_node_mutated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_schema_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/event_worker_newprimaryapi.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/finalize_validator_execution.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/proposed_change/base_with_diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/proposed_change/request_proposedchange_refreshartifacts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/request_artifactdefinition_check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/request_generatordefinition_check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/request_proposedchange_pipeline.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/request_repository_checks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/request_repository_userchecks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/check/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/check/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/check/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/event/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/event/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/event/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/event/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/event/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/finalize/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/finalize/validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/git/file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/requests/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/requests/generator_definition.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/requests/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/middleware.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/backend.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/local_backend.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/report.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/permissions/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/pools/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/pools/prefix.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/proposed_change/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/pytest_plugin.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/schema/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/schema/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/server.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/cache/nats.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/cache/redis.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/database/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/event/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/http/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/http/httpx.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/message_bus/nats.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/workflow/local.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/component.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/protocols.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/services/scheduler.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/support/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/support/macro.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/task_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/task_manager/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/task_manager/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/task_manager/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/tasks/telemetry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/transformations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/visuals.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/webhook/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/webhook/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/webhook/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workers/infrahub_async.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/workflows/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/client.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/code_generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/_file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/graphql.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/queries.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/query_groups.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/schema/main.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/timestamp.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_sdk/infrahub_sdk/yaml.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/python_testcontainers/infrahub_testcontainers/container.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.6}/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.6
|
|
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
|
|
@@ -85,7 +85,10 @@ async def generate_artifact(
|
|
|
85
85
|
|
|
86
86
|
service = request.app.state.service
|
|
87
87
|
model = RequestArtifactDefinitionGenerate(
|
|
88
|
-
|
|
88
|
+
artifact_definition_id=artifact_definition.id,
|
|
89
|
+
artifact_definition_name=artifact_definition.name.value,
|
|
90
|
+
branch=branch_params.branch.name,
|
|
91
|
+
limit=payload.nodes,
|
|
89
92
|
)
|
|
90
93
|
|
|
91
94
|
await service.workflow.submit_workflow(workflow=REQUEST_ARTIFACT_DEFINITION_GENERATE, parameters={"model": model})
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from typing import TYPE_CHECKING
|
|
3
|
+
from typing import TYPE_CHECKING, Any
|
|
4
4
|
from urllib.parse import urljoin
|
|
5
5
|
|
|
6
|
+
import jwt
|
|
6
7
|
import ujson
|
|
7
8
|
from authlib.integrations.httpx_client import AsyncOAuth2Client
|
|
8
9
|
from fastapi import APIRouter, Depends, Request, Response
|
|
@@ -138,7 +139,7 @@ async def token(
|
|
|
138
139
|
|
|
139
140
|
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
140
141
|
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
141
|
-
payload = token_response.json()
|
|
142
|
+
payload: dict[str, Any] = token_response.json()
|
|
142
143
|
|
|
143
144
|
headers = {"Authorization": f"{payload.get('token_type')} {payload.get('access_token')}"}
|
|
144
145
|
|
|
@@ -148,8 +149,10 @@ async def token(
|
|
|
148
149
|
userinfo_response = await service.http.post(str(oidc_config.userinfo_endpoint), headers=headers)
|
|
149
150
|
|
|
150
151
|
_validate_response(response=userinfo_response)
|
|
151
|
-
user_info = userinfo_response.json()
|
|
152
|
-
sso_groups = user_info.get("groups"
|
|
152
|
+
user_info: dict[str, Any] = userinfo_response.json()
|
|
153
|
+
sso_groups = user_info.get("groups") or await _get_id_token_groups(
|
|
154
|
+
oidc_config=oidc_config, service=service, payload=payload, client_id=provider.client_id
|
|
155
|
+
)
|
|
153
156
|
|
|
154
157
|
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
155
158
|
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
@@ -185,3 +188,29 @@ def _validate_response(response: httpx.Response) -> None:
|
|
|
185
188
|
body=response.json(),
|
|
186
189
|
)
|
|
187
190
|
raise GatewayError(message="Invalid response from Authentication provider")
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
async def _get_id_token_groups(
|
|
194
|
+
oidc_config: OIDCDiscoveryConfig, service: InfrahubServices, payload: dict[str, Any], client_id: str
|
|
195
|
+
) -> list[str]:
|
|
196
|
+
id_token = payload.get("id_token")
|
|
197
|
+
if not id_token:
|
|
198
|
+
return []
|
|
199
|
+
jwks = await service.http.get(url=str(oidc_config.jwks_uri))
|
|
200
|
+
|
|
201
|
+
jwk_client = jwt.PyJWKClient(uri=str(oidc_config.jwks_uri), cache_jwk_set=True)
|
|
202
|
+
if jwk_client.jwk_set_cache:
|
|
203
|
+
jwk_client.jwk_set_cache.put(jwks.json())
|
|
204
|
+
|
|
205
|
+
signing_key = jwk_client.get_signing_key_from_jwt(id_token)
|
|
206
|
+
|
|
207
|
+
decoded_token: dict[str, Any] = jwt.decode(
|
|
208
|
+
jwt=id_token,
|
|
209
|
+
key=signing_key.key,
|
|
210
|
+
algorithms=oidc_config.id_token_signing_alg_values_supported,
|
|
211
|
+
audience=client_id,
|
|
212
|
+
issuer=str(oidc_config.issuer),
|
|
213
|
+
options={"verify_signature": False, "verify_aud": False, "verify_iss": False},
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
return decoded_token.get("groups", [])
|
|
@@ -83,6 +83,7 @@ async def transform_python(
|
|
|
83
83
|
commit=repository.commit.value, # type: ignore[attr-defined]
|
|
84
84
|
branch=branch_params.branch.name,
|
|
85
85
|
transform_location=f"{transform.file_path.value}::{transform.class_name.value}",
|
|
86
|
+
timeout=transform.timeout.value,
|
|
86
87
|
data=data,
|
|
87
88
|
)
|
|
88
89
|
|
|
@@ -140,6 +141,7 @@ async def transform_jinja2(
|
|
|
140
141
|
commit=repository.commit.value, # type: ignore[attr-defined]
|
|
141
142
|
branch=branch_params.branch.name,
|
|
142
143
|
template_location=transform.template_path.value,
|
|
144
|
+
timeout=transform.timeout.value,
|
|
143
145
|
data=data,
|
|
144
146
|
)
|
|
145
147
|
|
{infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/computed_attribute/tasks.py
RENAMED
|
@@ -4,7 +4,10 @@ from datetime import timedelta
|
|
|
4
4
|
from typing import TYPE_CHECKING, Any
|
|
5
5
|
|
|
6
6
|
import ujson
|
|
7
|
-
from infrahub_sdk.protocols import
|
|
7
|
+
from infrahub_sdk.protocols import (
|
|
8
|
+
CoreNode, # noqa: TC002
|
|
9
|
+
CoreTransformPython,
|
|
10
|
+
)
|
|
8
11
|
from prefect import flow
|
|
9
12
|
from prefect.automations import AutomationCore
|
|
10
13
|
from prefect.client.orchestration import get_client
|
|
@@ -88,17 +91,18 @@ async def process_transform(
|
|
|
88
91
|
|
|
89
92
|
for attribute_name, transform_attribute in transform_attributes.items():
|
|
90
93
|
transform = await service.client.get(
|
|
91
|
-
kind=
|
|
94
|
+
kind=CoreTransformPython,
|
|
92
95
|
branch=branch_name,
|
|
93
96
|
id=transform_attribute.transform,
|
|
94
97
|
prefetch_relationships=True,
|
|
95
98
|
populate_store=True,
|
|
96
99
|
)
|
|
100
|
+
|
|
97
101
|
if not transform:
|
|
98
102
|
continue
|
|
99
103
|
|
|
100
104
|
repo_node = await service.client.get(
|
|
101
|
-
kind=transform.repository.peer.typename,
|
|
105
|
+
kind=str(transform.repository.peer.typename),
|
|
102
106
|
branch=branch_name,
|
|
103
107
|
id=transform.repository.peer.id,
|
|
104
108
|
raise_when_missing=True,
|
|
@@ -108,7 +112,7 @@ async def process_transform(
|
|
|
108
112
|
repository_id=transform.repository.peer.id,
|
|
109
113
|
name=transform.repository.peer.name.value,
|
|
110
114
|
service=service,
|
|
111
|
-
repository_kind=transform.repository.peer.typename,
|
|
115
|
+
repository_kind=str(transform.repository.peer.typename),
|
|
112
116
|
commit=repo_node.commit.value,
|
|
113
117
|
)
|
|
114
118
|
|
|
@@ -120,7 +124,7 @@ async def process_transform(
|
|
|
120
124
|
subscribers=[object_id],
|
|
121
125
|
)
|
|
122
126
|
|
|
123
|
-
transformed_data = await repo.execute_python_transform(
|
|
127
|
+
transformed_data = await repo.execute_python_transform.with_options(timeout_seconds=transform.timeout.value)(
|
|
124
128
|
branch_name=branch_name,
|
|
125
129
|
commit=repo_node.commit.value,
|
|
126
130
|
location=f"{transform.file_path.value}::{transform.class_name.value}",
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
|
+
|
|
3
|
+
from infrahub import config
|
|
4
|
+
from infrahub.core import registry
|
|
5
|
+
from infrahub.core.branch import Branch
|
|
6
|
+
from infrahub.core.diff.query_parser import DiffQueryParser
|
|
7
|
+
from infrahub.core.query.diff import (
|
|
8
|
+
DiffCalculationQuery,
|
|
9
|
+
DiffFieldPathsQuery,
|
|
10
|
+
DiffNodePathsQuery,
|
|
11
|
+
DiffPropertyPathsQuery,
|
|
12
|
+
)
|
|
13
|
+
from infrahub.core.timestamp import Timestamp
|
|
14
|
+
from infrahub.database import InfrahubDatabase
|
|
15
|
+
from infrahub.log import get_logger
|
|
16
|
+
|
|
17
|
+
from .model.path import CalculatedDiffs
|
|
18
|
+
|
|
19
|
+
log = get_logger()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@dataclass
|
|
23
|
+
class DiffCalculationRequest:
|
|
24
|
+
base_branch: Branch
|
|
25
|
+
diff_branch: Branch
|
|
26
|
+
branch_from_time: Timestamp
|
|
27
|
+
from_time: Timestamp
|
|
28
|
+
to_time: Timestamp
|
|
29
|
+
current_node_field_specifiers: dict[str, set[str]] | None = field(default=None)
|
|
30
|
+
new_node_field_specifiers: dict[str, set[str]] | None = field(default=None)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class DiffCalculator:
|
|
34
|
+
def __init__(self, db: InfrahubDatabase) -> None:
|
|
35
|
+
self.db = db
|
|
36
|
+
|
|
37
|
+
async def _run_diff_calculation_query(
|
|
38
|
+
self,
|
|
39
|
+
diff_parser: DiffQueryParser,
|
|
40
|
+
query_class: type[DiffCalculationQuery],
|
|
41
|
+
calculation_request: DiffCalculationRequest,
|
|
42
|
+
limit: int,
|
|
43
|
+
) -> None:
|
|
44
|
+
has_more_data = True
|
|
45
|
+
offset = 0
|
|
46
|
+
while has_more_data:
|
|
47
|
+
diff_query = await query_class.init(
|
|
48
|
+
db=self.db,
|
|
49
|
+
branch=calculation_request.diff_branch,
|
|
50
|
+
base_branch=calculation_request.base_branch,
|
|
51
|
+
diff_branch_from_time=calculation_request.branch_from_time,
|
|
52
|
+
diff_from=calculation_request.from_time,
|
|
53
|
+
diff_to=calculation_request.to_time,
|
|
54
|
+
current_node_field_specifiers=calculation_request.current_node_field_specifiers,
|
|
55
|
+
new_node_field_specifiers=calculation_request.new_node_field_specifiers,
|
|
56
|
+
limit=limit,
|
|
57
|
+
offset=offset,
|
|
58
|
+
)
|
|
59
|
+
log.info(f"Beginning one diff calculation query {limit=}, {offset=}")
|
|
60
|
+
await diff_query.execute(db=self.db)
|
|
61
|
+
log.info("Diff calculation query complete")
|
|
62
|
+
last_result = None
|
|
63
|
+
for query_result in diff_query.get_results():
|
|
64
|
+
diff_parser.read_result(query_result=query_result)
|
|
65
|
+
last_result = query_result
|
|
66
|
+
has_more_data = False
|
|
67
|
+
if last_result:
|
|
68
|
+
has_more_data = last_result.get_as_type("has_more_data", bool)
|
|
69
|
+
offset += limit
|
|
70
|
+
|
|
71
|
+
async def calculate_diff(
|
|
72
|
+
self,
|
|
73
|
+
base_branch: Branch,
|
|
74
|
+
diff_branch: Branch,
|
|
75
|
+
from_time: Timestamp,
|
|
76
|
+
to_time: Timestamp,
|
|
77
|
+
include_unchanged: bool = True,
|
|
78
|
+
previous_node_specifiers: dict[str, set[str]] | None = None,
|
|
79
|
+
) -> CalculatedDiffs:
|
|
80
|
+
if diff_branch.name == registry.default_branch:
|
|
81
|
+
diff_branch_from_time = from_time
|
|
82
|
+
else:
|
|
83
|
+
diff_branch_from_time = Timestamp(diff_branch.get_branched_from())
|
|
84
|
+
diff_parser = DiffQueryParser(
|
|
85
|
+
base_branch=base_branch,
|
|
86
|
+
diff_branch=diff_branch,
|
|
87
|
+
schema_manager=registry.schema,
|
|
88
|
+
from_time=from_time,
|
|
89
|
+
to_time=to_time,
|
|
90
|
+
previous_node_field_specifiers=previous_node_specifiers,
|
|
91
|
+
)
|
|
92
|
+
node_limit = int(config.SETTINGS.database.query_size_limit / 10)
|
|
93
|
+
fields_limit = int(config.SETTINGS.database.query_size_limit / 3)
|
|
94
|
+
properties_limit = int(config.SETTINGS.database.query_size_limit)
|
|
95
|
+
|
|
96
|
+
calculation_request = DiffCalculationRequest(
|
|
97
|
+
base_branch=base_branch,
|
|
98
|
+
diff_branch=diff_branch,
|
|
99
|
+
branch_from_time=diff_branch_from_time,
|
|
100
|
+
from_time=from_time,
|
|
101
|
+
to_time=to_time,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
log.info("Beginning diff node-level calculation queries for branch")
|
|
105
|
+
await self._run_diff_calculation_query(
|
|
106
|
+
diff_parser=diff_parser,
|
|
107
|
+
query_class=DiffNodePathsQuery,
|
|
108
|
+
calculation_request=calculation_request,
|
|
109
|
+
limit=node_limit,
|
|
110
|
+
)
|
|
111
|
+
log.info("Diff node-level calculation queries for branch complete")
|
|
112
|
+
|
|
113
|
+
log.info("Beginning diff field-level calculation queries for branch")
|
|
114
|
+
await self._run_diff_calculation_query(
|
|
115
|
+
diff_parser=diff_parser,
|
|
116
|
+
query_class=DiffFieldPathsQuery,
|
|
117
|
+
calculation_request=calculation_request,
|
|
118
|
+
limit=fields_limit,
|
|
119
|
+
)
|
|
120
|
+
log.info("Diff field-level calculation queries for branch complete")
|
|
121
|
+
|
|
122
|
+
log.info("Beginning diff property-level calculation queries for branch")
|
|
123
|
+
await self._run_diff_calculation_query(
|
|
124
|
+
diff_parser=diff_parser,
|
|
125
|
+
query_class=DiffPropertyPathsQuery,
|
|
126
|
+
calculation_request=calculation_request,
|
|
127
|
+
limit=properties_limit,
|
|
128
|
+
)
|
|
129
|
+
log.info("Diff property-level calculation queries for branch complete")
|
|
130
|
+
|
|
131
|
+
if base_branch.name != diff_branch.name:
|
|
132
|
+
current_node_field_specifiers = diff_parser.get_current_node_field_specifiers()
|
|
133
|
+
new_node_field_specifiers = diff_parser.get_new_node_field_specifiers()
|
|
134
|
+
calculation_request = DiffCalculationRequest(
|
|
135
|
+
base_branch=base_branch,
|
|
136
|
+
diff_branch=base_branch,
|
|
137
|
+
branch_from_time=diff_branch_from_time,
|
|
138
|
+
from_time=from_time,
|
|
139
|
+
to_time=to_time,
|
|
140
|
+
current_node_field_specifiers=current_node_field_specifiers,
|
|
141
|
+
new_node_field_specifiers=new_node_field_specifiers,
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
log.info("Beginning diff node-level calculation queries for base")
|
|
145
|
+
await self._run_diff_calculation_query(
|
|
146
|
+
diff_parser=diff_parser,
|
|
147
|
+
query_class=DiffNodePathsQuery,
|
|
148
|
+
calculation_request=calculation_request,
|
|
149
|
+
limit=node_limit,
|
|
150
|
+
)
|
|
151
|
+
log.info("Diff node-level calculation queries for base complete")
|
|
152
|
+
|
|
153
|
+
log.info("Beginning diff field-level calculation queries for base")
|
|
154
|
+
await self._run_diff_calculation_query(
|
|
155
|
+
diff_parser=diff_parser,
|
|
156
|
+
query_class=DiffFieldPathsQuery,
|
|
157
|
+
calculation_request=calculation_request,
|
|
158
|
+
limit=fields_limit,
|
|
159
|
+
)
|
|
160
|
+
log.info("Diff field-level calculation queries for base complete")
|
|
161
|
+
|
|
162
|
+
log.info("Beginning diff property-level calculation queries for base")
|
|
163
|
+
await self._run_diff_calculation_query(
|
|
164
|
+
diff_parser=diff_parser,
|
|
165
|
+
query_class=DiffPropertyPathsQuery,
|
|
166
|
+
calculation_request=calculation_request,
|
|
167
|
+
limit=properties_limit,
|
|
168
|
+
)
|
|
169
|
+
log.info("Diff property-level calculation queries for base complete")
|
|
170
|
+
|
|
171
|
+
log.info("Parsing calculated diff")
|
|
172
|
+
diff_parser.parse(include_unchanged=include_unchanged)
|
|
173
|
+
log.info("Calculated diff parsed")
|
|
174
|
+
return CalculatedDiffs(
|
|
175
|
+
base_branch_name=base_branch.name,
|
|
176
|
+
diff_branch_name=diff_branch.name,
|
|
177
|
+
base_branch_diff=diff_parser.get_diff_root_for_branch(branch=base_branch.name),
|
|
178
|
+
diff_branch_diff=diff_parser.get_diff_root_for_branch(branch=diff_branch.name),
|
|
179
|
+
)
|
|
@@ -15,7 +15,6 @@ from .model.path import (
|
|
|
15
15
|
EnrichedDiffs,
|
|
16
16
|
EnrichedDiffsMetadata,
|
|
17
17
|
NameTrackingId,
|
|
18
|
-
NodeFieldSpecifier,
|
|
19
18
|
TrackingId,
|
|
20
19
|
)
|
|
21
20
|
|
|
@@ -44,7 +43,7 @@ class EnrichedDiffRequest:
|
|
|
44
43
|
from_time: Timestamp
|
|
45
44
|
to_time: Timestamp
|
|
46
45
|
tracking_id: TrackingId | None = field(default=None)
|
|
47
|
-
node_field_specifiers: set[
|
|
46
|
+
node_field_specifiers: dict[str, set[str]] = field(default_factory=dict)
|
|
48
47
|
|
|
49
48
|
def __repr__(self) -> str:
|
|
50
49
|
return (
|
{infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/ipam_diff_parser.py
RENAMED
|
@@ -116,7 +116,7 @@ class IpamDiffParser:
|
|
|
116
116
|
rels = await node_from_db.ip_namespace.get_relationships(db=self.db) # type: ignore[attr-defined]
|
|
117
117
|
if rels:
|
|
118
118
|
cnd.namespace_id = rels[0].get_peer_id()
|
|
119
|
-
if cnd.ip_value and cnd.namespace_id:
|
|
119
|
+
if cnd.ip_value and cnd.namespace_id and cnd.node_uuid in uuids_missing_data:
|
|
120
120
|
uuids_missing_data.remove(cnd.node_uuid)
|
|
121
121
|
|
|
122
122
|
async def _add_missing_values(
|
{infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/merger/serializer.py
RENAMED
|
@@ -294,10 +294,6 @@ class DiffMergeSerializer:
|
|
|
294
294
|
actions_and_peers = self._get_actions_and_peers(relationship_diff=relationship_diff)
|
|
295
295
|
added_peer_ids = [peer_id for action, peer_id in actions_and_peers if action is DiffAction.ADDED]
|
|
296
296
|
removed_peer_ids = [peer_id for action, peer_id in actions_and_peers if action is DiffAction.REMOVED]
|
|
297
|
-
if not added_peer_ids:
|
|
298
|
-
added_peer_ids = [relationship_diff.peer_id]
|
|
299
|
-
if not removed_peer_ids:
|
|
300
|
-
removed_peer_ids = [relationship_diff.peer_id]
|
|
301
297
|
for action, peer_id in actions_and_peers:
|
|
302
298
|
if (
|
|
303
299
|
peer_id
|
|
@@ -314,6 +310,7 @@ class DiffMergeSerializer:
|
|
|
314
310
|
relationship_diff_properties=relationship_diff.properties,
|
|
315
311
|
added_peer_ids=added_peer_ids,
|
|
316
312
|
removed_peer_ids=removed_peer_ids,
|
|
313
|
+
unchanged_peer_id=relationship_diff.peer_id,
|
|
317
314
|
)
|
|
318
315
|
return relationship_dicts, relationship_property_dicts
|
|
319
316
|
|
|
@@ -324,9 +321,14 @@ class DiffMergeSerializer:
|
|
|
324
321
|
relationship_diff_properties: set[EnrichedDiffProperty],
|
|
325
322
|
added_peer_ids: list[str],
|
|
326
323
|
removed_peer_ids: list[str],
|
|
324
|
+
unchanged_peer_id: str,
|
|
327
325
|
) -> list[RelationshipPropertyMergeDict]:
|
|
328
|
-
added_property_dicts =
|
|
329
|
-
removed_property_dicts =
|
|
326
|
+
added_property_dicts = {}
|
|
327
|
+
removed_property_dicts = {}
|
|
328
|
+
if added_peer_ids:
|
|
329
|
+
added_property_dicts = self._get_default_property_merge_dicts(action=DiffAction.ADDED)
|
|
330
|
+
if removed_peer_ids:
|
|
331
|
+
removed_property_dicts = self._get_default_property_merge_dicts(action=DiffAction.REMOVED)
|
|
330
332
|
for property_diff in relationship_diff_properties:
|
|
331
333
|
if property_diff.property_type is DatabaseEdgeType.IS_RELATED:
|
|
332
334
|
# handled above
|
|
@@ -348,10 +350,15 @@ class DiffMergeSerializer:
|
|
|
348
350
|
elif action is DiffAction.REMOVED:
|
|
349
351
|
removed_property_dicts[property_diff.property_type] = property_dict
|
|
350
352
|
relationship_property_dicts = []
|
|
353
|
+
peers_and_property_dicts: list[tuple[str, dict[DatabaseEdgeType, PropertyMergeDict]]] = []
|
|
351
354
|
if added_property_dicts:
|
|
352
|
-
peers_and_property_dicts
|
|
355
|
+
peers_and_property_dicts += [
|
|
356
|
+
(peer_id, added_property_dicts) for peer_id in (added_peer_ids or [unchanged_peer_id])
|
|
357
|
+
]
|
|
353
358
|
if removed_property_dicts:
|
|
354
|
-
peers_and_property_dicts += [
|
|
359
|
+
peers_and_property_dicts += [
|
|
360
|
+
(peer_id, removed_property_dicts) for peer_id in (removed_peer_ids or [unchanged_peer_id])
|
|
361
|
+
]
|
|
355
362
|
for peer_id, property_dicts in peers_and_property_dicts:
|
|
356
363
|
if (
|
|
357
364
|
peer_id
|
|
@@ -82,15 +82,6 @@ def deserialize_tracking_id(tracking_id_str: str) -> TrackingId:
|
|
|
82
82
|
raise ValueError(f"{tracking_id_str} is not a valid TrackingId")
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
@dataclass
|
|
86
|
-
class NodeFieldSpecifier:
|
|
87
|
-
node_uuid: str
|
|
88
|
-
field_name: str
|
|
89
|
-
|
|
90
|
-
def __hash__(self) -> int:
|
|
91
|
-
return hash(f"{self.node_uuid}:{self.field_name}")
|
|
92
|
-
|
|
93
|
-
|
|
94
85
|
@dataclass
|
|
95
86
|
class NodeDiffFieldSummary:
|
|
96
87
|
kind: str
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from typing import Any, Generator
|
|
2
|
+
|
|
3
|
+
from neo4j.graph import Node as Neo4jNode
|
|
4
|
+
|
|
5
|
+
from infrahub.core.query import Query, QueryType
|
|
6
|
+
from infrahub.database import InfrahubDatabase
|
|
7
|
+
|
|
8
|
+
from ..model.path import TrackingId
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class EnrichedDiffAllConflictsQuery(Query):
|
|
12
|
+
name = "enriched_diff_all_conflicts"
|
|
13
|
+
type = QueryType.READ
|
|
14
|
+
|
|
15
|
+
def __init__(
|
|
16
|
+
self, diff_branch_name: str, tracking_id: TrackingId | None = None, diff_id: str | None = None, **kwargs: Any
|
|
17
|
+
) -> None:
|
|
18
|
+
super().__init__(**kwargs)
|
|
19
|
+
if (diff_id is None and tracking_id is None) or (diff_id and tracking_id):
|
|
20
|
+
raise ValueError("EnrichedDiffAllConflictsQuery requires one and only one of `tracking_id` or `diff_id`")
|
|
21
|
+
self.diff_branch_name = diff_branch_name
|
|
22
|
+
self.tracking_id = tracking_id
|
|
23
|
+
self.diff_id = diff_id
|
|
24
|
+
if self.tracking_id is None and self.diff_id is None:
|
|
25
|
+
raise RuntimeError("tracking_id or diff_id is required")
|
|
26
|
+
|
|
27
|
+
async def query_init(self, db: InfrahubDatabase, **kwargs: Any) -> None:
|
|
28
|
+
self.params = {
|
|
29
|
+
"diff_branch_name": self.diff_branch_name,
|
|
30
|
+
"diff_id": self.diff_id,
|
|
31
|
+
"tracking_id": self.tracking_id.serialize() if self.tracking_id else None,
|
|
32
|
+
}
|
|
33
|
+
query = """
|
|
34
|
+
MATCH (root:DiffRoot)
|
|
35
|
+
WHERE ($diff_id IS NOT NULL AND root.uuid = $diff_id)
|
|
36
|
+
OR ($tracking_id IS NOT NULL AND root.tracking_id = $tracking_id AND root.diff_branch = $diff_branch_name)
|
|
37
|
+
CALL {
|
|
38
|
+
WITH root
|
|
39
|
+
MATCH (root)-[:DIFF_HAS_NODE]->(node:DiffNode)-[:DIFF_HAS_CONFLICT]->(node_conflict:DiffConflict)
|
|
40
|
+
RETURN node.path_identifier AS path_identifier, node_conflict AS conflict
|
|
41
|
+
UNION
|
|
42
|
+
WITH root
|
|
43
|
+
MATCH (root)-[:DIFF_HAS_NODE]->(node:DiffNode)-[:DIFF_HAS_ATTRIBUTE]->(:DiffAttribute)
|
|
44
|
+
-[:DIFF_HAS_PROPERTY]->(property:DiffProperty)-[:DIFF_HAS_CONFLICT]->(attr_property_conflict:DiffConflict)
|
|
45
|
+
RETURN property.path_identifier AS path_identifier, attr_property_conflict AS conflict
|
|
46
|
+
UNION
|
|
47
|
+
WITH root
|
|
48
|
+
MATCH (root)-[:DIFF_HAS_NODE]->(node:DiffNode)-[:DIFF_HAS_RELATIONSHIP]->(:DiffRelationship)
|
|
49
|
+
-[:DIFF_HAS_ELEMENT]->(element:DiffRelationshipElement)-[:DIFF_HAS_CONFLICT]->(rel_element_conflict:DiffConflict)
|
|
50
|
+
RETURN element.path_identifier AS path_identifier, rel_element_conflict AS conflict
|
|
51
|
+
UNION
|
|
52
|
+
WITH root
|
|
53
|
+
MATCH (root)-[:DIFF_HAS_NODE]->(node:DiffNode)-[:DIFF_HAS_RELATIONSHIP]->(:DiffRelationship)
|
|
54
|
+
-[:DIFF_HAS_ELEMENT]->(:DiffRelationshipElement)-[:DIFF_HAS_PROPERTY]->(property:DiffProperty)
|
|
55
|
+
-[:DIFF_HAS_CONFLICT]->(rel_property_conflict:DiffConflict)
|
|
56
|
+
RETURN property.path_identifier AS path_identifier, rel_property_conflict AS conflict
|
|
57
|
+
}
|
|
58
|
+
"""
|
|
59
|
+
self.return_labels = ["path_identifier", "conflict"]
|
|
60
|
+
self.add_to_query(query=query)
|
|
61
|
+
|
|
62
|
+
def get_conflict_paths_and_nodes(self) -> Generator[tuple[str, Neo4jNode], None, None]:
|
|
63
|
+
for result in self.get_results():
|
|
64
|
+
yield (result.get_as_type("path_identifier", str), result.get_node("conflict"))
|
{infrahub_server-1.1.4 → infrahub_server-1.1.6}/backend/infrahub/core/diff/query/diff_get.py
RENAMED
|
@@ -17,8 +17,6 @@ QUERY_MATCH_NODES = """
|
|
|
17
17
|
AND ($to_time IS NULL OR diff_root.to_time <= $to_time)
|
|
18
18
|
AND ($tracking_id IS NULL OR diff_root.tracking_id = $tracking_id)
|
|
19
19
|
AND ($diff_ids IS NULL OR diff_root.uuid IN $diff_ids)
|
|
20
|
-
WITH diff_root
|
|
21
|
-
ORDER BY diff_root.base_branch, diff_root.diff_branch, diff_root.from_time, diff_root.to_time
|
|
22
20
|
// get all the nodes attached to the diffs
|
|
23
21
|
OPTIONAL MATCH (diff_root)-[:DIFF_HAS_NODE]->(diff_node:DiffNode)
|
|
24
22
|
"""
|
|
@@ -79,26 +77,21 @@ class EnrichedDiffGetQuery(Query):
|
|
|
79
77
|
self.add_to_query(query=query_filters)
|
|
80
78
|
|
|
81
79
|
query_2 = """
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
//
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
UNWIND node_root_tuples AS nrt
|
|
88
|
-
WITH nrt[0] AS diff_root, nrt[1] AS diff_node
|
|
89
|
-
ORDER BY diff_root.from_time DESC
|
|
90
|
-
RETURN diff_node.label AS latest_node_label
|
|
91
|
-
LIMIT 1
|
|
92
|
-
}
|
|
93
|
-
WITH diff_node_kind, node_root_tuples, latest_node_label
|
|
94
|
-
ORDER BY diff_node_kind, latest_node_label
|
|
80
|
+
WITH diff_root, diff_node
|
|
81
|
+
ORDER BY diff_root.base_branch, diff_root.diff_branch, diff_root.from_time, diff_root.to_time, diff_node.uuid
|
|
82
|
+
// -------------------------------------
|
|
83
|
+
// Limit number of results
|
|
84
|
+
// -------------------------------------
|
|
95
85
|
SKIP COALESCE($offset, 0)
|
|
96
86
|
LIMIT $limit
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
87
|
+
// -------------------------------------
|
|
88
|
+
// Check if more data after this limited group
|
|
89
|
+
// -------------------------------------
|
|
90
|
+
WITH collect([diff_root, diff_node]) AS limited_results
|
|
91
|
+
WITH limited_results, size(limited_results) = $limit AS has_more_data
|
|
92
|
+
UNWIND limited_results AS one_result
|
|
93
|
+
WITH one_result[0] AS diff_root, one_result[1] AS diff_node, has_more_data
|
|
100
94
|
// if depth limit, make sure not to exceed it when traversing linked nodes
|
|
101
|
-
WITH diff_root, diff_node
|
|
102
95
|
// -------------------------------------
|
|
103
96
|
// Retrieve Parents
|
|
104
97
|
// -------------------------------------
|
|
@@ -109,12 +102,12 @@ class EnrichedDiffGetQuery(Query):
|
|
|
109
102
|
ORDER BY size(nodes(parents_path)) DESC
|
|
110
103
|
LIMIT 1
|
|
111
104
|
}
|
|
112
|
-
WITH diff_root, diff_node, parents_path
|
|
105
|
+
WITH diff_root, diff_node, has_more_data, parents_path
|
|
113
106
|
// -------------------------------------
|
|
114
107
|
// Retrieve conflicts
|
|
115
108
|
// -------------------------------------
|
|
116
109
|
OPTIONAL MATCH (diff_node)-[:DIFF_HAS_CONFLICT]->(diff_node_conflict:DiffConflict)
|
|
117
|
-
WITH diff_root, diff_node, parents_path, diff_node_conflict
|
|
110
|
+
WITH diff_root, diff_node, has_more_data, parents_path, diff_node_conflict
|
|
118
111
|
// -------------------------------------
|
|
119
112
|
// Retrieve Attributes
|
|
120
113
|
// -------------------------------------
|
|
@@ -128,7 +121,7 @@ class EnrichedDiffGetQuery(Query):
|
|
|
128
121
|
RETURN diff_attribute, diff_attr_property, diff_attr_property_conflict
|
|
129
122
|
ORDER BY diff_attribute.name, diff_attr_property.property_type
|
|
130
123
|
}
|
|
131
|
-
WITH diff_root, diff_node, parents_path, diff_node_conflict, collect([diff_attribute, diff_attr_property, diff_attr_property_conflict]) as diff_attributes
|
|
124
|
+
WITH diff_root, diff_node, has_more_data, parents_path, diff_node_conflict, collect([diff_attribute, diff_attr_property, diff_attr_property_conflict]) as diff_attributes
|
|
132
125
|
// -------------------------------------
|
|
133
126
|
// Retrieve Relationships
|
|
134
127
|
// -------------------------------------
|
|
@@ -150,6 +143,7 @@ class EnrichedDiffGetQuery(Query):
|
|
|
150
143
|
WITH
|
|
151
144
|
diff_root,
|
|
152
145
|
diff_node,
|
|
146
|
+
has_more_data,
|
|
153
147
|
parents_path,
|
|
154
148
|
diff_node_conflict,
|
|
155
149
|
diff_attributes,
|
|
@@ -161,6 +155,7 @@ class EnrichedDiffGetQuery(Query):
|
|
|
161
155
|
self.return_labels = [
|
|
162
156
|
"diff_root",
|
|
163
157
|
"diff_node",
|
|
158
|
+
"has_more_data",
|
|
164
159
|
"parents_path",
|
|
165
160
|
"diff_node_conflict",
|
|
166
161
|
"diff_attributes",
|