infrahub-server 1.1.7__py3-none-any.whl → 1.1.9__py3-none-any.whl

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.
Files changed (79) hide show
  1. infrahub/config.py +6 -0
  2. infrahub/core/diff/enricher/cardinality_one.py +5 -0
  3. infrahub/core/diff/enricher/hierarchy.py +17 -4
  4. infrahub/core/diff/enricher/labels.py +5 -0
  5. infrahub/core/diff/enricher/path_identifier.py +5 -0
  6. infrahub/core/diff/model/path.py +24 -1
  7. infrahub/core/diff/parent_node_adder.py +78 -0
  8. infrahub/core/diff/payload_builder.py +13 -2
  9. infrahub/core/diff/query/merge.py +20 -17
  10. infrahub/core/diff/query/save.py +188 -182
  11. infrahub/core/diff/query/summary_counts_enricher.py +51 -4
  12. infrahub/core/diff/repository/deserializer.py +8 -3
  13. infrahub/core/diff/repository/repository.py +156 -38
  14. infrahub/core/diff/tasks.py +4 -4
  15. infrahub/core/graph/__init__.py +1 -1
  16. infrahub/core/graph/index.py +3 -0
  17. infrahub/core/migrations/graph/__init__.py +6 -0
  18. infrahub/core/migrations/graph/m019_restore_rels_to_time.py +256 -0
  19. infrahub/core/migrations/graph/m020_duplicate_edges.py +160 -0
  20. infrahub/core/migrations/graph/m021_missing_hierarchy_merge.py +51 -0
  21. infrahub/core/migrations/query/node_duplicate.py +38 -18
  22. infrahub/core/migrations/schema/node_remove.py +26 -12
  23. infrahub/core/migrations/shared.py +10 -8
  24. infrahub/core/node/__init__.py +13 -8
  25. infrahub/core/node/constraints/grouped_uniqueness.py +16 -3
  26. infrahub/core/query/attribute.py +2 -0
  27. infrahub/core/query/node.py +69 -19
  28. infrahub/core/query/relationship.py +105 -16
  29. infrahub/core/query/resource_manager.py +2 -0
  30. infrahub/core/relationship/model.py +8 -12
  31. infrahub/core/schema/definitions/core.py +1 -0
  32. infrahub/database/__init__.py +10 -1
  33. infrahub/database/metrics.py +7 -1
  34. infrahub/dependencies/builder/diff/deserializer.py +3 -1
  35. infrahub/dependencies/builder/diff/enricher/hierarchy.py +3 -1
  36. infrahub/dependencies/builder/diff/parent_node_adder.py +8 -0
  37. infrahub/graphql/initialization.py +3 -0
  38. infrahub/graphql/loaders/node.py +2 -12
  39. infrahub/graphql/loaders/peers.py +77 -0
  40. infrahub/graphql/loaders/shared.py +13 -0
  41. infrahub/graphql/mutations/diff.py +17 -10
  42. infrahub/graphql/mutations/resource_manager.py +3 -3
  43. infrahub/graphql/resolvers/many_relationship.py +264 -0
  44. infrahub/graphql/resolvers/resolver.py +3 -103
  45. infrahub/graphql/subscription/graphql_query.py +2 -0
  46. infrahub_sdk/batch.py +2 -2
  47. infrahub_sdk/client.py +10 -2
  48. infrahub_sdk/config.py +4 -1
  49. infrahub_sdk/ctl/check.py +4 -4
  50. infrahub_sdk/ctl/cli_commands.py +16 -11
  51. infrahub_sdk/ctl/exceptions.py +0 -6
  52. infrahub_sdk/ctl/exporter.py +1 -1
  53. infrahub_sdk/ctl/generator.py +5 -5
  54. infrahub_sdk/ctl/importer.py +3 -2
  55. infrahub_sdk/ctl/menu.py +1 -1
  56. infrahub_sdk/ctl/object.py +1 -1
  57. infrahub_sdk/ctl/repository.py +23 -15
  58. infrahub_sdk/ctl/schema.py +2 -2
  59. infrahub_sdk/ctl/utils.py +6 -5
  60. infrahub_sdk/ctl/validate.py +2 -1
  61. infrahub_sdk/data.py +1 -1
  62. infrahub_sdk/exceptions.py +12 -0
  63. infrahub_sdk/generator.py +3 -0
  64. infrahub_sdk/node.py +8 -8
  65. infrahub_sdk/protocols.py +0 -1
  66. infrahub_sdk/schema/__init__.py +0 -3
  67. infrahub_sdk/testing/docker.py +30 -0
  68. infrahub_sdk/testing/schemas/animal.py +9 -0
  69. infrahub_sdk/transfer/exporter/json.py +1 -1
  70. infrahub_sdk/utils.py +11 -1
  71. infrahub_sdk/yaml.py +2 -3
  72. {infrahub_server-1.1.7.dist-info → infrahub_server-1.1.9.dist-info}/METADATA +1 -1
  73. {infrahub_server-1.1.7.dist-info → infrahub_server-1.1.9.dist-info}/RECORD +78 -71
  74. infrahub_testcontainers/container.py +11 -0
  75. infrahub_testcontainers/docker-compose.test.yml +3 -6
  76. infrahub_sdk/ctl/_file.py +0 -13
  77. {infrahub_server-1.1.7.dist-info → infrahub_server-1.1.9.dist-info}/LICENSE.txt +0 -0
  78. {infrahub_server-1.1.7.dist-info → infrahub_server-1.1.9.dist-info}/WHEEL +0 -0
  79. {infrahub_server-1.1.7.dist-info → infrahub_server-1.1.9.dist-info}/entry_points.txt +0 -0
@@ -33,7 +33,7 @@ infrahub/computed_attribute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
33
33
  infrahub/computed_attribute/constants.py,sha256=oTMPEfRuf2mcfCkBpRLWRALO6nsLHpFm9jJGu0lowS4,446
34
34
  infrahub/computed_attribute/models.py,sha256=icUzsu0DrGoxMkBVXpNiv17rMo0OwpSE-QBJyWblMM0,2637
35
35
  infrahub/computed_attribute/tasks.py,sha256=rzzWBKrmCQ_ZXJ4Uv5XE7IDhdx39I0_HwyDTLYwkLKo,33238
36
- infrahub/config.py,sha256=DQFXa6e6nbW6McdLVViuCcKYlGjw9ytmYDsKU5l-Jdo,33605
36
+ infrahub/config.py,sha256=lAf4zimE5IBU7FiQGDJAKRdBnbWawpGzcELwv6yMs8Y,33912
37
37
  infrahub/core/__init__.py,sha256=z6EJBZyCYCBqinoBtX9li6BTBbbGV8WCkE_4CrEsmDA,104
38
38
  infrahub/core/account.py,sha256=sggpuO_QpwYH7wXG_lZDnrB5Izmej486o_CYiYjYin8,26497
39
39
  infrahub/core/attribute.py,sha256=H0vHLoNlp1KHI2Jw-Ti5FLmlwJqpYDcv4-9o3K1AsR8,42150
@@ -63,11 +63,11 @@ infrahub/core/diff/coordinator.py,sha256=Gk9j9im6oQ_EEznw6XgJGARLOzUJwSA9vgO8GKK
63
63
  infrahub/core/diff/data_check_synchronizer.py,sha256=g2Indp5Yw0FZon1pCzSopZQ5i_HLvCtlzcnIlYFb5X0,9138
64
64
  infrahub/core/diff/enricher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
65
  infrahub/core/diff/enricher/aggregated.py,sha256=-LnAeNKDo6mifjL3d3ylCg1A9dTZJBySngWPeF7DfrY,793
66
- infrahub/core/diff/enricher/cardinality_one.py,sha256=tuefTG0zIHUm-VwgIwTBEQyW76xJlcstNAEa-bwnmQU,6597
67
- infrahub/core/diff/enricher/hierarchy.py,sha256=Ey3PIRzResW6d5ovhHVrilmyQ2ZfuRZQIk0vatYIozY,7032
66
+ infrahub/core/diff/enricher/cardinality_one.py,sha256=z_XBV0eGzHID8D-KVJfHbnBRLoHcQ0LpeDGs4SBNZZg,6780
67
+ infrahub/core/diff/enricher/hierarchy.py,sha256=gr5urtmnP2Cxd3Bi36zS0eu8ZYPyigaA51YPrsyEcRk,7868
68
68
  infrahub/core/diff/enricher/interface.py,sha256=pmbWFPONRznDcAPMchVIRm0cTqMThkkwCby8XVLjGWU,265
