infrahub-server 1.1.4__tar.gz → 1.1.5__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.5}/PKG-INFO +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/artifact.py +4 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/oidc.py +32 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/transformation.py +2 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/computed_attribute/tasks.py +9 -5
- infrahub_server-1.1.5/backend/infrahub/core/diff/calculator.py +197 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/coordinator.py +1 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/model/path.py +0 -9
- infrahub_server-1.1.5/backend/infrahub/core/diff/query/all_conflicts.py +64 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query_parser.py +51 -28
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/repository/repository.py +23 -14
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/merge.py +7 -5
- infrahub_server-1.1.5/backend/infrahub/core/query/diff.py +727 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/model.py +10 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/aggregated_checker.py +34 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/hierarchy.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/generators/tasks.py +12 -10
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/base.py +50 -8
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/integrator.py +24 -17
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/models.py +3 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/repository.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/tasks.py +19 -11
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/artifact_definition.py +10 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/check_repository_usercheck.py +1 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/check/repository.py +5 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/requests/artifact_definition.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/requests/proposed_change.py +4 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/types.py +1 -0
- infrahub_server-1.1.5/backend/infrahub/transformations/constants.py +1 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/transformations/models.py +3 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/transformations/tasks.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/webhook/models.py +9 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/catalogue.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/pyproject.toml +2 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/cli_commands.py +4 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/exporter.py +2 -2
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/importer.py +6 -4
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/repository.py +56 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +1 -1
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/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 → infrahub_server-1.1.5}/LICENSE.txt +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/README.md +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/auth.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/dependencies.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/diff/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/oauth2.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/api/storage.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/auth.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/context.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/db.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/events.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/git_agent.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/cli/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/computed_attribute/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/computed_attribute/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/branch/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/branch/flow_models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/branch/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/branch/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constants/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constants/infrahubkind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constants/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constraint/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/constraint/node/runner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/combiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/merger/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/merger/merger.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/merger/serializer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/model/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/payload_builder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/delete_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/diff_get.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/drop_tracking_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/field_specifiers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/field_summary.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/filters.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/merge.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/roots_metadata.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/save.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/repository/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/repository/deserializer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/graph/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/graph/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/integrity/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/reconciler.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/ipam/utilization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/attribute_add.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/attribute_rename.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/node_duplicate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/node_remove.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/schema/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/migrations/shared.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/constraints/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/delete_validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/node/standard.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/path.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/property.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/protocols.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/protocols_base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/standard_node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/query/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/constraints/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/attribute_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/basenode_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/definitions/core.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/definitions/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/attribute_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generated/relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/generic_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/node_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/profile_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/relationship_schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/schema_branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/task/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/task/user_task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/timestamp.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/choices.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/enum.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/length.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/regex.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/attribute/unique.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/determiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/models/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/models/violation.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/relationship/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/relationship/optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/relationship/peer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/shared.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/index.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/memgraph.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/component/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/dependencies/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/branch_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/node_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/repository_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/events/schema_action.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/generators/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/generators/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git_credential/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/git_credential/helper.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/analyzer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/api/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/api/endpoints.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/app.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/loaders/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/loaders/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/computed_attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/main.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/proposed_change.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/mutations/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/parser.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/permissions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/account.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/internal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/ipam.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/resource_manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/search.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/status.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/queries/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/resolvers/resolver.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/subscription/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/subscription/events.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/common.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/enums.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/permission.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/relationship.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/standard_node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/graphql/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/groups/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/groups/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/lock.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/check_artifact_create.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/check_generator_run.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/check_repository_checkdefinition.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/check_repository_mergeconflicts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_branch_create.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_branch_delete.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_branch_merge.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_branch_rebased.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_node_mutated.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_schema_update.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/event_worker_newprimaryapi.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/finalize_validator_execution.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/proposed_change/base_with_diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/proposed_change/request_proposedchange_refreshartifacts.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/request_artifactdefinition_check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/request_generatordefinition_check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/request_proposedchange_pipeline.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/request_repository_checks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/request_repository_userchecks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/check/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/check/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/check/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/event/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/event/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/event/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/event/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/event/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/finalize/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/finalize/validator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/git/file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/requests/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/requests/generator_definition.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/requests/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/middleware.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/backend.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/local_backend.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/manager.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/report.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/permissions/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/pools/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/pools/prefix.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/proposed_change/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/proposed_change/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/pytest_plugin.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/schema/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/schema/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/server.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/cache/nats.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/cache/redis.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/database/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/event/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/http/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/http/httpx.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/message_bus/nats.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/workflow/local.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/component.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/protocols.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/services/scheduler.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/storage.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/support/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/support/macro.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/task_manager/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/task_manager/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/task_manager/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/task_manager/task.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/artifact.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/registry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/tasks/telemetry.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/transformations/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/visuals.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/webhook/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/webhook/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/webhook/tasks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workers/infrahub_async.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/initialization.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/workflows/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/batch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/client.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/code_generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/_file.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/data.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/generator.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/graphql.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/node.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/protocols.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/queries.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/query_groups.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/schema/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/schema/main.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/docker.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/timestamp.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/types.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/utils.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_sdk/infrahub_sdk/yaml.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/python_testcontainers/infrahub_testcontainers/container.py +0 -0
- {infrahub_server-1.1.4 → infrahub_server-1.1.5}/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.5
|
|
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,28 @@ 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
|
+
)
|
|
214
|
+
|
|
215
|
+
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.5}/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,197 @@
|
|
|
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 DiffAllPathsQuery, DiffCalculationQuery, DiffFieldPathsQuery, DiffNodePathsQuery
|
|
8
|
+
from infrahub.core.timestamp import Timestamp
|
|
9
|
+
from infrahub.database import InfrahubDatabase
|
|
10
|
+
from infrahub.log import get_logger
|
|
11
|
+
|
|
12
|
+
from .model.path import CalculatedDiffs
|
|
13
|
+
|
|
14
|
+
log = get_logger()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class DiffCalculationRequest:
|
|
19
|
+
base_branch: Branch
|
|
20
|
+
diff_branch: Branch
|
|
21
|
+
branch_from_time: Timestamp
|
|
22
|
+
from_time: Timestamp
|
|
23
|
+
to_time: Timestamp
|
|
24
|
+
current_node_field_specifiers: dict[str, set[str]] | None = field(default=None)
|
|
25
|
+
new_node_field_specifiers: dict[str, set[str]] | None = field(default=None)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class DiffCalculator:
|
|
29
|
+
def __init__(self, db: InfrahubDatabase) -> None:
|
|
30
|
+
self.db = db
|
|
31
|
+
|
|
32
|
+
async def _run_diff_calculation_query(
|
|
33
|
+
self,
|
|
34
|
+
diff_parser: DiffQueryParser,
|
|
35
|
+
query_class: type[DiffCalculationQuery],
|
|
36
|
+
calculation_request: DiffCalculationRequest,
|
|
37
|
+
limit: int,
|
|
38
|
+
) -> None:
|
|
39
|
+
has_more_data = True
|
|
40
|
+
offset = 0
|
|
41
|
+
while has_more_data:
|
|
42
|
+
diff_query = await query_class.init(
|
|
43
|
+
db=self.db,
|
|
44
|
+
branch=calculation_request.diff_branch,
|
|
45
|
+
base_branch=calculation_request.base_branch,
|
|
46
|
+
diff_branch_from_time=calculation_request.branch_from_time,
|
|
47
|
+
diff_from=calculation_request.from_time,
|
|
48
|
+
diff_to=calculation_request.to_time,
|
|
49
|
+
current_node_field_specifiers=calculation_request.current_node_field_specifiers,
|
|
50
|
+
new_node_field_specifiers=calculation_request.new_node_field_specifiers,
|
|
51
|
+
limit=limit,
|
|
52
|
+
offset=offset,
|
|
53
|
+
)
|
|
54
|
+
log.info(f"Beginning one diff calculation query {limit=}, {offset=}")
|
|
55
|
+
await diff_query.execute(db=self.db)
|
|
56
|
+
log.info("Diff calculation query complete")
|
|
57
|
+
last_result = None
|
|
58
|
+
for query_result in diff_query.get_results():
|
|
59
|
+
diff_parser.read_result(query_result=query_result)
|
|
60
|
+
last_result = query_result
|
|
61
|
+
has_more_data = False
|
|
62
|
+
if last_result:
|
|
63
|
+
has_more_data = last_result.get_as_type("has_more_data", bool)
|
|
64
|
+
offset += limit
|
|
65
|
+
|
|
66
|
+
async def calculate_diff(
|
|
67
|
+
self,
|
|
68
|
+
base_branch: Branch,
|
|
69
|
+
diff_branch: Branch,
|
|
70
|
+
from_time: Timestamp,
|
|
71
|
+
to_time: Timestamp,
|
|
72
|
+
include_unchanged: bool = True,
|
|
73
|
+
previous_node_specifiers: dict[str, set[str]] | None = None,
|
|
74
|
+
) -> CalculatedDiffs:
|
|
75
|
+
if diff_branch.name == registry.default_branch:
|
|
76
|
+
diff_branch_from_time = from_time
|
|
77
|
+
else:
|
|
78
|
+
diff_branch_from_time = Timestamp(diff_branch.get_branched_from())
|
|
79
|
+
diff_parser = DiffQueryParser(
|
|
80
|
+
base_branch=base_branch,
|
|
81
|
+
diff_branch=diff_branch,
|
|
82
|
+
schema_manager=registry.schema,
|
|
83
|
+
from_time=from_time,
|
|
84
|
+
to_time=to_time,
|
|
85
|
+
previous_node_field_specifiers=previous_node_specifiers,
|
|
86
|
+
)
|
|
87
|
+
node_limit = int(config.SETTINGS.database.query_size_limit / 10)
|
|
88
|
+
fields_limit = int(config.SETTINGS.database.query_size_limit / 3)
|
|
89
|
+
|
|
90
|
+
calculation_request = DiffCalculationRequest(
|
|
91
|
+
base_branch=base_branch,
|
|
92
|
+
diff_branch=diff_branch,
|
|
93
|
+
branch_from_time=diff_branch_from_time,
|
|
94
|
+
from_time=from_time,
|
|
95
|
+
to_time=to_time,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
log.info("Beginning diff node-level calculation queries for branch")
|
|
99
|
+
await self._run_diff_calculation_query(
|
|
100
|
+
diff_parser=diff_parser,
|
|
101
|
+
query_class=DiffNodePathsQuery,
|
|
102
|
+
calculation_request=calculation_request,
|
|
103
|
+
limit=node_limit,
|
|
104
|
+
)
|
|
105
|
+
log.info("Diff node-level calculation queries for branch complete")
|
|
106
|
+
|
|
107
|
+
log.info("Beginning diff field-level calculation queries for branch")
|
|
108
|
+
await self._run_diff_calculation_query(
|
|
109
|
+
diff_parser=diff_parser,
|
|
110
|
+
query_class=DiffFieldPathsQuery,
|
|
111
|
+
calculation_request=calculation_request,
|
|
112
|
+
limit=fields_limit,
|
|
113
|
+
)
|
|
114
|
+
log.info("Diff field-level calculation queries for branch complete")
|
|
115
|
+
|
|
116
|
+
branch_diff_query = await DiffAllPathsQuery.init(
|
|
117
|
+
db=self.db,
|
|
118
|
+
branch=diff_branch,
|
|
119
|
+
base_branch=base_branch,
|
|
120
|
+
diff_branch_from_time=diff_branch_from_time,
|
|
121
|
+
diff_from=from_time,
|
|
122
|
+
diff_to=to_time,
|
|
123
|
+
)
|
|
124
|
+
log.info("Beginning diff calculation query for branch")
|
|
125
|
+
await branch_diff_query.execute(db=self.db)
|
|
126
|
+
log.info("Diff calculation query for branch complete")
|
|
127
|
+
log.info("Reading results of query for branch")
|
|
128
|
+
for query_result in branch_diff_query.get_results():
|
|
129
|
+
diff_parser.read_result(query_result=query_result)
|
|
130
|
+
log.info("Results of query for branch read")
|
|
131
|
+
|
|
132
|
+
if base_branch.name != diff_branch.name:
|
|
133
|
+
current_node_field_specifiers = diff_parser.get_current_node_field_specifiers()
|
|
134
|
+
new_node_field_specifiers = diff_parser.get_new_node_field_specifiers()
|
|
135
|
+
calculation_request = DiffCalculationRequest(
|
|
136
|
+
base_branch=base_branch,
|
|
137
|
+
diff_branch=base_branch,
|
|
138
|
+
branch_from_time=diff_branch_from_time,
|
|
139
|
+
from_time=from_time,
|
|
140
|
+
to_time=to_time,
|
|
141
|
+
current_node_field_specifiers=current_node_field_specifiers,
|
|
142
|
+
new_node_field_specifiers=new_node_field_specifiers,
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
log.info("Beginning diff node-level calculation queries for base")
|
|
146
|
+
await self._run_diff_calculation_query(
|
|
147
|
+
diff_parser=diff_parser,
|
|
148
|
+
query_class=DiffNodePathsQuery,
|
|
149
|
+
calculation_request=calculation_request,
|
|
150
|
+
limit=node_limit,
|
|
151
|
+
)
|
|
152
|
+
log.info("Diff node-level calculation queries for base complete")
|
|
153
|
+
|
|
154
|
+
log.info("Beginning diff field-level calculation queries for base")
|
|
155
|
+
await self._run_diff_calculation_query(
|
|
156
|
+
diff_parser=diff_parser,
|
|
157
|
+
query_class=DiffFieldPathsQuery,
|
|
158
|
+
calculation_request=calculation_request,
|
|
159
|
+
limit=fields_limit,
|
|
160
|
+
)
|
|
161
|
+
log.info("Diff field-level calculation queries for base complete")
|
|
162
|
+
|
|
163
|
+
# Temporary until next change
|
|
164
|
+
current_node_field_specifier_tuples: list[tuple[str, str]] = []
|
|
165
|
+
new_node_field_specifier_tuples: list[tuple[str, str]] = []
|
|
166
|
+
for node_uuid, field_names in current_node_field_specifiers.items():
|
|
167
|
+
current_node_field_specifier_tuples.extend((node_uuid, field_name) for field_name in field_names)
|
|
168
|
+
for node_uuid, field_names in new_node_field_specifiers.items():
|
|
169
|
+
new_node_field_specifier_tuples.extend((node_uuid, field_name) for field_name in field_names)
|
|
170
|
+
|
|
171
|
+
base_diff_query = await DiffAllPathsQuery.init(
|
|
172
|
+
db=self.db,
|
|
173
|
+
branch=base_branch,
|
|
174
|
+
base_branch=base_branch,
|
|
175
|
+
diff_branch_from_time=diff_branch_from_time,
|
|
176
|
+
diff_from=from_time,
|
|
177
|
+
diff_to=to_time,
|
|
178
|
+
current_node_field_specifiers=current_node_field_specifier_tuples,
|
|
179
|
+
new_node_field_specifiers=new_node_field_specifier_tuples,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
log.info("Beginning diff calculation query for base")
|
|
183
|
+
await base_diff_query.execute(db=self.db)
|
|
184
|
+
log.info("Diff calculation query for base complete")
|
|
185
|
+
log.info("Reading results of query for base")
|
|
186
|
+
for query_result in base_diff_query.get_results():
|
|
187
|
+
diff_parser.read_result(query_result=query_result)
|
|
188
|
+
log.info("Results of query for branch read")
|
|
189
|
+
log.info("Parsing calculated diff")
|
|
190
|
+
diff_parser.parse(include_unchanged=include_unchanged)
|
|
191
|
+
log.info("Calculated diff parsed")
|
|
192
|
+
return CalculatedDiffs(
|
|
193
|
+
base_branch_name=base_branch.name,
|
|
194
|
+
diff_branch_name=diff_branch.name,
|
|
195
|
+
base_branch_diff=diff_parser.get_diff_root_for_branch(branch=base_branch.name),
|
|
196
|
+
diff_branch_diff=diff_parser.get_diff_root_for_branch(branch=diff_branch.name),
|
|
197
|
+
)
|
|
@@ -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 (
|
|
@@ -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"))
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
from collections import defaultdict
|
|
3
4
|
from dataclasses import dataclass, field
|
|
4
5
|
from typing import TYPE_CHECKING, Any, Optional
|
|
5
6
|
from uuid import uuid4
|
|
@@ -22,7 +23,6 @@ from .model.path import (
|
|
|
22
23
|
DiffRelationship,
|
|
23
24
|
DiffRoot,
|
|
24
25
|
DiffSingleRelationship,
|
|
25
|
-
NodeFieldSpecifier,
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
if TYPE_CHECKING:
|
|
@@ -459,7 +459,7 @@ class DiffQueryParser:
|
|
|
459
459
|
schema_manager: SchemaManager,
|
|
460
460
|
from_time: Timestamp,
|
|
461
461
|
to_time: Optional[Timestamp] = None,
|
|
462
|
-
previous_node_field_specifiers: set[
|
|
462
|
+
previous_node_field_specifiers: dict[str, set[str]] | None = None,
|
|
463
463
|
) -> None:
|
|
464
464
|
self.base_branch_name = base_branch.name
|
|
465
465
|
self.diff_branch_name = diff_branch.name
|
|
@@ -473,7 +473,9 @@ class DiffQueryParser:
|
|
|
473
473
|
self.diff_branched_from_time = Timestamp(diff_branch.get_branched_from())
|
|
474
474
|
self._diff_root_by_branch: dict[str, DiffRootIntermediate] = {}
|
|
475
475
|
self._final_diff_root_by_branch: dict[str, DiffRoot] = {}
|
|
476
|
-
self._previous_node_field_specifiers = previous_node_field_specifiers or
|
|
476
|
+
self._previous_node_field_specifiers = previous_node_field_specifiers or {}
|
|
477
|
+
self._new_node_field_specifiers: dict[str, set[str]] | None = None
|
|
478
|
+
self._current_node_field_specifiers: dict[str, set[str]] | None = None
|
|
477
479
|
|
|
478
480
|
def get_branches(self) -> set[str]:
|
|
479
481
|
return set(self._final_diff_root_by_branch.keys())
|
|
@@ -485,38 +487,59 @@ class DiffQueryParser:
|
|
|
485
487
|
return self._final_diff_root_by_branch[branch]
|
|
486
488
|
return DiffRoot(from_time=self.from_time, to_time=self.to_time, uuid=str(uuid4()), branch=branch, nodes=[])
|
|
487
489
|
|
|
488
|
-
def get_diff_node_field_specifiers(self) -> set[
|
|
490
|
+
def get_diff_node_field_specifiers(self) -> dict[str, set[str]]:
|
|
489
491
|
if self.diff_branch_name not in self._diff_root_by_branch:
|
|
490
|
-
return
|
|
491
|
-
|
|
492
|
+
return {}
|
|
493
|
+
node_field_specifiers_map: dict[str, set[str]] = defaultdict(set)
|
|
492
494
|
diff_root = self._diff_root_by_branch[self.diff_branch_name]
|
|
493
495
|
for node in diff_root.nodes_by_id.values():
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
496
|
+
for attribute_name in node.attributes_by_name:
|
|
497
|
+
node_field_specifiers_map[node.uuid].add(attribute_name)
|
|
498
|
+
for relationship_diff in node.relationships_by_name.values():
|
|
499
|
+
node_field_specifiers_map[node.uuid].add(relationship_diff.identifier)
|
|
500
|
+
return node_field_specifiers_map
|
|
501
|
+
|
|
502
|
+
def _remove_node_specifiers(
|
|
503
|
+
self, node_specifiers: dict[str, set[str]], node_specifiers_to_remove: dict[str, set[str]]
|
|
504
|
+
) -> dict[str, set[str]]:
|
|
505
|
+
final_node_specifiers: dict[str, set[str]] = defaultdict(set)
|
|
506
|
+
for node_uuid, field_names_set in node_specifiers.items():
|
|
507
|
+
specifiers_to_remove = node_specifiers_to_remove.get(node_uuid, set())
|
|
508
|
+
final_specifiers = field_names_set - specifiers_to_remove
|
|
509
|
+
if final_specifiers:
|
|
510
|
+
final_node_specifiers[node_uuid] = final_specifiers
|
|
511
|
+
return final_node_specifiers
|
|
512
|
+
|
|
513
|
+
def get_new_node_field_specifiers(self) -> dict[str, set[str]]:
|
|
514
|
+
if self._new_node_field_specifiers is not None:
|
|
515
|
+
return self._new_node_field_specifiers
|
|
505
516
|
branch_node_specifiers = self.get_diff_node_field_specifiers()
|
|
506
|
-
new_node_field_specifiers =
|
|
517
|
+
new_node_field_specifiers = self._remove_node_specifiers(
|
|
518
|
+
branch_node_specifiers, self._previous_node_field_specifiers
|
|
519
|
+
)
|
|
520
|
+
self._new_node_field_specifiers = new_node_field_specifiers
|
|
507
521
|
return new_node_field_specifiers
|
|
508
522
|
|
|
509
|
-
def get_current_node_field_specifiers(self) -> set[
|
|
523
|
+
def get_current_node_field_specifiers(self) -> dict[str, set[str]]:
|
|
524
|
+
if self._current_node_field_specifiers is not None:
|
|
525
|
+
return self._current_node_field_specifiers
|
|
510
526
|
new_node_field_specifiers = self.get_new_node_field_specifiers()
|
|
511
|
-
current_node_field_specifiers = self.
|
|
527
|
+
current_node_field_specifiers = self._remove_node_specifiers(
|
|
528
|
+
self._previous_node_field_specifiers, new_node_field_specifiers
|
|
529
|
+
)
|
|
530
|
+
self._current_node_field_specifiers = current_node_field_specifiers
|
|
512
531
|
return current_node_field_specifiers
|
|
513
532
|
|
|
514
533
|
def read_result(self, query_result: QueryResult) -> None:
|
|
515
534
|
path = query_result.get_path(label="diff_path")
|
|
516
535
|
database_path = DatabasePath.from_cypher_path(cypher_path=path)
|
|
517
536
|
self._parse_path(database_path=database_path)
|
|
537
|
+
self._current_node_field_specifiers = None
|
|
538
|
+
self._new_node_field_specifiers = None
|
|
518
539
|
|
|
519
540
|
def parse(self, include_unchanged: bool = False) -> None:
|
|
541
|
+
self._new_node_field_specifiers = None
|
|
542
|
+
self._current_node_field_specifiers = None
|
|
520
543
|
if len(self._diff_root_by_branch) > 1:
|
|
521
544
|
self._apply_base_branch_previous_values()
|
|
522
545
|
self._remove_empty_base_diff_root()
|
|
@@ -586,11 +609,12 @@ class DiffQueryParser:
|
|
|
586
609
|
self, database_path: DatabasePath, diff_node: DiffNodeIntermediate
|
|
587
610
|
) -> DiffAttributeIntermediate:
|
|
588
611
|
attribute_name = database_path.attribute_name
|
|
589
|
-
node_field_specifier = NodeFieldSpecifier(node_uuid=diff_node.uuid, field_name=attribute_name)
|
|
590
612
|
branch_name = database_path.deepest_branch
|
|
591
613
|
from_time = self.from_time
|
|
592
|
-
if branch_name == self.base_branch_name
|
|
593
|
-
|
|
614
|
+
if branch_name == self.base_branch_name:
|
|
615
|
+
new_node_field_specifiers = self.get_new_node_field_specifiers()
|
|
616
|
+
if attribute_name in new_node_field_specifiers.get(diff_node.uuid, set()):
|
|
617
|
+
from_time = self.diff_branched_from_time
|
|
594
618
|
if attribute_name not in diff_node.attributes_by_name:
|
|
595
619
|
diff_node.attributes_by_name[attribute_name] = DiffAttributeIntermediate(
|
|
596
620
|
uuid=database_path.attribute_id,
|
|
@@ -627,13 +651,12 @@ class DiffQueryParser:
|
|
|
627
651
|
) -> DiffRelationshipIntermediate:
|
|
628
652
|
diff_relationship = diff_node.relationships_by_name.get(relationship_schema.name)
|
|
629
653
|
if not diff_relationship:
|
|
630
|
-
node_field_specifier = NodeFieldSpecifier(
|
|
631
|
-
node_uuid=diff_node.uuid, field_name=relationship_schema.get_identifier()
|
|
632
|
-
)
|
|
633
654
|
branch_name = database_path.deepest_branch
|
|
634
655
|
from_time = self.from_time
|
|
635
|
-
if branch_name == self.base_branch_name
|
|
636
|
-
|
|
656
|
+
if branch_name == self.base_branch_name:
|
|
657
|
+
new_node_field_specifiers = self.get_new_node_field_specifiers()
|
|
658
|
+
if relationship_schema.get_identifier() in new_node_field_specifiers.get(diff_node.uuid, set()):
|
|
659
|
+
from_time = self.diff_branched_from_time
|
|
637
660
|
diff_relationship = DiffRelationshipIntermediate(
|
|
638
661
|
name=relationship_schema.name,
|
|
639
662
|
cardinality=relationship_schema.cardinality,
|
{infrahub_server-1.1.4 → infrahub_server-1.1.5}/backend/infrahub/core/diff/repository/repository.py
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from
|
|
1
|
+
from collections import defaultdict
|
|
2
|
+
from typing import AsyncGenerator, Generator
|
|
2
3
|
|
|
3
4
|
from infrahub import config
|
|
4
5
|
from infrahub.core import registry
|
|
@@ -18,10 +19,10 @@ from ..model.path import (
|
|
|
18
19
|
EnrichedDiffsMetadata,
|
|
19
20
|
EnrichedNodeCreateRequest,
|
|
20
21
|
NodeDiffFieldSummary,
|
|
21
|
-
NodeFieldSpecifier,
|
|
22
22
|
TimeRange,
|
|
23
23
|
TrackingId,
|
|
24
24
|
)
|
|
25
|
+
from ..query.all_conflicts import EnrichedDiffAllConflictsQuery
|
|
25
26
|
from ..query.delete_query import EnrichedDiffDeleteQuery
|
|
26
27
|
from ..query.diff_get import EnrichedDiffGetQuery
|
|
27
28
|
from ..query.diff_summary import DiffSummaryCounters, DiffSummaryQuery
|
|
@@ -318,6 +319,19 @@ class DiffRepository:
|
|
|
318
319
|
raise ResourceNotFoundError(f"No conflict with id {conflict_id}")
|
|
319
320
|
return self.deserializer.deserialize_conflict(diff_conflict_node=conflict_node)
|
|
320
321
|
|
|
322
|
+
async def get_all_conflicts_for_diff(
|
|
323
|
+
self,
|
|
324
|
+
diff_branch_name: str,
|
|
325
|
+
tracking_id: TrackingId | None = None,
|
|
326
|
+
diff_id: str | None = None,
|
|
327
|
+
) -> AsyncGenerator[tuple[str, EnrichedDiffConflict], None]:
|
|
328
|
+
query = await EnrichedDiffAllConflictsQuery.init(
|
|
329
|
+
db=self.db, diff_branch_name=diff_branch_name, tracking_id=tracking_id, diff_id=diff_id
|
|
330
|
+
)
|
|
331
|
+
await query.execute(db=self.db)
|
|
332
|
+
for conflict_path, conflict_node in query.get_conflict_paths_and_nodes():
|
|
333
|
+
yield (conflict_path, self.deserializer.deserialize_conflict(diff_conflict_node=conflict_node))
|
|
334
|
+
|
|
321
335
|
async def get_node_field_summaries(
|
|
322
336
|
self, diff_branch_name: str, tracking_id: TrackingId | None = None, diff_id: str | None = None
|
|
323
337
|
) -> list[NodeDiffFieldSummary]:
|
|
@@ -338,23 +352,18 @@ class DiffRepository:
|
|
|
338
352
|
await query.execute(db=self.db)
|
|
339
353
|
return query.get_num_changes_by_branch()
|
|
340
354
|
|
|
341
|
-
async def get_node_field_specifiers(self, diff_id: str) -> set[
|
|
355
|
+
async def get_node_field_specifiers(self, diff_id: str) -> dict[str, set[str]]:
|
|
342
356
|
limit = config.SETTINGS.database.query_size_limit
|
|
343
357
|
offset = 0
|
|
344
|
-
specifiers: set[
|
|
358
|
+
specifiers: dict[str, set[str]] = defaultdict(set)
|
|
345
359
|
while True:
|
|
346
360
|
query = await EnrichedDiffFieldSpecifiersQuery.init(db=self.db, diff_id=diff_id, offset=offset, limit=limit)
|
|
347
361
|
await query.execute(db=self.db)
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
)
|
|
354
|
-
for field_specifier_tuple in query.get_node_field_specifier_tuples()
|
|
355
|
-
}
|
|
356
|
-
if not new_specifiers:
|
|
362
|
+
has_data = False
|
|
363
|
+
for field_specifier_tuple in query.get_node_field_specifier_tuples():
|
|
364
|
+
specifiers[field_specifier_tuple[0]].add(field_specifier_tuple[1])
|
|
365
|
+
has_data = True
|
|
366
|
+
if not has_data:
|
|
357
367
|
break
|
|
358
|
-
specifiers |= new_specifiers
|
|
359
368
|
offset += limit
|
|
360
369
|
return specifiers
|