infrahub-server 1.1.7__tar.gz → 1.2.0b1__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.2.0b1/PKG-INFO +137 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/artifact.py +106 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/dependencies.py +143 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/oauth2.py +146 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/oidc.py +215 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/query.py +198 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/schema.py +449 -0
- infrahub_server-1.2.0b1/backend/infrahub/api/transformation.py +160 -0
- infrahub_server-1.2.0b1/backend/infrahub/artifacts/models.py +29 -0
- infrahub_server-1.2.0b1/backend/infrahub/artifacts/tasks.py +99 -0
- infrahub_server-1.2.0b1/backend/infrahub/cli/__init__.py +56 -0
- infrahub_server-1.2.0b1/backend/infrahub/cli/db.py +439 -0
- infrahub_server-1.2.0b1/backend/infrahub/cli/events.py +43 -0
- infrahub_server-1.2.0b1/backend/infrahub/cli/git_agent.py +160 -0
- infrahub_server-1.2.0b1/backend/infrahub/cli/tasks.py +52 -0
- infrahub_server-1.2.0b1/backend/infrahub/computed_attribute/models.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/computed_attribute/tasks.py +821 -0
- infrahub_server-1.2.0b1/backend/infrahub/computed_attribute/triggers.py +90 -0
- infrahub_server-1.2.0b1/backend/infrahub/config.py +884 -0
- infrahub_server-1.2.0b1/backend/infrahub/context.py +39 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/account.py +592 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/attribute.py +1247 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/branch/models.py +513 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/branch/tasks.py +411 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/changelog/diff.py +283 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/changelog/models.py +499 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/constants/__init__.py +358 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/constants/infrahubkind.py +70 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/constants/schema.py +57 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/combiner.py +446 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher/cardinality_one.py +130 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher/hierarchy.py +178 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher/labels.py +221 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher/path_identifier.py +68 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher/summary_counts.py +107 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/merger/merger.py +87 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/model/path.py +894 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/parent_node_adder.py +78 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/payload_builder.py +56 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/all_conflicts.py +67 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/artifact.py +211 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/delete_query.py +25 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/diff_get.py +165 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/diff_summary.py +106 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/field_specifiers.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/field_summary.py +79 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/filters.py +105 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/get_conflict_query.py +27 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/has_conflicts_query.py +69 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/merge.py +539 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/merge_tracking_id.py +25 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/roots_metadata.py +55 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/save.py +461 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/summary_counts_enricher.py +267 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/time_range_query.py +77 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/query/update_conflict_query.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/repository/deserializer.py +389 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/repository/repository.py +576 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/diff/tasks.py +68 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/enums.py +17 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/graph/__init__.py +1 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/graph/index.py +25 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +133 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/ipam/reconciler.py +211 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/ipam/tasks.py +41 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/manager.py +1359 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/merge.py +236 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/__init__.py +65 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +49 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +36 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +55 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +40 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +40 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +40 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +40 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +345 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +317 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +44 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +36 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +36 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +44 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +101 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m019_restore_rels_to_time.py +256 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/graph/m020_add_generate_template_attr.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/attribute_add.py +90 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/attribute_rename.py +187 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/delete_element_in_schema.py +176 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/node_duplicate.py +198 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/relationship_duplicate.py +176 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/query/schema_attribute_update.py +93 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/schema/node_attribute_remove.py +115 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/schema/node_remove.py +183 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/schema/tasks.py +113 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/migrations/shared.py +189 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/models.py +585 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/__init__.py +883 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/base.py +82 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/delete_validator.py +210 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/ipam.py +62 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +115 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/node/standard.py +220 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/property.py +147 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/protocols.py +496 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/protocols_base.py +101 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/__init__.py +695 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/attribute.py +303 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/branch.py +152 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/delete.py +58 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/diff.py +720 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/ipam.py +635 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/node.py +1419 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/relationship.py +1120 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/resource_manager.py +378 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/standard_node.py +155 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/task.py +97 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/task_log.py +33 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/query/utils.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/registry.py +226 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/relationship/constraints/count.py +88 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/relationship/constraints/peer_kind.py +64 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/relationship/model.py +1236 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/__init__.py +114 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/attribute_schema.py +146 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/basenode_schema.py +507 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/__init__.py +153 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/account.py +168 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/artifact.py +127 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/builtin.py +21 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/check.py +60 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/generator.py +96 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/graphql_query.py +77 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/group.py +105 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/ipam.py +252 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/lineage.py +17 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/menu.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/permission.py +161 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/profile.py +29 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/propose_change.py +88 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/propose_change_comment.py +188 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/propose_change_validator.py +326 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/repository.py +280 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/resource_pool.py +180 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/template.py +12 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/transform.py +87 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/core/webhook.py +108 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions/internal.py +915 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/generated/genericnode_schema.py +30 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/generated/node_schema.py +42 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/generic_schema.py +44 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/manager.py +735 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/node_schema.py +145 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/profile_schema.py +38 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/relationship_schema.py +230 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/schema_branch.py +1992 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/schema/template_schema.py +36 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/task/user_task.py +130 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/timestamp.py +34 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/utils.py +278 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/choices.py +104 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/enum.py +104 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/kind.py +111 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/length.py +99 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/optional.py +95 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/regex.py +99 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute/unique.py +124 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/checks_runner.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/node/generate_profile.py +90 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/node/hierarchy.py +181 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/query.py +54 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/relationship/count.py +196 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/relationship/optional.py +111 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/relationship/peer.py +132 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/tasks.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/core/validators/uniqueness/query.py +222 -0
- infrahub_server-1.2.0b1/backend/infrahub/database/__init__.py +532 -0
- infrahub_server-1.2.0b1/backend/infrahub/database/memgraph.py +59 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/combiner.py +8 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +8 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/deserializer.py +10 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +10 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +8 -0
- infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/parent_node_adder.py +8 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/artifact_action.py +76 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/branch_action.py +119 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/group_action.py +117 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/models.py +206 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/node_action.py +107 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/repository_action.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/events/schema_action.py +49 -0
- infrahub_server-1.2.0b1/backend/infrahub/exceptions.py +360 -0
- infrahub_server-1.2.0b1/backend/infrahub/generators/models.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/generators/tasks.py +231 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/base.py +922 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/constants.py +3 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/integrator.py +1341 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/models.py +191 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/repository.py +280 -0
- infrahub_server-1.2.0b1/backend/infrahub/git/tasks.py +872 -0
- infrahub_server-1.2.0b1/backend/infrahub/git_credential/helper.py +75 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/analyzer.py +621 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/app.py +538 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +30 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +50 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +35 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +190 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +35 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/context.py +33 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/enums.py +28 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/initialization.py +123 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/loaders/node.py +82 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/manager.py +1033 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/account.py +171 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/artifact_definition.py +96 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/branch.py +297 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/computed_attribute.py +116 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/diff.py +110 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/diff_conflict.py +77 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/generator.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/graphql_query.py +99 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/ipam.py +434 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/main.py +645 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/menu.py +100 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/proposed_change.py +256 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/relationship.py +407 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/repository.py +296 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/resource_manager.py +223 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/schema.py +340 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/tasks.py +72 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/parser.py +213 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/permissions.py +27 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/account.py +162 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/branch.py +30 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/diff/tree.py +552 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/event.py +115 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/internal.py +26 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/ipam.py +121 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/relationship.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/resource_manager.py +346 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/search.py +152 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/status.py +69 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/task.py +118 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/resolvers/resolver.py +432 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/resolvers/single_relationship.py +175 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/schema.py +111 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/subscription/__init__.py +37 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/subscription/events.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/subscription/graphql_query.py +58 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/branch.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/common.py +12 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/context.py +12 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/enums.py +12 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/event.py +158 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/interface.py +28 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/node.py +32 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/permission.py +42 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/relationship.py +18 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/types/standard_node.py +54 -0
- infrahub_server-1.2.0b1/backend/infrahub/graphql/utils.py +106 -0
- infrahub_server-1.2.0b1/backend/infrahub/groups/tasks.py +41 -0
- infrahub_server-1.2.0b1/backend/infrahub/lock.py +261 -0
- infrahub_server-1.2.0b1/backend/infrahub/menu/generator.py +136 -0
- infrahub_server-1.2.0b1/backend/infrahub/menu/menu.py +365 -0
- infrahub_server-1.2.0b1/backend/infrahub/menu/models.py +176 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/__init__.py +106 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/__init__.py +72 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/check_generator_run.py +24 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/event_branch_merge.py +13 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/proposed_change/request_proposedchange_refreshartifacts.py +11 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/request_proposedchange_pipeline.py +18 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages/send_echo_request.py +20 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/__init__.py +59 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/check/__init__.py +3 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/check/generator.py +155 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/event/branch.py +61 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/event/schema.py +17 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/event/worker.py +9 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/finalize/validator.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/git/file.py +34 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/git/repository.py +62 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/requests/__init__.py +9 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/requests/generator_definition.py +140 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/requests/proposed_change.py +601 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/operations/send/echo.py +13 -0
- infrahub_server-1.2.0b1/backend/infrahub/message_bus/types.py +160 -0
- infrahub_server-1.2.0b1/backend/infrahub/permissions/globals.py +15 -0
- infrahub_server-1.2.0b1/backend/infrahub/pools/prefix.py +38 -0
- infrahub_server-1.2.0b1/backend/infrahub/prefect_server/app.py +18 -0
- infrahub_server-1.2.0b1/backend/infrahub/prefect_server/database.py +20 -0
- infrahub_server-1.2.0b1/backend/infrahub/prefect_server/events.py +28 -0
- infrahub_server-1.2.0b1/backend/infrahub/prefect_server/models.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/proposed_change/models.py +45 -0
- infrahub_server-1.2.0b1/backend/infrahub/proposed_change/tasks.py +637 -0
- infrahub_server-1.2.0b1/backend/infrahub/pytest_plugin.py +159 -0
- infrahub_server-1.2.0b1/backend/infrahub/server.py +222 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/__init__.py +192 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/cache/__init__.py +36 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/cache/nats.py +151 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/cache/redis.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/event/__init__.py +38 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/http/__init__.py +25 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/http/httpx.py +105 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/message_bus/__init__.py +62 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/message_bus/local.py +61 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/message_bus/nats.py +295 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/message_bus/rabbitmq.py +267 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/workflow/__init__.py +55 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/workflow/local.py +48 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/adapters/workflow/worker.py +83 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/component.py +151 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/protocols.py +21 -0
- infrahub_server-1.2.0b1/backend/infrahub/services/scheduler.py +86 -0
- infrahub_server-1.2.0b1/backend/infrahub/storage.py +57 -0
- infrahub_server-1.2.0b1/backend/infrahub/task_manager/constants.py +15 -0
- infrahub_server-1.2.0b1/backend/infrahub/task_manager/event.py +261 -0
- infrahub_server-1.2.0b1/backend/infrahub/task_manager/models.py +209 -0
- infrahub_server-1.2.0b1/backend/infrahub/task_manager/task.py +273 -0
- infrahub_server-1.2.0b1/backend/infrahub/tasks/artifact.py +46 -0
- infrahub_server-1.2.0b1/backend/infrahub/tasks/registry.py +69 -0
- infrahub_server-1.2.0b1/backend/infrahub/tasks/telemetry.py +126 -0
- infrahub_server-1.2.0b1/backend/infrahub/transformations/tasks.py +54 -0
- infrahub_server-1.2.0b1/backend/infrahub/trigger/catalogue.py +16 -0
- infrahub_server-1.2.0b1/backend/infrahub/trigger/constants.py +9 -0
- infrahub_server-1.2.0b1/backend/infrahub/trigger/models.py +105 -0
- infrahub_server-1.2.0b1/backend/infrahub/trigger/tasks.py +91 -0
- infrahub_server-1.2.0b1/backend/infrahub/types.py +375 -0
- infrahub_server-1.2.0b1/backend/infrahub/utils.py +75 -0
- infrahub_server-1.2.0b1/backend/infrahub/webhook/constants.py +1 -0
- infrahub_server-1.2.0b1/backend/infrahub/webhook/models.py +233 -0
- infrahub_server-1.2.0b1/backend/infrahub/webhook/tasks.py +156 -0
- infrahub_server-1.2.0b1/backend/infrahub/webhook/triggers.py +27 -0
- infrahub_server-1.2.0b1/backend/infrahub/workers/infrahub_async.py +228 -0
- infrahub_server-1.2.0b1/backend/infrahub/workers/utils.py +63 -0
- infrahub_server-1.2.0b1/backend/infrahub/workflows/catalogue.py +476 -0
- infrahub_server-1.2.0b1/backend/infrahub/workflows/initialization.py +79 -0
- infrahub_server-1.2.0b1/backend/infrahub/workflows/models.py +104 -0
- infrahub_server-1.2.0b1/backend/infrahub/workflows/utils.py +79 -0
- infrahub_server-1.2.0b1/pyproject.toml +701 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/batch.py +112 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/client.py +2704 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/config.py +157 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/branch.py +142 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/check.py +252 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/cli_commands.py +507 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/exceptions.py +8 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/exporter.py +49 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/generator.py +115 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/importer.py +54 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/menu.py +54 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/object.py +47 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/repository.py +167 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/schema.py +183 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/utils.py +201 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl/validate.py +112 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/data.py +26 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/exceptions.py +145 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/generator.py +150 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/node.py +2140 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/protocols.py +973 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/schema/__init__.py +696 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/schema/main.py +350 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/task/__init__.py +1 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/task/constants.py +3 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/task/exceptions.py +25 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/task/manager.py +545 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/task/models.py +74 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/testing/docker.py +48 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/timestamp.py +192 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/transfer/exporter/json.py +169 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/utils.py +397 -0
- infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/yaml.py +106 -0
- infrahub_server-1.2.0b1/python_testcontainers/infrahub_testcontainers/container.py +122 -0
- infrahub_server-1.2.0b1/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +170 -0
- infrahub_server-1.1.7/PKG-INFO +0 -136
- infrahub_server-1.1.7/backend/infrahub/api/artifact.py +0 -94
- infrahub_server-1.1.7/backend/infrahub/api/dependencies.py +0 -135
- infrahub_server-1.1.7/backend/infrahub/api/oauth2.py +0 -147
- infrahub_server-1.1.7/backend/infrahub/api/oidc.py +0 -216
- infrahub_server-1.1.7/backend/infrahub/api/query.py +0 -187
- infrahub_server-1.1.7/backend/infrahub/api/schema.py +0 -423
- infrahub_server-1.1.7/backend/infrahub/api/transformation.py +0 -153
- infrahub_server-1.1.7/backend/infrahub/cli/__init__.py +0 -58
- infrahub_server-1.1.7/backend/infrahub/cli/db.py +0 -440
- infrahub_server-1.1.7/backend/infrahub/cli/events.py +0 -38
- infrahub_server-1.1.7/backend/infrahub/cli/git_agent.py +0 -158
- infrahub_server-1.1.7/backend/infrahub/cli/tasks.py +0 -54
- infrahub_server-1.1.7/backend/infrahub/computed_attribute/models.py +0 -83
- infrahub_server-1.1.7/backend/infrahub/computed_attribute/tasks.py +0 -774
- infrahub_server-1.1.7/backend/infrahub/config.py +0 -884
- infrahub_server-1.1.7/backend/infrahub/core/account.py +0 -595
- infrahub_server-1.1.7/backend/infrahub/core/attribute.py +0 -1218
- infrahub_server-1.1.7/backend/infrahub/core/branch/constants.py +0 -2
- infrahub_server-1.1.7/backend/infrahub/core/branch/models.py +0 -513
- infrahub_server-1.1.7/backend/infrahub/core/branch/tasks.py +0 -406
- infrahub_server-1.1.7/backend/infrahub/core/constants/__init__.py +0 -317
- infrahub_server-1.1.7/backend/infrahub/core/constants/infrahubkind.py +0 -69
- infrahub_server-1.1.7/backend/infrahub/core/constants/schema.py +0 -55
- infrahub_server-1.1.7/backend/infrahub/core/diff/combiner.py +0 -446
- infrahub_server-1.1.7/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -125
- infrahub_server-1.1.7/backend/infrahub/core/diff/enricher/hierarchy.py +0 -163
- infrahub_server-1.1.7/backend/infrahub/core/diff/enricher/labels.py +0 -216
- infrahub_server-1.1.7/backend/infrahub/core/diff/enricher/path_identifier.py +0 -64
- infrahub_server-1.1.7/backend/infrahub/core/diff/merger/merger.py +0 -85
- infrahub_server-1.1.7/backend/infrahub/core/diff/model/path.py +0 -871
- infrahub_server-1.1.7/backend/infrahub/core/diff/payload_builder.py +0 -45
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/all_conflicts.py +0 -67
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/artifact.py +0 -211
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/delete_query.py +0 -25
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/diff_get.py +0 -165
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/diff_summary.py +0 -106
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/field_specifiers.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/field_summary.py +0 -79
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/filters.py +0 -105
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/get_conflict_query.py +0 -27
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -69
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/merge.py +0 -539
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/merge_tracking_id.py +0 -25
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/roots_metadata.py +0 -55
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/save.py +0 -455
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/summary_counts_enricher.py +0 -220
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/time_range_query.py +0 -77
- infrahub_server-1.1.7/backend/infrahub/core/diff/query/update_conflict_query.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/core/diff/repository/deserializer.py +0 -384
- infrahub_server-1.1.7/backend/infrahub/core/diff/repository/repository.py +0 -458
- infrahub_server-1.1.7/backend/infrahub/core/diff/tasks.py +0 -67
- infrahub_server-1.1.7/backend/infrahub/core/enums.py +0 -17
- infrahub_server-1.1.7/backend/infrahub/core/graph/__init__.py +0 -1
- infrahub_server-1.1.7/backend/infrahub/core/graph/index.py +0 -22
- infrahub_server-1.1.7/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -133
- infrahub_server-1.1.7/backend/infrahub/core/ipam/reconciler.py +0 -211
- infrahub_server-1.1.7/backend/infrahub/core/ipam/tasks.py +0 -42
- infrahub_server-1.1.7/backend/infrahub/core/manager.py +0 -1354
- infrahub_server-1.1.7/backend/infrahub/core/merge.py +0 -233
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/__init__.py +0 -61
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -49
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -36
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -55
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -48
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -40
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -40
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -48
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -48
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -40
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -40
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -48
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -356
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -321
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -44
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +0 -36
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +0 -36
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -44
- infrahub_server-1.1.7/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -101
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/attribute_add.py +0 -90
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/attribute_rename.py +0 -187
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/delete_element_in_schema.py +0 -176
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/node_duplicate.py +0 -178
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/relationship_duplicate.py +0 -176
- infrahub_server-1.1.7/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -93
- infrahub_server-1.1.7/backend/infrahub/core/migrations/schema/node_attribute_remove.py +0 -115
- infrahub_server-1.1.7/backend/infrahub/core/migrations/schema/node_remove.py +0 -169
- infrahub_server-1.1.7/backend/infrahub/core/migrations/schema/tasks.py +0 -113
- infrahub_server-1.1.7/backend/infrahub/core/migrations/shared.py +0 -189
- infrahub_server-1.1.7/backend/infrahub/core/models.py +0 -586
- infrahub_server-1.1.7/backend/infrahub/core/node/__init__.py +0 -764
- infrahub_server-1.1.7/backend/infrahub/core/node/base.py +0 -82
- infrahub_server-1.1.7/backend/infrahub/core/node/delete_validator.py +0 -210
- infrahub_server-1.1.7/backend/infrahub/core/node/ipam.py +0 -62
- infrahub_server-1.1.7/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +0 -112
- infrahub_server-1.1.7/backend/infrahub/core/node/standard.py +0 -222
- infrahub_server-1.1.7/backend/infrahub/core/property.py +0 -147
- infrahub_server-1.1.7/backend/infrahub/core/protocols.py +0 -490
- infrahub_server-1.1.7/backend/infrahub/core/protocols_base.py +0 -99
- infrahub_server-1.1.7/backend/infrahub/core/query/__init__.py +0 -698
- infrahub_server-1.1.7/backend/infrahub/core/query/attribute.py +0 -303
- infrahub_server-1.1.7/backend/infrahub/core/query/branch.py +0 -152
- infrahub_server-1.1.7/backend/infrahub/core/query/delete.py +0 -58
- infrahub_server-1.1.7/backend/infrahub/core/query/diff.py +0 -720
- infrahub_server-1.1.7/backend/infrahub/core/query/ipam.py +0 -635
- infrahub_server-1.1.7/backend/infrahub/core/query/node.py +0 -1420
- infrahub_server-1.1.7/backend/infrahub/core/query/relationship.py +0 -934
- infrahub_server-1.1.7/backend/infrahub/core/query/resource_manager.py +0 -378
- infrahub_server-1.1.7/backend/infrahub/core/query/standard_node.py +0 -155
- infrahub_server-1.1.7/backend/infrahub/core/query/task.py +0 -97
- infrahub_server-1.1.7/backend/infrahub/core/query/task_log.py +0 -33
- infrahub_server-1.1.7/backend/infrahub/core/query/utils.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/core/registry.py +0 -228
- infrahub_server-1.1.7/backend/infrahub/core/relationship/constraints/count.py +0 -88
- infrahub_server-1.1.7/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -64
- infrahub_server-1.1.7/backend/infrahub/core/relationship/model.py +0 -1198
- infrahub_server-1.1.7/backend/infrahub/core/schema/__init__.py +0 -112
- infrahub_server-1.1.7/backend/infrahub/core/schema/attribute_schema.py +0 -138
- infrahub_server-1.1.7/backend/infrahub/core/schema/basenode_schema.py +0 -497
- infrahub_server-1.1.7/backend/infrahub/core/schema/definitions/core.py +0 -2274
- infrahub_server-1.1.7/backend/infrahub/core/schema/definitions/internal.py +0 -899
- infrahub_server-1.1.7/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -25
- infrahub_server-1.1.7/backend/infrahub/core/schema/generated/node_schema.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/core/schema/generic_schema.py +0 -40
- infrahub_server-1.1.7/backend/infrahub/core/schema/manager.py +0 -732
- infrahub_server-1.1.7/backend/infrahub/core/schema/node_schema.py +0 -141
- infrahub_server-1.1.7/backend/infrahub/core/schema/profile_schema.py +0 -34
- infrahub_server-1.1.7/backend/infrahub/core/schema/relationship_schema.py +0 -222
- infrahub_server-1.1.7/backend/infrahub/core/schema/schema_branch.py +0 -1748
- infrahub_server-1.1.7/backend/infrahub/core/task/user_task.py +0 -128
- infrahub_server-1.1.7/backend/infrahub/core/timestamp.py +0 -34
- infrahub_server-1.1.7/backend/infrahub/core/utils.py +0 -278
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/choices.py +0 -104
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/enum.py +0 -104
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/kind.py +0 -111
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/length.py +0 -99
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/optional.py +0 -95
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/regex.py +0 -99
- infrahub_server-1.1.7/backend/infrahub/core/validators/attribute/unique.py +0 -124
- infrahub_server-1.1.7/backend/infrahub/core/validators/node/generate_profile.py +0 -90
- infrahub_server-1.1.7/backend/infrahub/core/validators/node/hierarchy.py +0 -181
- infrahub_server-1.1.7/backend/infrahub/core/validators/query.py +0 -54
- infrahub_server-1.1.7/backend/infrahub/core/validators/relationship/count.py +0 -196
- infrahub_server-1.1.7/backend/infrahub/core/validators/relationship/optional.py +0 -111
- infrahub_server-1.1.7/backend/infrahub/core/validators/relationship/peer.py +0 -132
- infrahub_server-1.1.7/backend/infrahub/core/validators/tasks.py +0 -81
- infrahub_server-1.1.7/backend/infrahub/core/validators/uniqueness/query.py +0 -222
- infrahub_server-1.1.7/backend/infrahub/database/__init__.py +0 -531
- infrahub_server-1.1.7/backend/infrahub/database/memgraph.py +0 -59
- infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff/combiner.py +0 -8
- infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -8
- infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -8
- infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -8
- infrahub_server-1.1.7/backend/infrahub/events/branch_action.py +0 -90
- infrahub_server-1.1.7/backend/infrahub/events/models.py +0 -93
- infrahub_server-1.1.7/backend/infrahub/events/node_action.py +0 -45
- infrahub_server-1.1.7/backend/infrahub/events/repository_action.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/events/schema_action.py +0 -36
- infrahub_server-1.1.7/backend/infrahub/exceptions.py +0 -351
- infrahub_server-1.1.7/backend/infrahub/generators/models.py +0 -45
- infrahub_server-1.1.7/backend/infrahub/generators/tasks.py +0 -212
- infrahub_server-1.1.7/backend/infrahub/git/base.py +0 -924
- infrahub_server-1.1.7/backend/infrahub/git/constants.py +0 -4
- infrahub_server-1.1.7/backend/infrahub/git/integrator.py +0 -1317
- infrahub_server-1.1.7/backend/infrahub/git/models.py +0 -112
- infrahub_server-1.1.7/backend/infrahub/git/repository.py +0 -281
- infrahub_server-1.1.7/backend/infrahub/git/tasks.py +0 -552
- infrahub_server-1.1.7/backend/infrahub/git_credential/helper.py +0 -76
- infrahub_server-1.1.7/backend/infrahub/graphql/analyzer.py +0 -60
- infrahub_server-1.1.7/backend/infrahub/graphql/app.py +0 -530
- infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -30
- infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -50
- infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -35
- infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -197
- infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -35
- infrahub_server-1.1.7/backend/infrahub/graphql/enums.py +0 -28
- infrahub_server-1.1.7/backend/infrahub/graphql/initialization.py +0 -119
- infrahub_server-1.1.7/backend/infrahub/graphql/loaders/node.py +0 -82
- infrahub_server-1.1.7/backend/infrahub/graphql/manager.py +0 -1033
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/account.py +0 -164
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/artifact_definition.py +0 -92
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/branch.py +0 -251
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/computed_attribute.py +0 -107
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/diff.py +0 -94
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/diff_conflict.py +0 -71
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/graphql_query.py +0 -91
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/ipam.py +0 -432
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/main.py +0 -457
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/menu.py +0 -100
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/proposed_change.py +0 -248
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/relationship.py +0 -196
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/repository.py +0 -290
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/resource_manager.py +0 -223
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/schema.py +0 -307
- infrahub_server-1.1.7/backend/infrahub/graphql/mutations/tasks.py +0 -69
- infrahub_server-1.1.7/backend/infrahub/graphql/parser.py +0 -213
- infrahub_server-1.1.7/backend/infrahub/graphql/permissions.py +0 -34
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/account.py +0 -158
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/branch.py +0 -28
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/diff/tree.py +0 -541
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/internal.py +0 -26
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/ipam.py +0 -116
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/relationship.py +0 -82
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/resource_manager.py +0 -334
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/search.py +0 -151
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/status.py +0 -66
- infrahub_server-1.1.7/backend/infrahub/graphql/queries/task.py +0 -116
- infrahub_server-1.1.7/backend/infrahub/graphql/query.py +0 -52
- infrahub_server-1.1.7/backend/infrahub/graphql/resolvers/resolver.py +0 -406
- infrahub_server-1.1.7/backend/infrahub/graphql/resolvers/single_relationship.py +0 -169
- infrahub_server-1.1.7/backend/infrahub/graphql/schema.py +0 -107
- infrahub_server-1.1.7/backend/infrahub/graphql/subscription/__init__.py +0 -37
- infrahub_server-1.1.7/backend/infrahub/graphql/subscription/events.py +0 -48
- infrahub_server-1.1.7/backend/infrahub/graphql/subscription/graphql_query.py +0 -58
- infrahub_server-1.1.7/backend/infrahub/graphql/types/branch.py +0 -46
- infrahub_server-1.1.7/backend/infrahub/graphql/types/common.py +0 -7
- infrahub_server-1.1.7/backend/infrahub/graphql/types/enums.py +0 -10
- infrahub_server-1.1.7/backend/infrahub/graphql/types/interface.py +0 -28
- infrahub_server-1.1.7/backend/infrahub/graphql/types/node.py +0 -32
- infrahub_server-1.1.7/backend/infrahub/graphql/types/permission.py +0 -42
- infrahub_server-1.1.7/backend/infrahub/graphql/types/relationship.py +0 -18
- infrahub_server-1.1.7/backend/infrahub/graphql/types/standard_node.py +0 -56
- infrahub_server-1.1.7/backend/infrahub/graphql/utils.py +0 -260
- infrahub_server-1.1.7/backend/infrahub/groups/tasks.py +0 -42
- infrahub_server-1.1.7/backend/infrahub/lock.py +0 -261
- infrahub_server-1.1.7/backend/infrahub/menu/generator.py +0 -137
- infrahub_server-1.1.7/backend/infrahub/menu/menu.py +0 -387
- infrahub_server-1.1.7/backend/infrahub/menu/models.py +0 -176
- infrahub_server-1.1.7/backend/infrahub/message_bus/__init__.py +0 -108
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/__init__.py +0 -86
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/check_artifact_create.py +0 -27
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/check_generator_run.py +0 -26
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/check_repository_checkdefinition.py +0 -20
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/check_repository_mergeconflicts.py +0 -16
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/check_repository_usercheck.py +0 -26
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/event_branch_merge.py +0 -10
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/proposed_change/request_proposedchange_refreshartifacts.py +0 -5
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/request_artifactdefinition_check.py +0 -17
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/request_proposedchange_pipeline.py +0 -16
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/request_repository_checks.py +0 -12
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/request_repository_userchecks.py +0 -18
- infrahub_server-1.1.7/backend/infrahub/message_bus/messages/send_echo_request.py +0 -20
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/__init__.py +0 -68
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/check/__init__.py +0 -3
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/check/artifact.py +0 -98
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/check/generator.py +0 -157
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/check/repository.py +0 -293
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/event/branch.py +0 -57
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/event/schema.py +0 -17
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/event/worker.py +0 -12
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/finalize/validator.py +0 -83
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/git/file.py +0 -34
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/git/repository.py +0 -62
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/requests/__init__.py +0 -13
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/requests/artifact_definition.py +0 -148
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/requests/generator_definition.py +0 -142
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/requests/proposed_change.py +0 -584
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/requests/repository.py +0 -133
- infrahub_server-1.1.7/backend/infrahub/message_bus/operations/send/echo.py +0 -13
- infrahub_server-1.1.7/backend/infrahub/message_bus/types.py +0 -160
- infrahub_server-1.1.7/backend/infrahub/pools/prefix.py +0 -174
- infrahub_server-1.1.7/backend/infrahub/proposed_change/models.py +0 -28
- infrahub_server-1.1.7/backend/infrahub/proposed_change/tasks.py +0 -495
- infrahub_server-1.1.7/backend/infrahub/pytest_plugin.py +0 -159
- infrahub_server-1.1.7/backend/infrahub/schema/constants.py +0 -1
- infrahub_server-1.1.7/backend/infrahub/schema/tasks.py +0 -76
- infrahub_server-1.1.7/backend/infrahub/server.py +0 -221
- infrahub_server-1.1.7/backend/infrahub/services/__init__.py +0 -107
- infrahub_server-1.1.7/backend/infrahub/services/adapters/cache/__init__.py +0 -36
- infrahub_server-1.1.7/backend/infrahub/services/adapters/cache/nats.py +0 -134
- infrahub_server-1.1.7/backend/infrahub/services/adapters/cache/redis.py +0 -54
- infrahub_server-1.1.7/backend/infrahub/services/adapters/database/__init__.py +0 -9
- infrahub_server-1.1.7/backend/infrahub/services/adapters/event/__init__.py +0 -46
- infrahub_server-1.1.7/backend/infrahub/services/adapters/http/__init__.py +0 -30
- infrahub_server-1.1.7/backend/infrahub/services/adapters/http/httpx.py +0 -98
- infrahub_server-1.1.7/backend/infrahub/services/adapters/message_bus/__init__.py +0 -45
- infrahub_server-1.1.7/backend/infrahub/services/adapters/message_bus/local.py +0 -59
- infrahub_server-1.1.7/backend/infrahub/services/adapters/message_bus/nats.py +0 -289
- infrahub_server-1.1.7/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -254
- infrahub_server-1.1.7/backend/infrahub/services/adapters/workflow/__init__.py +0 -52
- infrahub_server-1.1.7/backend/infrahub/services/adapters/workflow/local.py +0 -27
- infrahub_server-1.1.7/backend/infrahub/services/adapters/workflow/worker.py +0 -67
- infrahub_server-1.1.7/backend/infrahub/services/component.py +0 -148
- infrahub_server-1.1.7/backend/infrahub/services/protocols.py +0 -21
- infrahub_server-1.1.7/backend/infrahub/services/scheduler.py +0 -85
- infrahub_server-1.1.7/backend/infrahub/storage.py +0 -59
- infrahub_server-1.1.7/backend/infrahub/task_manager/constants.py +0 -15
- infrahub_server-1.1.7/backend/infrahub/task_manager/models.py +0 -65
- infrahub_server-1.1.7/backend/infrahub/task_manager/task.py +0 -273
- infrahub_server-1.1.7/backend/infrahub/tasks/artifact.py +0 -45
- infrahub_server-1.1.7/backend/infrahub/tasks/registry.py +0 -69
- infrahub_server-1.1.7/backend/infrahub/tasks/telemetry.py +0 -127
- infrahub_server-1.1.7/backend/infrahub/transformations/tasks.py +0 -56
- infrahub_server-1.1.7/backend/infrahub/types.py +0 -375
- infrahub_server-1.1.7/backend/infrahub/utils.py +0 -75
- infrahub_server-1.1.7/backend/infrahub/webhook/constants.py +0 -3
- infrahub_server-1.1.7/backend/infrahub/webhook/models.py +0 -112
- infrahub_server-1.1.7/backend/infrahub/webhook/tasks.py +0 -235
- infrahub_server-1.1.7/backend/infrahub/workers/infrahub_async.py +0 -217
- infrahub_server-1.1.7/backend/infrahub/workflows/catalogue.py +0 -457
- infrahub_server-1.1.7/backend/infrahub/workflows/initialization.py +0 -73
- infrahub_server-1.1.7/backend/infrahub/workflows/models.py +0 -80
- infrahub_server-1.1.7/backend/infrahub/workflows/utils.py +0 -79
- infrahub_server-1.1.7/pyproject.toml +0 -686
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/batch.py +0 -112
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/client.py +0 -2696
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/config.py +0 -157
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/_file.py +0 -13
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/branch.py +0 -141
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/check.py +0 -252
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/cli_commands.py +0 -502
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -14
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/exporter.py +0 -49
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/generator.py +0 -115
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/importer.py +0 -53
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/menu.py +0 -54
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/object.py +0 -47
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/repository.py +0 -159
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/schema.py +0 -183
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/utils.py +0 -216
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl/validate.py +0 -111
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/data.py +0 -26
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/exceptions.py +0 -133
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/generator.py +0 -147
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/node.py +0 -2143
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/protocols.py +0 -961
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/schema/__init__.py +0 -687
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/schema/main.py +0 -343
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/testing/docker.py +0 -18
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/timestamp.py +0 -91
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -169
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/utils.py +0 -359
- infrahub_server-1.1.7/python_sdk/infrahub_sdk/yaml.py +0 -107
- infrahub_server-1.1.7/python_testcontainers/infrahub_testcontainers/container.py +0 -123
- infrahub_server-1.1.7/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +0 -170
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/LICENSE.txt +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/README.md +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/auth.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/diff/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/diff/diff.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/diff/validation_models.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/exception_handlers.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/exceptions.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/file.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/internal.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/menu.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/static/redoc.standalone.js +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/static/swagger-ui.css +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/api/storage.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/computed_attribute → infrahub_server-1.2.0b1/backend/infrahub/artifacts}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/auth.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/cli/context.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/cli/server.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/components.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/constraint → infrahub_server-1.2.0b1/backend/infrahub/computed_attribute}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/computed_attribute/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/branch/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/branch/flow_models.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/constraint/node → infrahub_server-1.2.0b1/backend/infrahub/core/changelog}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/constants/database.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/constants/relationship_label.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff → infrahub_server-1.2.0b1/backend/infrahub/core/constraint}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/artifacts → infrahub_server-1.2.0b1/backend/infrahub/core/constraint/node}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/constraint/node/runner.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/enricher → infrahub_server-1.2.0b1/backend/infrahub/core/diff}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/merger → infrahub_server-1.2.0b1/backend/infrahub/core/diff/artifacts}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/branch_differ.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/calculator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/coordinator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/model → infrahub_server-1.2.0b1/backend/infrahub/core/diff/enricher}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/enricher/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/exceptions.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/query → infrahub_server-1.2.0b1/backend/infrahub/core/diff/merger}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/merger/model.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/merger/serializer.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/diff/repository → infrahub_server-1.2.0b1/backend/infrahub/core/diff/model}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/model/diff.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/models.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/integrity → infrahub_server-1.2.0b1/backend/infrahub/core/diff/query}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/diff/query_parser.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/integrity/object_conflict → infrahub_server-1.2.0b1/backend/infrahub/core/diff/repository}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/graph/constraints.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/graph/schema.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/initialization.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/ipam → infrahub_server-1.2.0b1/backend/infrahub/core/integrity}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/migrations/schema → infrahub_server-1.2.0b1/backend/infrahub/core/integrity/object_conflict}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/node/constraints → infrahub_server-1.2.0b1/backend/infrahub/core/ipam}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/ipam/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/ipam/model.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/ipam/size.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/ipam/utilization.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/query/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/node/resource_manager → infrahub_server-1.2.0b1/backend/infrahub/core/migrations/schema}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/schema/models.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/relationship → infrahub_server-1.2.0b1/backend/infrahub/core/node}/constraints/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/constraints/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/permissions.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/schema/definitions → infrahub_server-1.2.0b1/backend/infrahub/core/node/resource_manager}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/node/resource_manager/number_pool.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/path.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/query/subquery.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/relationship/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/schema/generated → infrahub_server-1.2.0b1/backend/infrahub/core/relationship/constraints}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/root.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/computed_attribute.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/constants.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/validators/attribute → infrahub_server-1.2.0b1/backend/infrahub/core/schema/definitions}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/dropdown.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/validators/models → infrahub_server-1.2.0b1/backend/infrahub/core/schema/generated}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/generated/attribute_schema.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/generated/relationship_schema.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/task/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/task/task.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/task/task_log.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/aggregated_checker.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/validators/node → infrahub_server-1.2.0b1/backend/infrahub/core/validators/attribute}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/determiner.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/model.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/validators/relationship → infrahub_server-1.2.0b1/backend/infrahub/core/validators/models}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/models/violation.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/core/validators/uniqueness → infrahub_server-1.2.0b1/backend/infrahub/core/validators/node}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/node/attribute.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/node/relationship.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies → infrahub_server-1.2.0b1/backend/infrahub/core/validators/relationship}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/shared.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/constraint → infrahub_server-1.2.0b1/backend/infrahub/core/validators/uniqueness}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/database/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/database/index.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/database/manager.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/database/metrics.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/database/neo4j.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/constraint/grouped → infrahub_server-1.2.0b1/backend/infrahub/dependencies}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/constraint/node → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/constraint}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/constraint/relationship_manager → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/constraint/grouped}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/constraint/schema → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/constraint/node}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/constraint/relationship_manager}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/diff/enricher → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/constraint/schema}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/ip → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/builder/node → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/diff/enricher}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/dependencies/component → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/ip}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/generators → infrahub_server-1.2.0b1/backend/infrahub/dependencies/builder/node}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/git_credential → infrahub_server-1.2.0b1/backend/infrahub/dependencies/component}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/component/exceptions.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/component/registry.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/dependencies/registry.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/events/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/events/constants.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql → infrahub_server-1.2.0b1/backend/infrahub/generators}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/git/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/git/directory.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/git/worktree.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/api → infrahub_server-1.2.0b1/backend/infrahub/git_credential}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/git_credential/askpass.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/auth → infrahub_server-1.2.0b1/backend/infrahub/graphql}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/auth/query_permission_checker → infrahub_server-1.2.0b1/backend/infrahub/graphql/api}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/api/dependencies.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/api/endpoints.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/loaders → infrahub_server-1.2.0b1/backend/infrahub/graphql/auth}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/mutations → infrahub_server-1.2.0b1/backend/infrahub/graphql/auth/query_permission_checker}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/directives.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/mutations/node_getter → infrahub_server-1.2.0b1/backend/infrahub/graphql/loaders}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/metrics.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/models.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/queries/diff → infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/attribute.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/models.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/graphql/resolvers → infrahub_server-1.2.0b1/backend/infrahub/graphql/mutations/node_getter}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/queries/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/groups → infrahub_server-1.2.0b1/backend/infrahub/graphql/queries/diff}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/menu → infrahub_server-1.2.0b1/backend/infrahub/graphql/resolvers}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/types/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/types/attribute.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/types/task.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/graphql/types/task_log.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/message_bus/messages/proposed_change → infrahub_server-1.2.0b1/backend/infrahub/groups}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/groups/models.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/helpers.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/log.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/pools → infrahub_server-1.2.0b1/backend/infrahub/menu}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/menu/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/menu/utils.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_branch_create.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_branch_delete.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_branch_rebased.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_node_mutated.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_schema_update.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/event_worker_newprimaryapi.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/finalize_validator_execution.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub → infrahub_server-1.2.0b1/backend/infrahub/message_bus/messages}/proposed_change/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/proposed_change/base_with_diff.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/messages/request_generatordefinition_check.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/event/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/event/node.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/finalize/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/middleware.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/models.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/backend.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/local_backend.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/manager.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/report.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/permissions/types.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/schema → infrahub_server-1.2.0b1/backend/infrahub/pools}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/pools/address.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/pools/number.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/services/adapters → infrahub_server-1.2.0b1/backend/infrahub/prefect_server}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/support → infrahub_server-1.2.0b1/backend/infrahub/proposed_change}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/proposed_change/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/serve/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/serve/gunicorn_config.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/serve/log.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/serve/worker.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/task_manager → infrahub_server-1.2.0b1/backend/infrahub/services/adapters}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/tasks → infrahub_server-1.2.0b1/backend/infrahub/support}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/support/macro.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/transformations → infrahub_server-1.2.0b1/backend/infrahub/task_manager}/__init__.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/webhook → infrahub_server-1.2.0b1/backend/infrahub/tasks}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/tasks/check.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/tasks/dummy.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/tasks/keepalive.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/tasks/recurring.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/trace.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/workers → infrahub_server-1.2.0b1/backend/infrahub/transformations}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/transformations/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/transformations/models.py +0 -0
- {infrahub_server-1.1.7/backend/infrahub/workflows → infrahub_server-1.2.0b1/backend/infrahub/trigger}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/visuals.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/ctl → infrahub_server-1.2.0b1/backend/infrahub/webhook}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/worker.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/pytest_plugin → infrahub_server-1.2.0b1/backend/infrahub/workers}/__init__.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/spec → infrahub_server-1.2.0b1/backend/infrahub/workflows}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/backend/infrahub/workflows/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/_importer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/analyzer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/async_typer.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/branch.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/checks.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/code_generator.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/constants.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/testing → infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/ctl}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/diff.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/graphql.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/groups.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/jinja2.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/object_store.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/playback.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/protocols_base.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/testing/schemas → infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/pytest_plugin}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/queries.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/query_groups.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/recorder.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/repository.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/schema/repository.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/transfer → infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/spec}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/spec/object.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/store.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/transfer/exporter → infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/testing}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
- {infrahub_server-1.1.7/python_sdk/infrahub_sdk/transfer/importer → infrahub_server-1.2.0b1/python_sdk/infrahub_sdk/testing/schemas}/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/transforms.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/types.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_sdk/infrahub_sdk/uuidt.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_testcontainers/infrahub_testcontainers/haproxy.cfg +0 -0
- {infrahub_server-1.1.7 → infrahub_server-1.2.0b1}/python_testcontainers/infrahub_testcontainers/helpers.py +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: infrahub-server
|
|
3
|
+
Version: 1.2.0b1
|
|
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
|
+
Home-page: https://opsmill.com
|
|
6
|
+
License: AGPL-3.0-only
|
|
7
|
+
Author: OpsMill
|
|
8
|
+
Author-email: info@opsmill.com
|
|
9
|
+
Requires-Python: >=3.10,<3.13
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Requires-Dist: Jinja2 (>=3,<4)
|
|
17
|
+
Requires-Dist: aio-pika (>=9.4,<9.5)
|
|
18
|
+
Requires-Dist: aiodataloader (==0.4.0)
|
|
19
|
+
Requires-Dist: asgi-correlation-id (==4.2.0)
|
|
20
|
+
Requires-Dist: authlib (==1.3.2)
|
|
21
|
+
Requires-Dist: bcrypt (>=4.1,<4.2)
|
|
22
|
+
Requires-Dist: boto3 (==1.34.129)
|
|
23
|
+
Requires-Dist: dulwich (>=0.22.7,<0.23.0)
|
|
24
|
+
Requires-Dist: email-validator (>=2.1,<2.2)
|
|
25
|
+
Requires-Dist: fastapi (>=0.115,<0.116)
|
|
26
|
+
Requires-Dist: fastapi-storages (>=0.3,<0.4)
|
|
27
|
+
Requires-Dist: gitpython (>=3,<4)
|
|
28
|
+
Requires-Dist: graphene (>=3.4,<3.5)
|
|
29
|
+
Requires-Dist: gunicorn (>=23.0.0,<24.0.0)
|
|
30
|
+
Requires-Dist: lunr (>=0.7.0.post1,<0.8.0)
|
|
31
|
+
Requires-Dist: nats-py (>=2.7.2,<3.0.0)
|
|
32
|
+
Requires-Dist: neo4j (>=5.28,<5.29)
|
|
33
|
+
Requires-Dist: neo4j-rust-ext (>=5.28,<5.29)
|
|
34
|
+
Requires-Dist: netaddr (==1.3.0)
|
|
35
|
+
Requires-Dist: numpy (>=1.24.2,<2.0.0) ; python_version >= "3.9" and python_version < "3.12"
|
|
36
|
+
Requires-Dist: numpy (>=1.26.2,<2.0.0) ; python_version >= "3.12"
|
|
37
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (==1.28.1)
|
|
38
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http (==1.28.1)
|
|
39
|
+
Requires-Dist: opentelemetry-instrumentation-aio-pika (==0.49b1)
|
|
40
|
+
Requires-Dist: opentelemetry-instrumentation-fastapi (==0.49b1)
|
|
41
|
+
Requires-Dist: prefect (==3.1.14)
|
|
42
|
+
Requires-Dist: pyarrow (>=14,<15)
|
|
43
|
+
Requires-Dist: pydantic (>=2.10,<2.11)
|
|
44
|
+
Requires-Dist: pydantic-settings (>=2.8,<2.9)
|
|
45
|
+
Requires-Dist: pyjwt (>=2.8,<2.9)
|
|
46
|
+
Requires-Dist: pytest (>=7.4,<7.5)
|
|
47
|
+
Requires-Dist: python-multipart (==0.0.18)
|
|
48
|
+
Requires-Dist: pyyaml (>=6,<7)
|
|
49
|
+
Requires-Dist: redis[hiredis] (>=5.0.0,<6.0.0)
|
|
50
|
+
Requires-Dist: rich (>=13,<14)
|
|
51
|
+
Requires-Dist: starlette-exporter (>=0.23,<0.24)
|
|
52
|
+
Requires-Dist: structlog (==24.1.0)
|
|
53
|
+
Requires-Dist: toml (>=0.10,<0.11)
|
|
54
|
+
Requires-Dist: typer (==0.12.5)
|
|
55
|
+
Requires-Dist: ujson (>=5,<6)
|
|
56
|
+
Requires-Dist: uvicorn[standard] (>=0.32,<0.33)
|
|
57
|
+
Requires-Dist: whenever (==0.7.2)
|
|
58
|
+
Project-URL: Documentation, https://docs.infrahub.app/
|
|
59
|
+
Project-URL: Repository, https://github.com/opsmill/infrahub
|
|
60
|
+
Description-Content-Type: text/markdown
|
|
61
|
+
|
|
62
|
+
<h1 align="center">
|
|
63
|
+
<a href=""><img src="docs/static/img/infrahub-hori.svg" alt="Infrahub" width="350"></a>
|
|
64
|
+
</h1>
|
|
65
|
+
<h3 align="center">Simplify Infrastructure Automation</h2>
|
|
66
|
+
|
|
67
|
+
<p align="center">
|
|
68
|
+
<a href="https://www.linkedin.com/company/opsmill">
|
|
69
|
+
<img src="https://img.shields.io/badge/linkedin-blue?logo=linkedin"/>
|
|
70
|
+
</a>
|
|
71
|
+
<a href="https://discord.gg/opsmill">
|
|
72
|
+
<img src="https://img.shields.io/badge/Discord-7289DA?&logo=discord&logoColor=white"/>
|
|
73
|
+
</a>
|
|
74
|
+
</p>
|
|
75
|
+
|
|
76
|
+
Infrahub from [OpsMill](https://opsmill.com) 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. Infrahub offers a central hub to manage the data, templates and playbooks that powers your infrastructure by combining the version control and branch management capabilities similar to Git with the flexible data model and UI of a graph database.
|
|
77
|
+
|
|
78
|
+
If you just want to try Infrahub out, you can use our [Always-On Sandbox](https://demo.infrahub.app/) to get started.
|
|
79
|
+
|
|
80
|
+

|
|
81
|
+
|
|
82
|
+
## Why Use Infrahub?
|
|
83
|
+
|
|
84
|
+
**Unified Source of Truth** - Infrahub is a single source of truth for all your infrastructure and network data. It provides a unified view of your infrastructure, allowing you to manage your infrastructure in a more efficient and effective way. Infrahub allows unidirectional and bi-directional [data synchronization](https://docs.infrahub.app/sync/sync/) between other internal systems and Infrahub. The data can be accessed via WebUI, API and SDK, along with SSO and RBAC for access control.
|
|
85
|
+
|
|
86
|
+
**Flexible Schema** - Infrahub provides a flexible schema for your infrastructure data and related business information, allowing you to define your own data model and customize it to your needs. Get started quickly with our [schema library](https://github.com/opsmill/schema-library) or build your own.
|
|
87
|
+
|
|
88
|
+
**Version Control** - Infrahub provides a version control system for your infrastructure data, allowing you to track changes and revert to previous versions if needed. Immutable history of all changes to the data and artifacts is maintained, allowing you to audit and review changes to your infrastructure.
|
|
89
|
+
|
|
90
|
+
**CI Pipeline and Validation** - Infrahub provides a CI pipeline and validation system for your infrastructure data, allowing you to ensure that your infrastructure is always in a valid state. Infrahub was designed with infrastructure-as-code workflows in mind, removing fragility and complexity of combining together multiple tools and projects to achieve the same goal.
|
|
91
|
+
|
|
92
|
+
## Infrahub Use Cases
|
|
93
|
+
|
|
94
|
+
**Service Catalog** - Infrahub acts as the underlying system to provide infrastructure-as-a-service, allowing you to manage your services and lifecycle them as the services evolve.
|
|
95
|
+
|
|
96
|
+
**Infrastructure Automation** - Provide infrastructure and network automation workflows with Infrahub rendering configurations and artifacts via Jinja2 and python,then passing to deployment tools such as [Nornir](https://www.opsmill.com/simplifying-network-automation-workflows-with-infrahub-nornir-and-jinja2/), [Ansible](https://docs.infrahub.app/ansible/ansible/), Terraform, or vendor-specific tools.
|
|
97
|
+
|
|
98
|
+
**Inventory Management** - Infrahub serves as a centralized inventory system for your infrastructure, allowing you to manage your inventory and track changes to your infrastructure. It provides a WebUI and API for other teams to self-service the information needed to allow the organization to operate.
|
|
99
|
+
|
|
100
|
+
**DCIM and IPAM** - Infrahub provides centralized DCIM and IPAM systems for your infrastructure, capable of handling complex cases such as overlapping IP addresses and VLANs, automation-friendly, branch-aware allocation of resources via Infrahub's [Resource Manager](https://docs.infrahub.app/python-sdk/guides/resource-manager), and more.
|
|
101
|
+
|
|
102
|
+
## Quick Start
|
|
103
|
+
|
|
104
|
+
[Always-On Sandbox](https://demo.infrahub.app/) - Instantly login to the UI of a demo environment of Infrahub with sample data pre-loaded.
|
|
105
|
+
|
|
106
|
+
[Getting Started Environment & Tutorial](https://opsmill.instruqt.com/pages/labs) - It spins up an instance of Infrahub on our cloud, provides a browser, terminal, code editor and walks you through the basic concepts:
|
|
107
|
+
|
|
108
|
+
- Branching and version control
|
|
109
|
+
- Flexible schema
|
|
110
|
+
- Unified storage
|
|
111
|
+
|
|
112
|
+
For longer term tests, you can deploy a local instance of Infrahub by referring to our guide: [Installing Infrahub](https://docs.infrahub.app/guides/installation)
|
|
113
|
+
|
|
114
|
+
## Documentation
|
|
115
|
+
|
|
116
|
+
If you'd like to learn more about Infrahub, please refer to the following resources:
|
|
117
|
+
|
|
118
|
+
- [Infrahub Overview](https://docs.infrahub.app/overview/)
|
|
119
|
+
- [Infrahub Documentation](https://docs.infrahub.app/)
|
|
120
|
+
- [FAQ](https://docs.infrahub.app/faq/)
|
|
121
|
+
|
|
122
|
+
## Support and Community
|
|
123
|
+
|
|
124
|
+
If you need help, support for the community version of Infrahub is provided on [](https://discord.gg/opsmill) or via [filing an issue on GitHub](https://github.com/opsmill/infrahub/issues).
|
|
125
|
+
|
|
126
|
+
## Contributing
|
|
127
|
+
|
|
128
|
+
To help our community with the creation of contributions, please view our [CONTRIBUTING](./CONTRIBUTING.md) page.
|
|
129
|
+
|
|
130
|
+
<a href="https://github.com/opsmill/infrahub/graphs/contributors">
|
|
131
|
+
<img src="https://contrib.rocks/image?repo=opsmill/infrahub" />
|
|
132
|
+
</a>
|
|
133
|
+
|
|
134
|
+
## Security
|
|
135
|
+
|
|
136
|
+
[View our SECURITY](https://github.com/opsmill/infrahub?tab=security-ov-file) policy to find the latest information.
|
|
137
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from fastapi import APIRouter, Body, Depends, Request, Response
|
|
6
|
+
from pydantic import BaseModel, Field
|
|
7
|
+
|
|
8
|
+
from infrahub.api.dependencies import (
|
|
9
|
+
BranchParams,
|
|
10
|
+
get_branch_params,
|
|
11
|
+
get_context,
|
|
12
|
+
get_current_user,
|
|
13
|
+
get_db,
|
|
14
|
+
get_permission_manager,
|
|
15
|
+
)
|
|
16
|
+
from infrahub.core import registry
|
|
17
|
+
from infrahub.core.account import ObjectPermission
|
|
18
|
+
from infrahub.core.constants import GLOBAL_BRANCH_NAME, InfrahubKind, PermissionAction
|
|
19
|
+
from infrahub.core.protocols import CoreArtifactDefinition
|
|
20
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
21
|
+
from infrahub.exceptions import NodeNotFoundError
|
|
22
|
+
from infrahub.git.models import RequestArtifactDefinitionGenerate
|
|
23
|
+
from infrahub.log import get_logger
|
|
24
|
+
from infrahub.permissions.constants import PermissionDecisionFlag
|
|
25
|
+
from infrahub.workflows.catalogue import REQUEST_ARTIFACT_DEFINITION_GENERATE
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from infrahub.auth import AccountSession
|
|
29
|
+
from infrahub.context import InfrahubContext
|
|
30
|
+
from infrahub.permissions import PermissionManager
|
|
31
|
+
from infrahub.services import InfrahubServices
|
|
32
|
+
|
|
33
|
+
log = get_logger()
|
|
34
|
+
router = APIRouter(prefix="/artifact")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ArtifactGeneratePayload(BaseModel):
|
|
38
|
+
nodes: list[str] = Field(default_factory=list)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class ArtifactGenerateResponse(BaseModel):
|
|
42
|
+
nodes: list[str]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@router.get("/{artifact_id:str}")
|
|
46
|
+
async def get_artifact(
|
|
47
|
+
artifact_id: str,
|
|
48
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
49
|
+
branch_params: BranchParams = Depends(get_branch_params),
|
|
50
|
+
_: AccountSession = Depends(get_current_user),
|
|
51
|
+
) -> Response:
|
|
52
|
+
artifact = await registry.manager.get_one(db=db, id=artifact_id, branch=branch_params.branch, at=branch_params.at)
|
|
53
|
+
if not artifact:
|
|
54
|
+
raise NodeNotFoundError(
|
|
55
|
+
branch_name=branch_params.branch.name, node_type=InfrahubKind.ARTIFACT, identifier=artifact_id
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
return Response(
|
|
59
|
+
content=registry.storage.retrieve(identifier=artifact.storage_id.value),
|
|
60
|
+
headers={"Content-Type": artifact.content_type.value.value},
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
@router.post("/generate/{artifact_definition_id:str}")
|
|
65
|
+
async def generate_artifact(
|
|
66
|
+
request: Request,
|
|
67
|
+
artifact_definition_id: str,
|
|
68
|
+
payload: ArtifactGeneratePayload = Body(
|
|
69
|
+
ArtifactGeneratePayload(), # noqa: B008
|
|
70
|
+
description="Payload of the request, can be used to limit the scope of the query to a specific list of hosts",
|
|
71
|
+
),
|
|
72
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
73
|
+
branch_params: BranchParams = Depends(get_branch_params),
|
|
74
|
+
permission_manager: PermissionManager = Depends(get_permission_manager),
|
|
75
|
+
context: InfrahubContext = Depends(get_context),
|
|
76
|
+
) -> None:
|
|
77
|
+
permission_decision = (
|
|
78
|
+
PermissionDecisionFlag.ALLOW_DEFAULT
|
|
79
|
+
if branch_params.branch.name in (GLOBAL_BRANCH_NAME, registry.default_branch)
|
|
80
|
+
else PermissionDecisionFlag.ALLOW_OTHER
|
|
81
|
+
)
|
|
82
|
+
permissions = [
|
|
83
|
+
ObjectPermission(namespace="Core", name="Artifact", action=action.value, decision=permission_decision)
|
|
84
|
+
for action in (PermissionAction.CREATE, PermissionAction.UPDATE)
|
|
85
|
+
]
|
|
86
|
+
permission_manager.raise_for_permissions(permissions=permissions)
|
|
87
|
+
|
|
88
|
+
# Verify that the artifact definition exists for the requested branch
|
|
89
|
+
artifact_definition = await registry.manager.get_one_by_id_or_default_filter(
|
|
90
|
+
db=db,
|
|
91
|
+
id=artifact_definition_id,
|
|
92
|
+
kind=CoreArtifactDefinition,
|
|
93
|
+
branch=branch_params.branch,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
service: InfrahubServices = request.app.state.service
|
|
97
|
+
model = RequestArtifactDefinitionGenerate(
|
|
98
|
+
artifact_definition_id=artifact_definition.id,
|
|
99
|
+
artifact_definition_name=artifact_definition.name.value,
|
|
100
|
+
branch=branch_params.branch.name,
|
|
101
|
+
limit=payload.nodes,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
await service.workflow.submit_workflow(
|
|
105
|
+
workflow=REQUEST_ARTIFACT_DEFINITION_GENERATE, context=context, parameters={"model": model}
|
|
106
|
+
)
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, AsyncIterator, Optional
|
|
4
|
+
|
|
5
|
+
from fastapi import Depends, Query, Request
|
|
6
|
+
from fastapi.security import APIKeyHeader, HTTPAuthorizationCredentials, HTTPBearer
|
|
7
|
+
from pydantic import BaseModel, ConfigDict
|
|
8
|
+
|
|
9
|
+
from infrahub import config
|
|
10
|
+
from infrahub.auth import AccountSession, authentication_token, validate_jwt_access_token, validate_jwt_refresh_token
|
|
11
|
+
from infrahub.context import InfrahubContext
|
|
12
|
+
from infrahub.core.branch import Branch # noqa: TC001
|
|
13
|
+
from infrahub.core.registry import registry
|
|
14
|
+
from infrahub.core.timestamp import Timestamp
|
|
15
|
+
from infrahub.database import InfrahubDatabase # noqa: TC001
|
|
16
|
+
from infrahub.exceptions import AuthorizationError
|
|
17
|
+
from infrahub.permissions import PermissionManager
|
|
18
|
+
|
|
19
|
+
if TYPE_CHECKING:
|
|
20
|
+
from neo4j import AsyncSession
|
|
21
|
+
|
|
22
|
+
from infrahub.models import RefreshTokenData
|
|
23
|
+
|
|
24
|
+
jwt_scheme = HTTPBearer(auto_error=False)
|
|
25
|
+
api_key_scheme = APIKeyHeader(name="X-INFRAHUB-KEY", auto_error=False)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
async def cookie_auth_scheme(request: Request) -> Optional[str]:
|
|
29
|
+
return request.cookies.get("access_token") # Replace with the actual name of your JWT cookie
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class BranchParams(BaseModel):
|
|
33
|
+
branch: Branch
|
|
34
|
+
at: Timestamp
|
|
35
|
+
|
|
36
|
+
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
async def get_session(request: Request) -> AsyncIterator[AsyncSession]:
|
|
40
|
+
session = request.app.state.db.session(database=config.SETTINGS.database.database_name)
|
|
41
|
+
try:
|
|
42
|
+
yield session
|
|
43
|
+
finally:
|
|
44
|
+
await session.close()
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
async def get_db(request: Request) -> InfrahubDatabase:
|
|
48
|
+
return request.app.state.db.start_session()
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
async def get_access_token(
|
|
52
|
+
request: Request, jwt_header: HTTPAuthorizationCredentials = Depends(jwt_scheme)
|
|
53
|
+
) -> AccountSession:
|
|
54
|
+
if jwt_header:
|
|
55
|
+
return await validate_jwt_access_token(token=jwt_header.credentials)
|
|
56
|
+
if token := request.cookies.get("access_token"):
|
|
57
|
+
return await validate_jwt_access_token(token=token)
|
|
58
|
+
|
|
59
|
+
raise AuthorizationError("A JWT access token is required to perform this operation.")
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
async def get_refresh_token(
|
|
63
|
+
request: Request,
|
|
64
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
65
|
+
jwt_header: Optional[HTTPAuthorizationCredentials] = Depends(jwt_scheme),
|
|
66
|
+
) -> RefreshTokenData:
|
|
67
|
+
token = None
|
|
68
|
+
|
|
69
|
+
# Check for token in header
|
|
70
|
+
if jwt_header:
|
|
71
|
+
token = jwt_header.credentials
|
|
72
|
+
|
|
73
|
+
# If no auth header, try to get the token from the cookie
|
|
74
|
+
if not token:
|
|
75
|
+
token = request.cookies.get("refresh_token")
|
|
76
|
+
|
|
77
|
+
# If still no token, raise an error
|
|
78
|
+
if not token:
|
|
79
|
+
raise AuthorizationError("A JWT refresh token is required to perform this operation.")
|
|
80
|
+
|
|
81
|
+
return await validate_jwt_refresh_token(db=db, token=token)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
async def get_branch_params(
|
|
85
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
86
|
+
branch_name: Optional[str] = Query(None, alias="branch", description="Name of the branch to use for the query"),
|
|
87
|
+
at: Optional[str] = Query(None, description="Time to use for the query, in absolute or relative format"),
|
|
88
|
+
) -> BranchParams:
|
|
89
|
+
branch = await registry.get_branch(db=db, branch=branch_name)
|
|
90
|
+
|
|
91
|
+
return BranchParams(branch=branch, at=Timestamp(at))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
async def get_branch_dep(
|
|
95
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
96
|
+
branch_name: Optional[str] = Query(None, alias="branch", description="Name of the branch to use for the query"),
|
|
97
|
+
) -> Branch:
|
|
98
|
+
return await registry.get_branch(db=db, branch=branch_name)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
async def get_current_user(
|
|
102
|
+
request: Request,
|
|
103
|
+
jwt_header: HTTPAuthorizationCredentials = Depends(jwt_scheme),
|
|
104
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
105
|
+
api_key: str = Depends(api_key_scheme),
|
|
106
|
+
) -> AccountSession:
|
|
107
|
+
"""Return current user"""
|
|
108
|
+
jwt_token = None
|
|
109
|
+
if jwt_header:
|
|
110
|
+
jwt_token = jwt_header.credentials
|
|
111
|
+
|
|
112
|
+
if not jwt_token:
|
|
113
|
+
jwt_token = request.cookies.get("access_token")
|
|
114
|
+
|
|
115
|
+
account_session = await authentication_token(db=db, jwt_token=jwt_token, api_key=api_key)
|
|
116
|
+
|
|
117
|
+
if (
|
|
118
|
+
account_session.authenticated
|
|
119
|
+
or request.url.path.startswith("/graphql")
|
|
120
|
+
or (config.SETTINGS.main.allow_anonymous_access and request.method.lower() in ["get", "options"])
|
|
121
|
+
):
|
|
122
|
+
return account_session
|
|
123
|
+
|
|
124
|
+
raise AuthorizationError("Authentication is required")
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
async def get_permission_manager(
|
|
128
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
129
|
+
branch_params: BranchParams = Depends(get_branch_params),
|
|
130
|
+
account_session: AccountSession = Depends(get_current_user),
|
|
131
|
+
) -> PermissionManager:
|
|
132
|
+
"""Return a `PermissionManager` for an account session based on a branch."""
|
|
133
|
+
permission_manager = PermissionManager(account_session=account_session)
|
|
134
|
+
await permission_manager.load_permissions(db=db, branch=branch_params.branch)
|
|
135
|
+
|
|
136
|
+
return permission_manager
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
async def get_context(
|
|
140
|
+
branch: Branch = Depends(get_branch_dep),
|
|
141
|
+
account_session: AccountSession = Depends(get_current_user),
|
|
142
|
+
) -> InfrahubContext:
|
|
143
|
+
return InfrahubContext.init(branch=branch, account=account_session)
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
from urllib.parse import urljoin
|
|
5
|
+
|
|
6
|
+
import ujson
|
|
7
|
+
from authlib.integrations.httpx_client import AsyncOAuth2Client
|
|
8
|
+
from fastapi import APIRouter, Depends, Request, Response
|
|
9
|
+
from fastapi.responses import JSONResponse, RedirectResponse
|
|
10
|
+
from opentelemetry import trace
|
|
11
|
+
|
|
12
|
+
from infrahub import config, models
|
|
13
|
+
from infrahub.api.dependencies import get_db
|
|
14
|
+
from infrahub.auth import signin_sso_account
|
|
15
|
+
from infrahub.exceptions import GatewayError, ProcessingError
|
|
16
|
+
from infrahub.log import get_logger
|
|
17
|
+
from infrahub.message_bus.types import KVTTL
|
|
18
|
+
|
|
19
|
+
if TYPE_CHECKING:
|
|
20
|
+
import httpx
|
|
21
|
+
|
|
22
|
+
from infrahub.database import InfrahubDatabase
|
|
23
|
+
from infrahub.services import InfrahubServices
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
log = get_logger()
|
|
27
|
+
router = APIRouter(prefix="/oauth2")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _get_redirect_url(request: Request, provider_name: str) -> str:
|
|
31
|
+
"""Return public redirect URL."""
|
|
32
|
+
base_url = config.SETTINGS.main.public_url or str(request.base_url)
|
|
33
|
+
return urljoin(base_url, f"auth/oauth2/{provider_name}/callback")
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@router.get("/{provider_name:str}/authorize")
|
|
37
|
+
async def authorize(request: Request, provider_name: str, final_url: str | None = None) -> Response:
|
|
38
|
+
provider = config.SETTINGS.security.get_oauth2_provider(provider=provider_name)
|
|
39
|
+
|
|
40
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_oauth2_client_configuration") as span:
|
|
41
|
+
span.set_attribute("provider_name", provider_name)
|
|
42
|
+
span.set_attribute("scopes", provider.scopes)
|
|
43
|
+
|
|
44
|
+
client = AsyncOAuth2Client(
|
|
45
|
+
client_id=provider.client_id,
|
|
46
|
+
client_secret=provider.client_secret,
|
|
47
|
+
scope=provider.scopes,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
redirect_uri = _get_redirect_url(request=request, provider_name=provider_name)
|
|
51
|
+
final_url = final_url or config.SETTINGS.main.public_url or str(request.base_url)
|
|
52
|
+
|
|
53
|
+
authorization_uri, state = client.create_authorization_url(
|
|
54
|
+
url=provider.authorization_url, redirect_uri=redirect_uri, scope=provider.scopes, final_url=final_url
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
service: InfrahubServices = request.app.state.service
|
|
58
|
+
|
|
59
|
+
await service.cache.set(
|
|
60
|
+
key=f"security:oauth2:provider:{provider_name}:state:{state}", value=final_url, expires=KVTTL.TWO_HOURS
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
if config.SETTINGS.dev.frontend_redirect_sso:
|
|
64
|
+
return JSONResponse(content={"url": authorization_uri})
|
|
65
|
+
|
|
66
|
+
return RedirectResponse(url=authorization_uri)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@router.get("/{provider_name:str}/token")
|
|
70
|
+
async def token(
|
|
71
|
+
request: Request,
|
|
72
|
+
response: Response,
|
|
73
|
+
provider_name: str,
|
|
74
|
+
state: str,
|
|
75
|
+
code: str,
|
|
76
|
+
db: InfrahubDatabase = Depends(get_db),
|
|
77
|
+
) -> models.UserTokenWithUrl:
|
|
78
|
+
provider = config.SETTINGS.security.get_oauth2_provider(provider=provider_name)
|
|
79
|
+
|
|
80
|
+
service: InfrahubServices = request.app.state.service
|
|
81
|
+
|
|
82
|
+
cache_key = f"security:oauth2:provider:{provider_name}:state:{state}"
|
|
83
|
+
stored_final_url = await service.cache.get(key=cache_key)
|
|
84
|
+
await service.cache.delete(key=cache_key)
|
|
85
|
+
|
|
86
|
+
if not stored_final_url:
|
|
87
|
+
raise ProcessingError(message="Invalid 'state' parameter")
|
|
88
|
+
|
|
89
|
+
token_data = {
|
|
90
|
+
"code": code,
|
|
91
|
+
"client_id": provider.client_id,
|
|
92
|
+
"client_secret": provider.client_secret,
|
|
93
|
+
"redirect_uri": _get_redirect_url(request=request, provider_name=provider_name),
|
|
94
|
+
"grant_type": "authorization_code",
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
token_response = await service.http.post(provider.token_url, data=token_data)
|
|
98
|
+
_validate_response(response=token_response)
|
|
99
|
+
|
|
100
|
+
with trace.get_tracer(__name__).start_as_current_span("sso_token_request") as span:
|
|
101
|
+
span.set_attribute("token_request_data", ujson.dumps(token_response.json()))
|
|
102
|
+
payload = token_response.json()
|
|
103
|
+
|
|
104
|
+
headers = {"Authorization": f"{payload.get('token_type')} {payload.get('access_token')}"}
|
|
105
|
+
if provider.userinfo_method == config.UserInfoMethod.GET:
|
|
106
|
+
userinfo_response = await service.http.get(provider.userinfo_url, headers=headers)
|
|
107
|
+
else:
|
|
108
|
+
userinfo_response = await service.http.post(provider.userinfo_url, headers=headers)
|
|
109
|
+
|
|
110
|
+
_validate_response(response=userinfo_response)
|
|
111
|
+
user_info = userinfo_response.json()
|
|
112
|
+
sso_groups = user_info.get("groups", [])
|
|
113
|
+
if not sso_groups and config.SETTINGS.security.sso_user_default_group:
|
|
114
|
+
sso_groups = [config.SETTINGS.security.sso_user_default_group]
|
|
115
|
+
|
|
116
|
+
with trace.get_tracer(__name__).start_as_current_span("signin_sso_account") as span:
|
|
117
|
+
span.set_attribute("account_name", ujson.dumps(userinfo_response.json()))
|
|
118
|
+
span.set_attribute("sso_groups", sso_groups)
|
|
119
|
+
user_token = await signin_sso_account(db=db, account_name=user_info["name"], sso_groups=sso_groups)
|
|
120
|
+
|
|
121
|
+
response.set_cookie(
|
|
122
|
+
"access_token", user_token.access_token, httponly=True, max_age=config.SETTINGS.security.access_token_lifetime
|
|
123
|
+
)
|
|
124
|
+
response.set_cookie(
|
|
125
|
+
"refresh_token",
|
|
126
|
+
user_token.refresh_token,
|
|
127
|
+
httponly=True,
|
|
128
|
+
max_age=config.SETTINGS.security.refresh_token_lifetime,
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
return models.UserTokenWithUrl(
|
|
132
|
+
access_token=user_token.access_token, refresh_token=user_token.refresh_token, final_url=stored_final_url
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def _validate_response(response: httpx.Response) -> None:
|
|
137
|
+
if 200 <= response.status_code <= 299:
|
|
138
|
+
return
|
|
139
|
+
|
|
140
|
+
log.error(
|
|
141
|
+
"Invalid response from the OAuth provider",
|
|
142
|
+
url=response.url,
|
|
143
|
+
status_code=response.status_code,
|
|
144
|
+
body=response.json(),
|
|
145
|
+
)
|
|
146
|
+
raise GatewayError(message="Invalid response from Authentication provider")
|