69
- infrahub/core/diff/enricher/labels.py,sha256=yOqd7-j7QtHsRgMnE0pS25M_okuDFPt5wCTNoYHmdhg,9804
70
- infrahub/core/diff/enricher/path_identifier.py,sha256=6PE-PCf-7fvetScs1vDDSxwnXPRfqa5bvYV9BzFxKbc,3195
69
+ infrahub/core/diff/enricher/labels.py,sha256=uk2TdDp5yJegv-VJZ7rKxcvWmIdg8IWIF3PE7dP9DcY,9985
70
+ infrahub/core/diff/enricher/path_identifier.py,sha256=Fn90-SVCZVBrJjwmJuG9qm0TQmxFD60inXQnIC_lwLc,3378
71
71
  infrahub/core/diff/exceptions.py,sha256=R-i0mnzNwmHH9HQ1C7YAfL6tys-CbwQCIwTTmjfF_BM,546
72
72
  infrahub/core/diff/ipam_diff_parser.py,sha256=HSqo1KUF9UZVruZ-AD8Koc24pEzqE1nNh8oMoCostSA,6620
73
73
  infrahub/core/diff/merger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -76,9 +76,10 @@ infrahub/core/diff/merger/model.py,sha256=z1pjX0SXvZkqCqdcUKae73v6eEBrjUNotnkx0n
76
76
  infrahub/core/diff/merger/serializer.py,sha256=b6tSOkSkBTuxfKutHnSZGkC0_-PMitA9Im7f8RV4pDc,18410
77
77
  infrahub/core/diff/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
78
  infrahub/core/diff/model/diff.py,sha256=EM9yIkZauSeNP13RXn0RSz7IAdGOqUv3-QKJyAEfsD8,9589
79
- infrahub/core/diff/model/path.py,sha256=1GBG8lQcUiCeqavRDGi8muyeJU1M8TYQtAsmHwsymLk,29825
79
+ infrahub/core/diff/model/path.py,sha256=01w2pYRjJRYX7HV79jyDGu8vVNeRkSzpvmr9QU3huVU,30592
80
80
  infrahub/core/diff/models.py,sha256=wmOzW4xQ5YreDCr_i56YMFtxbM4-LRgZort49fGJ0BQ,441
81
- infrahub/core/diff/payload_builder.py,sha256=fzti6hA6bAWRySS3Y2fSoOhNwvQjeSRfyB76Dl6BkVg,1742
81
+ infrahub/core/diff/parent_node_adder.py,sha256=NWC47GxyRzM6tKxvrWTfmUs_yN3-1lh-LX25Bcxb9ps,2766
82
+ infrahub/core/diff/payload_builder.py,sha256=5R_QuPM5P_uQONmTDbtpIjhshs_OJCcXLnVYjWw-78Q,2094
82
83
  infrahub/core/diff/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
84
  infrahub/core/diff/query/all_conflicts.py,sha256=PIFQIU3uGHJx6GB9Fm_wwDjZX5U1J1yYBMf6Atesa24,3091
84
85
  infrahub/core/diff/query/artifact.py,sha256=tC2KYdCcxAjrMmLMjfwg3SwEiptxA5DrFjOCYkUXNQc,8815
@@ -90,22 +91,22 @@ infrahub/core/diff/query/field_summary.py,sha256=ZXYxX5f-nJ0rG_ZzfSxmF01OmkBYdSj
90
91
  infrahub/core/diff/query/filters.py,sha256=HnbeTo3W2n0gQcKYM4my7sQ0Syoj7aPy5WFkVp38qLc,3646
91
92
  infrahub/core/diff/query/get_conflict_query.py,sha256=fXJNx5hiZW3NLAbGITvC-iuRDhRkXFhLF3oRTOzgEqM,876
92
93
  infrahub/core/diff/query/has_conflicts_query.py,sha256=nftOmnAtDsNxxhpEoLcbQdalhgqx5ROckabou1CSv-Y,2531
93
- infrahub/core/diff/query/merge.py,sha256=HZgsf9tMIEZ_O-ztWBmF-L75nAO9LOe1lKo53Ehub9I,22902
94
+ infrahub/core/diff/query/merge.py,sha256=mk80O6Rsk7-P27C6YiOI96pS4smLqMuNfVFyo-vxXIY,23369
94
95
  infrahub/core/diff/query/merge_tracking_id.py,sha256=puDyqQv-g0jHA-ZuNNwHyJ2spbWOUoSZr131d0NOu0M,817
95
96
  infrahub/core/diff/query/roots_metadata.py,sha256=mwS8elSVxH-xHYdMd0maAGJ94sGY9oXk85jp59RsCQ4,2166
96
- infrahub/core/diff/query/save.py,sha256=5RaYepOLBw7hZRabBca0Hlqi0L9oFTJiJ7io_5kSls0,22044
97
- infrahub/core/diff/query/summary_counts_enricher.py,sha256=RKDJVAIKPGSaK3wqFwYNRLSgr3GdT0w2s26cW6LJe6Q,8436
97
+ infrahub/core/diff/query/save.py,sha256=tfeWCy5FdBgNcPWIO86NZb5DyemX18fLSCDqJ86zsCo,21617
98
+ infrahub/core/diff/query/summary_counts_enricher.py,sha256=6LcMWb_wNeRoYsMcDvM8IccchKtZJmL6QDx8W3GjVAA,10207
98
99
  infrahub/core/diff/query/time_range_query.py,sha256=W4CQlxfy37VysSc4aSpuklf-4pJFB57AxsjyL4ahatw,2987
99
100
  infrahub/core/diff/query/update_conflict_query.py,sha256=z19Y2l9T78A-ydQbqoWYt-eSXhaxMkrD_oLMuaW9FdA,1196
100
101
  infrahub/core/diff/query_parser.py,sha256=vhWfm7wm9j1SztBWHXBGA16ly467z7lBi5N_5QjASGk,37765
101
102
  infrahub/core/diff/repository/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
- infrahub/core/diff/repository/deserializer.py,sha256=zGPXWUxTqlMIpEOrpoGhVJvdMJOdm1Wo8U74HAbfrvo,20246
103
- infrahub/core/diff/repository/repository.py,sha256=TTVvpb6EaLnvmTAh6sLwfKMh5nWSibzB7sXRZIKTFvI,19445
104
- infrahub/core/diff/tasks.py,sha256=vJf3HdgkvBG5b_mnmFmdpd9xDeBOuD4XFgNSd1Wbex8,3045
103
+ infrahub/core/diff/repository/deserializer.py,sha256=gkFPByBY1nnmA6sjTJer76RWvwHCCqss4zGcVij3hDk,20647
104
+ infrahub/core/diff/repository/repository.py,sha256=xgTzmd_fdc-n7iX8E83sd3fOz25O4P3CEDQFpRMZjpI,24946
105
+ infrahub/core/diff/tasks.py,sha256=0EuasZKVk76ECpv5yKuqJ7_kGoplqx-_x7w-Di9IAsY,3018
105
106
  infrahub/core/enums.py,sha256=5wMcX9x6acU9CTa4B4b6rFwgRZ31N9c9TR3n2EO0BuI,490
106
- infrahub/core/graph/__init__.py,sha256=jwgNlvRvVs2_s5YC1TqeLucoKBHQ4pDox1v0tbE9oIw,19
107
+ infrahub/core/graph/__init__.py,sha256=MvHNUs4wiJa0gTdCMF6WObMfqStA5V391r31Y9RIVtE,19
107
108
  infrahub/core/graph/constraints.py,sha256=lmuzrKDFoeSKRiLtycB9PXi6zhMYghczKrPYvfWyy90,10396
108
- infrahub/core/graph/index.py,sha256=a_heYVd5mvDx9kSb8-YnvsPNbsN0Lu-GcnEdW1n72Fk,1409
109
+ infrahub/core/graph/index.py,sha256=oR6wyYpJbq2IVVzUdiuGyWA511hw2AvgklFoBmQk-bM,1619
109
110
  infrahub/core/graph/schema.py,sha256=FmEPPb1XOFv3nnS_XJCuUqlp8HsStX5A2frHjlhoqvE,10105
110
111
  infrahub/core/initialization.py,sha256=sixtwg-KUGET4ZHcLngPx9t2fvUEPeIQoVg1MrnSSIg,20390
111
112
  infrahub/core/integrity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -122,7 +123,7 @@ infrahub/core/ipam/utilization.py,sha256=Urv0thyR6xYgwyQaZDnx170Wcw8nKKZkBymwNTM
122
123
  infrahub/core/manager.py,sha256=e2rawz77UG3tLOz3J-JL6-UpJDyJui3uSDg_APnFnAE,46544
123
124
  infrahub/core/merge.py,sha256=ibXM0Rb8qVoBuGiW8q6JYdFsLQ9DS-PPTBoK4R2mPhg,10354
124
125
  infrahub/core/migrations/__init__.py,sha256=PBewY3fZkqVMABRo_oTZkDtdD7HfCC9nCn-DXtTca1g,1150
125
- infrahub/core/migrations/graph/__init__.py,sha256=nrPqecgr5myTmwnoucWV8ktzs3JoV5whm8WgKdKWfew,2043
126
+ infrahub/core/migrations/graph/__init__.py,sha256=jKTE6FK5RRuudsnal6cL1wXoy7pAHUR3k6GZGBMFlqQ,2251
126
127
  infrahub/core/migrations/graph/m001_add_version_to_graph.py,sha256=x_dYBnrZtNQiB6TSl4xwXR-Phn7-4EgrJce76ZfPe_c,1499
