infrahub-server 1.3.0b5__tar.gz → 1.3.1__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.3.0b5 → infrahub_server-1.3.1}/PKG-INFO +2 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/constants.py +36 -79
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/schema.py +2 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/db.py +7 -5
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/upgrade.py +6 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/attribute.py +5 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constraint/node/runner.py +3 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/convert_object_type/conversion.py +2 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/coordinator.py +8 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/delete_query.py +8 -4
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/field_specifiers.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/merge.py +2 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/repository/repository.py +4 -0
- infrahub_server-1.3.1/backend/infrahub/core/graph/__init__.py +1 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/__init__.py +2 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +1 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +1 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m023_deduplicate_cardinality_one_relationships.py +2 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m028_delete_diffs.py +1 -2
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m029_duplicates_cleanup.py +2 -2
- infrahub_server-1.3.1/backend/infrahub/core/migrations/graph/m031_check_number_attributes.py +102 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/attribute_rename.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/__init__.py +70 -37
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/path.py +14 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/delete.py +3 -3
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/count.py +10 -9
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/interface.py +2 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/peer_kind.py +2 -1
- infrahub_server-1.3.1/backend/infrahub/core/relationship/constraints/peer_parent.py +56 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/peer_relatives.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/profiles_kind.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/attribute_parameters.py +12 -5
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/basenode_schema.py +107 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/internal.py +8 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/relationship_schema.py +6 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/schema_branch.py +53 -13
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/__init__.py +2 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/min_max.py +7 -2
- infrahub_server-1.3.1/backend/infrahub/core/validators/relationship/peer.py +297 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/__init__.py +0 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +2 -0
- infrahub_server-1.3.1/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_parent.py +8 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +2 -0
- infrahub_server-1.3.1/backend/infrahub/dependencies/builder/constraint/schema/relationship_peer.py +8 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/registry.py +2 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/tasks.py +1 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/app.py +5 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/convert_object_type.py +16 -7
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/relationship.py +32 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/convert_object_type_mapping.py +3 -5
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/refresh/registry.py +3 -6
- infrahub_server-1.3.1/backend/infrahub/pools/models.py +14 -0
- infrahub_server-1.3.1/backend/infrahub/pools/tasks.py +126 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/message_bus/nats.py +5 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/scheduler.py +5 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/pyproject.toml +13 -5
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/generator.py +4 -4
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/repository.py +1 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/__init__.py +2 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/node.py +166 -93
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +2 -1
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/query_groups.py +4 -3
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/utils.py +7 -20
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/yaml.py +6 -5
- infrahub_server-1.3.0b5/backend/infrahub/core/graph/__init__.py +0 -1
- infrahub_server-1.3.0b5/backend/infrahub/core/validators/relationship/peer.py +0 -127
- infrahub_server-1.3.0b5/backend/infrahub/pools/tasks.py +0 -56
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/LICENSE.txt +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/README.md +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/gather.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/parsers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/actions/triggers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/artifact.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/auth.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/dependencies.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/diff/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/file.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/internal.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/oauth2.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/oidc.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/storage.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/api/transformation.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/artifacts/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/artifacts/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/artifacts/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/auth.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/branch/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/branch/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/branch/triggers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/context.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/events.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/git_agent.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/patch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/cli/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/gather.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/computed_attribute/triggers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/config.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/constants/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/constants/database.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/context.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/account.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/branch/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/branch/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/changelog/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/changelog/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/changelog/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constants/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constants/infrahubkind.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constants/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constraint/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constraint/node/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/convert_object_type/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/convert_object_type/schema_mapping.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/calculator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/combiner.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/labels.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/merger/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/merger/merger.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/merger/serializer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/model/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/model/field_specifiers_map.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/model/path.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/parent_node_adder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/payload_builder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/all_conflicts.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/artifact.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/diff_get.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/drop_nodes.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/field_summary.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/filters.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/merge_tracking_id.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/roots_metadata.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/save.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/summary_counts_enricher.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query_parser.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/repository/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/repository/deserializer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/enums.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/graph/index.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/integrity/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/reconciler.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/ipam/utilization.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/merge.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m019_restore_rels_to_time.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m020_duplicate_edges.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m021_missing_hierarchy_merge.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m022_add_generate_template_attr.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m024_missing_hierarchy_backfill.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m025_uniqueness_nulls.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m026_0000_prefix_fix.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m027_delete_isolated_nodes.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/m030_illegal_edges.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/attribute_add.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/node_duplicate.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/node_remove.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/schema/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/shared.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/constraints/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/create.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/delete_validator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/ipam.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/node/standard.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/property.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/protocols.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/protocols_base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/ipam.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/resource_manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/standard_node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/task_log.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/query/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/registry.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/relationship/model.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/attribute_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/account.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/artifact.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/builtin.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/check.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/core.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/graphql_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/group.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/ipam.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/lineage.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/permission.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/profile.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/propose_change.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/propose_change_comment.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/propose_change_validator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/resource_pool.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/template.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/transform.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/core/webhook.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/attribute_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/generic_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/node_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/profile_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/relationship_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/schema/template_schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/task/task_log.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/task/user_task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/timestamp.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/aggregated_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/choices.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/enum.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/kind.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/length.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/number_pool.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/optional.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/regex.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/attribute/unique.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/checks_runner.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/determiner.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/enum.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/models/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/models/violation.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/hierarchy.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/relationship/count.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/relationship/optional.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/shared.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/index.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/memgraph.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/database/validation.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_relatives.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/parent_node_adder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/component/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/artifact_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/branch_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/group_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/node_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/repository_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/schema_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/events/validator_action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/generators/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/generators/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/generators/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/integrator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git_credential/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/git_credential/helper.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/analyzer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/api/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/api/endpoints.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/context.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/enums.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/initialization.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/loaders/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/loaders/node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/loaders/peers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/loaders/shared.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/account.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/action.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/artifact_definition.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/computed_attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/ipam.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/main.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/proposed_change.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/resource_manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/mutations/webhook.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/parser.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/permissions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/account.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/event.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/internal.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/ipam.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/resource_manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/search.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/status.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/queries/task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/resolvers/many_relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/resolvers/resolver.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/subscription/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/subscription/events.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/common.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/context.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/enums.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/event.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/permission.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/standard_node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/graphql/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/groups/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/groups/ancestors.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/groups/parsers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/groups/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/lock.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/git/file.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/message_bus/types.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/middleware.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/edge_adder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/edge_deleter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/edge_updater.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/plan_reader.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/plan_writer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/queries/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/queries/base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/queries/delete_duplicated_edges.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/runner.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/vertex_adder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/vertex_deleter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/patch/vertex_updater.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/backend.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/globals.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/local_backend.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/report.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/permissions/types.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pools/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pools/prefix.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pools/registration.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/prefect_server/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/prefect_server/app.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/prefect_server/database.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/prefect_server/events.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/prefect_server/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/proposed_change/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/proposed_change/branch_diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/proposed_change/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/proposed_change/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/pytest_plugin.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/schema/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/schema/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/schema/triggers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/server.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/cache/nats.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/cache/redis.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/event/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/http/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/http/httpx.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/workflow/local.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/component.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/services/protocols.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/storage.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/task_manager/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/task_manager/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/task_manager/event.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/task_manager/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/task_manager/task.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/artifact.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/tasks/registry.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/database.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/task_manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/telemetry/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/transformations/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/transformations/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/transformations/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/transformations/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/catalogue.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/setup.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/trigger/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/types.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/validators/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/validators/events.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/validators/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/visuals.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/webhook/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/webhook/gather.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/webhook/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/webhook/tasks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/webhook/triggers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workers/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workers/infrahub_async.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workers/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/catalogue.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/initialization.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/workflows/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/batch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/client.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/config.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/context.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/check.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/cli_commands.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/exporter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/importer.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/data.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/graphql.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/attribute.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/parsers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/property.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/related_node.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/node/relationship.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/operation.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols_generator/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols_generator/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols_generator/generator.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/protocols_generator/template.j2 +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/queries.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/schema/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/schema/main.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/task/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/task/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/task/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/task/manager.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/task/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/template/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/template/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/template/filters.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/template/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/docker.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/timestamp.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/types.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/constants.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/container.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/docker-compose-cluster.test.yml +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/haproxy.cfg +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/helpers.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/host.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/measurements.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/models.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/performance_test.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/plugin.py +0 -0
- {infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/python_testcontainers/infrahub_testcontainers/prometheus.yml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: infrahub-server
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
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
|
License: AGPL-3.0-only
|
|
6
6
|
Author: OpsMill
|
|
@@ -55,7 +55,7 @@ Requires-Dist: toml (>=0.10,<0.11)
|
|
|
55
55
|
Requires-Dist: typer (==0.12.5)
|
|
56
56
|
Requires-Dist: ujson (>=5,<6)
|
|
57
57
|
Requires-Dist: uvicorn[standard] (>=0.32,<0.33)
|
|
58
|
-
Requires-Dist: whenever (==0.7.
|
|
58
|
+
Requires-Dist: whenever (==0.7.3)
|
|
59
59
|
Project-URL: Documentation, https://docs.infrahub.app/
|
|
60
60
|
Project-URL: Homepage, https://opsmill.com
|
|
61
61
|
Project-URL: Repository, https://github.com/opsmill/infrahub
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
from enum import Enum
|
|
4
|
+
from typing import Self
|
|
4
5
|
|
|
5
6
|
from infrahub.core.constants import InfrahubKind
|
|
6
7
|
from infrahub.core.schema.dropdown import DropdownChoice
|
|
@@ -9,165 +10,121 @@ from infrahub.utils import InfrahubStringEnum
|
|
|
9
10
|
|
|
10
11
|
class NodeAction(InfrahubStringEnum):
|
|
11
12
|
CREATED = "created"
|
|
12
|
-
DELETED = "deleted"
|
|
13
13
|
UPDATED = "updated"
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class DropdownEnum(Enum):
|
|
17
|
+
@classmethod
|
|
18
|
+
def available_types(cls) -> list[DropdownChoice]:
|
|
19
|
+
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
20
|
+
|
|
21
|
+
@classmethod
|
|
22
|
+
def from_value(cls, value: str) -> Self:
|
|
23
|
+
for member in cls.__members__:
|
|
24
|
+
if value == cls.__members__[member].value.name:
|
|
25
|
+
return cls.__members__[member]
|
|
26
|
+
|
|
27
|
+
raise NotImplementedError(f"The defined value {value} doesn't match a value of {cls.__class__.__name__}")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class BranchScope(DropdownEnum):
|
|
17
31
|
ALL_BRANCHES = DropdownChoice(
|
|
18
32
|
name="all_branches",
|
|
19
33
|
label="All Branches",
|
|
20
34
|
description="All branches",
|
|
21
|
-
color="#
|
|
35
|
+
color="#4cd964",
|
|
22
36
|
)
|
|
23
37
|
DEFAULT_BRANCH = DropdownChoice(
|
|
24
38
|
name="default_branch",
|
|
25
39
|
label="Default Branch",
|
|
26
40
|
description="Only the default branch",
|
|
27
|
-
color="#
|
|
41
|
+
color="#5ac8fa",
|
|
28
42
|
)
|
|
29
43
|
OTHER_BRANCHES = DropdownChoice(
|
|
30
44
|
name="other_branches",
|
|
31
45
|
label="Other Branches",
|
|
32
46
|
description="All branches except the default branch",
|
|
33
|
-
color="#
|
|
47
|
+
color="#ff2d55",
|
|
34
48
|
)
|
|
35
49
|
|
|
36
|
-
@classmethod
|
|
37
|
-
def available_types(cls) -> list[DropdownChoice]:
|
|
38
|
-
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
39
50
|
|
|
40
|
-
|
|
41
|
-
def from_value(cls, value: str) -> BranchScope:
|
|
42
|
-
for member in cls.__members__:
|
|
43
|
-
if value == cls.__members__[member].value.name:
|
|
44
|
-
return cls.__members__[member]
|
|
45
|
-
|
|
46
|
-
raise NotImplementedError(f"The defined value {value} doesn't match a branch scope")
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
class MemberAction(Enum):
|
|
51
|
+
class MemberAction(DropdownEnum):
|
|
50
52
|
ADD_MEMBER = DropdownChoice(
|
|
51
53
|
name="add_member",
|
|
52
54
|
label="Add member",
|
|
53
55
|
description="Add impacted member to the selected group",
|
|
54
|
-
color="#
|
|
56
|
+
color="#4cd964",
|
|
55
57
|
)
|
|
56
58
|
REMOVE_MEMBER = DropdownChoice(
|
|
57
59
|
name="remove_member",
|
|
58
60
|
label="Remove member",
|
|
59
61
|
description="Remove impacted member from the selected group",
|
|
60
|
-
color="#
|
|
62
|
+
color="#ff2d55",
|
|
61
63
|
)
|
|
62
64
|
|
|
63
|
-
@classmethod
|
|
64
|
-
def available_types(cls) -> list[DropdownChoice]:
|
|
65
|
-
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
66
|
-
|
|
67
|
-
@classmethod
|
|
68
|
-
def from_value(cls, value: str) -> MemberAction:
|
|
69
|
-
for member in cls.__members__:
|
|
70
|
-
if value == cls.__members__[member].value.name:
|
|
71
|
-
return cls.__members__[member]
|
|
72
|
-
|
|
73
|
-
raise NotImplementedError(f"The defined value {value} doesn't match a member action")
|
|
74
|
-
|
|
75
65
|
|
|
76
|
-
class MemberUpdate(
|
|
66
|
+
class MemberUpdate(DropdownEnum):
|
|
77
67
|
ADDED = DropdownChoice(
|
|
78
68
|
name="added",
|
|
79
69
|
label="Added",
|
|
80
70
|
description="Trigger when members are added to this group",
|
|
81
|
-
color="#
|
|
71
|
+
color="#4cd964",
|
|
82
72
|
)
|
|
83
73
|
REMOVED = DropdownChoice(
|
|
84
74
|
name="removed",
|
|
85
75
|
label="Removed",
|
|
86
76
|
description="Trigger when members are removed from this group",
|
|
87
|
-
color="#
|
|
77
|
+
color="#ff2d55",
|
|
88
78
|
)
|
|
89
79
|
|
|
90
|
-
@classmethod
|
|
91
|
-
def available_types(cls) -> list[DropdownChoice]:
|
|
92
|
-
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
93
|
-
|
|
94
|
-
@classmethod
|
|
95
|
-
def from_value(cls, value: str) -> MemberUpdate:
|
|
96
|
-
for member in cls.__members__:
|
|
97
|
-
if value == cls.__members__[member].value.name:
|
|
98
|
-
return cls.__members__[member]
|
|
99
80
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
class RelationshipMatch(Enum):
|
|
81
|
+
class RelationshipMatch(DropdownEnum):
|
|
104
82
|
ADDED = DropdownChoice(
|
|
105
83
|
name="added",
|
|
106
84
|
label="Added",
|
|
107
85
|
description="Check if the selected relationship was added",
|
|
108
|
-
color="#
|
|
86
|
+
color="#4cd964",
|
|
109
87
|
)
|
|
110
88
|
REMOVED = DropdownChoice(
|
|
111
89
|
name="removed",
|
|
112
90
|
label="Removed",
|
|
113
91
|
description="Check if the selected relationship was removed",
|
|
114
|
-
color="#
|
|
92
|
+
color="#ff2d55",
|
|
115
93
|
)
|
|
116
94
|
UPDATED = DropdownChoice(
|
|
117
95
|
name="updated",
|
|
118
96
|
label="Updated",
|
|
119
97
|
description="Check if the selected relationship was updated, added or removed.",
|
|
120
|
-
color="#
|
|
98
|
+
color="#5ac8fa",
|
|
121
99
|
)
|
|
122
100
|
|
|
123
|
-
@classmethod
|
|
124
|
-
def available_types(cls) -> list[DropdownChoice]:
|
|
125
|
-
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
126
|
-
|
|
127
|
-
@classmethod
|
|
128
|
-
def from_value(cls, value: str) -> RelationshipMatch:
|
|
129
|
-
for member in cls.__members__:
|
|
130
|
-
if value == cls.__members__[member].value.name:
|
|
131
|
-
return cls.__members__[member]
|
|
132
|
-
|
|
133
|
-
raise NotImplementedError(f"The defined value {value} doesn't match a RelationshipMatch")
|
|
134
101
|
|
|
135
|
-
|
|
136
|
-
class ValueMatch(Enum):
|
|
102
|
+
class ValueMatch(DropdownEnum):
|
|
137
103
|
VALUE = DropdownChoice(
|
|
138
104
|
name="value",
|
|
139
105
|
label="Value",
|
|
140
106
|
description="Match against the current value",
|
|
141
|
-
color="#
|
|
107
|
+
color="#4cd964",
|
|
142
108
|
)
|
|
143
109
|
VALUE_PREVIOUS = DropdownChoice(
|
|
144
110
|
name="value_previous",
|
|
145
111
|
label="Value Previous",
|
|
146
112
|
description="Match against the previous value",
|
|
147
|
-
color="#
|
|
113
|
+
color="#ff2d55",
|
|
148
114
|
)
|
|
149
115
|
VALUE_FULL = DropdownChoice(
|
|
150
116
|
name="value_full",
|
|
151
117
|
label="Full value match",
|
|
152
118
|
description="Match against both the current and previous values",
|
|
153
|
-
color="#
|
|
119
|
+
color="#5ac8fa",
|
|
154
120
|
)
|
|
155
121
|
|
|
156
|
-
@classmethod
|
|
157
|
-
def available_types(cls) -> list[DropdownChoice]:
|
|
158
|
-
return [cls.__members__[member].value for member in list(cls.__members__)]
|
|
159
|
-
|
|
160
|
-
@classmethod
|
|
161
|
-
def from_value(cls, value: str) -> ValueMatch:
|
|
162
|
-
for member in cls.__members__:
|
|
163
|
-
if value == cls.__members__[member].value.name:
|
|
164
|
-
return cls.__members__[member]
|
|
165
|
-
|
|
166
|
-
raise NotImplementedError(f"The defined value {value} doesn't match a ValueMatch")
|
|
167
|
-
|
|
168
122
|
|
|
169
123
|
NODES_THAT_TRIGGER_ACTION_RULES_SETUP = [
|
|
124
|
+
InfrahubKind.GENERATORACTION,
|
|
170
125
|
InfrahubKind.GROUPACTION,
|
|
171
126
|
InfrahubKind.GROUPTRIGGERRULE,
|
|
172
127
|
InfrahubKind.NODETRIGGERRULE,
|
|
128
|
+
InfrahubKind.NODETRIGGERATTRIBUTEMATCH,
|
|
129
|
+
InfrahubKind.NODETRIGGERRELATIONSHIPMATCH,
|
|
173
130
|
]
|
|
@@ -271,6 +271,7 @@ core_node_trigger_attribute_match = NodeSchema(
|
|
|
271
271
|
branch=BranchSupportType.AGNOSTIC,
|
|
272
272
|
generate_profile=False,
|
|
273
273
|
inherit_from=["CoreNodeTriggerMatch"],
|
|
274
|
+
display_labels=["attribute_name__value"],
|
|
274
275
|
attributes=[
|
|
275
276
|
Attr(
|
|
276
277
|
name="attribute_name",
|
|
@@ -319,6 +320,7 @@ core_node_trigger_relationship_match = NodeSchema(
|
|
|
319
320
|
branch=BranchSupportType.AGNOSTIC,
|
|
320
321
|
generate_profile=False,
|
|
321
322
|
inherit_from=["CoreNodeTriggerMatch"],
|
|
323
|
+
display_labels=["relationship_name__value", "modification_type__value"],
|
|
322
324
|
attributes=[
|
|
323
325
|
Attr(
|
|
324
326
|
name="relationship_name",
|
|
@@ -287,10 +287,10 @@ async def index(
|
|
|
287
287
|
await dbdriver.close()
|
|
288
288
|
|
|
289
289
|
|
|
290
|
-
async def migrate_database(db: InfrahubDatabase, initialize: bool = False, check: bool = False) ->
|
|
290
|
+
async def migrate_database(db: InfrahubDatabase, initialize: bool = False, check: bool = False) -> bool:
|
|
291
291
|
"""Apply the latest migrations to the database, this function will print the status directly in the console.
|
|
292
292
|
|
|
293
|
-
|
|
293
|
+
Returns a boolean indicating whether a migration failed or if all migrations succeeded.
|
|
294
294
|
|
|
295
295
|
Args:
|
|
296
296
|
db: The database object.
|
|
@@ -306,14 +306,14 @@ async def migrate_database(db: InfrahubDatabase, initialize: bool = False, check
|
|
|
306
306
|
|
|
307
307
|
if not migrations:
|
|
308
308
|
rprint(f"Database up-to-date (v{root_node.graph_version}), no migration to execute.")
|
|
309
|
-
return
|
|
309
|
+
return True
|
|
310
310
|
|
|
311
311
|
rprint(
|
|
312
312
|
f"Database needs to be updated (v{root_node.graph_version} -> v{GRAPH_VERSION}), {len(migrations)} migrations pending"
|
|
313
313
|
)
|
|
314
314
|
|
|
315
315
|
if check:
|
|
316
|
-
return
|
|
316
|
+
return True
|
|
317
317
|
|
|
318
318
|
for migration in migrations:
|
|
319
319
|
execution_result = await migration.execute(db=db)
|
|
@@ -333,7 +333,9 @@ async def migrate_database(db: InfrahubDatabase, initialize: bool = False, check
|
|
|
333
333
|
if validation_result and not validation_result.success:
|
|
334
334
|
for error in validation_result.errors:
|
|
335
335
|
rprint(f" {error}")
|
|
336
|
-
|
|
336
|
+
return False
|
|
337
|
+
|
|
338
|
+
return True
|
|
337
339
|
|
|
338
340
|
|
|
339
341
|
async def initialize_internal_schema() -> None:
|
|
@@ -75,7 +75,12 @@ async def upgrade_cmd(
|
|
|
75
75
|
# -------------------------------------------
|
|
76
76
|
# Upgrade Infrahub Database and Schema
|
|
77
77
|
# -------------------------------------------
|
|
78
|
-
|
|
78
|
+
|
|
79
|
+
if not await migrate_database(db=dbdriver, initialize=False, check=check):
|
|
80
|
+
# A migration failed, stop the upgrade process
|
|
81
|
+
rprint("Upgrade cancelled due to migration failure.")
|
|
82
|
+
await dbdriver.close()
|
|
83
|
+
return
|
|
79
84
|
|
|
80
85
|
await initialize_internal_schema()
|
|
81
86
|
await update_core_schema(db=dbdriver, service=service, initialize=False)
|
|
@@ -31,6 +31,7 @@ from infrahub.helpers import hash_password
|
|
|
31
31
|
|
|
32
32
|
from ..types import ATTRIBUTE_TYPES, LARGE_ATTRIBUTE_TYPES
|
|
33
33
|
from .constants.relationship_label import RELATIONSHIP_TO_NODE_LABEL, RELATIONSHIP_TO_VALUE_LABEL
|
|
34
|
+
from .schema.attribute_parameters import NumberAttributeParameters
|
|
34
35
|
|
|
35
36
|
if TYPE_CHECKING:
|
|
36
37
|
from infrahub.core.branch import Branch
|
|
@@ -255,6 +256,10 @@ class BaseAttribute(FlagPropertyMixin, NodePropertyMixin):
|
|
|
255
256
|
if len(value) > max_length:
|
|
256
257
|
raise ValidationError({name: f"{value} must have a maximum length of {max_length!r}"})
|
|
257
258
|
|
|
259
|
+
# Some invalid values may exist due to https://github.com/opsmill/infrahub/issues/6714.
|
|
260
|
+
if config.SETTINGS.main.schema_strict_mode and isinstance(schema.parameters, NumberAttributeParameters):
|
|
261
|
+
schema.parameters.check_valid_value(value=value, name=name)
|
|
262
|
+
|
|
258
263
|
if schema.enum:
|
|
259
264
|
try:
|
|
260
265
|
schema.convert_value_to_enum(value)
|
{infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/constraint/node/runner.py
RENAMED
|
@@ -38,4 +38,6 @@ class NodeConstraintRunner:
|
|
|
38
38
|
relationship_manager: RelationshipManager = getattr(node, relationship_name)
|
|
39
39
|
await relationship_manager.fetch_relationship_ids(db=db, force_refresh=True)
|
|
40
40
|
for relationship_constraint in self.relationship_manager_constraints:
|
|
41
|
-
await relationship_constraint.check(
|
|
41
|
+
await relationship_constraint.check(
|
|
42
|
+
relm=relationship_manager, node_schema=node.get_schema(), node=node
|
|
43
|
+
)
|
|
@@ -101,6 +101,8 @@ async def convert_object_type(
|
|
|
101
101
|
deleted_node_out_rels_peer_ids = await get_out_rels_peers_ids(node=node, db=dbt)
|
|
102
102
|
deleted_node_unidir_rels_peer_ids = await get_unidirectional_rels_peers_ids(node=node, db=dbt, branch=branch)
|
|
103
103
|
|
|
104
|
+
# Delete the node, so we delete relationships with peers as well, which might temporarily break cardinality constraints
|
|
105
|
+
# but they should be restored when creating the new node.
|
|
104
106
|
deleted_nodes = await NodeManager.delete(db=dbt, branch=branch, nodes=[node], cascade_delete=False)
|
|
105
107
|
if len(deleted_nodes) != 1:
|
|
106
108
|
raise ValueError(f"Deleted {len(deleted_nodes)} nodes instead of 1")
|
|
@@ -4,7 +4,10 @@ from dataclasses import dataclass, field
|
|
|
4
4
|
from typing import TYPE_CHECKING, Iterable, Literal, Sequence, overload
|
|
5
5
|
from uuid import uuid4
|
|
6
6
|
|
|
7
|
+
from prefect import flow
|
|
8
|
+
|
|
7
9
|
from infrahub import lock
|
|
10
|
+
from infrahub.core.branch import Branch # noqa: TC001
|
|
8
11
|
from infrahub.core.timestamp import Timestamp
|
|
9
12
|
from infrahub.exceptions import ValidationError
|
|
10
13
|
from infrahub.log import get_logger
|
|
@@ -22,7 +25,6 @@ from .model.path import (
|
|
|
22
25
|
)
|
|
23
26
|
|
|
24
27
|
if TYPE_CHECKING:
|
|
25
|
-
from infrahub.core.branch import Branch
|
|
26
28
|
from infrahub.core.node import Node
|
|
27
29
|
|
|
28
30
|
from .calculator import DiffCalculator
|
|
@@ -301,6 +303,11 @@ class DiffCoordinator:
|
|
|
301
303
|
force_branch_refresh: Literal[False] = ...,
|
|
302
304
|
) -> tuple[EnrichedDiffs | EnrichedDiffsMetadata, set[NodeIdentifier]]: ...
|
|
303
305
|
|
|
306
|
+
@flow( # type: ignore[misc]
|
|
307
|
+
name="update-diff",
|
|
308
|
+
flow_run_name="Update diff for {base_branch.name} - {diff_branch.name}: ({from_time}-{to_time}),tracking_id={tracking_id}",
|
|
309
|
+
validate_parameters=False,
|
|
310
|
+
)
|
|
304
311
|
async def _update_diffs(
|
|
305
312
|
self,
|
|
306
313
|
base_branch: Branch,
|
{infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/diff/query/delete_query.py
RENAMED
|
@@ -9,17 +9,21 @@ class EnrichedDiffDeleteQuery(Query):
|
|
|
9
9
|
type = QueryType.WRITE
|
|
10
10
|
insert_return = False
|
|
11
11
|
|
|
12
|
-
def __init__(self, enriched_diff_root_uuids: list[str], **kwargs: Any) -> None:
|
|
12
|
+
def __init__(self, enriched_diff_root_uuids: list[str] | None = None, **kwargs: Any) -> None:
|
|
13
13
|
super().__init__(**kwargs)
|
|
14
14
|
self.enriched_diff_root_uuids = enriched_diff_root_uuids
|
|
15
15
|
|
|
16
16
|
async def query_init(self, db: InfrahubDatabase, **kwargs: Any) -> None: # noqa: ARG002
|
|
17
|
-
|
|
17
|
+
diff_filter = ""
|
|
18
|
+
if self.enriched_diff_root_uuids:
|
|
19
|
+
self.params = {"diff_root_uuids": self.enriched_diff_root_uuids}
|
|
20
|
+
diff_filter = "WHERE d_root.uuid IN $diff_root_uuids"
|
|
21
|
+
|
|
18
22
|
query = """
|
|
19
23
|
MATCH (d_root:DiffRoot)
|
|
20
|
-
|
|
24
|
+
%(diff_filter)s
|
|
21
25
|
OPTIONAL MATCH (d_root)-[*]->(diff_thing)
|
|
22
26
|
DETACH DELETE diff_thing
|
|
23
27
|
DETACH DELETE d_root
|
|
24
|
-
"""
|
|
28
|
+
""" % {"diff_filter": diff_filter}
|
|
25
29
|
self.add_to_query(query=query)
|
|
@@ -15,7 +15,7 @@ class EnrichedDiffFieldSpecifiersQuery(Query):
|
|
|
15
15
|
async def query_init(self, db: InfrahubDatabase, **kwargs: Any) -> None: # noqa: ARG002
|
|
16
16
|
self.params["diff_id"] = self.diff_id
|
|
17
17
|
query = """
|
|
18
|
-
CALL {
|
|
18
|
+
CALL () {
|
|
19
19
|
MATCH (root:DiffRoot {uuid: $diff_id})-[:DIFF_HAS_NODE]->(node:DiffNode)-[:DIFF_HAS_ATTRIBUTE]->(attr:DiffAttribute)
|
|
20
20
|
WHERE (root.is_merged IS NULL OR root.is_merged <> TRUE)
|
|
21
21
|
RETURN node.uuid AS node_uuid, node.kind AS node_kind, attr.name AS field_name
|
|
@@ -710,14 +710,14 @@ class DiffMergeRollbackQuery(Query):
|
|
|
710
710
|
// ---------------------------
|
|
711
711
|
// reset to times on target branch
|
|
712
712
|
// ---------------------------
|
|
713
|
-
CALL {
|
|
713
|
+
CALL () {
|
|
714
714
|
OPTIONAL MATCH ()-[r_to {to: $at, branch: $target_branch}]-()
|
|
715
715
|
SET r_to.to = NULL
|
|
716
716
|
}
|
|
717
717
|
// ---------------------------
|
|
718
718
|
// reset from times on target branch
|
|
719
719
|
// ---------------------------
|
|
720
|
-
CALL {
|
|
720
|
+
CALL () {
|
|
721
721
|
OPTIONAL MATCH ()-[r_from {from: $at, branch: $target_branch}]-()
|
|
722
722
|
DELETE r_from
|
|
723
723
|
}
|
|
@@ -377,6 +377,10 @@ class DiffRepository:
|
|
|
377
377
|
await query.execute(db=self.db)
|
|
378
378
|
return query.get_summary()
|
|
379
379
|
|
|
380
|
+
async def delete_all_diff_roots(self) -> None:
|
|
381
|
+
query = await EnrichedDiffDeleteQuery.init(db=self.db)
|
|
382
|
+
await query.execute(db=self.db)
|
|
383
|
+
|
|
380
384
|
async def delete_diff_roots(self, diff_root_uuids: list[str]) -> None:
|
|
381
385
|
query = await EnrichedDiffDeleteQuery.init(db=self.db, enriched_diff_root_uuids=diff_root_uuids)
|
|
382
386
|
await query.execute(db=self.db)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
GRAPH_VERSION = 31
|
{infrahub_server-1.3.0b5 → infrahub_server-1.3.1}/backend/infrahub/core/migrations/graph/__init__.py
RENAMED
|
@@ -32,6 +32,7 @@ from .m027_delete_isolated_nodes import Migration027
|
|
|
32
32
|
from .m028_delete_diffs import Migration028
|
|
33
33
|
from .m029_duplicates_cleanup import Migration029
|
|
34
34
|
from .m030_illegal_edges import Migration030
|
|
35
|
+
from .m031_check_number_attributes import Migration031
|
|
35
36
|
|
|
36
37
|
if TYPE_CHECKING:
|
|
37
38
|
from infrahub.core.root import Root
|
|
@@ -69,6 +70,7 @@ MIGRATIONS: list[type[GraphMigration | InternalSchemaMigration | ArbitraryMigrat
|
|
|
69
70
|
Migration028,
|
|
70
71
|
Migration029,
|
|
71
72
|
Migration030,
|
|
73
|
+
Migration031,
|
|
72
74
|
]
|
|
73
75
|
|
|
74
76
|
|
|
@@ -61,7 +61,7 @@ class Migration012RenameTypeAttributeData(AttributeRenameQuery):
|
|
|
61
61
|
def render_match(self) -> str:
|
|
62
62
|
query = """
|
|
63
63
|
// Find all the active nodes
|
|
64
|
-
CALL {
|
|
64
|
+
CALL () {
|
|
65
65
|
MATCH (node:%(node_kind)s)
|
|
66
66
|
WHERE exists((node)-[:HAS_ATTRIBUTE]-(:Attribute { name: $prev_attr.name }))
|
|
67
67
|
AND NOT exists((node)-[:HAS_ATTRIBUTE]-(:Attribute { name: $new_attr.name }))
|
|
@@ -31,6 +31,5 @@ class Migration015(ArbitraryMigration):
|
|
|
31
31
|
component_registry = get_component_registry()
|
|
32
32
|
diff_repo = await component_registry.get_component(DiffRepository, db=db, branch=default_branch)
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
await diff_repo.delete_diff_roots(diff_root_uuids=[d.uuid for d in diff_roots])
|
|
34
|
+
await diff_repo.delete_all_diff_roots()
|
|
36
35
|
return MigrationResult()
|
|
@@ -31,6 +31,5 @@ class Migration016(ArbitraryMigration):
|
|
|
31
31
|
component_registry = get_component_registry()
|
|
32
32
|
diff_repo = await component_registry.get_component(DiffRepository, db=db, branch=default_branch)
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
await diff_repo.delete_diff_roots(diff_root_uuids=[d.uuid for d in diff_roots])
|
|
34
|
+
await diff_repo.delete_all_diff_roots()
|
|
36
35
|
return MigrationResult()
|
|
@@ -52,7 +52,7 @@ class DedupCardinalityOneRelsQuery(Query):
|
|
|
52
52
|
# of a one-to-many BIDIR relationship.
|
|
53
53
|
query = """
|
|
54
54
|
|
|
55
|
-
CALL {
|
|
55
|
+
CALL () {
|
|
56
56
|
MATCH (rel_node: Relationship)-[edge:IS_RELATED]->(n: Node)<-[edge_2:IS_RELATED]-(rel_node_2: Relationship {name: rel_node.name})
|
|
57
57
|
WHERE rel_node.name in $rel_one_identifiers_inbound[n.kind]
|
|
58
58
|
AND edge.branch = edge_2.branch
|
|
@@ -64,7 +64,7 @@ class DedupCardinalityOneRelsQuery(Query):
|
|
|
64
64
|
DETACH DELETE rel_node
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
CALL {
|
|
67
|
+
CALL () {
|
|
68
68
|
MATCH (rel_node_3: Relationship)<-[edge_3:IS_RELATED]-(n: Node)-[edge_4:IS_RELATED]->(rel_node_4: Relationship {name: rel_node_3.name})
|
|
69
69
|
WHERE rel_node_3.name in $rel_one_identifiers_outbound[n.kind]
|
|
70
70
|
AND edge_3.branch = edge_4.branch
|
|
@@ -33,6 +33,5 @@ class Migration028(ArbitraryMigration):
|
|
|
33
33
|
component_registry = get_component_registry()
|
|
34
34
|
diff_repo = await component_registry.get_component(DiffRepository, db=db, branch=default_branch)
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
await diff_repo.delete_diff_roots(diff_root_uuids=[d.uuid for d in diff_roots])
|
|
36
|
+
await diff_repo.delete_all_diff_roots()
|
|
38
37
|
return MigrationResult()
|
|
@@ -535,12 +535,12 @@ class PerformHardDeletes(Query):
|
|
|
535
535
|
|
|
536
536
|
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
|
|
537
537
|
query = """
|
|
538
|
-
CALL {
|
|
538
|
+
CALL () {
|
|
539
539
|
MATCH (n)
|
|
540
540
|
WHERE n.to_delete = TRUE
|
|
541
541
|
DETACH DELETE n
|
|
542
542
|
}
|
|
543
|
-
CALL {
|
|
543
|
+
CALL () {
|
|
544
544
|
MATCH ()-[e]-()
|
|
545
545
|
WHERE e.to_delete = TRUE
|
|
546
546
|
DELETE e
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Sequence
|
|
4
|
+
|
|
5
|
+
from infrahub import config
|
|
6
|
+
from infrahub.core import registry
|
|
7
|
+
from infrahub.core.branch import Branch
|
|
8
|
+
from infrahub.core.constants import SchemaPathType
|
|
9
|
+
from infrahub.core.initialization import initialization
|
|
10
|
+
from infrahub.core.migrations.shared import InternalSchemaMigration, MigrationResult, SchemaMigration
|
|
11
|
+
from infrahub.core.path import SchemaPath
|
|
12
|
+
from infrahub.core.schema import GenericSchema, NodeSchema
|
|
13
|
+
from infrahub.core.schema.attribute_parameters import NumberAttributeParameters
|
|
14
|
+
from infrahub.core.validators.attribute.min_max import AttributeNumberChecker
|
|
15
|
+
from infrahub.core.validators.enum import ConstraintIdentifier
|
|
16
|
+
from infrahub.core.validators.model import SchemaConstraintValidatorRequest
|
|
17
|
+
from infrahub.lock import initialize_lock
|
|
18
|
+
from infrahub.log import get_logger
|
|
19
|
+
from infrahub.types import Number
|
|
20
|
+
|
|
21
|
+
if TYPE_CHECKING:
|
|
22
|
+
from infrahub.database import InfrahubDatabase
|
|
23
|
+
|
|
24
|
+
log = get_logger()
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class Migration031(InternalSchemaMigration):
|
|
28
|
+
"""
|
|
29
|
+
Some nodes with invalid number attributes may have been created as min/max/excluded_values were not working properly.
|
|
30
|
+
This migration indicates corrupted nodes. If strict mode is disabled, both this migration and min/max/excludes_values constraints are disabled,
|
|
31
|
+
so that users can carry one with their corrupted data without any failure.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
name: str = "031_check_number_attributes"
|
|
35
|
+
minimum_version: int = 30
|
|
36
|
+
migrations: Sequence[SchemaMigration] = []
|
|
37
|
+
|
|
38
|
+
async def execute(self, db: InfrahubDatabase) -> MigrationResult:
|
|
39
|
+
"""Retrieve all number attributes that have a min/max/excluded_values
|
|
40
|
+
For any of these attributes, check if corresponding existing nodes are valid."""
|
|
41
|
+
|
|
42
|
+
if not config.SETTINGS.main.schema_strict_mode:
|
|
43
|
+
return MigrationResult()
|
|
44
|
+
|
|
45
|
+
# load schemas from database into registry
|
|
46
|
+
initialize_lock()
|
|
47
|
+
await initialization(db=db)
|
|
48
|
+
|
|
49
|
+
node_id_to_error_message = {}
|
|
50
|
+
|
|
51
|
+
branches = await Branch.get_list(db=db)
|
|
52
|
+
for branch in branches: # noqa
|
|
53
|
+
schema_branch = await registry.schema.load_schema_from_db(db=db, branch=branch)
|
|
54
|
+
for node_schema_kind in schema_branch.node_names:
|
|
55
|
+
schema = schema_branch.get_node(name=node_schema_kind, duplicate=False)
|
|
56
|
+
if not isinstance(schema, (NodeSchema, GenericSchema)):
|
|
57
|
+
continue
|
|
58
|
+
|
|
59
|
+
for attr in schema.attributes:
|
|
60
|
+
if attr.kind != Number.label:
|
|
61
|
+
continue
|
|
62
|
+
|
|
63
|
+
# Check if the attribute has a min/max/excluded_values being violated
|
|
64
|
+
if isinstance(attr.parameters, NumberAttributeParameters) and (
|
|
65
|
+
attr.parameters.min_value is not None
|
|
66
|
+
or attr.parameters.max_value is not None
|
|
67
|
+
or attr.parameters.excluded_values
|
|
68
|
+
):
|
|
69
|
+
request = SchemaConstraintValidatorRequest(
|
|
70
|
+
branch=branch,
|
|
71
|
+
constraint_name=ConstraintIdentifier.ATTRIBUTE_PARAMETERS_MIN_VALUE_UPDATE.value,
|
|
72
|
+
node_schema=schema,
|
|
73
|
+
schema_path=SchemaPath(
|
|
74
|
+
path_type=SchemaPathType.ATTRIBUTE, schema_kind=schema.kind, field_name=attr.name
|
|
75
|
+
),
|
|
76
|
+
schema_branch=db.schema.get_schema_branch(name=registry.default_branch),
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
constraint_checker = AttributeNumberChecker(db=db, branch=branch)
|
|
80
|
+
grouped_data_paths = await constraint_checker.check(request)
|
|
81
|
+
data_paths = grouped_data_paths[0].get_all_data_paths()
|
|
82
|
+
for data_path in data_paths:
|
|
83
|
+
# Avoid having duplicated error messages for nodes present on multiple branches.
|
|
84
|
+
if data_path.node_id not in node_id_to_error_message:
|
|
85
|
+
node_id_to_error_message[data_path.node_id] = (
|
|
86
|
+
f"Node {data_path.node_id} on branch {branch.name} "
|
|
87
|
+
f"has an invalid Number attribute {data_path.field_name}: {data_path.value}"
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
if len(node_id_to_error_message) == 0:
|
|
91
|
+
return MigrationResult()
|
|
92
|
+
|
|
93
|
+
error_str = (
|
|
94
|
+
"Following nodes attributes values must be updated to not violate corresponding min_value, "
|
|
95
|
+
"max_value or excluded_values schema constraints"
|
|
96
|
+
)
|
|
97
|
+
errors_messages = list(node_id_to_error_message.values())
|
|
98
|
+
return MigrationResult(errors=[error_str] + errors_messages)
|
|
99
|
+
|
|
100
|
+
async def validate_migration(self, db: InfrahubDatabase) -> MigrationResult: # noqa: ARG002
|
|
101
|
+
result = MigrationResult()
|
|
102
|
+
return result
|
|
@@ -38,7 +38,7 @@ class AttributeRenameQuery(Query):
|
|
|
38
38
|
def render_match(self) -> str:
|
|
39
39
|
query = """
|
|
40
40
|
// Find all the active nodes
|
|
41
|
-
CALL {
|
|
41
|
+
CALL () {
|
|
42
42
|
MATCH (node:%(node_kind)s)
|
|
43
43
|
WHERE exists((node)-[:HAS_ATTRIBUTE]-(:Attribute { name: $prev_attr.name }))
|
|
44
44
|
RETURN node
|