infrahub-server 1.4.10__tar.gz → 1.4.12__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.4.10 → infrahub_server-1.4.12}/PKG-INFO +3 -2
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/oauth2.py +13 -19
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/oidc.py +15 -21
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/artifacts/models.py +2 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/auth.py +137 -3
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/db.py +24 -0
- infrahub_server-1.4.12/backend/infrahub/cli/db_commands/clean_duplicate_schema_fields.py +212 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/tasks.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/changelog/models.py +2 -2
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/artifact.py +1 -1
- infrahub_server-1.4.12/backend/infrahub/core/graph/__init__.py +1 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/utilization.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/manager.py +6 -3
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/__init__.py +2 -0
- infrahub_server-1.4.12/backend/infrahub/core/migrations/graph/m040_duplicated_attributes.py +81 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/node_attribute_add.py +10 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +3 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/create.py +16 -5
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/node.py +7 -3
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/registry.py +2 -2
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/count.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/model.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/internal.py +4 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/manager.py +19 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/node_schema.py +4 -2
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/schema_branch.py +8 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/determiner.py +12 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/relationship/peer.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/tasks.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/generators/tasks.py +3 -7
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/integrator.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/models.py +2 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/repository.py +22 -5
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/tasks.py +14 -8
- infrahub_server-1.4.12/backend/infrahub/git/utils.py +170 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/analyzer.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/manager.py +3 -9
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/main.py +3 -3
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/schema.py +5 -5
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/types.py +2 -1
- infrahub_server-1.4.12/backend/infrahub/middleware.py +42 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/tasks.py +11 -12
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/server.py +12 -3
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workers/dependencies.py +8 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/pyproject.toml +4 -2
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/container.py +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/docker-compose-cluster.test.yml +1 -1
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +1 -1
- infrahub_server-1.4.10/backend/infrahub/core/graph/__init__.py +0 -1
- infrahub_server-1.4.10/backend/infrahub/git/utils.py +0 -48
- infrahub_server-1.4.10/backend/infrahub/middleware.py +0 -17
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/LICENSE.txt +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/README.md +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/gather.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/parsers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/actions/triggers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/artifact.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/auth.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/dependencies.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/diff/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/file.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/internal.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/storage.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/api/transformation.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/artifacts/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/artifacts/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/branch/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/branch/merge_mutation_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/branch/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/branch/triggers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/context.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/db_commands/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/db_commands/check_inheritance.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/events.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/git_agent.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/patch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/cli/upgrade.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/gather.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/triggers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/config.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/constants/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/constants/database.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/constants/environment.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/context.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/account.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/branch/enums.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/branch/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/branch/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/changelog/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/changelog/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constants/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constants/infrahubkind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constants/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constraint/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constraint/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/constraint/node/runner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/convert_object_type/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/convert_object_type/conversion.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/convert_object_type/schema_mapping.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/calculator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/combiner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/coordinator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/diff_locker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/labels.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/merger/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/merger/merger.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/merger/serializer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/model/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/model/field_specifiers_map.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/model/path.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/parent_node_adder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/payload_builder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/all_conflicts.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/delete_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/diff_get.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/drop_nodes.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/field_specifiers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/field_summary.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/filters.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/merge.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/merge_tracking_id.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/roots_metadata.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/save.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/summary_counts_enricher.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query_parser.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/repository/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/repository/deserializer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/repository/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/enums.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/graph/index.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/integrity/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/reconciler.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/ipam/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/merge.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m019_restore_rels_to_time.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m020_duplicate_edges.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m021_missing_hierarchy_merge.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m022_add_generate_template_attr.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m023_deduplicate_cardinality_one_relationships.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m024_missing_hierarchy_backfill.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m025_uniqueness_nulls.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m026_0000_prefix_fix.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m027_delete_isolated_nodes.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m028_delete_diffs.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m029_duplicates_cleanup.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m030_illegal_edges.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m031_check_number_attributes.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m032_cleanup_orphaned_branch_relationships.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m033_deduplicate_relationship_vertices.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m034_find_orphaned_schema_fields.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m035_orphan_relationships.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m036_drop_attr_value_index.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m037_index_attr_vals.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m038_redo_0000_prefix_fix.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/graph/m039_ipam_reconcile.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/attribute_add.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/attribute_rename.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/node_duplicate.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/attribute_kind_update.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/node_remove.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/schema/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/migrations/shared.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/constraints/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/delete_validator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/proposed_change.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/node/standard.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/path.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/property.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/protocols.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/protocols_base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/delete.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/resource_manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/standard_node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/task_log.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/query/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/peer_parent.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/peer_relatives.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/attribute_parameters.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/attribute_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/basenode_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/account.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/artifact.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/builtin.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/check.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/core.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/graphql_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/group.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/lineage.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/permission.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/profile.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/propose_change.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/propose_change_comment.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/propose_change_validator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/resource_pool.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/template.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/transform.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/core/webhook.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/attribute_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generated/relationship_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/generic_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/profile_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/relationship_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/schema/template_schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/task/task_log.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/task/user_task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/timestamp.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/aggregated_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/choices.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/enum.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/length.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/min_max.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/number_pool.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/optional.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/regex.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/attribute/unique.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/checks_runner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/enum.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/models/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/models/violation.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/hierarchy.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/relationship/count.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/relationship/optional.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/shared.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/index.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/memgraph.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/database/validation.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_parent.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_relatives.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/relationship_peer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/locker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/parent_node_adder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/component/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/dependencies/registry.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/artifact_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/branch_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/group_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/node_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/proposed_change_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/repository_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/schema_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/events/validator_action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/generators/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/generators/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git_credential/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/git_credential/helper.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/api/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/api/endpoints.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/app.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/context.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/enums.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/field_extractor.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/initialization.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/loaders/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/loaders/node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/loaders/peers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/loaders/shared.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/account.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/action.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/artifact_definition.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/computed_attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/convert_object_type.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/proposed_change.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/resource_manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/mutations/webhook.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/parser.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/permissions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/account.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/convert_object_type_mapping.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/event.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/internal.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/proposed_change.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/resource_manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/search.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/status.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/queries/task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/resolvers/ipam.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/resolvers/many_relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/resolvers/resolver.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/subscription/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/subscription/events.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/common.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/context.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/enums.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/event.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/permission.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/standard_node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/graphql/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/groups/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/groups/ancestors.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/groups/parsers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/groups/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/lock.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/git/file.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/edge_adder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/edge_deleter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/edge_updater.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/plan_reader.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/plan_writer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/queries/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/queries/base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/queries/delete_duplicated_edges.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/runner.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/vertex_adder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/vertex_deleter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/patch/vertex_updater.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/backend.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/globals.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/local_backend.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/report.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/permissions/types.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/prefix.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/registration.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pools/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/app.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/bootstrap.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/database.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/events.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/prefect_server/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/action_checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/approval_revoker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/branch_diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/checker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/proposed_change/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/py.typed +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/pytest_plugin.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/schema/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/schema/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/schema/triggers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/cache/nats.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/cache/redis.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/event/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/http/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/http/httpx.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/message_bus/nats.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/workflow/local.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/component.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/protocols.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/services/scheduler.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/storage.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/task_manager/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/task_manager/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/task_manager/event.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/task_manager/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/task_manager/task.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/artifact.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/tasks/registry.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/database.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/task_manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/telemetry/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/transformations/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/transformations/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/transformations/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/transformations/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/catalogue.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/setup.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/trigger/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/types.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/validators/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/validators/events.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/validators/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/visuals.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/webhook/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/webhook/gather.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/webhook/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/webhook/tasks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/webhook/triggers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workers/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workers/infrahub_async.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workers/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/catalogue.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/initialization.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/workflows/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/batch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/client.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/config.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/context.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/check.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/cli_commands.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/exporter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/importer.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/data.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/graphql.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/attribute.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/parsers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/property.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/related_node.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/node/relationship.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/operation.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols_generator/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols_generator/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols_generator/generator.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/protocols_generator/template.j2 +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/queries.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/query_groups.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/schema/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/schema/main.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/task/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/task/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/task/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/task/manager.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/task/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/template/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/template/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/template/filters.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/template/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/docker.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/timestamp.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/types.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/utils.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_sdk/infrahub_sdk/yaml.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/constants.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/haproxy.cfg +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/helpers.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/host.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/measurements.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/models.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/performance_test.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/python_testcontainers/infrahub_testcontainers/plugin.py +0 -0
- {infrahub_server-1.4.10 → infrahub_server-1.4.12}/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.4.
|
|
3
|
+
Version: 1.4.12
|
|
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: Apache-2.0
|
|
6
6
|
Author: OpsMill
|
|
@@ -16,9 +16,10 @@ Requires-Dist: Jinja2 (>=3,<4)
|
|
|
16
16
|
Requires-Dist: aio-pika (>=9.4,<9.5)
|
|
17
17
|
Requires-Dist: aiodataloader (==0.4.0)
|
|
18
18
|
Requires-Dist: asgi-correlation-id (==4.2.0)
|
|
19
|
-
Requires-Dist: authlib (==1.
|
|
19
|
+
Requires-Dist: authlib (==1.6.5)
|
|
20
20
|
Requires-Dist: bcrypt (>=4.1,<4.2)
|
|
21
21
|
Requires-Dist: boto3 (==1.34.129)
|
|
22
|
+
Requires-Dist: cachetools-async (>=0.0.5,<0.0.6)
|
|
22
23
|
Requires-Dist: copier (>=9.8.0,<10.0.0)
|
|
23
24
|
Requires-Dist: dulwich (>=0.22.7,<0.23.0)
|
|
24
25
|
Requires-Dist: email-validator (>=2.1,<2.2)
|
|
@@ -11,14 +11,16 @@ from opentelemetry import trace
|
|
|
11
11
|
|
|
12
12
|
from infrahub import config, models
|
|
13
13
|
from infrahub.api.dependencies import get_db
|
|
14
|
-
from infrahub.auth import
|
|
15
|
-
|
|
14
|
+
from infrahub.auth import (
|
|
15
|
+
get_groups_from_provider,
|
|
16
|
+
signin_sso_account,
|
|
17
|
+
validate_auth_response,
|
|
18
|
+
)
|
|
19
|
+
from infrahub.exceptions import ProcessingError
|
|
16
20
|
from infrahub.log import get_logger
|
|
17
21
|
from infrahub.message_bus.types import KVTTL
|
|
18
22
|
|
|
19
23
|
if TYPE_CHECKING:
|
|
20
|
-
import httpx
|
|
21
|
-
|
|
22
24
|
from infrahub.database import InfrahubDatabase
|
|
23
25
|
from infrahub.services import InfrahubServices
|
|
24
26
|
|
|
@@ -95,7 +97,7 @@ async def token(
|
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
token_response = await service.http.post(provider.token_url, data=token_data)
|
|
98
|
-
|
|
100
|
+
validate_auth_response(response=token_response, provider_type="OAuth 2.0")
|
|
99
101
|
|
|
100
102
|
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
101
103
|
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
@@ -107,12 +109,17 @@ async def token(
|
|
|
107
109
|
else:
|
|
108
110
|
userinfo_response = await service.http.post(provider.userinfo_url, headers=headers)
|
|
109
111
|
|
|
110
|
-
|
|
112
|
+
validate_auth_response(response=userinfo_response, provider_type="OAuth 2.0")
|
|
111
113
|
user_info = userinfo_response.json()
|
|
112
114
|
sso_groups = user_info.get("groups", []) or await get_groups_from_provider(
|
|
113
115
|
provider=provider, service=service, payload=payload, user_info=user_info
|
|
114
116
|
)
|
|
115
117
|
|
|
118
|
+
log.info(
|
|
119
|
+
"SSO user authenticated",
|
|
120
|
+
body={"user_name": user_info.get("name"), "groups": sso_groups},
|
|
121
|
+
)
|
|
122
|
+
|
|
116
123
|
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
117
124
|
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
118
125
|
|
|
@@ -134,16 +141,3 @@ async def token(
|
|
|
134
141
|
return models.UserTokenWithUrl(
|
|
135
142
|
access_token=user_token.access_token, refresh_token=user_token.refresh_token, final_url=stored_final_url
|
|
136
143
|
)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
def _validate_response(response: httpx.Response) -> None:
|
|
140
|
-
if 200 <= response.status_code <= 299:
|
|
141
|
-
return
|
|
142
|
-
|
|
143
|
-
log.error(
|
|
144
|
-
"Invalid response from the OAuth provider",
|
|
145
|
-
url=response.url,
|
|
146
|
-
status_code=response.status_code,
|
|
147
|
-
body=response.json(),
|
|
148
|
-
)
|
|
149
|
-
raise GatewayError(message="Invalid response from Authentication provider")
|
|
@@ -13,14 +13,16 @@ from pydantic import BaseModel, HttpUrl
|
|
|
13
13
|
|
|
14
14
|
from infrahub import config, models
|
|
15
15
|
from infrahub.api.dependencies import get_db
|
|
16
|
-
from infrahub.auth import
|
|
17
|
-
|
|
16
|
+
from infrahub.auth import (
|
|
17
|
+
get_groups_from_provider,
|
|
18
|
+
signin_sso_account,
|
|
19
|
+
validate_auth_response,
|
|
20
|
+
)
|
|
21
|
+
from infrahub.exceptions import ProcessingError
|
|
18
22
|
from infrahub.log import get_logger
|
|
19
23
|
from infrahub.message_bus.types import KVTTL
|
|
20
24
|
|
|
21
25
|
if TYPE_CHECKING:
|
|
22
|
-
import httpx
|
|
23
|
-
|
|
24
26
|
from infrahub.database import InfrahubDatabase
|
|
25
27
|
from infrahub.services import InfrahubServices
|
|
26
28
|
|
|
@@ -69,7 +71,7 @@ async def authorize(request: Request, provider_name: str, final_url: str | None
|
|
|
69
71
|
service: InfrahubServices = request.app.state.service
|
|
70
72
|
|
|
71
73
|
response = await service.http.get(url=provider.discovery_url)
|
|
72
|
-
|
|
74
|
+
validate_auth_response(response=response, provider_type="OIDC")
|
|
73
75
|
oidc_config = OIDCDiscoveryConfig(**response.json())
|
|
74
76
|
|
|
75
77
|
with trace.get_tracer(__name__).start_as_current_span("sso_oauth2_client_configuration") as span:
|
|
@@ -129,12 +131,12 @@ async def token(
|
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
discovery_response = await service.http.get(url=provider.discovery_url)
|
|
132
|
-
|
|
134
|
+
validate_auth_response(response=discovery_response, provider_type="OIDC")
|
|
133
135
|
|
|
134
136
|
oidc_config = OIDCDiscoveryConfig(**discovery_response.json())
|
|
135
137
|
|
|
136
138
|
token_response = await service.http.post(str(oidc_config.token_endpoint), data=token_data)
|
|
137
|
-
|
|
139
|
+
validate_auth_response(response=token_response, provider_type="OIDC")
|
|
138
140
|
|
|
139
141
|
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
140
142
|
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
@@ -147,7 +149,7 @@ async def token(
|
|
|
147
149
|
else:
|
|
148
150
|
userinfo_response = await service.http.post(str(oidc_config.userinfo_endpoint), headers=headers)
|
|
149
151
|
|
|
150
|
-
|
|
152
|
+
validate_auth_response(response=userinfo_response, provider_type="OIDC")
|
|
151
153
|
user_info: dict[str, Any] = userinfo_response.json()
|
|
152
154
|
sso_groups = (
|
|
153
155
|
user_info.get("groups")
|
|
@@ -157,6 +159,11 @@ async def token(
|
|
|
157
159
|
or await get_groups_from_provider(provider=provider, service=service, payload=payload, user_info=user_info)
|
|
158
160
|
)
|
|
159
161
|
|
|
162
|
+
log.info(
|
|
163
|
+
"SSO user authenticated",
|
|
164
|
+
body={"user_name": user_info.get("name"), "groups": sso_groups},
|
|
165
|
+
)
|
|
166
|
+
|
|
160
167
|
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
161
168
|
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
162
169
|
|
|
@@ -180,19 +187,6 @@ async def token(
|
|
|
180
187
|
)
|
|
181
188
|
|
|
182
189
|
|
|
183
|
-
def _validate_response(response: httpx.Response) -> None:
|
|
184
|
-
if 200 <= response.status_code <= 299:
|
|
185
|
-
return
|
|
186
|
-
|
|
187
|
-
log.error(
|
|
188
|
-
"Invalid response from the OIDC provider",
|
|
189
|
-
url=response.url,
|
|
190
|
-
status_code=response.status_code,
|
|
191
|
-
body=response.json(),
|
|
192
|
-
)
|
|
193
|
-
raise GatewayError(message="Invalid response from Authentication provider")
|
|
194
|
-
|
|
195
|
-
|
|
196
190
|
async def _get_id_token_groups(
|
|
197
191
|
oidc_config: OIDCDiscoveryConfig, service: InfrahubServices, payload: dict[str, Any], client_id: str
|
|
198
192
|
) -> list[str]:
|
|
@@ -25,7 +25,8 @@ class CheckArtifactCreate(BaseModel):
|
|
|
25
25
|
target_kind: str = Field(..., description="The kind of the target object for this artifact")
|
|
26
26
|
target_name: str = Field(..., description="Name of the artifact target")
|
|
27
27
|
artifact_id: str | None = Field(default=None, description="The id of the artifact if it previously existed")
|
|
28
|
-
query: str = Field(..., description="The name of the query to use when collecting data")
|
|
28
|
+
query: str = Field(..., description="The name of the query to use when collecting data") # Deprecated
|
|
29
|
+
query_id: str = Field(..., description="The id of the query to use when collecting data")
|
|
29
30
|
timeout: int = Field(..., description="Timeout for requests used to generate this artifact")
|
|
30
31
|
variables: dict = Field(..., description="Input variables when generating the artifact")
|
|
31
32
|
validator_id: str = Field(..., description="The ID of the validator")
|
|
@@ -3,27 +3,37 @@ from __future__ import annotations
|
|
|
3
3
|
import uuid
|
|
4
4
|
from datetime import datetime, timedelta, timezone
|
|
5
5
|
from enum import Enum
|
|
6
|
-
from typing import TYPE_CHECKING
|
|
6
|
+
from typing import TYPE_CHECKING, Any
|
|
7
7
|
|
|
8
8
|
import bcrypt
|
|
9
9
|
import jwt
|
|
10
10
|
from pydantic import BaseModel
|
|
11
11
|
|
|
12
12
|
from infrahub import config, models
|
|
13
|
-
from infrahub.config import
|
|
13
|
+
from infrahub.config import (
|
|
14
|
+
SecurityOAuth2Google,
|
|
15
|
+
SecurityOAuth2Settings,
|
|
16
|
+
SecurityOIDCGoogle,
|
|
17
|
+
SecurityOIDCSettings,
|
|
18
|
+
)
|
|
14
19
|
from infrahub.core.account import validate_token
|
|
15
20
|
from infrahub.core.constants import AccountStatus, InfrahubKind
|
|
16
21
|
from infrahub.core.manager import NodeManager
|
|
17
22
|
from infrahub.core.node import Node
|
|
18
23
|
from infrahub.core.protocols import CoreAccount, CoreAccountGroup
|
|
19
24
|
from infrahub.core.registry import registry
|
|
20
|
-
from infrahub.exceptions import AuthorizationError, NodeNotFoundError
|
|
25
|
+
from infrahub.exceptions import AuthorizationError, GatewayError, NodeNotFoundError
|
|
26
|
+
from infrahub.log import get_logger
|
|
21
27
|
|
|
22
28
|
if TYPE_CHECKING:
|
|
29
|
+
import httpx
|
|
30
|
+
|
|
23
31
|
from infrahub.core.protocols import CoreGenericAccount
|
|
24
32
|
from infrahub.database import InfrahubDatabase
|
|
25
33
|
from infrahub.services import InfrahubServices
|
|
26
34
|
|
|
35
|
+
log = get_logger()
|
|
36
|
+
|
|
27
37
|
|
|
28
38
|
class AuthType(str, Enum):
|
|
29
39
|
NONE = "none"
|
|
@@ -256,3 +266,127 @@ async def get_groups_from_provider(
|
|
|
256
266
|
return [membership["groupKey"]["id"] for membership in group_memberships["memberships"]]
|
|
257
267
|
|
|
258
268
|
return []
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
def safe_get_response_body(response: httpx.Response, raise_error_on_empty_body: bool = True) -> str | dict[str, Any]:
|
|
272
|
+
"""Safely extract response body from HTTP response. If the response body cannot be JSON parsed or is empty,
|
|
273
|
+
it raises a GatewayError.
|
|
274
|
+
|
|
275
|
+
Args:
|
|
276
|
+
response: The HTTP response object
|
|
277
|
+
raise_error_on_empty_body: Whether to raise an error if the response body is empty
|
|
278
|
+
|
|
279
|
+
Returns:
|
|
280
|
+
The response body as JSON dict if possible, otherwise as text
|
|
281
|
+
|
|
282
|
+
Raises:
|
|
283
|
+
GatewayError: When the response body cannot be parsed or is empty
|
|
284
|
+
"""
|
|
285
|
+
# Try to parse as JSON first
|
|
286
|
+
try:
|
|
287
|
+
return response.json()
|
|
288
|
+
except Exception as json_error:
|
|
289
|
+
try:
|
|
290
|
+
# Try to get as text
|
|
291
|
+
text_body = response.text
|
|
292
|
+
if not text_body.strip() and raise_error_on_empty_body: # Check for empty or whitespace-only response
|
|
293
|
+
log.error(
|
|
294
|
+
"Empty response body from authentication provider",
|
|
295
|
+
url=str(response.url),
|
|
296
|
+
status_code=response.status_code,
|
|
297
|
+
)
|
|
298
|
+
raise GatewayError(message="Authentication provider returned an empty response") from json_error
|
|
299
|
+
except Exception:
|
|
300
|
+
log.error(
|
|
301
|
+
"Unable to read response body from authentication provider",
|
|
302
|
+
url=str(response.url),
|
|
303
|
+
status_code=response.status_code,
|
|
304
|
+
)
|
|
305
|
+
raise GatewayError(message="Unable to read response from authentication provider") from json_error
|
|
306
|
+
|
|
307
|
+
# Here it means we got a text response but not JSON
|
|
308
|
+
return text_body
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def extract_auth_error_message(response_body: str | dict[str, Any], base_message: str) -> str:
|
|
312
|
+
"""Extract error message from OAuth 2.0/OIDC provider response following RFC 6749.
|
|
313
|
+
|
|
314
|
+
Args:
|
|
315
|
+
response_body: The response body from the authentication provider
|
|
316
|
+
base_message: Base error message to use if no specific error is found
|
|
317
|
+
|
|
318
|
+
Returns:
|
|
319
|
+
Formatted error message with provider details if available
|
|
320
|
+
"""
|
|
321
|
+
if not isinstance(response_body, dict):
|
|
322
|
+
return base_message
|
|
323
|
+
|
|
324
|
+
# RFC 6749 standard error response format
|
|
325
|
+
error_description = response_body.get("error_description")
|
|
326
|
+
error_code = response_body.get("error")
|
|
327
|
+
|
|
328
|
+
if error_description:
|
|
329
|
+
return f"{base_message}: {error_description}"
|
|
330
|
+
if error_code:
|
|
331
|
+
return f"{base_message}: {error_code}"
|
|
332
|
+
|
|
333
|
+
return base_message
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
def validate_auth_response(response: httpx.Response, provider_type: str = "authentication") -> None:
|
|
337
|
+
"""Validate HTTP response from OAuth 2.0/OIDC provider and raise appropriate errors.
|
|
338
|
+
|
|
339
|
+
Args:
|
|
340
|
+
response: The HTTP response from the authentication provider
|
|
341
|
+
provider_type: Type of provider for logging (e.g., "OAuth 2.0", "OIDC")
|
|
342
|
+
|
|
343
|
+
Raises:
|
|
344
|
+
GatewayError: When the response indicates an error or invalid state
|
|
345
|
+
"""
|
|
346
|
+
# If the status code is successful, simply return
|
|
347
|
+
if 200 <= response.status_code <= 299:
|
|
348
|
+
# Verify that we can read the response body safely and it is not empty
|
|
349
|
+
safe_get_response_body(response)
|
|
350
|
+
return
|
|
351
|
+
|
|
352
|
+
# Prepare variables with default values for logging
|
|
353
|
+
response_body = safe_get_response_body(response, raise_error_on_empty_body=False)
|
|
354
|
+
log_message: str = f"Unexpected response from {provider_type} provider"
|
|
355
|
+
base_msg: str = "Unexpected response from authentication provider."
|
|
356
|
+
|
|
357
|
+
# Handle specific HTTP status codes with appropriate error messages
|
|
358
|
+
match response.status_code:
|
|
359
|
+
case 400:
|
|
360
|
+
log_message = f"Bad request to {provider_type} provider"
|
|
361
|
+
base_msg = "Bad request to authentication provider. Please try again later or contact your administrator."
|
|
362
|
+
|
|
363
|
+
case 401:
|
|
364
|
+
log_message = f"Unauthorized request to {provider_type} provider"
|
|
365
|
+
base_msg = (
|
|
366
|
+
"Unauthorized request to authentication provider. Please try again later or contact your administrator."
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
case 403:
|
|
370
|
+
log_message = f"Forbidden request to {provider_type} provider"
|
|
371
|
+
base_msg = (
|
|
372
|
+
"Access forbidden by authentication provider. Please try again later or contact your administrator."
|
|
373
|
+
)
|
|
374
|
+
|
|
375
|
+
case 404:
|
|
376
|
+
log_message = f"Resource not found for {provider_type} provider"
|
|
377
|
+
base_msg = (
|
|
378
|
+
"Authentication provider endpoint not found. Please try again later or contact your administrator."
|
|
379
|
+
)
|
|
380
|
+
|
|
381
|
+
case 429:
|
|
382
|
+
log_message = f"Rate limited by {provider_type} provider"
|
|
383
|
+
base_msg = "Rate limited by authentication provider. Please try again later."
|
|
384
|
+
|
|
385
|
+
case status_code if 500 <= status_code <= 599:
|
|
386
|
+
log_message = f"Server error from {provider_type} provider"
|
|
387
|
+
base_msg = "Authentication provider is experiencing server issues. Please try again later or contact your administrator."
|
|
388
|
+
|
|
389
|
+
# Print proper log and raise gateway error
|
|
390
|
+
log.error(log_message, url=str(response.url), status_code=response.status_code, body=response_body)
|
|
391
|
+
error_msg = extract_auth_error_message(response_body, base_msg)
|
|
392
|
+
raise GatewayError(message=error_msg)
|
|
@@ -54,6 +54,7 @@ from infrahub.log import get_logger
|
|
|
54
54
|
|
|
55
55
|
from .constants import ERROR_BADGE, FAILED_BADGE, SUCCESS_BADGE
|
|
56
56
|
from .db_commands.check_inheritance import check_inheritance
|
|
57
|
+
from .db_commands.clean_duplicate_schema_fields import clean_duplicate_schema_fields
|
|
57
58
|
from .patch import patch_app
|
|
58
59
|
|
|
59
60
|
|
|
@@ -200,6 +201,29 @@ async def check_inheritance_cmd(
|
|
|
200
201
|
await dbdriver.close()
|
|
201
202
|
|
|
202
203
|
|
|
204
|
+
@app.command(name="check-duplicate-schema-fields")
|
|
205
|
+
async def check_duplicate_schema_fields_cmd(
|
|
206
|
+
ctx: typer.Context,
|
|
207
|
+
fix: bool = typer.Option(False, help="Fix the duplicate schema fields on the default branch."),
|
|
208
|
+
config_file: str = typer.Argument("infrahub.toml", envvar="INFRAHUB_CONFIG"),
|
|
209
|
+
) -> None:
|
|
210
|
+
"""Check for any duplicate schema attributes or relationships on the default branch"""
|
|
211
|
+
logging.getLogger("infrahub").setLevel(logging.WARNING)
|
|
212
|
+
logging.getLogger("neo4j").setLevel(logging.ERROR)
|
|
213
|
+
logging.getLogger("prefect").setLevel(logging.ERROR)
|
|
214
|
+
|
|
215
|
+
config.load_and_exit(config_file_name=config_file)
|
|
216
|
+
|
|
217
|
+
context: CliContext = ctx.obj
|
|
218
|
+
dbdriver = await context.init_db(retry=1)
|
|
219
|
+
|
|
220
|
+
success = await clean_duplicate_schema_fields(db=dbdriver, fix=fix)
|
|
221
|
+
if not success:
|
|
222
|
+
raise typer.Exit(code=1)
|
|
223
|
+
|
|
224
|
+
await dbdriver.close()
|
|
225
|
+
|
|
226
|
+
|
|
203
227
|
@app.command(name="update-core-schema")
|
|
204
228
|
async def update_core_schema_cmd(
|
|
205
229
|
ctx: typer.Context,
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from enum import Enum
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from rich import print as rprint
|
|
6
|
+
from rich.console import Console
|
|
7
|
+
from rich.table import Table
|
|
8
|
+
|
|
9
|
+
from infrahub.cli.constants import FAILED_BADGE, SUCCESS_BADGE
|
|
10
|
+
from infrahub.core.query import Query, QueryType
|
|
11
|
+
from infrahub.database import InfrahubDatabase
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class SchemaFieldType(str, Enum):
|
|
15
|
+
ATTRIBUTE = "attribute"
|
|
16
|
+
RELATIONSHIP = "relationship"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@dataclass
|
|
20
|
+
class SchemaFieldDetails:
|
|
21
|
+
schema_kind: str
|
|
22
|
+
schema_uuid: str
|
|
23
|
+
field_type: SchemaFieldType
|
|
24
|
+
field_name: str
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class DuplicateSchemaFields(Query):
|
|
28
|
+
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
|
|
29
|
+
query = """
|
|
30
|
+
MATCH (root:Root)
|
|
31
|
+
LIMIT 1
|
|
32
|
+
WITH root.default_branch AS default_branch
|
|
33
|
+
MATCH (field:SchemaAttribute|SchemaRelationship)
|
|
34
|
+
CALL (default_branch, field) {
|
|
35
|
+
MATCH (field)-[is_part_of:IS_PART_OF]->(:Root)
|
|
36
|
+
WHERE is_part_of.branch = default_branch
|
|
37
|
+
ORDER BY is_part_of.from DESC
|
|
38
|
+
RETURN is_part_of
|
|
39
|
+
LIMIT 1
|
|
40
|
+
}
|
|
41
|
+
WITH default_branch, field, CASE
|
|
42
|
+
WHEN is_part_of.status = "active" AND is_part_of.to IS NULL THEN is_part_of.from
|
|
43
|
+
ELSE NULL
|
|
44
|
+
END AS active_from
|
|
45
|
+
WHERE active_from IS NOT NULL
|
|
46
|
+
WITH default_branch, field, active_from, "SchemaAttribute" IN labels(field) AS is_attribute
|
|
47
|
+
CALL (field, default_branch) {
|
|
48
|
+
MATCH (field)-[r1:HAS_ATTRIBUTE]->(:Attribute {name: "name"})-[r2:HAS_VALUE]->(name_value:AttributeValue)
|
|
49
|
+
WHERE r1.branch = default_branch AND r2.branch = default_branch
|
|
50
|
+
AND r1.status = "active" AND r2.status = "active"
|
|
51
|
+
AND r1.to IS NULL AND r2.to IS NULL
|
|
52
|
+
ORDER BY r1.from DESC, r1.status ASC, r2.from DESC, r2.status ASC
|
|
53
|
+
LIMIT 1
|
|
54
|
+
RETURN name_value.value AS field_name
|
|
55
|
+
}
|
|
56
|
+
CALL (field, default_branch) {
|
|
57
|
+
MATCH (field)-[r1:IS_RELATED]-(rel:Relationship)-[r2:IS_RELATED]-(peer:SchemaNode|SchemaGeneric)
|
|
58
|
+
WHERE rel.name IN ["schema__node__relationships", "schema__node__attributes"]
|
|
59
|
+
AND r1.branch = default_branch AND r2.branch = default_branch
|
|
60
|
+
AND r1.status = "active" AND r2.status = "active"
|
|
61
|
+
AND r1.to IS NULL AND r2.to IS NULL
|
|
62
|
+
ORDER BY r1.from DESC, r1.status ASC, r2.from DESC, r2.status ASC
|
|
63
|
+
LIMIT 1
|
|
64
|
+
RETURN peer AS schema_vertex
|
|
65
|
+
}
|
|
66
|
+
WITH default_branch, field, field_name, is_attribute, active_from, schema_vertex
|
|
67
|
+
ORDER BY active_from DESC
|
|
68
|
+
WITH default_branch, field_name, is_attribute, schema_vertex, collect(field) AS fields_reverse_chron
|
|
69
|
+
WHERE size(fields_reverse_chron) > 1
|
|
70
|
+
"""
|
|
71
|
+
self.add_to_query(query)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class GetDuplicateSchemaFields(DuplicateSchemaFields):
|
|
75
|
+
"""
|
|
76
|
+
Get the kind, field type, and field name for any duplicated attributes or relationships on a given schema
|
|
77
|
+
on the default branch
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
name = "get_duplicate_schema_fields"
|
|
81
|
+
type = QueryType.READ
|
|
82
|
+
insert_return = False
|
|
83
|
+
|
|
84
|
+
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None:
|
|
85
|
+
await super().query_init(db=db, **kwargs)
|
|
86
|
+
query = """
|
|
87
|
+
CALL (schema_vertex, default_branch) {
|
|
88
|
+
MATCH (schema_vertex)-[r1:HAS_ATTRIBUTE]->(:Attribute {name: "namespace"})-[r2:HAS_VALUE]->(name_value:AttributeValue)
|
|
89
|
+
WHERE r1.branch = default_branch AND r2.branch = default_branch
|
|
90
|
+
ORDER BY r1.from DESC, r1.status ASC, r2.from DESC, r2.status ASC
|
|
91
|
+
LIMIT 1
|
|
92
|
+
RETURN name_value.value AS schema_namespace
|
|
93
|
+
}
|
|
94
|
+
CALL (schema_vertex, default_branch) {
|
|
95
|
+
MATCH (schema_vertex)-[r1:HAS_ATTRIBUTE]->(:Attribute {name: "name"})-[r2:HAS_VALUE]->(name_value:AttributeValue)
|
|
96
|
+
WHERE r1.branch = default_branch AND r2.branch = default_branch
|
|
97
|
+
ORDER BY r1.from DESC, r1.status ASC, r2.from DESC, r2.status ASC
|
|
98
|
+
LIMIT 1
|
|
99
|
+
RETURN name_value.value AS schema_name
|
|
100
|
+
}
|
|
101
|
+
RETURN schema_namespace + schema_name AS schema_kind, schema_vertex.uuid AS schema_uuid, field_name, is_attribute
|
|
102
|
+
ORDER BY schema_kind ASC, is_attribute DESC, field_name ASC
|
|
103
|
+
"""
|
|
104
|
+
self.return_labels = ["schema_kind", "schema_uuid", "field_name", "is_attribute"]
|
|
105
|
+
self.add_to_query(query)
|
|
106
|
+
|
|
107
|
+
def get_schema_field_details(self) -> list[SchemaFieldDetails]:
|
|
108
|
+
schema_field_details: list[SchemaFieldDetails] = []
|
|
109
|
+
for result in self.results:
|
|
110
|
+
schema_kind = result.get_as_type(label="schema_kind", return_type=str)
|
|
111
|
+
schema_uuid = result.get_as_type(label="schema_uuid", return_type=str)
|
|
112
|
+
field_name = result.get_as_type(label="field_name", return_type=str)
|
|
113
|
+
is_attribute = result.get_as_type(label="is_attribute", return_type=bool)
|
|
114
|
+
schema_field_details.append(
|
|
115
|
+
SchemaFieldDetails(
|
|
116
|
+
schema_kind=schema_kind,
|
|
117
|
+
schema_uuid=schema_uuid,
|
|
118
|
+
field_name=field_name,
|
|
119
|
+
field_type=SchemaFieldType.ATTRIBUTE if is_attribute else SchemaFieldType.RELATIONSHIP,
|
|
120
|
+
)
|
|
121
|
+
)
|
|
122
|
+
return schema_field_details
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class FixDuplicateSchemaFields(DuplicateSchemaFields):
|
|
126
|
+
"""
|
|
127
|
+
Fix the duplicate schema fields by hard deleting the earlier duplicate(s)
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
name = "fix_duplicate_schema_fields"
|
|
131
|
+
type = QueryType.WRITE
|
|
132
|
+
insert_return = False
|
|
133
|
+
|
|
134
|
+
async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None:
|
|
135
|
+
await super().query_init(db=db, **kwargs)
|
|
136
|
+
query = """
|
|
137
|
+
WITH default_branch, tail(fields_reverse_chron) AS fields_to_delete
|
|
138
|
+
UNWIND fields_to_delete AS field_to_delete
|
|
139
|
+
CALL (field_to_delete, default_branch) {
|
|
140
|
+
MATCH (field_to_delete)-[r:IS_PART_OF {branch: default_branch}]-()
|
|
141
|
+
DELETE r
|
|
142
|
+
WITH field_to_delete
|
|
143
|
+
MATCH (field_to_delete)-[:IS_RELATED {branch: default_branch}]-(rel:Relationship)
|
|
144
|
+
WITH DISTINCT field_to_delete, rel
|
|
145
|
+
MATCH (rel)-[r {branch: default_branch}]-()
|
|
146
|
+
DELETE r
|
|
147
|
+
WITH field_to_delete, rel
|
|
148
|
+
OPTIONAL MATCH (rel)
|
|
149
|
+
WHERE NOT exists((rel)--())
|
|
150
|
+
DELETE rel
|
|
151
|
+
WITH DISTINCT field_to_delete
|
|
152
|
+
MATCH (field_to_delete)-[:HAS_ATTRIBUTE {branch: default_branch}]->(attr:Attribute)
|
|
153
|
+
MATCH (attr)-[r {branch: default_branch}]-()
|
|
154
|
+
DELETE r
|
|
155
|
+
WITH field_to_delete, attr
|
|
156
|
+
OPTIONAL MATCH (attr)
|
|
157
|
+
WHERE NOT exists((attr)--())
|
|
158
|
+
DELETE attr
|
|
159
|
+
WITH DISTINCT field_to_delete
|
|
160
|
+
OPTIONAL MATCH (field_to_delete)
|
|
161
|
+
WHERE NOT exists((field_to_delete)--())
|
|
162
|
+
DELETE field_to_delete
|
|
163
|
+
}
|
|
164
|
+
"""
|
|
165
|
+
self.add_to_query(query)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def display_duplicate_schema_fields(duplicate_schema_fields: list[SchemaFieldDetails]) -> None:
|
|
169
|
+
console = Console()
|
|
170
|
+
|
|
171
|
+
table = Table(title="Duplicate Schema Fields on Default Branch")
|
|
172
|
+
|
|
173
|
+
table.add_column("Schema Kind")
|
|
174
|
+
table.add_column("Schema UUID")
|
|
175
|
+
table.add_column("Field Name")
|
|
176
|
+
table.add_column("Field Type")
|
|
177
|
+
|
|
178
|
+
for duplicate_schema_field in duplicate_schema_fields:
|
|
179
|
+
table.add_row(
|
|
180
|
+
duplicate_schema_field.schema_kind,
|
|
181
|
+
duplicate_schema_field.schema_uuid,
|
|
182
|
+
duplicate_schema_field.field_name,
|
|
183
|
+
duplicate_schema_field.field_type.value,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
console.print(table)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
async def clean_duplicate_schema_fields(db: InfrahubDatabase, fix: bool = False) -> bool:
|
|
190
|
+
"""
|
|
191
|
+
Identify any attributes or relationships that are duplicated in a schema on the default branch
|
|
192
|
+
If fix is True, runs cypher queries to hard delete the earlier duplicate
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
duplicate_schema_fields_query = await GetDuplicateSchemaFields.init(db=db)
|
|
196
|
+
await duplicate_schema_fields_query.execute(db=db)
|
|
197
|
+
duplicate_schema_fields = duplicate_schema_fields_query.get_schema_field_details()
|
|
198
|
+
|
|
199
|
+
if not duplicate_schema_fields:
|
|
200
|
+
rprint(f"{SUCCESS_BADGE} No duplicate schema fields found")
|
|
201
|
+
return True
|
|
202
|
+
|
|
203
|
+
display_duplicate_schema_fields(duplicate_schema_fields)
|
|
204
|
+
|
|
205
|
+
if not fix:
|
|
206
|
+
rprint(f"{FAILED_BADGE} Use the --fix flag to fix the duplicate schema fields")
|
|
207
|
+
return False
|
|
208
|
+
|
|
209
|
+
fix_duplicate_schema_fields_query = await FixDuplicateSchemaFields.init(db=db)
|
|
210
|
+
await fix_duplicate_schema_fields_query.execute(db=db)
|
|
211
|
+
rprint(f"{SUCCESS_BADGE} Duplicate schema fields deleted from the default branch")
|
|
212
|
+
return True
|
{infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/computed_attribute/tasks.py
RENAMED
|
@@ -104,7 +104,7 @@ async def process_transform(
|
|
|
104
104
|
) # type: ignore[misc]
|
|
105
105
|
|
|
106
106
|
data = await client.query_gql_query(
|
|
107
|
-
name=transform.query.
|
|
107
|
+
name=transform.query.id,
|
|
108
108
|
branch_name=branch_name,
|
|
109
109
|
variables={"id": object_id},
|
|
110
110
|
update_group=True,
|
|
@@ -560,7 +560,7 @@ class RelationshipChangelogGetter:
|
|
|
560
560
|
|
|
561
561
|
for peer in relationship.peers:
|
|
562
562
|
if peer.peer_status == DiffAction.ADDED:
|
|
563
|
-
peer_schema = schema_branch.get(name=peer.peer_kind)
|
|
563
|
+
peer_schema = schema_branch.get(name=peer.peer_kind, duplicate=False)
|
|
564
564
|
secondaries.extend(
|
|
565
565
|
self._process_added_peers(
|
|
566
566
|
peer_id=peer.peer_id,
|
|
@@ -572,7 +572,7 @@ class RelationshipChangelogGetter:
|
|
|
572
572
|
)
|
|
573
573
|
|
|
574
574
|
elif peer.peer_status == DiffAction.REMOVED:
|
|
575
|
-
peer_schema = schema_branch.get(name=peer.peer_kind)
|
|
575
|
+
peer_schema = schema_branch.get(name=peer.peer_kind, duplicate=False)
|
|
576
576
|
secondaries.extend(
|
|
577
577
|
self._process_removed_peers(
|
|
578
578
|
peer_id=peer.peer_id,
|
{infrahub_server-1.4.10 → infrahub_server-1.4.12}/backend/infrahub/core/diff/query/artifact.py
RENAMED
|
@@ -148,7 +148,7 @@ CALL (target_node, definition_node){
|
|
|
148
148
|
)
|
|
149
149
|
RETURN
|
|
150
150
|
target_artifact,
|
|
151
|
-
(trel1.status = "active" AND trel2.status = "active" AND drel1.status = "active" AND
|
|
151
|
+
(trel1.status = "active" AND trel2.status = "active" AND drel1.status = "active" AND drel2.status = "active") AS artifact_is_active
|
|
152
152
|
ORDER BY trel1.from DESC, trel2.from DESC, drel1.from DESC, drel2.from DESC,
|
|
153
153
|
trel1.status ASC, trel2.status ASC, drel1.status ASC, drel2.status ASC
|
|
154
154
|
LIMIT 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
GRAPH_VERSION = 40
|
|
@@ -63,12 +63,15 @@ def identify_node_class(node: NodeToProcess) -> type[Node]:
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
def get_schema(
|
|
66
|
-
db: InfrahubDatabase,
|
|
66
|
+
db: InfrahubDatabase,
|
|
67
|
+
branch: Branch,
|
|
68
|
+
node_schema: type[SchemaProtocol] | MainSchemaTypes | str,
|
|
69
|
+
duplicate: bool = False,
|
|
67
70
|
) -> MainSchemaTypes:
|
|
68
71
|
if isinstance(node_schema, str):
|
|
69
|
-
return db.schema.get(name=node_schema, branch=branch.name)
|
|
72
|
+
return db.schema.get(name=node_schema, branch=branch.name, duplicate=duplicate)
|
|
70
73
|
if hasattr(node_schema, "_is_runtime_protocol") and node_schema._is_runtime_protocol:
|
|
71
|
-
return db.schema.get(name=node_schema.__name__, branch=branch.name)
|
|
74
|
+
return db.schema.get(name=node_schema.__name__, branch=branch.name, duplicate=duplicate)
|
|
72
75
|
if not isinstance(node_schema, (MainSchemaTypes)):
|
|
73
76
|
raise ValueError(f"Invalid schema provided {node_schema}")
|
|
74
77
|
|