127
128
  infrahub/core/migrations/graph/m002_attribute_is_default.py,sha256=m0uW3rkDjcYEmuHcTH8ngWxenJ5K0_TkVV00L-Ec6Mw,1004
128
129
  infrahub/core/migrations/graph/m003_relationship_parent_optional.py,sha256=69RIuLB6YoNOOJ9og1DuUxuWSdTbxbSv6uk25-KsHUI,2313
@@ -141,11 +142,14 @@ infrahub/core/migrations/graph/m015_diff_format_update.py,sha256=gqODErzvu8O14lM
141
142
  infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py,sha256=hniXIH3DfUnNbbudBi6BADMzsVo-pBmdMhkLGemiyVM,1259
142
143
  infrahub/core/migrations/graph/m017_add_core_profile.py,sha256=T-IrK3DW7m_xS4xp3_4kpgiAEP_NyVyc3UukCG8tilI,1447
143
144
  infrahub/core/migrations/graph/m018_uniqueness_nulls.py,sha256=QPQT9ID6idIXizDG0xtzfob_XHG_5LNdv90qD7Lwjng,4785
145
+ infrahub/core/migrations/graph/m019_restore_rels_to_time.py,sha256=H0pQLkn-iup_-dl7S-jA6BHAeAmz5oBx9IqVLIfcMkw,11718
146
+ infrahub/core/migrations/graph/m020_duplicate_edges.py,sha256=ec5Z_HF_5MKEQ6gAEvzRM8sxdAsD3lg3eR96fMQ-2lI,6722
147
+ infrahub/core/migrations/graph/m021_missing_hierarchy_merge.py,sha256=JSfkkuqvmSwlXDgyAN__Ypn4J5qhCUPdzAKiaZgqWYU,1606
144
148
  infrahub/core/migrations/query/__init__.py,sha256=JoWOUWlV6IzwxWxObsfCnAAKUOHJkE7dZlOsfB64ZEo,876
145
149
  infrahub/core/migrations/query/attribute_add.py,sha256=gLibqL1TKtt8ia1UQBxL8vyVDibUPlP3w_vp5bp4XsQ,3507
146
150
  infrahub/core/migrations/query/attribute_rename.py,sha256=lotPE_XRqyJQisnrgXtH_cg-0qHMqhtUlT_xcRP84TU,6955
147
151
  infrahub/core/migrations/query/delete_element_in_schema.py,sha256=6hSRaqGv-CzVZdjDn8HfkJaPqn_jiPPuZIfKPFG1wjg,7035
148
- infrahub/core/migrations/query/node_duplicate.py,sha256=NuZC7MhHJX71usaZE6lJK3jGuEZDxRZZD86NMt49hWs,6557
152
+ infrahub/core/migrations/query/node_duplicate.py,sha256=aWl1Iq7-W6UIOrxaG7auNZ09JRu4S1zdk1f8PECC4pQ,7761
149
153
  infrahub/core/migrations/query/relationship_duplicate.py,sha256=UymElii3btX_xq7wq8B9nnuY4qT-gLMYzfPEnaKGqyQ,6977
150
154
  infrahub/core/migrations/query/schema_attribute_update.py,sha256=Pnd9276T6NaZuaJlEvh-URGEQw5eBn3NJqwaUjFyMxM,3379
151
155
  infrahub/core/migrations/schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -154,16 +158,16 @@ infrahub/core/migrations/schema/models.py,sha256=bvDxoF2KIoBTN3ymiW_eDb5yxJggyIz
154
158
  infrahub/core/migrations/schema/node_attribute_add.py,sha256=4_g1W1wqfN3MT9GSAHAUEAZiLeAmvbUp88vauexTzdk,1085
155
159
  infrahub/core/migrations/schema/node_attribute_remove.py,sha256=bVxu8El77i3nMg0lsx5D35cCfWFFW_ugud1gnVXtvLI,4509
156
160
  infrahub/core/migrations/schema/node_kind_update.py,sha256=scVJz4FhiI2meIVSDTbc9Q6KfGksMDLMwnuxsaZX1aU,1454
157
- infrahub/core/migrations/schema/node_remove.py,sha256=kjghM8NAypDHRVnomYe-1jIa-VPOaduhRLUMiW2fXsw,6274
161
+ infrahub/core/migrations/schema/node_remove.py,sha256=hr-3V403DU4pz8aRgddVgFMxXZjhOQIwXBP_IU8dLTY,6842
158
162
  infrahub/core/migrations/schema/placeholder_dummy.py,sha256=3T3dBwC_ZyehOJr2KRKFD6CXaq8QIjVk0N-nWAMvFYw,308
159
163
  infrahub/core/migrations/schema/tasks.py,sha256=qrHz2dW-lwp1K3EWNnAAqh5HZn15-SgZQceOF-hC7Mc,4111
160
- infrahub/core/migrations/shared.py,sha256=y60PTvFKrwLB3SrCmsXr-XR188mJGDGpqZj_9qwmr8U,7133
164
+ infrahub/core/migrations/shared.py,sha256=kMx_Cu8EW1Q7mPzjY4Uxrzk5DhTd7KRzWQnCdJ_hEmI,7222
161
165
  infrahub/core/models.py,sha256=vkxrU_CNccRC-w7YKq-eibqjlJz-CnEaa-j9oIsaus4,24269
162
- infrahub/core/node/__init__.py,sha256=T2zpQdd8MSAnHruaTKx3u0Puhwz4MS01rvyt4hPy_dE,30773
166
+ infrahub/core/node/__init__.py,sha256=IfH8cb_5OZRsLbkNjGPHXuvkjDHFiNw7-aAEEtOp_Nw,30693
163
167
  infrahub/core/node/base.py,sha256=naK0ZmWTnwNTESvRRfSTybleBoGELZKm4bdUa9QmZvw,2655
164
168
  infrahub/core/node/constraints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
169
  infrahub/core/node/constraints/attribute_uniqueness.py,sha256=jbZP_c4oAIMfLte1x666JbV8it764VD2E44_hxsHZRY,2115
166
- infrahub/core/node/constraints/grouped_uniqueness.py,sha256=2Pupx8ISxex7td_ElelV0rVYuhMq1kINiB_rAC2Xhzg,9123
170
+ infrahub/core/node/constraints/grouped_uniqueness.py,sha256=tVeXVf_4e2fyaBeyOIoj2dIePSXAue7EHBMxGdt9KEE,9781
167
171
  infrahub/core/node/constraints/interface.py,sha256=K53ht1ozEiDV8LKKdd1slAByh0VP5CUT4_VE9MrkiGU,325
168
172
  infrahub/core/node/delete_validator.py,sha256=KkCh5F2osBwVv0Wl2f9BB74ywhOsPgNXkYFOEO9zojs,10541
169
173
  infrahub/core/node/ipam.py,sha256=JvWP3tZ2DtMHz6EBgPa8GixgvuMa6_dAt24glDuJu2c,2974
@@ -178,14 +182,14 @@ infrahub/core/property.py,sha256=Sc7XuJ0EYDGc1ddKtXWhCYCcV9b01E5mOET1d7TojaY,516
178
182
  infrahub/core/protocols.py,sha256=n7-VnK_bYPfVCEiiPtjEGDR9_anY4NwVkAmaV2fxyts,10742
179
183
  infrahub/core/protocols_base.py,sha256=_P1ZG3Vk67TqFwpqca0om-PqZ-UylMONF_Y2RHn2Hhk,3373
180
184
  infrahub/core/query/__init__.py,sha256=iXvVvRB5s6f06UxBqkOucrbH7fOuUgyu1M8VXnlMNKE,23296
181
- infrahub/core/query/attribute.py,sha256=-84v73Je49QpYcdBcBS6Acj8i8uIGFaOxJyFd2kszD4,11756
185
+ infrahub/core/query/attribute.py,sha256=Kcpkqpa9bOskqb9E3VgKdEP6J2WeOD-ao0_yg8dj0AY,11791
182
186
  infrahub/core/query/branch.py,sha256=OmYS1n1U4NEbDXBrPAM9lvh_qb_prbRdNnC07N1k-Mw,4561
183
187
  infrahub/core/query/delete.py,sha256=BsCeUb11Le3NU2hLMcu05acvWrRVrGncxGxpkWTIzJE,1902
184
188
  infrahub/core/query/diff.py,sha256=73Jy-D1wd6GYpUoRb7MGDMkgSuX6KeQ_8swaYLhgJQU,31942
185
189
  infrahub/core/query/ipam.py,sha256=xWCemBaiOA00eU3sB8XmOdNOJ1L69Lls3L2GIw5P_CU,28123
