infrahub-server 1.5.0b2__py3-none-any.whl → 1.5.1__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.
- infrahub/api/dependencies.py +4 -13
- infrahub/api/transformation.py +22 -20
- infrahub/cli/db.py +87 -65
- infrahub/cli/upgrade.py +27 -7
- infrahub/core/diff/calculator.py +2 -2
- infrahub/core/diff/query/delete_query.py +9 -5
- infrahub/core/diff/query/merge.py +39 -23
- infrahub/core/graph/__init__.py +1 -1
- infrahub/core/migrations/graph/__init__.py +5 -3
- infrahub/core/migrations/graph/m037_index_attr_vals.py +11 -30
- infrahub/core/migrations/graph/m039_ipam_reconcile.py +9 -7
- infrahub/core/migrations/graph/m041_deleted_dup_edges.py +149 -0
- infrahub/core/migrations/graph/{m041_profile_attrs_in_db.py → m042_profile_attrs_in_db.py} +10 -8
- infrahub/core/migrations/graph/{m042_create_hfid_display_label_in_db.py → m043_create_hfid_display_label_in_db.py} +6 -6
- infrahub/core/migrations/graph/{m043_backfill_hfid_display_label_in_db.py → m044_backfill_hfid_display_label_in_db.py} +9 -11
- infrahub/core/migrations/shared.py +14 -0
- infrahub/core/models.py +2 -2
- infrahub/core/node/__init__.py +26 -1
- infrahub/core/query/diff.py +61 -16
- infrahub/core/query/ipam.py +15 -4
- infrahub/core/query/node.py +42 -40
- infrahub/core/relationship/model.py +10 -5
- infrahub/core/schema/definitions/core/check.py +1 -1
- infrahub/core/schema/definitions/core/transform.py +1 -1
- infrahub/core/schema/schema_branch_display.py +12 -0
- infrahub/core/schema/schema_branch_hfid.py +6 -0
- infrahub/core/validators/uniqueness/checker.py +2 -1
- infrahub/database/__init__.py +0 -13
- infrahub/graphql/analyzer.py +9 -0
- infrahub/graphql/mutations/branch.py +5 -0
- infrahub/graphql/mutations/proposed_change.py +6 -0
- infrahub/message_bus/types.py +1 -0
- infrahub/profiles/queries/get_profile_data.py +4 -5
- infrahub/proposed_change/tasks.py +43 -9
- infrahub_sdk/analyzer.py +1 -1
- infrahub_sdk/batch.py +2 -2
- infrahub_sdk/branch.py +14 -2
- infrahub_sdk/checks.py +1 -1
- infrahub_sdk/client.py +2 -4
- infrahub_sdk/ctl/branch.py +3 -0
- infrahub_sdk/ctl/cli_commands.py +2 -0
- infrahub_sdk/ctl/exceptions.py +1 -1
- infrahub_sdk/ctl/task.py +110 -0
- infrahub_sdk/exceptions.py +18 -18
- infrahub_sdk/graphql/query.py +2 -2
- infrahub_sdk/node/attribute.py +1 -1
- infrahub_sdk/node/property.py +1 -1
- infrahub_sdk/node/related_node.py +3 -3
- infrahub_sdk/node/relationship.py +4 -6
- infrahub_sdk/object_store.py +2 -2
- infrahub_sdk/operation.py +1 -1
- infrahub_sdk/protocols_generator/generator.py +1 -1
- infrahub_sdk/pytest_plugin/exceptions.py +9 -9
- infrahub_sdk/pytest_plugin/items/base.py +1 -1
- infrahub_sdk/pytest_plugin/items/check.py +1 -1
- infrahub_sdk/pytest_plugin/items/python_transform.py +1 -1
- infrahub_sdk/repository.py +1 -1
- infrahub_sdk/schema/__init__.py +1 -1
- infrahub_sdk/spec/object.py +7 -3
- infrahub_sdk/task/exceptions.py +4 -4
- infrahub_sdk/task/manager.py +2 -2
- infrahub_sdk/task/models.py +6 -4
- infrahub_sdk/timestamp.py +1 -1
- infrahub_sdk/transfer/exporter/json.py +1 -1
- infrahub_sdk/transfer/importer/json.py +1 -1
- infrahub_sdk/transforms.py +1 -1
- {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/METADATA +2 -2
- {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/RECORD +75 -73
- infrahub_testcontainers/container.py +31 -5
- infrahub_testcontainers/helpers.py +19 -4
- infrahub_testcontainers/models.py +8 -6
- infrahub_testcontainers/performance_test.py +6 -4
- {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/LICENSE.txt +0 -0
- {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/WHEEL +0 -0
- {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/entry_points.txt +0 -0
|
@@ -10,7 +10,7 @@ infrahub/actions/triggers.py,sha256=5BKt8NkafArs8tdSQUb2uBtJVXfZrYUePByOn9d7-1Y,
|
|
|
10
10
|
infrahub/api/__init__.py,sha256=dtRtBRpEgt7Y9Zdwy85jpSr8qfO_2xNTgTQLCJPQiZI,2182
|
|
11
11
|
infrahub/api/artifact.py,sha256=Epqht3e9WjNuQt2N-0m9K7PRTwG883odTknb3Aknr8E,4058
|
|
12
12
|
infrahub/api/auth.py,sha256=-YqPWBc5zXvGehf8IatHMl_y2xE6hpcfG7VcxnviFkc,1895
|
|
13
|
-
infrahub/api/dependencies.py,sha256=
|
|
13
|
+
infrahub/api/dependencies.py,sha256=3qJyKcKiGQKY2DzL4snBvYvih9JW7NAC1dAprXx5e1k,4733
|
|
14
14
|
infrahub/api/diff/__init__.py,sha256=oXlDkl0C-nHNCdXcLN-KmCUdUICOzk_b0RFgjeYwt7s,47
|
|
15
15
|
infrahub/api/diff/diff.py,sha256=HcPdLHJGlZqKSgfg3jKirVCmW1s1JRdkn5j3uQ1QCnk,2870
|
|
16
16
|
infrahub/api/diff/validation_models.py,sha256=tiE2FSq8DbK0W17Ra_HWaHqgr67bRWi8D2TDy54-XCY,1327
|
|
@@ -27,7 +27,7 @@ infrahub/api/static/redoc.standalone.js,sha256=77kGx7mVN9EcdER2ZM4gQ-E-ra_N6AZq9
|
|
|
27
27
|
infrahub/api/static/swagger-ui-bundle.js,sha256=wuSp7wgUSDn_R8FCAgY-z-TlnnCk5xVKJr1Q2IDIi6E,1452753
|
|
28
28
|
infrahub/api/static/swagger-ui.css,sha256=QBcPDuhZ0X-SExunBzKaiKBw5PZodNETZemnfSMvYRc,152071
|
|
29
29
|
infrahub/api/storage.py,sha256=yWo7qsDn4SrX89wDsTKOfGTMdWYNsptAdt7Fhfzw1C0,2179
|
|
30
|
-
infrahub/api/transformation.py,sha256=
|
|
30
|
+
infrahub/api/transformation.py,sha256=8qbFMYnWcwfT9-OGiby7Eb90ExsbGT5-CiOYv0irJyI,6090
|
|
31
31
|
infrahub/artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
32
|
infrahub/artifacts/models.py,sha256=P0ehjcj8Nz3WyK08_bJuit62peQBWQv5h0eCXOSgDk0,2241
|
|
33
33
|
infrahub/artifacts/tasks.py,sha256=L2DOSvUB5ezcxLpy5cFKGzkLtNBjkRqo2Igs1n8eRUQ,3487
|
|
@@ -39,7 +39,7 @@ infrahub/branch/triggers.py,sha256=4sywoEX79fY2NkaGe6tTHnmytf4k6gXDm2FJHkkRJOw,7
|
|
|
39
39
|
infrahub/cli/__init__.py,sha256=h0vY_rhHMzRWLowKTnDa0UUf4GC_-3MsB7S5nFA2Tc8,4054
|
|
40
40
|
infrahub/cli/constants.py,sha256=CoCeTMnfsA3j7ArdLKLZK4VPxOM7ls17qpxGJmND0m8,129
|
|
41
41
|
infrahub/cli/context.py,sha256=u2EYq9-vjzzfZdIYIbYmTG67nYSsyVFDPBtJ3KgE7KY,494
|
|
42
|
-
infrahub/cli/db.py,sha256=
|
|
42
|
+
infrahub/cli/db.py,sha256=Il6Lzwpd2-C1LxZ74ndySk_gMMnVLEVjOaPW0v6zn1g,40295
|
|
43
43
|
infrahub/cli/db_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
44
|
infrahub/cli/db_commands/check_inheritance.py,sha256=a9aRg6yW0K5364Crqp_U9VDZjT9Shqu3on5nkuoZaYo,11389
|
|
45
45
|
infrahub/cli/db_commands/clean_duplicate_schema_fields.py,sha256=qKVIfxBaBDQeROFP0VctAJqhTLVFyi-Zk6VymsWtJm4,8043
|
|
@@ -49,7 +49,7 @@ infrahub/cli/git_agent.py,sha256=ajT9-kdd3xLIysOPe8GqZyCDMkpNyhqfWjBg9HPWVcg,524
|
|
|
49
49
|
infrahub/cli/patch.py,sha256=ztOkWyo0l_Wo0WX10bvSqGZibKzowrwx82oi69cjwkY,6018
|
|
50
50
|
infrahub/cli/server.py,sha256=zeKgJE9V0usSMVBwye0sRNNh6Ctj-nSZHqHbNskqyz4,2248
|
|
51
51
|
infrahub/cli/tasks.py,sha256=6_2IRd0JCMJV0W9_bF6b-l67dlmBJ5izDtG4YkSaIW0,3364
|
|
52
|
-
infrahub/cli/upgrade.py,sha256=
|
|
52
|
+
infrahub/cli/upgrade.py,sha256=i1b9ibgBxLFjhqkre_VaS5divtJaJfofNNJXJz0y2yE,6282
|
|
53
53
|
infrahub/components.py,sha256=lSLDCDwIZoakZ2iBrfHi9c3BxzugMiuiZO6V7Egt6tk,107
|
|
54
54
|
infrahub/computed_attribute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
55
|
infrahub/computed_attribute/constants.py,sha256=oTMPEfRuf2mcfCkBpRLWRALO6nsLHpFm9jJGu0lowS4,446
|
|
@@ -89,7 +89,7 @@ infrahub/core/diff/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
89
89
|
infrahub/core/diff/artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
90
|
infrahub/core/diff/artifacts/calculator.py,sha256=qk1DspB3bkKeWJFesLbmziCALVnbRadjrez1kn_IZWU,4435
|
|
91
91
|
infrahub/core/diff/branch_differ.py,sha256=62TRs3tGb4brQqCaVoI2iMIiPnny3_0_e9j-Mq-AXx4,7752
|
|
92
|
-
infrahub/core/diff/calculator.py,sha256=
|
|
92
|
+
infrahub/core/diff/calculator.py,sha256=KQIxvrzNVDLKBhPux3-3boyEsXgSvJm8kzhJ0R88E_c,10104
|
|
93
93
|
infrahub/core/diff/combiner.py,sha256=qL4WQsphB2sVnncgskSG_QcJBqBHjaK0vWU_apeTn-E,23508
|
|
94
94
|
infrahub/core/diff/conflict_transferer.py,sha256=LZCuS9Dbr4yBf-bd3RF-9cPnaOvVWiU3KBmmwxbRZl0,3968
|
|
95
95
|
infrahub/core/diff/conflicts_enricher.py,sha256=x6qiZOXO2A3BQ2Fm78apJ4WA7HLzPO84JomJfcyuyDg,12552
|
|
@@ -121,7 +121,7 @@ infrahub/core/diff/payload_builder.py,sha256=cJ8o8vNSANOrzK2dC4KoXCOffgnb6Mhi2Ko
|
|
|
121
121
|
infrahub/core/diff/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
122
|
infrahub/core/diff/query/all_conflicts.py,sha256=gWLwkCR2AK0IJccnhcE8vkSHu5ugZfKTDhCoFi4yAJo,3058
|
|
123
123
|
infrahub/core/diff/query/artifact.py,sha256=2VGXTAnsKiXrxtI-pj7Pkssxnpe6l2sBqqeiiYrTogU,9191
|
|
124
|
-
infrahub/core/diff/query/delete_query.py,sha256=
|
|
124
|
+
infrahub/core/diff/query/delete_query.py,sha256=R8S-TzraWOi1Fz7FqBtmK8FJtEe4_9OgK32gUq2dlzc,1087
|
|
125
125
|
infrahub/core/diff/query/diff_get.py,sha256=SzlJAF5DNKcbavgVOxLKJ-o8EsuImTGE2uNPg9hcMq0,7438
|
|
126
126
|
infrahub/core/diff/query/diff_summary.py,sha256=sypXfK4EO_BZBuohlv419AjgL5ZeRwMiwnI7IIlh0KE,3841
|
|
127
127
|
infrahub/core/diff/query/drop_nodes.py,sha256=NP29dbW-z4s_rp_MtIwTl3FXElfCP6eqEpF_9r3Z3VA,1674
|
|
@@ -130,7 +130,7 @@ infrahub/core/diff/query/field_summary.py,sha256=nQ2WHF4TIc-UWHwstXyFRPnuokyjDu8
|
|
|
130
130
|
infrahub/core/diff/query/filters.py,sha256=McTtRNGg8fmnqTtNH-msfzH-8eKCBsM6-fitxTp5T8w,4324
|
|
131
131
|
infrahub/core/diff/query/get_conflict_query.py,sha256=kpGZA4QZrXxv_vnoAP5oa9-347VzsNWUIBWcg7rg03U,892
|
|
132
132
|
infrahub/core/diff/query/has_conflicts_query.py,sha256=kt0Z606vP2r1g7OqW2RrYj9LbiVkrzGfQ0AKCHx21XI,2547
|
|
133
|
-
infrahub/core/diff/query/merge.py,sha256=
|
|
133
|
+
infrahub/core/diff/query/merge.py,sha256=TvDldR3iRFr23-I3zJZRgcUhkfguBY2d785DQAHSOHg,32966
|
|
134
134
|
infrahub/core/diff/query/merge_tracking_id.py,sha256=VLGsKuOCIMYe0I-0r01YHF5iaLYIkfSCVQatHM-ybFA,833
|
|
135
135
|
infrahub/core/diff/query/roots_metadata.py,sha256=FT-48amqoR2RS4CkfnnXGI7Z5uOL4hm7IdZiz3SFHRo,2182
|
|
136
136
|
infrahub/core/diff/query/save.py,sha256=xBKWpWfRWfaP7g523xKMK82ogg0AfVQTTMeyz8oe-o0,22956
|
|
@@ -143,7 +143,7 @@ infrahub/core/diff/repository/deserializer.py,sha256=bhN9ao8HxqKyRz273QGLNV9z9_S
|
|
|
143
143
|
infrahub/core/diff/repository/repository.py,sha256=u0QTMY1e2dknG_DuRAwzFt-Lp1_mdj5lqF2ymt77k9E,25581
|
|
144
144
|
infrahub/core/diff/tasks.py,sha256=jSXlenTJ5Fc189Xvm971e3-gBDRnfN19cxNaWvEFwAE,3306
|
|
145
145
|
infrahub/core/enums.py,sha256=qGbhRVoH43Xi0iDkUfWdQiKapJbLT9UKsCobFk_paIk,491
|
|
146
|
-
infrahub/core/graph/__init__.py,sha256=
|
|
146
|
+
infrahub/core/graph/__init__.py,sha256=hC8X6p8rzSzwhe-sqICejw_qkEOt3Bd0yWcTKMwGKRw,19
|
|
147
147
|
infrahub/core/graph/constraints.py,sha256=lmuzrKDFoeSKRiLtycB9PXi6zhMYghczKrPYvfWyy90,10396
|
|
148
148
|
infrahub/core/graph/index.py,sha256=A9jzEE_wldBJsEsflODeMt4GM8sPmmbHAJRNdFioR1k,1736
|
|
149
149
|
infrahub/core/graph/schema.py,sha256=o50Jcy6GBRk55RkDJSMIDDwHhLD7y_RWOirI9rCex4A,10776
|
|
@@ -163,7 +163,7 @@ infrahub/core/manager.py,sha256=IU5VfkHLCN4WhvqzI6DOEyCXo9fBT_st5BmN__A4vas,4418
|
|
|
163
163
|
infrahub/core/merge.py,sha256=TNZpxjNYcl3dnvE8eYXaWSXFDYeEa8DDsS9XbR2XKlA,11217
|
|
164
164
|
infrahub/core/migrations/__init__.py,sha256=ttA1YkKhiG9Zc0fwIIcMLIDCrIhN5xVOIh6ojFoy58o,1541
|
|
165
165
|
infrahub/core/migrations/exceptions.py,sha256=gEAkWzjvN-IXr0YPqUrEqnu_GsR-uqucsu1QUaWhEmM,147
|
|
166
|
-
infrahub/core/migrations/graph/__init__.py,sha256=
|
|
166
|
+
infrahub/core/migrations/graph/__init__.py,sha256=P99qPwV4_sKPG6lNH33PUBckqZadRpBMVjMbxTPVvqc,4375
|
|
167
167
|
infrahub/core/migrations/graph/load_schema_branch.py,sha256=OvjowaeDnx4djD1aGPjE7Rqyh1p843LSodOf_Frdt9U,1008
|
|
168
168
|
infrahub/core/migrations/graph/m001_add_version_to_graph.py,sha256=YcLN6cFjE6IGheXR4Ujb6CcyY8bJ7WE289hcKJaENOc,1515
|
|
169
169
|
infrahub/core/migrations/graph/m002_attribute_is_default.py,sha256=wB6f2N_ChTvGajqHD-OWCG5ahRMDhhXZuwo79ieq_II,1036
|
|
@@ -201,13 +201,14 @@ infrahub/core/migrations/graph/m033_deduplicate_relationship_vertices.py,sha256=
|
|
|
201
201
|
infrahub/core/migrations/graph/m034_find_orphaned_schema_fields.py,sha256=FekohfsamyLNzGBeRBiZML94tz2fUcvTzttfv6mD1cw,3547
|
|
202
202
|
infrahub/core/migrations/graph/m035_orphan_relationships.py,sha256=K0J5gzFF5gY-QMom0tRGDckqw19aN0uSV8AZ8KdKSMo,1371
|
|
203
203
|
infrahub/core/migrations/graph/m036_drop_attr_value_index.py,sha256=z2BplzX0mue3lOxrM7xnWDNrs7N3TGdFKHZR-u0wDDY,1439
|
|
204
|
-
infrahub/core/migrations/graph/m037_index_attr_vals.py,sha256=
|
|
204
|
+
infrahub/core/migrations/graph/m037_index_attr_vals.py,sha256=pc-223N-jhAglpPIeUz3blFVnzFwLQS1Hc2-Tqx-EHg,22181
|
|
205
205
|
infrahub/core/migrations/graph/m038_redo_0000_prefix_fix.py,sha256=8seWnXQhgEJDFLWxYHVcnMNDPcHq5C24c0RYrtn_WGE,2411
|
|
206
|
-
infrahub/core/migrations/graph/m039_ipam_reconcile.py,sha256=
|
|
206
|
+
infrahub/core/migrations/graph/m039_ipam_reconcile.py,sha256=yRWTE73Rq1Qh6tPLu98w60zJdx8cgdO7_DL-g10x87s,11112
|
|
207
207
|
infrahub/core/migrations/graph/m040_duplicated_attributes.py,sha256=2LxsG-CfcZnBirwGhwYL4kU-g3oxl6lNSM12vZTZ7Gw,2930
|
|
208
|
-
infrahub/core/migrations/graph/
|
|
209
|
-
infrahub/core/migrations/graph/
|
|
210
|
-
infrahub/core/migrations/graph/
|
|
208
|
+
infrahub/core/migrations/graph/m041_deleted_dup_edges.py,sha256=eP2BqUfvwkjACJrKI5fVyBBmXxEDwxtAD9O_CcbwBMw,5409
|
|
209
|
+
infrahub/core/migrations/graph/m042_profile_attrs_in_db.py,sha256=KdEaNPHovJxxiNL3CFRjWBnNzaMdidj1nmW5Jbhrt-4,6431
|
|
210
|
+
infrahub/core/migrations/graph/m043_create_hfid_display_label_in_db.py,sha256=x7OgI5ZoX8yslg329VNFHXbZ2eDFwcdFhBeC-UWqVdk,7072
|
|
211
|
+
infrahub/core/migrations/graph/m044_backfill_hfid_display_label_in_db.py,sha256=ZvQZQtd5P0C3Xd8_54_OGq5q1pc-gFBoZ3UUg3hMQbQ,38470
|
|
211
212
|
infrahub/core/migrations/query/__init__.py,sha256=nUbKk8bX6Ei4RkLe0VNNAm7c-d2zDoAMgdFGkYW0Czw,850
|
|
212
213
|
infrahub/core/migrations/query/attribute_add.py,sha256=wKChMnqcd8hb8YCTIU3rUrtVqwHFSI5bdvXAPUcnRIA,4969
|
|
213
214
|
infrahub/core/migrations/query/attribute_remove.py,sha256=IhAPlv9jyZTWMf8f8HZJ8G0ImWebt-ER78NrP3vIWhU,5307
|
|
@@ -228,9 +229,9 @@ infrahub/core/migrations/schema/node_kind_update.py,sha256=sCKbjzkAOuWsjvQHAfHq9
|
|
|
228
229
|
infrahub/core/migrations/schema/node_remove.py,sha256=6Xzs0uT_MlDyFD4xqqmplijNJxGpdZ4Cosa0h5cVqC4,7143
|
|
229
230
|
infrahub/core/migrations/schema/placeholder_dummy.py,sha256=YBGFUVPi57ARbWgAmbtKD_Y6lkITOR6nFwov7IXVuzU,350
|
|
230
231
|
infrahub/core/migrations/schema/tasks.py,sha256=2J8gHGSP-WhxSi4GYhOc9xAJOg_S1ONm3YE4_ukLKxw,4164
|
|
231
|
-
infrahub/core/migrations/shared.py,sha256=
|
|
232
|
-
infrahub/core/models.py,sha256=
|
|
233
|
-
infrahub/core/node/__init__.py,sha256=
|
|
232
|
+
infrahub/core/migrations/shared.py,sha256=sQMdbx1gnht2G_-nb1MDbStwUso5YJkyyumjlKAJq3g,9592
|
|
233
|
+
infrahub/core/models.py,sha256=xoodMSKLaHD5nOtBT35soRQnyHO_OrDlVRNdXuL51Ho,26679
|
|
234
|
+
infrahub/core/node/__init__.py,sha256=yr6WFmh7pvL6XeFx6Hou0UoSc0DniZy09YPn84NGipg,50084
|
|
234
235
|
infrahub/core/node/base.py,sha256=BAowVRCK_WC50yXym1kCyUppJDJnrODGU5uoj1s0Yd4,2564
|
|
235
236
|
infrahub/core/node/constraints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
236
237
|
infrahub/core/node/constraints/attribute_uniqueness.py,sha256=lcHBk4d3bc12sywxRTnQs18VEm_S6pDcUhNnsXnb-uI,2162
|
|
@@ -256,9 +257,9 @@ infrahub/core/query/__init__.py,sha256=2qIMaODLwJ6pK6BUd5vODTlA15Aecf5I8_-J44UlC
|
|
|
256
257
|
infrahub/core/query/attribute.py,sha256=rz0IJPD1wUhjzt20z8R-_gMYGJuNyShM_PDzKPLiF1M,14901
|
|
257
258
|
infrahub/core/query/branch.py,sha256=aIYyDxpnw_Zw2lqTnMEVlhPUaYckZtJJJU1SFUht1o0,4343
|
|
258
259
|
infrahub/core/query/delete.py,sha256=7tPP1qtNV6QGYtmgE1RKsuQ9oxENnMTVkttLvJ2PiKg,1927
|
|
259
|
-
infrahub/core/query/diff.py,sha256=
|
|
260
|
-
infrahub/core/query/ipam.py,sha256=
|
|
261
|
-
infrahub/core/query/node.py,sha256=
|
|
260
|
+
infrahub/core/query/diff.py,sha256=uvojpzJSZFdcuutPAbA74M6R85hN1fteBDS4ZufE8IA,38579
|
|
261
|
+
infrahub/core/query/ipam.py,sha256=CIYfqbzvXptBlYRrJlOu7zUv84orVNIkpt_7BpWLdpM,35440
|
|
262
|
+
infrahub/core/query/node.py,sha256=ntr4AnLU4F1vBfL9rh3sStNoXMHc4VylNt3JNn8FRvs,64207
|
|
262
263
|
infrahub/core/query/relationship.py,sha256=v4V9WNX4ucvD8QeC9oZfzCuMYmeyziGhVelMir7DYLk,49642
|
|
263
264
|
infrahub/core/query/resource_manager.py,sha256=uSvs1WZmdbyt_PjaUi9lXnYdPt-lhJV1RjYoUHYjQdk,16620
|
|
264
265
|
infrahub/core/query/standard_node.py,sha256=mPBXyqk4RzoWRUX4NoojoVi8zk-sJ03GmzmUaWqOgSI,4825
|
|
@@ -275,7 +276,7 @@ infrahub/core/relationship/constraints/peer_kind.py,sha256=Bropiav4y6r0iU2KfWJ_k
|
|
|
275
276
|
infrahub/core/relationship/constraints/peer_parent.py,sha256=z7elpC8xS_ovAF28Haq-RNpFtTEiUehzowiDgYGT68U,2343
|
|
276
277
|
infrahub/core/relationship/constraints/peer_relatives.py,sha256=Ye79l7njaWxZkU2chTOaptIjvKBIawsNCl0IQxCTDtM,2737
|
|
277
278
|
infrahub/core/relationship/constraints/profiles_kind.py,sha256=nEZPGtGcmelZ1Nb8EPcQ-7_zCLCNIYwwWbU6C9fLj5E,2464
|
|
278
|
-
infrahub/core/relationship/model.py,sha256=
|
|
279
|
+
infrahub/core/relationship/model.py,sha256=ZaR6Rrp1CiS8vjbAcMTILpeI755ORj2_aj-3MYD-Q1E,48978
|
|
279
280
|
infrahub/core/root.py,sha256=8ZLSOtnmjQcrjqX2vxNO-AGopEUArmBPo_X5NeZBdP0,416
|
|
280
281
|
infrahub/core/schema/__init__.py,sha256=U1DWsadfu7Y3FUc51h9DNwXEq4Qa_yZ5w5Bip8pVpmw,6674
|
|
281
282
|
infrahub/core/schema/attribute_parameters.py,sha256=ABL1GEsOl4_CcDvK9_NucGMaF6LUeOjAxbDQVm_G7eg,6516
|
|
@@ -288,7 +289,7 @@ infrahub/core/schema/definitions/core/__init__.py,sha256=7E267s83j8YkZqh4xiO-WpQ
|
|
|
288
289
|
infrahub/core/schema/definitions/core/account.py,sha256=5-yJJJRtAi1MyJZw88pyTqAklUPTsBzMa2LZkf4FtOs,5421
|
|
289
290
|
infrahub/core/schema/definitions/core/artifact.py,sha256=6TX4zgK2j2vO7F0lCYLv6Bu7GTAKlD0P3rO7yuXX85o,3954
|
|
290
291
|
infrahub/core/schema/definitions/core/builtin.py,sha256=eSGZXXV_caLm2WHvRsK6c88EfLjkMlm7VAZ-JVAaEPw,703
|
|
291
|
-
infrahub/core/schema/definitions/core/check.py,sha256=
|
|
292
|
+
infrahub/core/schema/definitions/core/check.py,sha256=PV7DHOaKivEtYO2s1ZBQdzQspptew7KLsA3r1_4ubx8,2152
|
|
292
293
|
infrahub/core/schema/definitions/core/core.py,sha256=wpe0p4V0vpA70epcP0ZEXBEek17yP-t1TOQigNkUrmw,395
|
|
293
294
|
infrahub/core/schema/definitions/core/generator.py,sha256=eSJ6KQg1BX6pFkniRWNNMjRV0LefgMht4mkNSe9pRoM,3394
|
|
294
295
|
infrahub/core/schema/definitions/core/graphql_query.py,sha256=FOTJ7RoQpLqEbkqs2zWG2RhbrU-bVDRPko7xpz-h9Vs,2477
|
|
@@ -304,7 +305,7 @@ infrahub/core/schema/definitions/core/propose_change_validator.py,sha256=IwrEQvu
|
|
|
304
305
|
infrahub/core/schema/definitions/core/repository.py,sha256=V6Uc819SOm4QtJvEfit5YFBEe8b2xxuFbO17QSBjOk0,9837
|
|
305
306
|
infrahub/core/schema/definitions/core/resource_pool.py,sha256=VIXOzsL6N04LoMo2lXdpLthlGDaG5D30nsrHb1SomoM,6366
|
|
306
307
|
infrahub/core/schema/definitions/core/template.py,sha256=rgYhpimxW0vhTmpo5cv_QA2I6MFT4r_ED7xA4BtzdKY,1037
|
|
307
|
-
infrahub/core/schema/definitions/core/transform.py,sha256=
|
|
308
|
+
infrahub/core/schema/definitions/core/transform.py,sha256=xCALwCPQFdU7NYyOjbL7d2QoRBrQUrO-gJNH2c74hS0,3061
|
|
308
309
|
infrahub/core/schema/definitions/core/webhook.py,sha256=rpJ0aw5e64C9WQ5xFx1FvJ7G9tsyZyYIib89OEM4pn4,4346
|
|
309
310
|
infrahub/core/schema/definitions/deprecated.py,sha256=PUXfRupaxNT3R_a6eFnvAcvXKOZenVb7VnuLAskZfT0,829
|
|
310
311
|
infrahub/core/schema/definitions/internal.py,sha256=oP7R2azocYDbtBehfkOwGecAjupFMoSPLyPZbkVmuZw,35136
|
|
@@ -322,8 +323,8 @@ infrahub/core/schema/profile_schema.py,sha256=sV4lp1UyBye12M7BJcA2obb4tx3M9J5P89
|
|
|
322
323
|
infrahub/core/schema/relationship_schema.py,sha256=ryCvmUQl3HBo_Sk07Xl5rT48PPuhlBkYRmm-lSdfJPI,8445
|
|
323
324
|
infrahub/core/schema/schema_branch.py,sha256=kOt_qUPnLWOHDh7lCYiLB70WB3dn6T10ZA_aonk9sbg,119282
|
|
324
325
|
infrahub/core/schema/schema_branch_computed.py,sha256=14UUsQJDLMHkYhg7QMqeLiTF3PO8c8rGa90ul3F2ZZo,10629
|
|
325
|
-
infrahub/core/schema/schema_branch_display.py,sha256=
|
|
326
|
-
infrahub/core/schema/schema_branch_hfid.py,sha256=
|
|
326
|
+
infrahub/core/schema/schema_branch_display.py,sha256=bvXVSZZC1uilBicTXeUdrPkxIVuIIY0aLjkJQkvrTbY,6098
|
|
327
|
+
infrahub/core/schema/schema_branch_hfid.py,sha256=XcNV2nNbpOhif5HHN6wvXXuM-nY8eMWhlidr4g8riro,5276
|
|
327
328
|
infrahub/core/schema/template_schema.py,sha256=cn7-qFUW_LNRfA5q6e1-PdzGSwubuCkLTL6uad2GhdQ,1229
|
|
328
329
|
infrahub/core/task/__init__.py,sha256=Ied1NvKGJUDmff27z_-yWW8ArenHxGvSvQTaQyx1iHs,128
|
|
329
330
|
infrahub/core/task/task.py,sha256=WKU59GbSq5F_qJatiC4J76GGMYhw-BfpWwxMlvqr8WQ,3800
|
|
@@ -365,11 +366,11 @@ infrahub/core/validators/relationship/peer.py,sha256=4Kij_nR2ekyFyv78W_-BIwS8VAE
|
|
|
365
366
|
infrahub/core/validators/shared.py,sha256=dhCz2oTM5JxA3mpcQvN83KIKIv-VNPSiG0lh4ZiTAFw,1345
|
|
366
367
|
infrahub/core/validators/tasks.py,sha256=Qb9q2l55NKhvWXCrZclVWvJhzsN3yniN7nsYqULl0wA,3930
|
|
367
368
|
infrahub/core/validators/uniqueness/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
368
|
-
infrahub/core/validators/uniqueness/checker.py,sha256
|
|
369
|
+
infrahub/core/validators/uniqueness/checker.py,sha256=-vIgNSodeibpf6vScDDbON30XGoL2YUa-TLQjj58pFI,10531
|
|
369
370
|
infrahub/core/validators/uniqueness/index.py,sha256=Jw1o-UVinQquNduZ5vCCzt8GUfIEdVzBo-1XyRti8F8,5068
|
|
370
371
|
infrahub/core/validators/uniqueness/model.py,sha256=Z5CyYOQfhyAnwNIev4AFjfXnfOoUWc4uR04Wz3C6Cy4,5617
|
|
371
372
|
infrahub/core/validators/uniqueness/query.py,sha256=0LXhPqRpV4Ho2CLxHP2fDs8AFvKJPKpUfHiW4SwFccg,22254
|
|
372
|
-
infrahub/database/__init__.py,sha256=
|
|
373
|
+
infrahub/database/__init__.py,sha256=h_7AfijPAdGmDtsZ45VbYCZtDl-7mtCMK40yu-4KwcU,20768
|
|
373
374
|
infrahub/database/graph.py,sha256=fUYrUmRNFA_qvFSS7bvb7giqaIj1BLzhQY6dz7F_vCo,620
|
|
374
375
|
infrahub/database/index.py,sha256=ATLqw9Grqbq7haGGm14VSEPmcPniid--YATiffo4sA0,1676
|
|
375
376
|
infrahub/database/memgraph.py,sha256=Fg3xHP9s0MiBBmMvcEmsJvuIUSq8U_XCS362HDE9d1s,1742
|
|
@@ -474,7 +475,7 @@ infrahub/git_credential/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
474
475
|
infrahub/git_credential/askpass.py,sha256=BL7e4Xkx5la7XFk-GQR6MXxV5B29Mzb5ZnVnljd7Xpw,1513
|
|
475
476
|
infrahub/git_credential/helper.py,sha256=cwSMKRTgqrqIBM66jEOtlj4MMLf647KJWmtnnVxFtTY,2337
|
|
476
477
|
infrahub/graphql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
477
|
-
infrahub/graphql/analyzer.py,sha256=
|
|
478
|
+
infrahub/graphql/analyzer.py,sha256=PwVB7jSIvzRA1SJmRopUZ7yRRGqDFnD1toB-K3WmWgQ,30947
|
|
478
479
|
infrahub/graphql/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
479
480
|
infrahub/graphql/api/dependencies.py,sha256=tno-vUerO7dDFw_B95UTZnbqRiwl_VJIhzgwJe8wdRY,1643
|
|
480
481
|
infrahub/graphql/api/endpoints.py,sha256=x-DJ-z3bOecv9Fn-RGyna-yG2dVjyPQJyJnC18ndxBs,1935
|
|
@@ -507,7 +508,7 @@ infrahub/graphql/mutations/account.py,sha256=qxwawri2lMNVW-ERiUN5-8Z-6ZRxGFqYWg3
|
|
|
507
508
|
infrahub/graphql/mutations/action.py,sha256=HJ26jTIzDt9vuuszfCnHcTcSLpR8CVEaGUma_scLXGs,6791
|
|
508
509
|
infrahub/graphql/mutations/artifact_definition.py,sha256=K9iieMMHB8O8V1E6aO04tP2oMtiTRTA8B_0nWEHGWcc,3531
|
|
509
510
|
infrahub/graphql/mutations/attribute.py,sha256=a35MP8Pvy_42N5dkO3HKATgJDW6qy9ncDu5t8YI3AUE,2734
|
|
510
|
-
infrahub/graphql/mutations/branch.py,sha256=
|
|
511
|
+
infrahub/graphql/mutations/branch.py,sha256=TKI2zxY-SOetlYylMWo0r1jV1c_3xsdl9TnBDXfZ0K8,11655
|
|
511
512
|
infrahub/graphql/mutations/computed_attribute.py,sha256=JAPVjDrEC-a-bTVKD5pYW3QetD1gAhWub3HQj9swrqs,9376
|
|
512
513
|
infrahub/graphql/mutations/convert_object_type.py,sha256=zC4ehUds63gkY3QiPbFQeqdeFdM2L2bIkEM1gsdrAto,4462
|
|
513
514
|
infrahub/graphql/mutations/diff.py,sha256=UfEkgIeKsxr79U0_ih7mhl0986rFITM_GDXevsWBSqo,4776
|
|
@@ -526,7 +527,7 @@ infrahub/graphql/mutations/node_getter/by_hfid.py,sha256=txpj4xPeL3eYOB9lRiHEFxx
|
|
|
526
527
|
infrahub/graphql/mutations/node_getter/by_id.py,sha256=azERy5XBUe4fYf4t1rhKEn64MlGfm_zH4k-tJU6W69s,856
|
|
527
528
|
infrahub/graphql/mutations/node_getter/interface.py,sha256=3MVTz_3EQnI7REp-ytQvgJuEgWUmrmnRIqKpP8WHCyY,419
|
|
528
529
|
infrahub/graphql/mutations/profile.py,sha256=7Lf_ITtZVdlcQ_Fc70JrHcUuv8AHVEbv-nvN4fOvVa0,7306
|
|
529
|
-
infrahub/graphql/mutations/proposed_change.py,sha256=
|
|
530
|
+
infrahub/graphql/mutations/proposed_change.py,sha256=EJE4amNn0FP8w6ou5lEDrh31ZBJ2nBDUtXmiPjHGNgg,20384
|
|
530
531
|
infrahub/graphql/mutations/relationship.py,sha256=wAMmCcjQKLNrVeV9AnpC50sC0DufTS51SlPhGwn07bA,21943
|
|
531
532
|
infrahub/graphql/mutations/repository.py,sha256=Elum8rrgIZLIU2XI6H5vvEftIpqcLKqAyqPxlpuuQ4Q,8587
|
|
532
533
|
infrahub/graphql/mutations/resource_manager.py,sha256=y6_SlL-YaRflJ4CDe65dRXyZQHVk1SBxH-sIxmOKYIc,11336
|
|
@@ -614,7 +615,7 @@ infrahub/message_bus/operations/refresh/__init__.py,sha256=vBuvTL4zRRpOMXATmckQ3
|
|
|
614
615
|
infrahub/message_bus/operations/refresh/registry.py,sha256=ny-8_Gsd46CgdDm_ZXBwMpYdxNMU3t7CyglTWH3Q6Ww,1277
|
|
615
616
|
infrahub/message_bus/operations/send/__init__.py,sha256=ivuUTAknLiWfArR44SxA40l0UKVkdHjtDIx0mg06IcE,39
|
|
616
617
|
infrahub/message_bus/operations/send/echo.py,sha256=656IFCpl2EA6EQjA2iwdJtYyo4yKb6iiv4r3oqQEd6o,712
|
|
617
|
-
infrahub/message_bus/types.py,sha256=
|
|
618
|
+
infrahub/message_bus/types.py,sha256=awEghaKn_UQFsx_7t1m_Gqh97VL5NSpZHHgU5ONrRBM,4535
|
|
618
619
|
infrahub/middleware.py,sha256=Su129MXkXazE9ODlIZ_KtuRHOakMsOHbVKIx15NKXpU,1547
|
|
619
620
|
infrahub/models.py,sha256=QmwJwo3hNCta8BXM7eLsD9qv1S73Rj0cC_crLpadHTc,715
|
|
620
621
|
infrahub/patch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -656,7 +657,7 @@ infrahub/prefect_server/models.py,sha256=InAW7UrC1oASB-EqgpXQtdWnLZJ-Q93ezGUdLJD
|
|
|
656
657
|
infrahub/profiles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
657
658
|
infrahub/profiles/node_applier.py,sha256=mOQ6Ygi7AzcCfInXHA5nVy56KAWUnMC0Y95loz0hw7g,4301
|
|
658
659
|
infrahub/profiles/queries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
659
|
-
infrahub/profiles/queries/get_profile_data.py,sha256=
|
|
660
|
+
infrahub/profiles/queries/get_profile_data.py,sha256=pVvQhw18rBNtenwA6lWN8XUMwnTE4U9aHTx5KyFVq1Q,3529
|
|
660
661
|
infrahub/profiles/tasks.py,sha256=qDzCYKGW_8RZ17VlsZOYoAwWHqhNBoGeXl1k9a9fqhA,1538
|
|
661
662
|
infrahub/proposed_change/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
662
663
|
infrahub/proposed_change/action_checker.py,sha256=FlP5_Kz4kYu1AAAWhlSUVJUiXlkuXBUO8k8XcZq6kGI,7154
|
|
@@ -665,7 +666,7 @@ infrahub/proposed_change/branch_diff.py,sha256=IdMxf5zPmhybQKPPz7AlruNmLCKf5VISP
|
|
|
665
666
|
infrahub/proposed_change/checker.py,sha256=ZhNEVJKsQbHH2UE1O35MfOVa8cK1QGEqGyn6MsOuqSQ,1558
|
|
666
667
|
infrahub/proposed_change/constants.py,sha256=auifG94Oo2cJ4RwZx4P-XDPDpKYPtEVxh013KPfiEdU,2080
|
|
667
668
|
infrahub/proposed_change/models.py,sha256=ivWJmEAihprKmwgaBGDJ4Koq4ETciE5GfDp86KHDnns,5892
|
|
668
|
-
infrahub/proposed_change/tasks.py,sha256=
|
|
669
|
+
infrahub/proposed_change/tasks.py,sha256=tlvpLNqTzS74A-2C06LICZ_dmWyNURxOIjQHnBEG42c,66713
|
|
669
670
|
infrahub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
670
671
|
infrahub/pytest_plugin.py,sha256=u3t0WgLMo9XmuQYeb28mccQ3xbnyv2Fv173YWl1zBiM,6678
|
|
671
672
|
infrahub/repositories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -751,24 +752,24 @@ infrahub/workflows/models.py,sha256=5yx6ZHCVMcYd4uEvxLREEBZDHHyHzQ_PuAh7z2fJV7k,
|
|
|
751
752
|
infrahub/workflows/utils.py,sha256=nJ0K3FtIy-MG0O33h_p5ggU7rxF3Fdj5fIWJ1D7Jl7A,2833
|
|
752
753
|
infrahub_sdk/__init__.py,sha256=weZAa06Ar0NO5IOKLQICtCceHUCKQxbkBxHebqQGJ1o,401
|
|
753
754
|
infrahub_sdk/_importer.py,sha256=8oHTMxa_AMO_qbfb3UXNfjSr31S5YJTcqe-YMrixY_E,2257
|
|
754
|
-
infrahub_sdk/analyzer.py,sha256=
|
|
755
|
+
infrahub_sdk/analyzer.py,sha256=F4D6SSkdd7Z9ItUWInMqeHWNe6b1zVRpCxQROcW4m6Q,4156
|
|
755
756
|
infrahub_sdk/async_typer.py,sha256=Gj7E8EGdjA-XF404vr9cBt20mmbroQh7N68HXhWYx00,892
|
|
756
|
-
infrahub_sdk/batch.py,sha256=
|
|
757
|
-
infrahub_sdk/branch.py,sha256=
|
|
758
|
-
infrahub_sdk/checks.py,sha256=
|
|
759
|
-
infrahub_sdk/client.py,sha256=
|
|
757
|
+
infrahub_sdk/batch.py,sha256=Ms_sIEBVHvJwWLDxHxBGZuj1Pv8IWny1X1aWj00xWNM,3811
|
|
758
|
+
infrahub_sdk/branch.py,sha256=Bub4CT4J52uBK3U7k5RqJENGKWw66d74XaqVkf_rpsg,13057
|
|
759
|
+
infrahub_sdk/checks.py,sha256=aJ4aCde9rMdCK4nl-fSF2rM__I1MkCVBcyiqlgRwDTw,5715
|
|
760
|
+
infrahub_sdk/client.py,sha256=I3U1LmD2tZAdniIWHMPXExzRGTYrj03GgFLQv9q9RZo,110146
|
|
760
761
|
infrahub_sdk/config.py,sha256=mckf2HE7zIjH946t3FWTAOJb2FsiTnHCCVOSzYHAjWY,8875
|
|
761
762
|
infrahub_sdk/constants.py,sha256=Ca66r09eDzpmMhfFAspKFSehSxOmoflVongP-UuBDc4,138
|
|
762
763
|
infrahub_sdk/context.py,sha256=QgXZvtUrKolp6ML8TguVK87Wuu-3KyizZVV_N2F4oCw,400
|
|
763
764
|
infrahub_sdk/convert_object_type.py,sha256=HPwhlQhmPUSLtfC1RqFo9fsCvfdBgJyVrvgjkSOf5MM,2383
|
|
764
765
|
infrahub_sdk/ctl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
765
|
-
infrahub_sdk/ctl/branch.py,sha256=
|
|
766
|
+
infrahub_sdk/ctl/branch.py,sha256=5uvMoSP8NsNiHavWeMqY-O970r1DHSzfESjZ5ezbohI,4831
|
|
766
767
|
infrahub_sdk/ctl/check.py,sha256=96brdjw82kAcq_3qDFQNqzLl8yJPHN8FqK-TJ0_TnXE,7890
|
|
767
768
|
infrahub_sdk/ctl/cli.py,sha256=A9jJKYBo5opzIIyWYf6niyAHhy49V59g6biueMDFbpE,328
|
|
768
|
-
infrahub_sdk/ctl/cli_commands.py,sha256=
|
|
769
|
+
infrahub_sdk/ctl/cli_commands.py,sha256=BlOJZQydRkqZkUgR1cj_pgPo6IbBMQJVQ8yAOqm-sts,18847
|
|
769
770
|
infrahub_sdk/ctl/client.py,sha256=6bmXmQta9qQCJ8HybQwt2uSF2X1Em91xNFpwiKFujxs,2083
|
|
770
771
|
infrahub_sdk/ctl/config.py,sha256=aZ_Dhe5uxH1AzTWUz3EN645I2fflRsqAULJr20E3Ki8,3176
|
|
771
|
-
infrahub_sdk/ctl/exceptions.py,sha256=
|
|
772
|
+
infrahub_sdk/ctl/exceptions.py,sha256=02qfqdck_TP8CHZe4z8XNEIXMoDmJ0KjF_f0_7HYDrg,280
|
|
772
773
|
infrahub_sdk/ctl/exporter.py,sha256=CmqyKpf7q5Pu5Wfo_2HktiF12iD_3rJ9Ifb48BIoJdU,1876
|
|
773
774
|
infrahub_sdk/ctl/generator.py,sha256=ObzzIrzD5R7NOxo2FRRoG6ft-cOpwX6HnDphpnmmbqk,4605
|
|
774
775
|
infrahub_sdk/ctl/graphql.py,sha256=C5g3Q2OWcYG9tu2S7vsR8Z8uw9MvjpAMxg8F-1oBLSc,6668
|
|
@@ -779,46 +780,47 @@ infrahub_sdk/ctl/parameters.py,sha256=aU2H41svfG309m2WdH6R9H5xgQ4gevn3ItOu5ltuVa
|
|
|
779
780
|
infrahub_sdk/ctl/render.py,sha256=zrIz_KXq3QafgNiqqNeYt2JtD2PGOa0D5ujW6NqZdz8,1948
|
|
780
781
|
infrahub_sdk/ctl/repository.py,sha256=Hbkt3mTDNEBvZ3yGm2S5tEW3ealcfuDuSCfI00p4TL4,7997
|
|
781
782
|
infrahub_sdk/ctl/schema.py,sha256=CAq9OSkR1sMRSb-GclFR-dpbyxyRn8qfVeec2gqtc1Q,8099
|
|
783
|
+
infrahub_sdk/ctl/task.py,sha256=vCxU-RNRflbl7I71S83ep_54eh6N4LBIu1mEtoYk6T4,3411
|
|
782
784
|
infrahub_sdk/ctl/transform.py,sha256=5qRqiKeEefs0rda6RAFAAj1jkCKdbPYE_t8O-n436LQ,414
|
|
783
785
|
infrahub_sdk/ctl/utils.py,sha256=du6XksdFybfmst2MwH5KhVGrmjUkoxBsb5nQe_cRnXQ,7513
|
|
784
786
|
infrahub_sdk/ctl/validate.py,sha256=vnP5P--Sknf-Ni43zCW9qHab5AI9qz5h-11moMSzHGQ,3941
|
|
785
787
|
infrahub_sdk/data.py,sha256=4d8Fd1s7lTeOu8JWXsK2m2BM8t_5HG0Z73fnCZGc7Pc,841
|
|
786
788
|
infrahub_sdk/diff.py,sha256=DXENTLn1joKulVqV-uHp8WLiWstnDaccJ-gE4MWfwMM,4344
|
|
787
|
-
infrahub_sdk/exceptions.py,sha256=
|
|
789
|
+
infrahub_sdk/exceptions.py,sha256=wDSzuhySINDrWHS0qpxUhYEu7YUlTfrOOIRxZkm2jgI,5970
|
|
788
790
|
infrahub_sdk/generator.py,sha256=Sr8Ar1dM08SqmxqFYOrM0DPJmBxKhb_2WHR4SOnMZdE,3710
|
|
789
791
|
infrahub_sdk/graphql/__init__.py,sha256=cviPynthQYVJb3eMca2avfRWYYlIBMKYi7-Tn9c0cQI,329
|
|
790
792
|
infrahub_sdk/graphql/constants.py,sha256=B1fE2NFok5RUo4yQ18NNatn4PHQIQtFO92Ip5w8aMi0,97
|
|
791
793
|
infrahub_sdk/graphql/plugin.py,sha256=0-lR88aPa798lvVPGmqKKc9mrKR3otaxyPMhwlgwoK4,3161
|
|
792
|
-
infrahub_sdk/graphql/query.py,sha256=
|
|
794
|
+
infrahub_sdk/graphql/query.py,sha256=UtakHUwenYIUEioBtEKHAXKnExfLIsuuLMdtEpCOAN8,2267
|
|
793
795
|
infrahub_sdk/graphql/renderers.py,sha256=TYSIlrhXRcIHDqt4EN84SXyydeao_tVmU8IZcf0_l_g,8583
|
|
794
796
|
infrahub_sdk/graphql/utils.py,sha256=eS6Sg0n7DsS4DZ3Lcfy7ytmd9Dy7AWkNXIdSICV0kGQ,1460
|
|
795
797
|
infrahub_sdk/groups.py,sha256=GL14ByW4GHrkqOLJ-_vGhu6bkYDxljqPtkErcQVehv0,711
|
|
796
798
|
infrahub_sdk/jinja2.py,sha256=lTfV9E_P5gApaX6RW9M8U8oixQi-0H3U8wcs8fdGVaU,1150
|
|
797
799
|
infrahub_sdk/node/__init__.py,sha256=clAUZ9lNVPFguelR5Sg9PzklAZruTKEm2xk-BaO68l8,1262
|
|
798
|
-
infrahub_sdk/node/attribute.py,sha256=
|
|
800
|
+
infrahub_sdk/node/attribute.py,sha256=Mvgu7o1ImtMRXBOv0l62shPdlKxKlhH9WL9wqExc0AY,4662
|
|
799
801
|
infrahub_sdk/node/constants.py,sha256=TJO4uxvv7sc3FjoLdQdV7Ccymqz8AqxDenARst8awb4,775
|
|
800
802
|
infrahub_sdk/node/node.py,sha256=xJMIGuIpOEs0lNA41SI5utq1FQAcn00YJMQqZSzQGU0,74149
|
|
801
803
|
infrahub_sdk/node/parsers.py,sha256=sLDdT6neoYSZIjOCmq8Bgd0LK8FFoasjvJLuSz0whSU,543
|
|
802
|
-
infrahub_sdk/node/property.py,sha256=
|
|
803
|
-
infrahub_sdk/node/related_node.py,sha256=
|
|
804
|
-
infrahub_sdk/node/relationship.py,sha256=
|
|
805
|
-
infrahub_sdk/object_store.py,sha256=
|
|
806
|
-
infrahub_sdk/operation.py,sha256=
|
|
804
|
+
infrahub_sdk/node/property.py,sha256=IjMQH4zCX1Y_bg0_H6X0PJwQb5VMJLuaOnqARmesCho,736
|
|
805
|
+
infrahub_sdk/node/related_node.py,sha256=AAT3omhSjCx_jqBB-4y0Uf63TqvHSJ_fbSvrW_rORKs,10117
|
|
806
|
+
infrahub_sdk/node/relationship.py,sha256=0QDmTp4tyd7naPLL0j64O6HxLw-7A__bFisLCs-C_ks,13284
|
|
807
|
+
infrahub_sdk/object_store.py,sha256=YCVzJVg_8MBR2HBkwuKpHkUV5ETG01adhEDIIMgNwUY,4315
|
|
808
|
+
infrahub_sdk/operation.py,sha256=A9qGhFeRxlWaw9UfQkfsyfOKRge_RSWPdkjWMO8FKe4,2738
|
|
807
809
|
infrahub_sdk/playback.py,sha256=obAPYDO_3v6EN0aBDllI0T_5lPnCv_Mo3GYHR4Eczs8,1878
|
|
808
810
|
infrahub_sdk/protocols.py,sha256=-tMWGEQCyd7aC16OV1vhZJvLJ29LizuYSSICuWeI6h0,25381
|
|
809
811
|
infrahub_sdk/protocols_base.py,sha256=rw5gP9IEuV2e-DeFHMUoL43nVfxEeGmQKjoE3YZCV78,5616
|
|
810
812
|
infrahub_sdk/protocols_generator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
811
813
|
infrahub_sdk/protocols_generator/constants.py,sha256=8y5L7aqxhez6_10Cl2zUfNlHJCCosIVnxrOPKrwNVEw,820
|
|
812
|
-
infrahub_sdk/protocols_generator/generator.py,sha256=
|
|
814
|
+
infrahub_sdk/protocols_generator/generator.py,sha256=VFvXO8rmRdXgonRzxap5-N-th7_2WotMO_8RhK_BjEI,5272
|
|
813
815
|
infrahub_sdk/protocols_generator/template.j2,sha256=cm2wsKXHXOiW7N_byxnE2vLnn8gHQ99rs56qVquTTDw,3722
|
|
814
816
|
infrahub_sdk/pytest_plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
815
|
-
infrahub_sdk/pytest_plugin/exceptions.py,sha256=
|
|
817
|
+
infrahub_sdk/pytest_plugin/exceptions.py,sha256=CZTpfuVkeSrJPFDf62uQrd2CCW2A8ktcF5L_4INrzAI,2257
|
|
816
818
|
infrahub_sdk/pytest_plugin/items/__init__.py,sha256=Au90dLk6lbSgRAoqrZOdYJ6m0lwFJYHFiAQHrcc6_rI,1026
|
|
817
|
-
infrahub_sdk/pytest_plugin/items/base.py,sha256
|
|
818
|
-
infrahub_sdk/pytest_plugin/items/check.py,sha256=
|
|
819
|
+
infrahub_sdk/pytest_plugin/items/base.py,sha256=74EHVrC_DINoB0H5n3-3jEtJ9ISK0MCep0ew9dgIqqE,3076
|
|
820
|
+
infrahub_sdk/pytest_plugin/items/check.py,sha256=ISK0Niae1hSvsKOZboOKJd6HUZGh8blsg1jMaD_r0Wk,3372
|
|
819
821
|
infrahub_sdk/pytest_plugin/items/graphql_query.py,sha256=_OdF5BosbvAuH0b8-CiAFmcYpXGA_Ssnuvb1X6oX9GA,2353
|
|
820
822
|
infrahub_sdk/pytest_plugin/items/jinja2_transform.py,sha256=N0zzrJ0Dar-ZHF-MQB-rDU8qtoFGfOB2GcnNgl_4I1Q,4694
|
|
821
|
-
infrahub_sdk/pytest_plugin/items/python_transform.py,sha256=
|
|
823
|
+
infrahub_sdk/pytest_plugin/items/python_transform.py,sha256=Qe5QcCeeXzSoKs6C20XVdgYRvm9ide5lFTCShzJDTVo,4183
|
|
822
824
|
infrahub_sdk/pytest_plugin/loader.py,sha256=x9sOKGYQeDewx_y5RlGPF2C-ZV44eolfC0c6BOjDAug,4248
|
|
823
825
|
infrahub_sdk/pytest_plugin/models.py,sha256=2zpsLuBvtZEGe1yH57_JzKSk_wWhebz77R8Y-VfuD48,7131
|
|
824
826
|
infrahub_sdk/pytest_plugin/plugin.py,sha256=iQ_VKfPdpMp9o9UWi7GhE6X0k1YH5P3DsD7_TmlAaTY,4700
|
|
@@ -826,14 +828,14 @@ infrahub_sdk/pytest_plugin/utils.py,sha256=yyVJ0yFN2gUSlCbsHD3_3PfqBqOmVhlsHR24q
|
|
|
826
828
|
infrahub_sdk/queries.py,sha256=s4gnx67e-MNg-3jP4Vx1jreO9uiW3uYPllFQgaTODdQ,2308
|
|
827
829
|
infrahub_sdk/query_groups.py,sha256=XMizAadkItEFgH8waXRg7jzckSWqK92YDcAPorwkids,10507
|
|
828
830
|
infrahub_sdk/recorder.py,sha256=_NPtSLX3-Dam6BHt7daLzv-IAVxvU-35GIGu7YtA08Y,2285
|
|
829
|
-
infrahub_sdk/repository.py,sha256=
|
|
830
|
-
infrahub_sdk/schema/__init__.py,sha256=
|
|
831
|
+
infrahub_sdk/repository.py,sha256=B9KWx2lVkMIZ-3RaVO9J9Sc8LXmVPxUVbBoL-jeMyXE,981
|
|
832
|
+
infrahub_sdk/schema/__init__.py,sha256=5ukQIHrj93_akpFYsc71Pp-4Ooj7NysnIAWyYsZSx1U,31308
|
|
831
833
|
infrahub_sdk/schema/main.py,sha256=an9mfg6hNOhxF3eR87NO3qc0oMFUcX0EEfiojWlQtLo,12219
|
|
832
834
|
infrahub_sdk/schema/repository.py,sha256=nv33K9ZwejDEYrgUs0V-t8TnB-18T_AnqvioRGdiEhM,12581
|
|
833
835
|
infrahub_sdk/spec/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
834
836
|
infrahub_sdk/spec/menu.py,sha256=KG8KpDYqlVWsCQXCUlAX7P7Jbw3bB60hlTMRs0cohOk,1078
|
|
835
837
|
infrahub_sdk/spec/models.py,sha256=BU0cyIn67KOhN3N3NB9T06NrK4fS7yFiCoL_Jpjtqsc,143
|
|
836
|
-
infrahub_sdk/spec/object.py,sha256=
|
|
838
|
+
infrahub_sdk/spec/object.py,sha256=NRmqo77p84yPJgzpUvnfWzVbiUo2UREikpxlSsBBj8w,27104
|
|
837
839
|
infrahub_sdk/spec/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
838
840
|
infrahub_sdk/spec/processors/data_processor.py,sha256=_ZooqKoJq-2PKcpDV_ZSQ5KizFmmkXuOhGQS5pDNEoQ,312
|
|
839
841
|
infrahub_sdk/spec/processors/factory.py,sha256=Y8UnJSVDdGDTHOj2jLKFUqvX8tR0oyzhY9GcyzFO9yA,1129
|
|
@@ -842,9 +844,9 @@ infrahub_sdk/spec/range_expansion.py,sha256=QOlPYSw2lLv9QAS2Sma9NFadbdFFqkhFqk5p
|
|
|
842
844
|
infrahub_sdk/store.py,sha256=rmTNiAZFebi3I_NOnErhZswZPMrUJrkfu81PHf5aOlE,14091
|
|
843
845
|
infrahub_sdk/task/__init__.py,sha256=6MTui97_uymZ9BBQGC9xRrT6qpzHc0YxkkKWIdW0FdM,210
|
|
844
846
|
infrahub_sdk/task/constants.py,sha256=gj0Cx_0RV0G5KAjx9XvUsf4LfEDMjvGqxEg0qL0LknI,126
|
|
845
|
-
infrahub_sdk/task/exceptions.py,sha256=
|
|
846
|
-
infrahub_sdk/task/manager.py,sha256=
|
|
847
|
-
infrahub_sdk/task/models.py,sha256=
|
|
847
|
+
infrahub_sdk/task/exceptions.py,sha256=dPtO4GvCdrb6DTCULbVHkSyUw0PjO_mLDjNueQBu-1I,834
|
|
848
|
+
infrahub_sdk/task/manager.py,sha256=xfzctUjG3JOS6QbC6nChrb_5ESnMRsjQoraMzttWK-g,19380
|
|
849
|
+
infrahub_sdk/task/models.py,sha256=6Cuhl45LLwwRMhyAcVEXv7WC5yuMK-Y7PBFsaZCUPNQ,1983
|
|
848
850
|
infrahub_sdk/template/__init__.py,sha256=nu_WN3jTAaT_FFacmZiu3XGr2HyApyuYnKC83ldlSb0,8147
|
|
849
851
|
infrahub_sdk/template/exceptions.py,sha256=mpO09MUZpEhb8OcYGb9MstyAQ16v2f5WA8MzHeQc8zs,1263
|
|
850
852
|
infrahub_sdk/template/filters.py,sha256=YfNkeJnbBz6Qvi6VmEjctVVifk2cYZPqswrDAEAKhA8,10179
|
|
@@ -855,38 +857,38 @@ infrahub_sdk/testing/repository.py,sha256=9s4MMaMljbJe97Ua4bJgc64giQ2UMC0bD5qIqY
|
|
|
855
857
|
infrahub_sdk/testing/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
856
858
|
infrahub_sdk/testing/schemas/animal.py,sha256=a1vydXPttoPvsGbSHY5H89AEoi7AWE2JiCGRBE9LJS8,7403
|
|
857
859
|
infrahub_sdk/testing/schemas/car_person.py,sha256=cKGfgT24q9qg06D9kGFihr1uZY2SJ_G4kWFFOEL_chg,8982
|
|
858
|
-
infrahub_sdk/timestamp.py,sha256=
|
|
860
|
+
infrahub_sdk/timestamp.py,sha256=KodZWftkZOCXcLVBVFMTJPvBdy1p7J77CluxEu4vAC8,6480
|
|
859
861
|
infrahub_sdk/topological_sort.py,sha256=RqIGYxHlqOUHvMSAxbq6658TYLaEIdrFP4wyK3Hva5w,2456
|
|
860
862
|
infrahub_sdk/transfer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
861
863
|
infrahub_sdk/transfer/constants.py,sha256=kdYkVWif8v4IiWbbff3Mn3JnPCXD2ONI3SLXQM17Ljw,56
|
|
862
864
|
infrahub_sdk/transfer/exceptions.py,sha256=MK-jvBTYMyasjQ_0qeQBLSP_ocob0yhrBDuJ2XLgUvU,237
|
|
863
865
|
infrahub_sdk/transfer/exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
864
866
|
infrahub_sdk/transfer/exporter/interface.py,sha256=6_X7Hay7VbE7TGYjmt2iv5AOrSe-skZP8nTALQzYzIw,297
|
|
865
|
-
infrahub_sdk/transfer/exporter/json.py,sha256=
|
|
867
|
+
infrahub_sdk/transfer/exporter/json.py,sha256=meD1EEd1qedElUzGqDiHcoSKzibW-n3kKyrtpYhLw1I,6900
|
|
866
868
|
infrahub_sdk/transfer/importer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
867
869
|
infrahub_sdk/transfer/importer/interface.py,sha256=TN7FH_LgThkBjrpWwkdTZIVJPtNklAYiK3Mn6RPs7IM,195
|
|
868
|
-
infrahub_sdk/transfer/importer/json.py,sha256
|
|
870
|
+
infrahub_sdk/transfer/importer/json.py,sha256=07Z23EQlR3zKIwCxAUtrbgbv_L2HUKR9PHumopvbRl8,9662
|
|
869
871
|
infrahub_sdk/transfer/schema_sorter.py,sha256=ZoBjJGFT-6jQoKOLaoOPMAWzs7vGOeo7x6zOOP4LNv0,1244
|
|
870
|
-
infrahub_sdk/transforms.py,sha256=
|
|
872
|
+
infrahub_sdk/transforms.py,sha256=rClBQnaSuozz2bS-d5iJgnAjQF1FqYfX3Yc6iTH3b3Q,2348
|
|
871
873
|
infrahub_sdk/types.py,sha256=UeZ1rDp4eyH12ApTcUD9a1OOtCp3IL1YZUeeZ06qF-I,1726
|
|
872
874
|
infrahub_sdk/utils.py,sha256=263i-xkGkPMpSH8n6G6IF8Yt54pHSoTjo5ef30MSWOw,11906
|
|
873
875
|
infrahub_sdk/uuidt.py,sha256=Tz-4nHkJwbi39UT3gaIe2wJeZNAoBqf6tm3sw7LZbXc,2155
|
|
874
876
|
infrahub_sdk/yaml.py,sha256=PRsS7BEM-Xn5wRLAAG-YLTGRBEJy5Dnyim2YskFfe8I,5539
|
|
875
877
|
infrahub_testcontainers/__init__.py,sha256=oPpmesGgYBSdKTg1L37FGwYBeao1EHury5SJGul-CT8,216
|
|
876
878
|
infrahub_testcontainers/constants.py,sha256=mZ4hLvcf4rKk9wC7EId4MQxAY0sk4V99deB04N0J2bg,85
|
|
877
|
-
infrahub_testcontainers/container.py,sha256=
|
|
879
|
+
infrahub_testcontainers/container.py,sha256=pjre803SgFegb-LqvIP21OEJwVifE7C3PSkTVRTKfEY,25342
|
|
878
880
|
infrahub_testcontainers/docker-compose-cluster.test.yml,sha256=WFWQLDoeS0E5MfjlOejfwaFMNu8ejsJ6ay7iuLonlCc,15108
|
|
879
881
|
infrahub_testcontainers/docker-compose.test.yml,sha256=BSZ8C3tEg7g6a9Qm4TcCIqxgX1RkqSjfF8y8fcs3SZ0,11506
|
|
880
882
|
infrahub_testcontainers/haproxy.cfg,sha256=QUkG2Xu-hKoknPOeYKAkBT_xJH6U9CfIS0DTMFZJsnk,1305
|
|
881
|
-
infrahub_testcontainers/helpers.py,sha256=
|
|
883
|
+
infrahub_testcontainers/helpers.py,sha256=7Cat-Q4bcblg5oLvMW1lwMZ7fxxc5Ba9Q2pvATNcR-A,4883
|
|
882
884
|
infrahub_testcontainers/host.py,sha256=Z4_gGoGKKeM_HGVS7SdYL1FTNGyLBk8wzicdSKHpfmM,1486
|
|
883
885
|
infrahub_testcontainers/measurements.py,sha256=gR-uTasSIFCXrwvnNpIpfsQIopKftT7pBiarCgIShaQ,2214
|
|
884
|
-
infrahub_testcontainers/models.py,sha256
|
|
885
|
-
infrahub_testcontainers/performance_test.py,sha256=
|
|
886
|
+
infrahub_testcontainers/models.py,sha256=hT7WEX2o7gxTFPE9uhtP5yigKgP5YSsy2c3tFB-fR7E,1007
|
|
887
|
+
infrahub_testcontainers/performance_test.py,sha256=_nf7Uk15mHwqpN4y7XUfI4JI54-UaXW-Yu4uwMIx21w,6185
|
|
886
888
|
infrahub_testcontainers/plugin.py,sha256=I3RuZQ0dARyKHuqCf0y1Yj731P2Mwf3BJUehRJKeWrs,5645
|
|
887
889
|
infrahub_testcontainers/prometheus.yml,sha256=610xQEyj3xuVJMzPkC4m1fRnCrjGpiRBrXA2ytCLa54,599
|
|
888
|
-
infrahub_server-1.5.
|
|
889
|
-
infrahub_server-1.5.
|
|
890
|
-
infrahub_server-1.5.
|
|
891
|
-
infrahub_server-1.5.
|
|
892
|
-
infrahub_server-1.5.
|
|
890
|
+
infrahub_server-1.5.1.dist-info/LICENSE.txt,sha256=7GQO7kxVoQYnZtFrjZBKLRXbrGwwwimHPPOJtqXsozQ,11340
|
|
891
|
+
infrahub_server-1.5.1.dist-info/METADATA,sha256=Ci9Q7X9kIG5Irx9yGBYFmcu63aWKr5I80qx1wblacYc,6127
|
|
892
|
+
infrahub_server-1.5.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
893
|
+
infrahub_server-1.5.1.dist-info/entry_points.txt,sha256=UXIeFWDsrV-4IllNvUEd6KieYGzQfn9paga2YyABOQI,393
|
|
894
|
+
infrahub_server-1.5.1.dist-info/RECORD,,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import os
|
|
2
4
|
import shutil
|
|
3
5
|
import time
|
|
@@ -72,7 +74,10 @@ class InfrahubDockerCompose(DockerCompose):
|
|
|
72
74
|
|
|
73
75
|
@classmethod
|
|
74
76
|
def init(
|
|
75
|
-
cls,
|
|
77
|
+
cls,
|
|
78
|
+
directory: Path | None = None,
|
|
79
|
+
version: str | None = None,
|
|
80
|
+
deployment_type: str | None = None,
|
|
76
81
|
) -> Self:
|
|
77
82
|
if not directory:
|
|
78
83
|
directory = Path.cwd()
|
|
@@ -84,7 +89,11 @@ class InfrahubDockerCompose(DockerCompose):
|
|
|
84
89
|
if version == "local" and infrahub_image_version:
|
|
85
90
|
version = infrahub_image_version
|
|
86
91
|
|
|
87
|
-
compose = cls(
|
|
92
|
+
compose = cls(
|
|
93
|
+
project_name=cls.generate_project_name(),
|
|
94
|
+
context=directory,
|
|
95
|
+
deployment_type=deployment_type,
|
|
96
|
+
)
|
|
88
97
|
compose.create_docker_file(directory=directory)
|
|
89
98
|
compose.create_env_file(directory=directory, version=version)
|
|
90
99
|
|
|
@@ -240,7 +249,10 @@ class InfrahubDockerCompose(DockerCompose):
|
|
|
240
249
|
}
|
|
241
250
|
|
|
242
251
|
def database_create_backup(
|
|
243
|
-
self,
|
|
252
|
+
self,
|
|
253
|
+
backup_name: str = "neo4j_database.backup",
|
|
254
|
+
dest_dir: Path | None = None,
|
|
255
|
+
compress: bool = False,
|
|
244
256
|
) -> None:
|
|
245
257
|
assert self.use_neo4j_enterprise
|
|
246
258
|
|
|
@@ -283,7 +295,14 @@ class InfrahubDockerCompose(DockerCompose):
|
|
|
283
295
|
self.start_container(service_name=service_name)
|
|
284
296
|
|
|
285
297
|
self.exec_in_container(
|
|
286
|
-
command=[
|
|
298
|
+
command=[
|
|
299
|
+
"cypher-shell",
|
|
300
|
+
"-u",
|
|
301
|
+
"neo4j",
|
|
302
|
+
"-p",
|
|
303
|
+
"admin",
|
|
304
|
+
"STOP DATABASE neo4j;",
|
|
305
|
+
],
|
|
287
306
|
service_name=service_name,
|
|
288
307
|
)
|
|
289
308
|
|
|
@@ -368,7 +387,14 @@ class InfrahubDockerCompose(DockerCompose):
|
|
|
368
387
|
time.sleep(10)
|
|
369
388
|
|
|
370
389
|
self.exec_in_container(
|
|
371
|
-
command=[
|
|
390
|
+
command=[
|
|
391
|
+
"cypher-shell",
|
|
392
|
+
"-u",
|
|
393
|
+
"neo4j",
|
|
394
|
+
"-p",
|
|
395
|
+
"admin",
|
|
396
|
+
"DROP DATABASE neo4j;",
|
|
397
|
+
],
|
|
372
398
|
service_name=service_name,
|
|
373
399
|
)
|
|
374
400
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import os
|
|
2
4
|
import subprocess # noqa: S404
|
|
3
5
|
import uuid
|
|
@@ -24,13 +26,21 @@ class TestInfrahubDocker:
|
|
|
24
26
|
env["INFRAHUB_API_TOKEN"] = PROJECT_ENV_VARIABLES["INFRAHUB_TESTING_INITIAL_ADMIN_TOKEN"]
|
|
25
27
|
env["INFRAHUB_MAX_CONCURRENT_EXECUTION"] = "1"
|
|
26
28
|
result = subprocess.run( # noqa: S602
|
|
27
|
-
f"infrahubctl run {script}",
|
|
29
|
+
f"infrahubctl run {script}",
|
|
30
|
+
shell=True,
|
|
31
|
+
capture_output=True,
|
|
32
|
+
text=True,
|
|
33
|
+
env=env,
|
|
34
|
+
check=False,
|
|
28
35
|
)
|
|
29
36
|
return result.stdout
|
|
30
37
|
|
|
31
38
|
@staticmethod
|
|
32
39
|
def execute_command(
|
|
33
|
-
command: str,
|
|
40
|
+
command: str,
|
|
41
|
+
address: str,
|
|
42
|
+
concurrent_execution: int = 10,
|
|
43
|
+
pagination_size: int = 50,
|
|
34
44
|
) -> subprocess.CompletedProcess[str]:
|
|
35
45
|
env = os.environ.copy()
|
|
36
46
|
env["INFRAHUB_ADDRESS"] = address
|
|
@@ -79,7 +89,9 @@ class TestInfrahubDocker:
|
|
|
79
89
|
deployment_type: str | None,
|
|
80
90
|
) -> InfrahubDockerCompose:
|
|
81
91
|
return InfrahubDockerCompose.init(
|
|
82
|
-
directory=tmp_directory,
|
|
92
|
+
directory=tmp_directory,
|
|
93
|
+
version=infrahub_version,
|
|
94
|
+
deployment_type=deployment_type,
|
|
83
95
|
)
|
|
84
96
|
|
|
85
97
|
@pytest.fixture(scope="class")
|
|
@@ -90,7 +102,10 @@ class TestInfrahubDocker:
|
|
|
90
102
|
tests_failed_during_class = request.session.testsfailed - tests_failed_before_class
|
|
91
103
|
if tests_failed_during_class > 0:
|
|
92
104
|
stdout, stderr = infrahub_compose.get_logs("infrahub-server", "task-worker")
|
|
93
|
-
warnings.warn(
|
|
105
|
+
warnings.warn(
|
|
106
|
+
f"Container logs:\nStdout:\n{stdout}\nStderr:\n{stderr}",
|
|
107
|
+
stacklevel=2,
|
|
108
|
+
)
|
|
94
109
|
infrahub_compose.stop()
|
|
95
110
|
|
|
96
111
|
request.addfinalizer(cleanup)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
from
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime, timezone
|
|
2
4
|
from enum import Enum
|
|
3
|
-
from typing import Any
|
|
5
|
+
from typing import Any, Union
|
|
4
6
|
|
|
5
7
|
from pydantic import BaseModel, Field
|
|
6
8
|
|
|
@@ -15,24 +17,24 @@ class ContextUnit(str, Enum):
|
|
|
15
17
|
class MeasurementDefinition(BaseModel):
|
|
16
18
|
name: str
|
|
17
19
|
description: str
|
|
18
|
-
dimensions: list[str] = Field(default_factory=
|
|
20
|
+
dimensions: list[str] = Field(default_factory=list)
|
|
19
21
|
unit: ContextUnit
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
class InfrahubResultContext(BaseModel):
|
|
23
25
|
name: str
|
|
24
|
-
value: int
|
|
26
|
+
value: Union[int, float, str]
|
|
25
27
|
unit: ContextUnit
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
class InfrahubActiveMeasurementItem(BaseModel):
|
|
29
31
|
definition: MeasurementDefinition
|
|
30
|
-
start_time: datetime = Field(default_factory=lambda: datetime.now(
|
|
32
|
+
start_time: datetime = Field(default_factory=lambda: datetime.now(timezone.utc))
|
|
31
33
|
context: dict[str, Any] = Field(default_factory=dict)
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
class InfrahubMeasurementItem(BaseModel):
|
|
35
37
|
name: str
|
|
36
|
-
value: int
|
|
38
|
+
value: Union[int, float, str]
|
|
37
39
|
unit: ContextUnit
|
|
38
40
|
context: dict[str, Any] = Field(default_factory=dict)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import hashlib
|
|
2
4
|
import json
|
|
3
|
-
from datetime import
|
|
5
|
+
from datetime import datetime, timezone
|
|
4
6
|
from types import TracebackType
|
|
5
7
|
from typing import Any
|
|
6
8
|
|
|
@@ -35,7 +37,7 @@ class InfrahubPerformanceTest:
|
|
|
35
37
|
self.env_vars = {}
|
|
36
38
|
self.project_name = ""
|
|
37
39
|
self.test_info = {}
|
|
38
|
-
self.start_time = datetime.now(
|
|
40
|
+
self.start_time = datetime.now(timezone.utc)
|
|
39
41
|
self.end_time: datetime | None = None
|
|
40
42
|
self.results_url = results_url
|
|
41
43
|
self.scraper_endpoint = ""
|
|
@@ -57,7 +59,7 @@ class InfrahubPerformanceTest:
|
|
|
57
59
|
|
|
58
60
|
def finalize(self, session: pytest.Session) -> None:
|
|
59
61
|
if self.initialized:
|
|
60
|
-
self.end_time = datetime.now(
|
|
62
|
+
self.end_time = datetime.now(timezone.utc)
|
|
61
63
|
self.extract_test_session_information(session)
|
|
62
64
|
self.send_results()
|
|
63
65
|
|
|
@@ -129,7 +131,7 @@ class InfrahubPerformanceTest:
|
|
|
129
131
|
if not exc_type and self.active_measurements:
|
|
130
132
|
self.add_measurement(
|
|
131
133
|
definition=self.active_measurements.definition,
|
|
132
|
-
value=(datetime.now(
|
|
134
|
+
value=(datetime.now(timezone.utc) - self.active_measurements.start_time).total_seconds() * 1000,
|
|
133
135
|
context=self.active_measurements.context,
|
|
134
136
|
)
|
|
135
137
|
|
|
File without changes
|