186
- infrahub/core/query/node.py,sha256=qdZYjUcNQTM3o3HLwnbC8xG2WqdGXwFFuQL2X7glPmU,59747
187
- infrahub/core/query/relationship.py,sha256=3NobAJQuAWoshPas9mQtLJi1RDCzxsf9TJyGPYByy7I,35089
188
- infrahub/core/query/resource_manager.py,sha256=yzAYu6E7szjD8ZBaInivpOfmbMHLEFtHHcha_2OE7Yc,12527
190
+ infrahub/core/query/node.py,sha256=nA7o6ZvPMY4Jx1C-LBzqmF_BTNPs_FI7gFuB11lyWe4,61188
191
+ infrahub/core/query/relationship.py,sha256=Fzg9FvbFj9KsvlzWSwmOj2Ae9qPoaFJa4mzYe77D1qE,38628
192
+ infrahub/core/query/resource_manager.py,sha256=3B-4-gTNomAyvkw88KHwHbjClIp4SlSJL0cGb-dZVyw,12568
189
193
  infrahub/core/query/standard_node.py,sha256=Wh9ekHhfamxizri_1M5EQFcgJWyIvtAMQRz9nEKOL3w,4437
190
194
  infrahub/core/query/subquery.py,sha256=5vSBz8CuQHXmka1LtWZp4RDClA0IfJFi0L2cb9uZRZM,7636
191
195
  infrahub/core/query/task.py,sha256=DjcNUt4PXdvIDq_e_F3bHFEA_Hxd6-HLD6FkuuoAQic,3089
@@ -198,7 +202,7 @@ infrahub/core/relationship/constraints/count.py,sha256=q2KJu4azD3Ad2Zagjz2SUzxd5
198
202
  infrahub/core/relationship/constraints/interface.py,sha256=96A_IRKAU6FCS3Nqiey5WmUnA4PO73nOlBk5DgUCjbc,296
199
203
  infrahub/core/relationship/constraints/peer_kind.py,sha256=d0Ca4tLt45kU1yfe3UN793Dy6ad42mepvXOi8qgo68c,2520
200
204
  infrahub/core/relationship/constraints/profiles_kind.py,sha256=ztnc5uh84h-IANHxn6HfIHcJJf4Cga_3waXEh7eIMrQ,2449
201
- infrahub/core/relationship/model.py,sha256=Gw1FS6FKAq935aqwY6Vufj9gLu9-TDkwibPXkckcnCo,45373
205
+ infrahub/core/relationship/model.py,sha256=MXhQBmewKUC6YUsdeC9W_Hcqub9sgyG2eROOY5AUpOU,45298
202
206
  infrahub/core/root.py,sha256=8ZLSOtnmjQcrjqX2vxNO-AGopEUArmBPo_X5NeZBdP0,416
203
207
  infrahub/core/schema/__init__.py,sha256=0L8vLxx7VwuqCkySA3PgZa91rfnIWeQcuwfeDqFqMZM,3926
204
208
  infrahub/core/schema/attribute_schema.py,sha256=oyU-Z8BFLnyEy1q41uukfVQKMUevS0sZ8Ug2m_J3MXk,5022
@@ -206,7 +210,7 @@ infrahub/core/schema/basenode_schema.py,sha256=wPw-qYh1utxjWzLcrwZ8col8ZukfAx7HB
206
210
  infrahub/core/schema/computed_attribute.py,sha256=Hf5_2p01SSaIJ_oo4Vkpw7E_Z2FtV_8M0RB1Ol4IebA,1825
207
211
  infrahub/core/schema/constants.py,sha256=KtFrvwNckyKZSGIMD4XfxI5eFTZqBRiw54R7BE5h39Q,374
208
212
  infrahub/core/schema/definitions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
209
- infrahub/core/schema/definitions/core.py,sha256=Pabmlu1Bcl9N4yPQwfDIKsbYdaw3Ymwso4nsr6vdWrw,90939
213
+ infrahub/core/schema/definitions/core.py,sha256=tW5XdhaYRD4UFJav8nVCeGsBwldpNg7el9stphG-wGc,90994
210
214
  infrahub/core/schema/definitions/deprecated.py,sha256=PUXfRupaxNT3R_a6eFnvAcvXKOZenVb7VnuLAskZfT0,829
211
215
  infrahub/core/schema/definitions/internal.py,sha256=WED6KC6KUjX4RVdOxJhNmB07eR63weP1fXm0DjO9-XA,32251
212
216
  infrahub/core/schema/dropdown.py,sha256=kBj0ycNeGSzL8rQ0th3lEH-pd1KJ93pAVNE0-7wW-8U,642
@@ -263,12 +267,12 @@ infrahub/core/validators/uniqueness/checker.py,sha256=IqreVcMPZj7nNhC5cc5SlBSZ-P
263
267
  infrahub/core/validators/uniqueness/index.py,sha256=yu-clITQF4MrgK36hsyuXllvR4QkVTqy4ugi_Y_C_Sg,5081
264
268
  infrahub/core/validators/uniqueness/model.py,sha256=EPl8X91BSGXGU7GWbUSue6laNGhAtIiXj7rFaz56Kvk,5197
265
269
  infrahub/core/validators/uniqueness/query.py,sha256=DigQCR5278wBiXNXhy1FFTTVQewlf2Q8rCcuSmyilkQ,10171
266
- infrahub/database/__init__.py,sha256=kAoCPRqfxNWTRu9o7-xCWLLryvMbf5OiG6Th5H7aFhQ,20123
270
+ infrahub/database/__init__.py,sha256=lF6RbdP0huD_XG9Y168yo6lBZBVHL93JsYFE_JuygzI,20766
267
271
  infrahub/database/constants.py,sha256=WmV1iuOk4xulxZHOVvO3sS_VF1eTf7fKh0TPe_RnfV4,507
268
272
  infrahub/database/index.py,sha256=y0sWXO3tdIr1wL1XC9O6iNRV-Elu2KAXFOiYXRIIhN4,1659
269
273
  infrahub/database/manager.py,sha256=BDXNw1RNBeSFV-EZd0aGFbPNuoqlKwrkDqmYB7sy4tU,317
270
274
  infrahub/database/memgraph.py,sha256=Jj5f8Rq2eNx1OSUiLVf8eM0Egf_8HG3wIuZJOPt9hAA,2018
271
- infrahub/database/metrics.py,sha256=lpE81u2glhrqCNj9RRv07GT9jaFhsVKZh9U0Y9OIeNA,560
275
+ infrahub/database/metrics.py,sha256=xU4OSKFbsxcw_yZlt_39PmGtF7S7yPbPuOIlSCu5sI0,739
272
276
  infrahub/database/neo4j.py,sha256=IE5lSevKqu-tJa3KF_bj_gOUx-SpZNdmGOl6oheNhiY,2624
273
277
  infrahub/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
274
278
  infrahub/dependencies/builder/constraint/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -306,15 +310,16 @@ infrahub/dependencies/builder/diff/conflicts_extractor.py,sha256=LL_Tvsp-I6R1q9I
306
310
  infrahub/dependencies/builder/diff/coordinator.py,sha256=7Z4SwtkKicZLnWQl_sZFKpHkSWqa1co_ijsBExWlVQo,1479
307
311
  infrahub/dependencies/builder/diff/data_check_conflict_recorder.py,sha256=ABMNwa0H6uo-WW_EjhFXMEdFkIJ2e6cBY9yPuiGbhUE,683
308
312
  infrahub/dependencies/builder/diff/data_check_synchronizer.py,sha256=k8mc4yAd7hczXajaMfw9yQ04b3qtqD1Jm5G4uDbmNNc,890
309
- infrahub/dependencies/builder/diff/deserializer.py,sha256=lw7WhTW9bEtxKmdo-iq75oMKgchboPW085tN1QVfotM,391
313
+ infrahub/dependencies/builder/diff/deserializer.py,sha256=bC4ixLHGFtvIPKcSZpKwyGL9HjmS9ZSnjbMjJm4fT50,518
310
314
  infrahub/dependencies/builder/diff/diff_merger.py,sha256=4b--RJTLE5I5jdcB9JirXanT29-yA5I1ad25GXOnHm4,775
311
315
  infrahub/dependencies/builder/diff/enricher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
312
316
  infrahub/dependencies/builder/diff/enricher/aggregated.py,sha256=G6v4ds0Vpx_6QXPBP7kiEZaUZ1BWJis-9WLxBDsSt_E,964
313
317
  infrahub/dependencies/builder/diff/enricher/cardinality_one.py,sha256=84JJmbFr4ZzrI8hoTei1kskws734RpYsx3wdNN0D6OU,423
314
- infrahub/dependencies/builder/diff/enricher/hierarchy.py,sha256=waPTBwZSe3wmynGcLrEzpoCQZm2sfh56h3Cg46vWfq4,392
318
+ infrahub/dependencies/builder/diff/enricher/hierarchy.py,sha256=7KZ-Oo5uiaQDc-MjOYx6XWqMb_zIzQKeZFwSMpJUL_A,522
315
319
  infrahub/dependencies/builder/diff/enricher/labels.py,sha256=EZy4OWEGbb1OUhARD0SOSBJSCzdXHIT_c5RpM9GxLCk,374
316
320
  infrahub/dependencies/builder/diff/enricher/path_identifier.py,sha256=Pv31HAzacLkkV1p5lra5Kg9epAWp_uTjLVAqAMCpEUw,423
317
321
  infrahub/dependencies/builder/diff/ipam_diff_parser.py,sha256=ZFEMMXWe0x8gr2gyPFuHfto9DtZZSUbZisragYKOhvs,639
322
+ infrahub/dependencies/builder/diff/parent_node_adder.py,sha256=qF4siDliMYxL1Q8A0KgkzWOLivVqbC3qfC0UVQLHq_k,368
318
323
  infrahub/dependencies/builder/diff/repository.py,sha256=Z3-61TcDJyl8Am7yD-h5a0S0A6aTXl2asDnMKqE3oBE,478
319
324
  infrahub/dependencies/builder/ip/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
320
325
  infrahub/dependencies/builder/ip/kinds_getter.py,sha256=ebquLE5asdRqlnelKTvrU63sfN4V6JN2GEE3dFXnCNY,356
@@ -366,9 +371,11 @@ infrahub/graphql/auth/query_permission_checker/super_admin_checker.py,sha256=8gC
366
371
  infrahub/graphql/constants.py,sha256=iVvo3HK-ch7YmHw1Eg2E_ja3I45cNAwjpYahsnu85CI,37
367
372
  infrahub/graphql/directives.py,sha256=wyIkJFp7l0J4JqNl1Lqu7YfKXP7glrewlQFMDTUAPcE,645
368
373
  infrahub/graphql/enums.py,sha256=CjGgywkA44MrmTmHxoOoieRPtdmk1bEYzVGxAXUT5as,819
369
- infrahub/graphql/initialization.py,sha256=LMoVOcAeOtnFN6mZV_rLcnjSCBDTY564fLS8TivZ1ak,4055
374
+ infrahub/graphql/initialization.py,sha256=pnXsXHHtmeJghm_yR3ddzk4NNR_nQ379p72Q5uqnddU,4261
370
375
  infrahub/graphql/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
371
- infrahub/graphql/loaders/node.py,sha256=gPV8tmbmmiusRbLk-wHlOyDIoGBXnpiDYiuKNsXapaM,2969
376
+ infrahub/graphql/loaders/node.py,sha256=sY6mMEG7ApYi3zGEzyIMTkBxMelX3dPGSgDroTSbW8Y,2637
377
+ infrahub/graphql/loaders/peers.py,sha256=fOdgaaPBtBiiLKg8Rws4zXvpyCzUhszgxhDAeXkzETA,2785
378
+ infrahub/graphql/loaders/shared.py,sha256=7O0Jaeb5-urt75XfRQ97a_pgJgs6ZY0TnKAZPUI9eKs,390
372
379
  infrahub/graphql/manager.py,sha256=qF23ffrdbzy4p2crY1RATX8w-AklZkENolM-bNTKJJY,44303
373
380
  infrahub/graphql/metrics.py,sha256=viq_M57mDYd4DDK7suUttf1FJTgzQ3U50yOuSw_Nd-s,2267
374
381
  infrahub/graphql/models.py,sha256=7kr3DSO_rujPocMIfPyZ5Hwy3Mpnu4ySDMAIE9G5Y7Y,147
@@ -378,7 +385,7 @@ infrahub/graphql/mutations/artifact_definition.py,sha256=DQofuL3YqLordJEl6MJqFti
378
385
  infrahub/graphql/mutations/attribute.py,sha256=a35MP8Pvy_42N5dkO3HKATgJDW6qy9ncDu5t8YI3AUE,2734
379
386
  infrahub/graphql/mutations/branch.py,sha256=PmyoQKdFouDGjMUgy9vLyN3HJfyohS5D7DHpMiL8eKE,8533
380
387
  infrahub/graphql/mutations/computed_attribute.py,sha256=8FmG2gY6Pls1ZpmAcW8AmMMAYtyOJJOwqyHub68W6GA,4118
381
- infrahub/graphql/mutations/diff.py,sha256=rp6zxOVQ681QpiASLjPn_ghQI6COEGd3U8dpJJ_Lp9U,4057
388
+ infrahub/graphql/mutations/diff.py,sha256=4AdW-gvKyXn5UWHi-IaXL5Tw_TxnE-_LrdtXE91Swu0,4386
382
389
  infrahub/graphql/mutations/diff_conflict.py,sha256=Rx0TvqDK_jqtJlK9vKkBcTI5ybVADi524kazr4WwVYk,2779
383
390
  infrahub/graphql/mutations/graphql_query.py,sha256=zn6GrSixspdoxnjQJk68l2HlwDDPfU7z3L_GIK84qjA,3341
384
391
  infrahub/graphql/mutations/ipam.py,sha256=S26y3k-s6obkHKE2BVQi8FuJk8xxzGPQZFCEpLA7bgs,16887
@@ -393,7 +400,7 @@ infrahub/graphql/mutations/node_getter/interface.py,sha256=aLPUTB3oxb4MduKCTeXvi
393
400
  infrahub/graphql/mutations/proposed_change.py,sha256=6wYany-bI1sk3G0_rORubQ6XWK1bRWi8hgrxP-Pod9Q,9366
394
401
  infrahub/graphql/mutations/relationship.py,sha256=Bz-iJVt0bfPO_ySfh-WQX_wurpGJCPgXBCqXPEvkLNs,8115
395
402
  infrahub/graphql/mutations/repository.py,sha256=TfqNrTZtZqqvVGDumWcFidilzS31AvHfirfzojpq6uE,10837
396
- infrahub/graphql/mutations/resource_manager.py,sha256=b9K-c6a_noqzB5yKHZDMJSIO3_StXHZnzcWSD9WTrik,8784
403
+ infrahub/graphql/mutations/resource_manager.py,sha256=Tc7Iu75OLdmHUf8Rjuce7n4V8ExnfdHZJYtfHIDgQUk,8818
397
404
  infrahub/graphql/mutations/schema.py,sha256=v354ubGGcoXRjNVVq49csKo16RCxOPtP1pLKbE3jemE,11418
398
405
  infrahub/graphql/mutations/tasks.py,sha256=uTqH4PxFhOij8jH1fqw8E_kc5ninEv5rh4IgEmgHWVE,3575
399
406
  infrahub/graphql/parser.py,sha256=VP3Ot0kC3gAd85TXsIW0nfsVv2JolWMkKdVExgmAglo,8631
@@ -412,12 +419,13 @@ infrahub/graphql/queries/status.py,sha256=F3UpRHocUrJRQeOyI1PYa9W-2YDwTBTdGU-CyC
412
419
  infrahub/graphql/queries/task.py,sha256=qBL54BBKRW3vRxg1bIIM88c6Yfrq6IiH2-zc-m-NdTk,3491
413
420
  infrahub/graphql/query.py,sha256=FbYKa9Y5h33jKR8JA4mD3W7FXkCsTd8qWbJ2CdiUXKk,1587
414
421
  infrahub/graphql/resolvers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
415
- infrahub/graphql/resolvers/resolver.py,sha256=GXtO1ik4-msL98MShk-aSzMucLvuKNM5jj936AcOCho,14099
422
+ infrahub/graphql/resolvers/many_relationship.py,sha256=jthzwVi8IZ-ZVpzr0OkFuknd9MD0rWmdRIzSVmigkd0,9587
423
+ infrahub/graphql/resolvers/resolver.py,sha256=1UMP36G467BCkIKjzweGxNfiMzNqNL_QZcY9WuqqElY,10579
416
424
  infrahub/graphql/resolvers/single_relationship.py,sha256=3MtfoR0w-OUcuOkZXVje3BbTTCSPzabh74jSm3tyAPs,6660
417
425
  infrahub/graphql/schema.py,sha256=4M1YYW3yUO99TKsCUDBG2DAyHsvHVoy6eBbRmg7s_Qk,3498
418
426
  infrahub/graphql/subscription/__init__.py,sha256=BaGpWIjP_O8kSHKvWtRQseJtSpcfRlePNPhZf6HrTa0,1189
419
427
  infrahub/graphql/subscription/events.py,sha256=dlawTJljVc7SN5kKag5jOyW1lQuxEBq3PIMSHXQ-09M,1873
420
- infrahub/graphql/subscription/graphql_query.py,sha256=j-W9GzfTH6vIfI0GSMmCiSEYu9Kg6bfjjfGAFIxm7_Q,2044
428
+ infrahub/graphql/subscription/graphql_query.py,sha256=4XimqnKfEF7E318ZzA2rLazeu6_U11sSyq16Itw8c4I,2201
421
429
  infrahub/graphql/types/__init__.py,sha256=oP4DhYAteHkc8LiQsIRHE1q2jaksfc-VvAO1urkmI4k,1895
422
430
  infrahub/graphql/types/attribute.py,sha256=bc2q44q8j5DTNdwBMe0SgG7Rbk8si1h-8SyqGIa-Rn0,6594
423
431
  infrahub/graphql/types/branch.py,sha256=8C07E3ne1Rk0MQtzLchaJwiQqPNDHIVT59t_y1d3wNs,1393
@@ -582,46 +590,45 @@ infrahub_sdk/__init__.py,sha256=weZAa06Ar0NO5IOKLQICtCceHUCKQxbkBxHebqQGJ1o,401
582
590
  infrahub_sdk/_importer.py,sha256=8oHTMxa_AMO_qbfb3UXNfjSr31S5YJTcqe-YMrixY_E,2257
583
591
  infrahub_sdk/analyzer.py,sha256=UDJN372vdAiuAv2TEyPUlsSVoUfZN6obWkIokNNaHbA,4148
584
592
  infrahub_sdk/async_typer.py,sha256=Gj7E8EGdjA-XF404vr9cBt20mmbroQh7N68HXhWYx00,892
585
- infrahub_sdk/batch.py,sha256=WSAPAPvRvcHR7aCFH56RcqKaVxsig1A5nIdg0mmSZBQ,3879
593
+ infrahub_sdk/batch.py,sha256=LRZ_04ic56ll9FBjgXCYrJRDJcwB3wR1yX4grrQutDQ,3795
586
594
  infrahub_sdk/branch.py,sha256=hmtoIekQ1uusoJ6yEKlw6vrFMTAHJrXu-YsqqCQC_kc,12716
587
595
  infrahub_sdk/checks.py,sha256=AmlCim-9Mbhpye_yYAaV_NM-pFL4_JvQGEVM3cJsaqY,5700
588
- infrahub_sdk/client.py,sha256=yuD-uvx_5LLXqHm9sjo0jei1AH-xGgl4DhYJcoqH8uw,99592
596
+ infrahub_sdk/client.py,sha256=ghBkCtPKxuHuC6imz96ICy3oPyxnyPqWF7KUSuLfqYQ,100024
589
597
  infrahub_sdk/code_generator.py,sha256=UJoqofjO7WSHygORhok0RRUv7HG4aTcl6htczaKNBjc,4411
590
- infrahub_sdk/config.py,sha256=hjF4Fo6NrxxLHaS1XBZ1O2o0aU7IILEyhPXRiiRedjc,7190
598
+ infrahub_sdk/config.py,sha256=irv7a1YRBGA8L9eMak6J7GG9dzG3sOQeKsyEOkJHw-s,7302
591
599
  infrahub_sdk/constants.py,sha256=Ca66r09eDzpmMhfFAspKFSehSxOmoflVongP-UuBDc4,138
592
600
  infrahub_sdk/ctl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
593
- infrahub_sdk/ctl/_file.py,sha256=FdbveH5t6jVZvANTGDYKRTt1BhfnL6D_6qKDiJlXxkE,498
594
601
  infrahub_sdk/ctl/branch.py,sha256=CgKi7GwkI0cebbYOfaQQd3h7uG4JVmoEUVQHda_MOr4,4733
595
- infrahub_sdk/ctl/check.py,sha256=0OyicWSCUsuHOn5ef2t6LBcIKJugzKCdlsUsb44tfKI,7921
602
+ infrahub_sdk/ctl/check.py,sha256=HWsK1rTpGF2VvRBiS5KZrRxXrsAHDXoFS3wJkmq8pik,7895
596
603
  infrahub_sdk/ctl/cli.py,sha256=A9jJKYBo5opzIIyWYf6niyAHhy49V59g6biueMDFbpE,328
597
- infrahub_sdk/ctl/cli_commands.py,sha256=d46DBf6hRynKEn_olTuaVnPF1qgo6paF0mlSPtENkGA,18889
604
+ infrahub_sdk/ctl/cli_commands.py,sha256=pzLhVWGHlbsbrtbHrczsiJDRksYDkIIYfilyKMaKJNM,19046
598
605
  infrahub_sdk/ctl/client.py,sha256=6bmXmQta9qQCJ8HybQwt2uSF2X1Em91xNFpwiKFujxs,2083
599
606
  infrahub_sdk/ctl/config.py,sha256=y3kTvfxDO2FKzgvaIXKPKOES7BqXT-s9Kuww7ROfs-4,3039
600
607
  infrahub_sdk/ctl/constants.py,sha256=owzqZB_xkTzxsYvX3NyuSwATzA0rIABmbKiWzuqz3aw,3229
601
- infrahub_sdk/ctl/exceptions.py,sha256=U3y76emz3vbj55SHAeB58CEK80UFBVnSIBNUHpm_BNs,467
602
- infrahub_sdk/ctl/exporter.py,sha256=cxnnLFGg845zgvzBGNrhJbvf3v771bMZmHZ509hqR60,1878
603
- infrahub_sdk/ctl/generator.py,sha256=jVsI0w6CeQQuGpo1-bcR2_4jCgs00Owe7JU_tJdRp6c,4126
604
- infrahub_sdk/ctl/importer.py,sha256=VAFKlOY0YLscF79Rzws7n1NTOQORFoW2mvYORW4vbPU,1879
605
- infrahub_sdk/ctl/menu.py,sha256=6cd_0KDiUUu73nXtDlg-oots8DKqaHcYBy-llpDEN4g,1465
606
- infrahub_sdk/ctl/object.py,sha256=_E0DYtaoPZVAuaT-a4Ar6ZoIpsMsc0rn_0flEQKgfto,1284
608
+ infrahub_sdk/ctl/exceptions.py,sha256=RPdBtIj5qVvNqNR9Y-mPNF7kDUxXUUCac5msyitrBXo,272
609
+ infrahub_sdk/ctl/exporter.py,sha256=CmqyKpf7q5Pu5Wfo_2HktiF12iD_3rJ9Ifb48BIoJdU,1876
610
+ infrahub_sdk/ctl/generator.py,sha256=sj_QcuUIy0Sd3jKXAP5Y-DZ6iuwWGwacegjYiCx0CPg,4166
611
+ infrahub_sdk/ctl/importer.py,sha256=0QSKzkynI4eeQHHsTIWlEaj7mPrTdscQeXrrOzqtyig,1908
612
+ infrahub_sdk/ctl/menu.py,sha256=Kb2F8nLYw29X9ypV-Ku8jonGTmMFOq2tAD_fnGk_k2U,1463
613
+ infrahub_sdk/ctl/object.py,sha256=s76ziUqVqSG1fKcdtldSlREpi-aq0IUgSBvnX9L2xw8,1282
607
614
  infrahub_sdk/ctl/parameters.py,sha256=aU2H41svfG309m2WdH6R9H5xgQ4gevn3ItOu5ltuVas,413
608
615
  infrahub_sdk/ctl/render.py,sha256=KJsZQ6iNW4u8K_dtEKmJxtTpkSMR_zP2YT-IP6Z85tc,401
609
- infrahub_sdk/ctl/repository.py,sha256=jyfRRE3mMPMEKJUIr5XfCdG9Y144MvDT86sE-op_mWY,4754
610
- infrahub_sdk/ctl/schema.py,sha256=28eHiWWsuQgOVa8FiIa94pb6tk6-xTQXq9Il2MnbnkU,7060
616
+ infrahub_sdk/ctl/repository.py,sha256=JUyrV_oOayP1SHOb7Y35eZI_pwjtH69iH6lh8TsnmRs,4900
617
+ infrahub_sdk/ctl/schema.py,sha256=791JU9ZylqeXQTy7xBMN_4WKnVQgbStvFvEZ8nAkOY8,7056
611
618
  infrahub_sdk/ctl/transform.py,sha256=5qRqiKeEefs0rda6RAFAAj1jkCKdbPYE_t8O-n436LQ,414
612
- infrahub_sdk/ctl/utils.py,sha256=_Uy-AAgFzp7CqrO1cfFOhAspScv3wlGeBwMqwf_FZAs,7006
613
- infrahub_sdk/ctl/validate.py,sha256=6DHhk6ubZih-FaNfX6m8G0HwOEJuJk6DFHCg1oAaZtQ,3879
614
- infrahub_sdk/data.py,sha256=t3jCqmnYM8rhTZlPlc37aW8zKMKLLVcTWHozH9qb0Bs,870
619
+ infrahub_sdk/ctl/utils.py,sha256=1tJs1D293FXC7Q3aA0WldRvWKo7Wugdievtylsaj6ew,6934
620
+ infrahub_sdk/ctl/validate.py,sha256=dknc4kMBIdysZNtEBYyvhlFPyUYyLmc2a4OI4cjGj2c,3910
621
+ infrahub_sdk/data.py,sha256=4d8Fd1s7lTeOu8JWXsK2m2BM8t_5HG0Z73fnCZGc7Pc,841
615
622
  infrahub_sdk/diff.py,sha256=Ms-3YyXo-DoF1feV9qP7GKakBYUNFsULZdy-yMEG71w,4258
616
- infrahub_sdk/exceptions.py,sha256=S563xPBgwvdXkVS42XLLTuCkdVnrXOZyDSY8aFd3udc,4436
617
- infrahub_sdk/generator.py,sha256=TVxSDByNnnuqFOpmi2mBgUZnU07PudvH8J-aM8QtwMM,5242
623
+ infrahub_sdk/exceptions.py,sha256=KZpYmlXxfQBVexE1gM2ibVRZWGmLSEu9xi7LBzPPGU8,4782
624
+ infrahub_sdk/generator.py,sha256=eIxDid0lZxAgQwPI8wiWQVUPEauPw7at6XgTnzin3vo,5383
618
625
  infrahub_sdk/graphql.py,sha256=qw1HJ95-JhRS_zrsyDj5P_PWKuUNgoXvH1q-Kfs27IA,5861
619
626
  infrahub_sdk/groups.py,sha256=GL14ByW4GHrkqOLJ-_vGhu6bkYDxljqPtkErcQVehv0,711
620
627
  infrahub_sdk/jinja2.py,sha256=lTfV9E_P5gApaX6RW9M8U8oixQi-0H3U8wcs8fdGVaU,1150
621
- infrahub_sdk/node.py,sha256=kwVswivc5kPnmzXjFB8Mt-BFbLhOQcp70PMl63CmkIc,87484
628
+ infrahub_sdk/node.py,sha256=i2LBc5-7poBr6fEH-h7sCjUtEaGFdf3LUhdRtaQ4W2I,87410
622
629
  infrahub_sdk/object_store.py,sha256=d-EDnxPpw_7BsbjbGbH50rjt-1-Ojj2zNrhFansP5hA,4299
623
630
  infrahub_sdk/playback.py,sha256=ubkY1LiW_wFwm4auerdQ0zFJcFJZ1SYQT6-d4bxzaLg,1906
624
- infrahub_sdk/protocols.py,sha256=vmAuV_IjjbslSshrmFjKYcSMtyzi0vlgwj9UufCo4Hc,21233
631
+ infrahub_sdk/protocols.py,sha256=1anewqFJNtAQKoAptHlDiiWCEP66pDlFNLMu1NbpRnM,21196
625
632
  infrahub_sdk/protocols_base.py,sha256=9aE5K2mwZ0xAza_yBppVWVRDds9ALhQqJofOjT-Alao,3882
626
633
  infrahub_sdk/pytest_plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
627
634
  infrahub_sdk/pytest_plugin/exceptions.py,sha256=ek2WyTBPuZdxhJClOhLo4EcFdvgE4BP0q26OiAr-Sec,2185
@@ -639,7 +646,7 @@ infrahub_sdk/queries.py,sha256=s4gnx67e-MNg-3jP4Vx1jreO9uiW3uYPllFQgaTODdQ,2308
639
646
  infrahub_sdk/query_groups.py,sha256=Hg6MdjU9wSWQmtKktlmKCHcwjlodz7L_VPPou-jC8vk,11434
640
647
  infrahub_sdk/recorder.py,sha256=G134AfAwE5efSqArVJneurF2JIEuhvSJWWI3woPczgI,2194
641
648
  infrahub_sdk/repository.py,sha256=PbSHHl6ajIeZu1t4pH1j7qzR-DPOkGuzubcNM02NuV0,1011
642
- infrahub_sdk/schema/__init__.py,sha256=RINn1qvejp88Y57Ov1D7ceYkxV2gpYMucldJPiNkjLU,25879
649
+ infrahub_sdk/schema/__init__.py,sha256=mC3nojBmJT9VVuiGPJjOAMfP-pUHWoG71I1K8VKLQTU,25841
643
650
  infrahub_sdk/schema/main.py,sha256=rySdEBJNMVpulWKMRw3ARqSbZPiFBHRYR2nqZvYp1VY,10580
644
651
  infrahub_sdk/schema/repository.py,sha256=AAITXGprCPb2WptJSRhj9gEbRrW1HHM-yEPYAgsztcU,11299
645
652
  infrahub_sdk/spec/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -647,10 +654,10 @@ infrahub_sdk/spec/menu.py,sha256=LvNLuBEkiLTMNgM3kseIzM7wQ_zK_2uXM_anUNu6Pfc,105
647
654
  infrahub_sdk/spec/object.py,sha256=H55fctUrQUDbRrRJJQQcXHppVOeMye6ykBoo6lCasDw,5012
648
655
  infrahub_sdk/store.py,sha256=kWJ9UvirLuSHLuDDzTd4-ualTkuRocy9W0J7TdL60Po,5734
649
656
  infrahub_sdk/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
650
- infrahub_sdk/testing/docker.py,sha256=V089h9fGjNnXVdw7Fw-mloSBgSnjXT9rvnDpj7cecoI,724
657
+ infrahub_sdk/testing/docker.py,sha256=O8RUA7ddor7A1eXCppRfXkzz3LAaYY1imFyzXj08TEM,1871
651
658
  infrahub_sdk/testing/repository.py,sha256=9s4MMaMljbJe97Ua4bJgc64giQ2UMC0bD5qIqYd4YNk,3571
652
659
  infrahub_sdk/testing/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
653
- infrahub_sdk/testing/schemas/animal.py,sha256=5frpoBCeGaM05X8sFxIDQUH93JrPsa-kIYKb8xcQxcw,6796
660
+ infrahub_sdk/testing/schemas/animal.py,sha256=_5oOZqT5Rk5CXJi-1ScCLpeG8efHRWqeCxzHFe31mfU,7190
654
661
  infrahub_sdk/testing/schemas/car_person.py,sha256=1VwgJMJvVggsQyRdSqDjiLrPzysz8cXFSFzSghVSVms,8940
655
662
  infrahub_sdk/timestamp.py,sha256=qsFZ8Od63FNywTPmxBlf_RNne4X7AMt8rkdHXKXW3Tw,2884
656
663
  infrahub_sdk/topological_sort.py,sha256=RqIGYxHlqOUHvMSAxbq6658TYLaEIdrFP4wyK3Hva5w,2456
@@ -659,23 +666,23 @@ infrahub_sdk/transfer/constants.py,sha256=kdYkVWif8v4IiWbbff3Mn3JnPCXD2ONI3SLXQM
659
666
  infrahub_sdk/transfer/exceptions.py,sha256=MK-jvBTYMyasjQ_0qeQBLSP_ocob0yhrBDuJ2XLgUvU,237
660
667
  infrahub_sdk/transfer/exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
661
668
  infrahub_sdk/transfer/exporter/interface.py,sha256=6_X7Hay7VbE7TGYjmt2iv5AOrSe-skZP8nTALQzYzIw,297
662
- infrahub_sdk/transfer/exporter/json.py,sha256=ZOQevyZe1D9gKqoV5jZdlU5HrYDlq0jeQ0LyXaVMbwU,6929
669
+ infrahub_sdk/transfer/exporter/json.py,sha256=IqZpuxVXyZpjdhohGwNnTtQ4bzRQlZNrbRAdu4PryXE,6892
663
670
  infrahub_sdk/transfer/importer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
664
671
  infrahub_sdk/transfer/importer/interface.py,sha256=TN7FH_LgThkBjrpWwkdTZIVJPtNklAYiK3Mn6RPs7IM,195
665
672
  infrahub_sdk/transfer/importer/json.py,sha256=-Tlmg22TiBrEqXOSLMnUzlCFOZ2M0Q8lWyPbwjUjifw,9654
666
673
  infrahub_sdk/transfer/schema_sorter.py,sha256=ZoBjJGFT-6jQoKOLaoOPMAWzs7vGOeo7x6zOOP4LNv0,1244
667
674
  infrahub_sdk/transforms.py,sha256=5fmoBBKWGhFCu0NLKlSF95GAbbCi2k25zWiWjtsd2dA,2558
668
675
  infrahub_sdk/types.py,sha256=UeZ1rDp4eyH12ApTcUD9a1OOtCp3IL1YZUeeZ06qF-I,1726
669
- infrahub_sdk/utils.py,sha256=5rnk-ZfMoMvNHH72D0Bb5OVRjyk6cJ__UoKvZlUNzns,11064
676
+ infrahub_sdk/utils.py,sha256=S2uQvg2WROdOK2gtbQ6HSVWStTVqVkzmEUXcksuMZGI,11513
670
677
  infrahub_sdk/uuidt.py,sha256=Tz-4nHkJwbi39UT3gaIe2wJeZNAoBqf6tm3sw7LZbXc,2155
671
- infrahub_sdk/yaml.py,sha256=dxdzEjuaG-OwF2XIcA2YXoFEmF4TeiwKju5K2uOQhgQ,2963
678
+ infrahub_sdk/yaml.py,sha256=L_sj5ds-0_uKe3aIfZu86kDLq8tffKzle9dcyDUTaEc,2937
672
679
  infrahub_testcontainers/__init__.py,sha256=oPpmesGgYBSdKTg1L37FGwYBeao1EHury5SJGul-CT8,216
673
- infrahub_testcontainers/container.py,sha256=dtweuZol1LAZiJBItRnB-Yrd-k6ohVuOdcgWcd0F-RM,4855
674
- infrahub_testcontainers/docker-compose.test.yml,sha256=l-ac0Bi8MxXCNM0w7QPakmeMsYzMnJXPhENN1yGRHAk,5993
680
+ infrahub_testcontainers/container.py,sha256=AuHmQv4fqB5Til40-GUsZhop9hzHWLWkqsRV44UZPUY,5870
681
+ infrahub_testcontainers/docker-compose.test.yml,sha256=gDmMNoIh5ROQxVAw02_twaAn_wi3Fw63D1Ek2k8YlWc,5966
675
682
  infrahub_testcontainers/haproxy.cfg,sha256=QF_DJSll10uGWICLnwFpj0-0VWIeB3CteCDthVoWpCU,1316
676
683
  infrahub_testcontainers/helpers.py,sha256=NlzyZN1QpByUQ6t7NwIDQxSSM7xFvY2jCM6-P8RYE6g,5253
677
- infrahub_server-1.1.7.dist-info/LICENSE.txt,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
678
- infrahub_server-1.1.7.dist-info/METADATA,sha256=2sxXxvhAhT4WUkgmFmTejFPTFLC7iPJwtWMr-oa_YAk,8081
679
- infrahub_server-1.1.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
680
- infrahub_server-1.1.7.dist-info/entry_points.txt,sha256=JNQoBcLpUyfeOMhls_-uX1CdJ8Vl-AFSh9UhzTcKdjA,329
681
- infrahub_server-1.1.7.dist-info/RECORD,,
684
+ infrahub_server-1.1.9.dist-info/LICENSE.txt,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
685
+ infrahub_server-1.1.9.dist-info/METADATA,sha256=N42-nCLMaBJBOiUs29mwCq-Sr_CHvZ3e4WT-RA8R7IU,8081
686
+ infrahub_server-1.1.9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
687
+ infrahub_server-1.1.9.dist-info/entry_points.txt,sha256=JNQoBcLpUyfeOMhls_-uX1CdJ8Vl-AFSh9UhzTcKdjA,329
688
+ infrahub_server-1.1.9.dist-info/RECORD,,
@@ -24,6 +24,7 @@ INFRAHUB_SERVICES: dict[str, ContainerService] = {
24
24
 
25
25
  PROJECT_ENV_VARIABLES: dict[str, str] = {
26
26
  "INFRAHUB_TESTING_DOCKER_IMAGE": "registry.opsmill.io/opsmill/infrahub",
27
+ "INFRAHUB_TESTING_DOCKER_ENTRYPOINT": f"gunicorn --config backend/infrahub/serve/gunicorn_config.py -w {os.environ.get("INFRAHUB_TESTING_WEB_CONCURRENCY", 4)} --logger-class infrahub.serve.log.GunicornLogger infrahub.server:app", # noqa: E501
27
28
  "INFRAHUB_TESTING_IMAGE_VERSION": infrahub_version,
28
29
  "INFRAHUB_TESTING_PRODUCTION": "false",
29
30
  "INFRAHUB_TESTING_DB_ADDRESS": "database",
@@ -38,6 +39,7 @@ PROJECT_ENV_VARIABLES: dict[str, str] = {
38
39
  "INFRAHUB_TESTING_BROKER_ADDRESS": "message-queue",
39
40
  "INFRAHUB_TESTING_CACHE_ADDRESS": "cache",
40
41
  "INFRAHUB_TESTING_WORKFLOW_ADDRESS": "task-manager",
42
+ "INFRAHUB_TESTING_WORKFLOW_DEFAULT_WORKER_TYPE": "infrahubasync",
41
43
  "INFRAHUB_TESTING_TIMEOUT": "60",
42
44
  "INFRAHUB_TESTING_PREFECT_API": "http://task-manager:4200/api",
43
45
  "INFRAHUB_TESTING_LOCAL_REMOTE_GIT_DIRECTORY": "repos",
@@ -96,6 +98,15 @@ class InfrahubDockerCompose(DockerCompose):
96
98
  env_file = directory / ".env"
97
99
 
98
100
  PROJECT_ENV_VARIABLES.update({"INFRAHUB_TESTING_IMAGE_VERSION": version})
101
+ if os.environ.get("INFRAHUB_TESTING_ENTERPRISE"):
102
+ PROJECT_ENV_VARIABLES.update(
103
+ {
104
+ "INFRAHUB_TESTING_DOCKER_IMAGE": "registry.opsmill.io/opsmill/infrahub-enterprise",
105
+ "INFRAHUB_TESTING_DOCKER_ENTRYPOINT": f"gunicorn --config community/backend/infrahub/serve/gunicorn_config.py -w {os.environ.get("INFRAHUB_TESTING_WEB_CONCURRENCY", 4)} --logger-class infrahub.serve.log.GunicornLogger infrahub_enterprise.server:app", # noqa: E501
106
+ "INFRAHUB_TESTING_WORKFLOW_DEFAULT_WORKER_TYPE": "infrahubentasync",
107
+ "NEO4J_DOCKER_IMAGE": "neo4j:5.20.0-enterprise",
108
+ }
109
+ )
99
110
 
100
111
  with env_file.open(mode="w", encoding="utf-8") as file:
101
112
  for key, value in PROJECT_ENV_VARIABLES.items():
@@ -102,11 +102,7 @@ services:
102
102
  mode: replicated
103
103
  replicas: ${INFRAHUB_TESTING_API_SERVER_COUNT}
104
104
  image: "${INFRAHUB_TESTING_DOCKER_IMAGE}:${INFRAHUB_TESTING_IMAGE_VERSION}"
105
- command: >
106
- gunicorn --config backend/infrahub/serve/gunicorn_config.py
107
- -w ${INFRAHUB_TESTING_WEB_CONCURRENCY}
108
- --logger-class infrahub.serve.log.GunicornLogger
109
- infrahub.server:app
105
+ command: ${INFRAHUB_TESTING_DOCKER_ENTRYPOINT}
110
106
  environment:
111
107
  INFRAHUB_PRODUCTION: ${INFRAHUB_TESTING_PRODUCTION}
112
108
  INFRAHUB_LOG_LEVEL: ${INFRAHUB_TESTING_LOG_LEVEL:-INFO}
@@ -114,6 +110,7 @@ services:
114
110
  INFRAHUB_CACHE_ADDRESS: ${INFRAHUB_TESTING_CACHE_ADDRESS}
115
111
  INFRAHUB_DB_ADDRESS: ${INFRAHUB_TESTING_DB_ADDRESS}
116
112
  INFRAHUB_WORKFLOW_ADDRESS: ${INFRAHUB_TESTING_WORKFLOW_ADDRESS}
113
+ INFRAHUB_WORKFLOW_DEFAULT_WORKER_TYPE: ${INFRAHUB_TESTING_WORKFLOW_DEFAULT_WORKER_TYPE}
117
114
  INFRAHUB_INITIAL_ADMIN_TOKEN: ${INFRAHUB_TESTING_INITIAL_ADMIN_TOKEN}
118
115
  INFRAHUB_INITIAL_AGENT_TOKEN: ${INFRAHUB_TESTING_INITIAL_AGENT_TOKEN}
119
116
  INFRAHUB_SECURITY_SECRET_KEY: ${INFRAHUB_TESTING_SECURITY_SECRET_KEY}
@@ -142,7 +139,7 @@ services:
142
139
  mode: replicated
143
140
  replicas: ${INFRAHUB_TESTING_TASK_WORKER_COUNT}
144
141
  image: "${INFRAHUB_TESTING_DOCKER_IMAGE}:${INFRAHUB_TESTING_IMAGE_VERSION}"
145
- command: prefect worker start --type infrahubasync --pool infrahub-worker --with-healthcheck
142
+ command: prefect worker start --type ${INFRAHUB_TESTING_WORKFLOW_DEFAULT_WORKER_TYPE} --pool infrahub-worker --with-healthcheck
146
143
  environment:
147
144
  INFRAHUB_PRODUCTION: ${INFRAHUB_TESTING_PRODUCTION}
148
145
  INFRAHUB_LOG_LEVEL: ${INFRAHUB_TESTING_LOG_LEVEL}
infrahub_sdk/ctl/_file.py DELETED
@@ -1,13 +0,0 @@
1
- from pathlib import Path
2
-
3
- from .exceptions import FileNotValidError
4
-
5
-
6
- def read_file(file_name: Path) -> str:
7
- if not file_name.is_file():
8
- raise FileNotValidError(name=str(file_name), message=f"{file_name} is not a valid file")
9
- try:
10
- with Path.open(file_name, encoding="utf-8") as fobj:
11
- return fobj.read()
12
- except UnicodeDecodeError as exc:
13
- raise FileNotValidError(name=str(file_name), message=f"Unable to read {file_name} with utf-8 encoding") from exc