infrahub-server 1.2.9rc0__py3-none-any.whl → 1.2.10__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 (52) hide show
  1. infrahub/computed_attribute/models.py +13 -0
  2. infrahub/computed_attribute/tasks.py +48 -26
  3. infrahub/core/attribute.py +43 -2
  4. infrahub/core/branch/models.py +8 -9
  5. infrahub/core/branch/tasks.py +0 -2
  6. infrahub/core/diff/calculator.py +65 -11
  7. infrahub/core/diff/combiner.py +38 -31
  8. infrahub/core/diff/coordinator.py +44 -28
  9. infrahub/core/diff/data_check_synchronizer.py +3 -2
  10. infrahub/core/diff/enricher/hierarchy.py +36 -27
  11. infrahub/core/diff/ipam_diff_parser.py +5 -4
  12. infrahub/core/diff/merger/merger.py +46 -16
  13. infrahub/core/diff/merger/serializer.py +1 -0
  14. infrahub/core/diff/model/field_specifiers_map.py +64 -0
  15. infrahub/core/diff/model/path.py +58 -58
  16. infrahub/core/diff/parent_node_adder.py +14 -16
  17. infrahub/core/diff/query/drop_nodes.py +42 -0
  18. infrahub/core/diff/query/field_specifiers.py +8 -7
  19. infrahub/core/diff/query/filters.py +15 -1
  20. infrahub/core/diff/query/merge.py +264 -28
  21. infrahub/core/diff/query/save.py +6 -2
  22. infrahub/core/diff/query_parser.py +50 -64
  23. infrahub/core/diff/repository/deserializer.py +38 -24
  24. infrahub/core/diff/repository/repository.py +31 -12
  25. infrahub/core/graph/__init__.py +1 -1
  26. infrahub/core/migrations/graph/__init__.py +2 -0
  27. infrahub/core/migrations/graph/m027_delete_isolated_nodes.py +50 -0
  28. infrahub/core/migrations/graph/m028_delete_diffs.py +38 -0
  29. infrahub/core/query/branch.py +27 -17
  30. infrahub/core/query/diff.py +162 -51
  31. infrahub/core/query/node.py +39 -5
  32. infrahub/core/query/relationship.py +105 -30
  33. infrahub/core/query/subquery.py +2 -2
  34. infrahub/core/relationship/model.py +1 -1
  35. infrahub/core/schema/schema_branch.py +3 -0
  36. infrahub/core/validators/uniqueness/query.py +7 -0
  37. infrahub/graphql/queries/diff/tree.py +2 -1
  38. infrahub/trigger/models.py +11 -1
  39. infrahub/trigger/setup.py +51 -15
  40. infrahub/trigger/tasks.py +1 -4
  41. infrahub/types.py +1 -1
  42. infrahub/webhook/models.py +2 -1
  43. infrahub/workflows/catalogue.py +9 -0
  44. infrahub/workflows/initialization.py +1 -3
  45. infrahub_sdk/timestamp.py +2 -2
  46. {infrahub_server-1.2.9rc0.dist-info → infrahub_server-1.2.10.dist-info}/METADATA +3 -3
  47. {infrahub_server-1.2.9rc0.dist-info → infrahub_server-1.2.10.dist-info}/RECORD +52 -48
  48. infrahub_testcontainers/docker-compose.test.yml +3 -3
  49. infrahub_testcontainers/performance_test.py +6 -3
  50. {infrahub_server-1.2.9rc0.dist-info → infrahub_server-1.2.10.dist-info}/LICENSE.txt +0 -0
  51. {infrahub_server-1.2.9rc0.dist-info → infrahub_server-1.2.10.dist-info}/WHEEL +0 -0
  52. {infrahub_server-1.2.9rc0.dist-info → infrahub_server-1.2.10.dist-info}/entry_points.txt +0 -0
@@ -38,8 +38,8 @@ infrahub/components.py,sha256=lSLDCDwIZoakZ2iBrfHi9c3BxzugMiuiZO6V7Egt6tk,107
38
38
  infrahub/computed_attribute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  infrahub/computed_attribute/constants.py,sha256=oTMPEfRuf2mcfCkBpRLWRALO6nsLHpFm9jJGu0lowS4,446
40
40
  infrahub/computed_attribute/gather.py,sha256=TSv6_CWZH1DYRv430jzyJpFJWKzwPGka5wFiL1jJ9rM,8096
41
- infrahub/computed_attribute/models.py,sha256=xAzLfZ8teEiJrfa8JOc3EAjikOMakj0LCvWmwGh9miQ,16789
42
- infrahub/computed_attribute/tasks.py,sha256=nyTMJ-mC0tsWtCy1rC6UrSA6a1wxPeppevtrn3KnqWI,16850
41
+ infrahub/computed_attribute/models.py,sha256=P_MijLwCVd7394oyTTfYQ3HmX5wIF966jdchuZaLRbs,17361
42
+ infrahub/computed_attribute/tasks.py,sha256=k3qNNKxF2lS9tZDRKrB_sKX552rpfM-Q-4yj6WJLvs4,17880
43
43
  infrahub/computed_attribute/triggers.py,sha256=ve1cUj0CZ7dU1VtZkxET9LD8StszKIL9mCkTZpCeUaI,2304
44
44
  infrahub/config.py,sha256=IXLp97Y2pxtGcQxwwuBSuBQotFGdHEtj1rf9EZ5z-_I,35255
45
45
  infrahub/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -47,10 +47,10 @@ infrahub/constants/database.py,sha256=WmV1iuOk4xulxZHOVvO3sS_VF1eTf7fKh0TPe_RnfV
47
47
  infrahub/context.py,sha256=8SZRKSECkkcsNNzDaKEUJ7Nyr0EzUfToAy969LXjQVk,1554
48
48
  infrahub/core/__init__.py,sha256=z6EJBZyCYCBqinoBtX9li6BTBbbGV8WCkE_4CrEsmDA,104
49
49
  infrahub/core/account.py,sha256=_RL8QTRsA7XmaTfWSfE6GGy8Z1BEPK5BWoc_LUjDfyE,26507
50
- infrahub/core/attribute.py,sha256=TUw_yTUo8eJyy0_iD0p1CdI6xfyNvIPdTb3f7ZZS2sA,43003
50
+ infrahub/core/attribute.py,sha256=Sr43iq47AX43jIfkQ5N-WjMJhPz-xVqXXNjJlqurcxM,43908
51
51
  infrahub/core/branch/__init__.py,sha256=h0oIj0gHp1xI-N1cYW8_N6VZ81CBOmLuiUt5cS5nKuk,49
52
- infrahub/core/branch/models.py,sha256=pu597Oe2N33cNdXDR59EgCFVHQOy1-hkl3UZnqSu-Vs,19471
53
- infrahub/core/branch/tasks.py,sha256=Q9dJtKbEieeQZJQ4FI5qlLvoQKnKmDHl1BcF_iaguUo,20984
52
+ infrahub/core/branch/models.py,sha256=8e0BXwbFV4zHMSpqAp1Zp4L8YlxBs0Mxpl9gMoFGeJ4,19539
53
+ infrahub/core/branch/tasks.py,sha256=_5tuv068xczwGYB2MZffPIdchhhgm1ciqOawdIO2pAo,20904
54
54
  infrahub/core/changelog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  infrahub/core/changelog/diff.py,sha256=0BxCpsgJ-38x5BBz5XDtAvc9FPy82M0NlzXl8nQ-c70,13752
56
56
  infrahub/core/changelog/models.py,sha256=UgfJdOFUkMmjeUKe1mPCO7WE3jNENw0UJU3LWFf20HQ,29920
@@ -66,32 +66,33 @@ infrahub/core/diff/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
66
66
  infrahub/core/diff/artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
67
  infrahub/core/diff/artifacts/calculator.py,sha256=qk1DspB3bkKeWJFesLbmziCALVnbRadjrez1kn_IZWU,4435
68
68
  infrahub/core/diff/branch_differ.py,sha256=62TRs3tGb4brQqCaVoI2iMIiPnny3_0_e9j-Mq-AXx4,7752
69
- infrahub/core/diff/calculator.py,sha256=1kGY-Pgp2ji4hg2KKWOcFXo3f5vmBuCcxSLRhZK1tD0,7250
70
- infrahub/core/diff/combiner.py,sha256=6Mcd8LY2qhnCJMJDWlm9fbLeAPm5Ari8N8fL_Rq1GLA,22904
69
+ infrahub/core/diff/calculator.py,sha256=Wn0IRqCujwfXXNQbi6n-npEE0UrcWi5qq58wAIBMZsM,9976
70
+ infrahub/core/diff/combiner.py,sha256=qL4WQsphB2sVnncgskSG_QcJBqBHjaK0vWU_apeTn-E,23508
71
71
  infrahub/core/diff/conflict_transferer.py,sha256=LZCuS9Dbr4yBf-bd3RF-9cPnaOvVWiU3KBmmwxbRZl0,3968
72
72
  infrahub/core/diff/conflicts_enricher.py,sha256=x6qiZOXO2A3BQ2Fm78apJ4WA7HLzPO84JomJfcyuyDg,12552
73
73
  infrahub/core/diff/conflicts_extractor.py,sha256=HysGoyNy9qMxfQ0Lh4AVZsRpHUBpezQNUa8cteVLb2k,9715
74
- infrahub/core/diff/coordinator.py,sha256=Gk9j9im6oQ_EEznw6XgJGARLOzUJwSA9vgO8GKKIaXw,25879
75
- infrahub/core/diff/data_check_synchronizer.py,sha256=g2Indp5Yw0FZon1pCzSopZQ5i_HLvCtlzcnIlYFb5X0,9138
74
+ infrahub/core/diff/coordinator.py,sha256=HDbz6dTIALTR6NzmGw1DnEb6o_VYDYbpZzP8TUqN7l4,27134
75
+ infrahub/core/diff/data_check_synchronizer.py,sha256=HcbYEIe-70MBiSR6P0AmAwgY9aFxYCJktxOiRcJaxj8,9241
76
76
  infrahub/core/diff/enricher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
77
  infrahub/core/diff/enricher/aggregated.py,sha256=-LnAeNKDo6mifjL3d3ylCg1A9dTZJBySngWPeF7DfrY,793
78
78
  infrahub/core/diff/enricher/cardinality_one.py,sha256=dKgoc0-9RwXG7N1zQc3S49eNZokvi5NzH7YFF3ag4RQ,6796
79
- infrahub/core/diff/enricher/hierarchy.py,sha256=kEodSDMgPWTNISehXgKKq_CfUZ9IFlngrdsJ9EosLhs,7934
79
+ infrahub/core/diff/enricher/hierarchy.py,sha256=07Klb-biUFIcMh0W1OZXkvDPtNcA_ITK22VDmexc8V8,8730
80
80
  infrahub/core/diff/enricher/interface.py,sha256=pmbWFPONRznDcAPMchVIRm0cTqMThkkwCby8XVLjGWU,265
81
81
  infrahub/core/diff/enricher/labels.py,sha256=GN0AwQRMLLlEN4Qt1_senZrkY0rUu2TbuiTppR_yI5g,10001
82
82
  infrahub/core/diff/enricher/path_identifier.py,sha256=NGCFDdv0Gr96avHkCdory7_4bzZxWTIwdBczJePx6Nw,3329
83
83
  infrahub/core/diff/enricher/summary_counts.py,sha256=A-lOe9C40qG5i9pLjMONoPvhbKIQYek6jzmJDHDFuxg,4840
84
84
  infrahub/core/diff/exceptions.py,sha256=R-i0mnzNwmHH9HQ1C7YAfL6tys-CbwQCIwTTmjfF_BM,546
85
- infrahub/core/diff/ipam_diff_parser.py,sha256=36DcP24bOpTT0bm3zKN6Fuyl_kaxl4t-DK8pSrOM99k,6580
85
+ infrahub/core/diff/ipam_diff_parser.py,sha256=HLpn93TiXX7UjchoJe7KNPa0jMX888UopXfr9tQwraw,6758
86
86
  infrahub/core/diff/merger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
- infrahub/core/diff/merger/merger.py,sha256=8XFpbUlx5GYcWq1AcwiHJaIx4Fpo0oNTysAYwXP06wk,3526
87
+ infrahub/core/diff/merger/merger.py,sha256=xf59lxtH_qy-cygFRpUiMbELjumCIO8mUsScvE1b5ag,4888
88
88
  infrahub/core/diff/merger/model.py,sha256=z1pjX0SXvZkqCqdcUKae73v6eEBrjUNotnkx0noe2wc,742
89
- infrahub/core/diff/merger/serializer.py,sha256=b6tSOkSkBTuxfKutHnSZGkC0_-PMitA9Im7f8RV4pDc,18410
89
+ infrahub/core/diff/merger/serializer.py,sha256=N5BJ5I2NkB5RtEMuhDfScM7v19PGCbuXCwts5mCfPuA,18473
90
90
  infrahub/core/diff/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
91
  infrahub/core/diff/model/diff.py,sha256=eS2TjZf9aWTZDvQ479t6C6iXXPtmBqulxA2jWxnEDuU,9501
92
- infrahub/core/diff/model/path.py,sha256=RObBch4BiSlJ4DRYidD7vTI90lca-rw6J0QjMawyNoY,30592
92
+ infrahub/core/diff/model/field_specifiers_map.py,sha256=59zsMRuYyb9OJEpH9BZQ9kf2DUiDOM3VtuDGvSK6dJQ,2632
93
+ infrahub/core/diff/model/path.py,sha256=xPDyDJni_LMoxcZjsge2XorpGZd1WHZztK0OkFj8e2g,30551
93
94
  infrahub/core/diff/models.py,sha256=wmOzW4xQ5YreDCr_i56YMFtxbM4-LRgZort49fGJ0BQ,441
94
- infrahub/core/diff/parent_node_adder.py,sha256=NWC47GxyRzM6tKxvrWTfmUs_yN3-1lh-LX25Bcxb9ps,2766
95
+ infrahub/core/diff/parent_node_adder.py,sha256=AFq2KJHGgUVem4WCg-9Qi9h6TTwt-JID1uGYGBrIZxQ,2840
95
96
  infrahub/core/diff/payload_builder.py,sha256=5R_QuPM5P_uQONmTDbtpIjhshs_OJCcXLnVYjWw-78Q,2094
96
97
  infrahub/core/diff/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
98
  infrahub/core/diff/query/all_conflicts.py,sha256=FYx3Ik0By454Vx4bStFmqa3nRI9GQycZyjqmugS01-4,3107
@@ -99,25 +100,26 @@ infrahub/core/diff/query/artifact.py,sha256=lkxIwefAKFIZ_YuvbiU-SWJQzZMDsvZkw8sC
99
100
  infrahub/core/diff/query/delete_query.py,sha256=1SaVYjYbTrcWb_qUyuAsg90NwevufvWjLK6t2ri3SNs,860
100
101
  infrahub/core/diff/query/diff_get.py,sha256=1H4hqq4I_BO-NTMU9eIcAb3JkGRbnO49LFUdWwpie4c,7483
101
102
  infrahub/core/diff/query/diff_summary.py,sha256=sypXfK4EO_BZBuohlv419AjgL5ZeRwMiwnI7IIlh0KE,3841
102
- infrahub/core/diff/query/field_specifiers.py,sha256=cFKMAlywS0hTK3TP2Zw8ebVw0C__1jgjutJp0r3M3vE,1540
103
+ infrahub/core/diff/query/drop_nodes.py,sha256=NP29dbW-z4s_rp_MtIwTl3FXElfCP6eqEpF_9r3Z3VA,1674
104
+ infrahub/core/diff/query/field_specifiers.py,sha256=XXtP2kwBxKnN7ALJN5DYuMyUl17ARnz4NJgeDzldm8w,1699
103
105
  infrahub/core/diff/query/field_summary.py,sha256=WemzqgX94MQT50oLgaHDIVBvh6Tk2fdm7bT2L0YID48,3180
104
- infrahub/core/diff/query/filters.py,sha256=Rf2uLBJ_Ve64VC4p-sabGGxjKE9r64_9nJVYRo3M6cY,3644
106
+ infrahub/core/diff/query/filters.py,sha256=McTtRNGg8fmnqTtNH-msfzH-8eKCBsM6-fitxTp5T8w,4324
105
107
  infrahub/core/diff/query/get_conflict_query.py,sha256=kpGZA4QZrXxv_vnoAP5oa9-347VzsNWUIBWcg7rg03U,892
106
108
  infrahub/core/diff/query/has_conflicts_query.py,sha256=kt0Z606vP2r1g7OqW2RrYj9LbiVkrzGfQ0AKCHx21XI,2547
107
- infrahub/core/diff/query/merge.py,sha256=RGPju7LltFehB9l0RZfiSQg5b2j3fKzoAXuGUvpQUmk,23417
109
+ infrahub/core/diff/query/merge.py,sha256=g16_h5DRc0htTnmuPOujlQEEFpcjVeIAU2li5YrIxfs,33390
108
110
  infrahub/core/diff/query/merge_tracking_id.py,sha256=VLGsKuOCIMYe0I-0r01YHF5iaLYIkfSCVQatHM-ybFA,833
109
111
  infrahub/core/diff/query/roots_metadata.py,sha256=FT-48amqoR2RS4CkfnnXGI7Z5uOL4hm7IdZiz3SFHRo,2182
110
- infrahub/core/diff/query/save.py,sha256=ZXapSA41HmBS2Oyx3spXPVqEcsaWcODnFZeeW4DoAAk,21665
112
+ infrahub/core/diff/query/save.py,sha256=j0YuT_V5kZUHIuD6CXT8bcIVv3fewAckqcuukDYn3EA,21972
111
113
  infrahub/core/diff/query/summary_counts_enricher.py,sha256=dSmbmbvLx8SE1DyAAw4mbLyW5BWLbMrYOnEchA2uBZc,10239
112
114
  infrahub/core/diff/query/time_range_query.py,sha256=0pjsFBur8jcSU6su-iA4IMjnHw3RtNWI787wAPcyepI,3003
113
115
  infrahub/core/diff/query/update_conflict_query.py,sha256=kQkFazz88wnApr8UU_qb0ruzhmrhWiqhbErukSAMhLA,1212
114
- infrahub/core/diff/query_parser.py,sha256=p2CkVP_4r1YSFbB7j0j0ZTtsxb_YLSk58uY1OFhpcc0,37746
116
+ infrahub/core/diff/query_parser.py,sha256=RWA_noQ4Wm5Zhb-XvEe0UwFBI36lENgavCVqYOjNzms,37102
115
117
  infrahub/core/diff/repository/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
- infrahub/core/diff/repository/deserializer.py,sha256=9CMYN17uQtDkp4w3PlCOnPIhE8R22wwOf7hJ-wcljC4,20661
117
- infrahub/core/diff/repository/repository.py,sha256=xgTzmd_fdc-n7iX8E83sd3fOz25O4P3CEDQFpRMZjpI,24946
118
+ infrahub/core/diff/repository/deserializer.py,sha256=bhN9ao8HxqKyRz273QGLNV9z9_SS4EQnM9JoY5ptx78,21337
119
+ infrahub/core/diff/repository/repository.py,sha256=b54YvGDaFg3FEDNjOTS-WC3Rvtq4bdpDb1NGEKURnqg,25851
118
120
  infrahub/core/diff/tasks.py,sha256=kHapEy7isn9zGsThYFauDkDnG-dIODanBaa-TaFD9EY,3278
119
121
  infrahub/core/enums.py,sha256=qGbhRVoH43Xi0iDkUfWdQiKapJbLT9UKsCobFk_paIk,491
120
- infrahub/core/graph/__init__.py,sha256=vg81QN-hmdl7ziUJird8wna034Z7HFur47608DfljDY,19
122
+ infrahub/core/graph/__init__.py,sha256=Oqh1AEiVhTvWd71qOpyM6Qfxj59fjCI5OQE4mxZgDlM,19
121
123
  infrahub/core/graph/constraints.py,sha256=lmuzrKDFoeSKRiLtycB9PXi6zhMYghczKrPYvfWyy90,10396
122
124
  infrahub/core/graph/index.py,sha256=IHLP-zPRp7HJYLGHMRDRXQp8RC69ztP10Tr5NcL2j4Y,1736
123
125
  infrahub/core/graph/schema.py,sha256=FmEPPb1XOFv3nnS_XJCuUqlp8HsStX5A2frHjlhoqvE,10105
@@ -136,7 +138,7 @@ infrahub/core/ipam/utilization.py,sha256=d-zpXCaWsHgJxBLopCDd7y4sJYvHcIzzpYhbTMI
136
138
  infrahub/core/manager.py,sha256=G_5A2mYkRkxUnDGjdauVdrEX2ZX5HPaHbxEHxDyOb6U,47467
137
139
  infrahub/core/merge.py,sha256=bZvToLKyphJlWMbQAzGuSHcrG2DfeqL69KSfqb1wWdc,10430
138
140
  infrahub/core/migrations/__init__.py,sha256=syPb3-Irf11dXCHgbT0UdmTnEBbpf4wXJ3m8ADYXDpk,1175
139
- infrahub/core/migrations/graph/__init__.py,sha256=CB4j35V5VRpJxnSJN_HOYzUv_cPMVCHwpFGYjWjhoaA,2608
141
+ infrahub/core/migrations/graph/__init__.py,sha256=510-WYc9fi_DG2H1MgXXcs57QuKDmRyf26Sf87f6qRI,2679
140
142
  infrahub/core/migrations/graph/m001_add_version_to_graph.py,sha256=YcLN6cFjE6IGheXR4Ujb6CcyY8bJ7WE289hcKJaENOc,1515
141
143
  infrahub/core/migrations/graph/m002_attribute_is_default.py,sha256=wB6f2N_ChTvGajqHD-OWCG5ahRMDhhXZuwo79ieq_II,1036
142
144
  infrahub/core/migrations/graph/m003_relationship_parent_optional.py,sha256=fRMmcOmBdHgOEjlf-5TaWsZ1Rzs6op1s75-r_jE_tZ0,2345
@@ -163,6 +165,8 @@ infrahub/core/migrations/graph/m023_deduplicate_cardinality_one_relationships.py
163
165
  infrahub/core/migrations/graph/m024_missing_hierarchy_backfill.py,sha256=NQm51OmkS4D6gCczo4OB1RlOtIU1SaV3qusu1kEF4_k,2502
164
166
  infrahub/core/migrations/graph/m025_uniqueness_nulls.py,sha256=n_g09PDLs1yo3dMYL00HH2VtmYkjV1sVnxFL0KL4hOg,863
165
167
  infrahub/core/migrations/graph/m026_0000_prefix_fix.py,sha256=7sP6nQZrqgzFyRUHKf5fKSX2LrzKEAAsiDsRSu9noJM,1944
168
+ infrahub/core/migrations/graph/m027_delete_isolated_nodes.py,sha256=aAfDUdhsR05CpehVeyLWQ1tRstgrF0HY2V5V6X5ALxM,1589
169
+ infrahub/core/migrations/graph/m028_delete_diffs.py,sha256=PwesD95KTTJsNbMX3NK6O_rGLR7hB-GEi7JIaXheiuQ,1397
166
170
  infrahub/core/migrations/query/__init__.py,sha256=JoWOUWlV6IzwxWxObsfCnAAKUOHJkE7dZlOsfB64ZEo,876
167
171
  infrahub/core/migrations/query/attribute_add.py,sha256=zvOwd9afCtfBpR-rEWePEAnbpoeQorzkcSmD4t8myYA,3510
168
172
  infrahub/core/migrations/query/attribute_rename.py,sha256=-p3AInP1dWRO-v-i8MSajDeK5_2LcJwYr2jqLQ_vbgs,6971
@@ -201,15 +205,15 @@ infrahub/core/protocols.py,sha256=VvKNvfJxoQiaTF26Jam_6Yi_1GsGzGtuoZrFN5rxevA,11
201
205
  infrahub/core/protocols_base.py,sha256=IqX1C82C4skCJrNiVLSYCIwIviPfp2sP7bOS6rLxhTk,3296
202
206
  infrahub/core/query/__init__.py,sha256=ftH8xHCAo8DfdYEx3-CBPuU2xpGOc83_ITNxZ4q4sNg,23055
203
207
  infrahub/core/query/attribute.py,sha256=DzwbElgTaZs6-nBYGmnDpBr9n0lmUPK3p7eyI30Snh8,11783
204
- infrahub/core/query/branch.py,sha256=5U0YRAcJUnWYwJWRJVhUG0_VRa18_NtDhp02VLKotM0,4641
208
+ infrahub/core/query/branch.py,sha256=Fqycgk8kzhmc1H_-gfiw3c-ZjNjAHw64XU7OQUkhDi0,4976
205
209
  infrahub/core/query/delete.py,sha256=_PL97nz-ybF0JqDSYlTPhIa4oCxwPiFerwd8Wjw-x-8,1918
206
- infrahub/core/query/diff.py,sha256=-hMyXsKfsBmxmSnboF-hN8IYa0aTPXJRUocMtOyyRs4,31987
210
+ infrahub/core/query/diff.py,sha256=7kIJjSUa4mBNdis5WhlYgwu37JEDEoXFXtjL93jkSTw,35899
207
211
  infrahub/core/query/ipam.py,sha256=66snB2ANAUcGk-Ke88Y1CIoXO7CCBOsOx8JZTFXnPfA,28384
208
- infrahub/core/query/node.py,sha256=GCR9BhMZFReqDKoAcJSYVZbEyCbxZCp1xsyqS-eXtGg,64069
209
- infrahub/core/query/relationship.py,sha256=b6_kfwzttfVHJ0_Ej3dRUg62cWs3wwZvp-YLlSubnQE,42567
212
+ infrahub/core/query/node.py,sha256=AAO20pbFy_rk9RKRIQ1DCKrUEYr7yz1fCTcgiKEu22s,65411
213
+ infrahub/core/query/relationship.py,sha256=Z9qlhqr-EfyQ8Mcg4SfqaTmngfVyj1RCjhTTGJXmkX0,46296
210
214
  infrahub/core/query/resource_manager.py,sha256=rVksmyFSTGwiq0ZFp2I8kGuMI_F2__c9wE7LgYYeqow,12728
211
215
  infrahub/core/query/standard_node.py,sha256=stQfJqLaeqouaZtrlJhc9MsJUnW3tfheXrWHsM1vp7Q,4511
212
- infrahub/core/query/subquery.py,sha256=40MEDGSFPeXG6M4DpwfQfJMVqB_ET6WTMwhgueKV-AY,7586
216
+ infrahub/core/query/subquery.py,sha256=yc8tRUL84pUqGgiwmA3cONzl85_jRAQu4i2RdW6F3C4,7652
213
217
  infrahub/core/query/task.py,sha256=tLgn8S_KaLYLuOB66D1YM155teHZIHNThkt2iUiKKD4,3137
214
218
  infrahub/core/query/task_log.py,sha256=2RdthOAQrmpKZU8uhV_dJCPqwdsSA_1CYSKpL_eZ_yk,1120
215
219
  infrahub/core/query/utils.py,sha256=t9LMvZWdmi10c3E0HAU_5m7x5zMHhYXsUjX7ZBl2RpU,1091
@@ -220,7 +224,7 @@ infrahub/core/relationship/constraints/count.py,sha256=4wSjiJtRd4fQ5qYNzGyWrt1WL
220
224
  infrahub/core/relationship/constraints/interface.py,sha256=96A_IRKAU6FCS3Nqiey5WmUnA4PO73nOlBk5DgUCjbc,296
221
225
  infrahub/core/relationship/constraints/peer_kind.py,sha256=WdKR8dOozVEaoU8cw-CP0oRq6Q_jcV3My3-47mgu1i0,2499
222
226
  infrahub/core/relationship/constraints/profiles_kind.py,sha256=iUNnPNfOU44LBDGGPqEH0goXL9nF5mSq236XlvLsnjc,2436
223
- infrahub/core/relationship/model.py,sha256=uLJ9HA5esUvwYO0MuTc1bb7mSBGYuD2EqTNK4fMHtjc,46948
227
+ infrahub/core/relationship/model.py,sha256=2R7NBNN9KAFXNNEg0rF6rHTGbWtqp2O5axdT4nUXbME,46936
224
228
  infrahub/core/root.py,sha256=8ZLSOtnmjQcrjqX2vxNO-AGopEUArmBPo_X5NeZBdP0,416
225
229
  infrahub/core/schema/__init__.py,sha256=nzRFXRM2vlzS6HhRmEk2-HaZkOV6nOvLTPvt-ShMCvU,3978
226
230
  infrahub/core/schema/attribute_schema.py,sha256=e4HXS6Q3dU2V-RRvklmCTZKMSeYWkI6-ok7dyG23h5I,5260
@@ -264,7 +268,7 @@ infrahub/core/schema/manager.py,sha256=4lPjjtE_MtJ0acJdYAJEkuK4jap3NnTdxB5esEB71
264
268
  infrahub/core/schema/node_schema.py,sha256=ld_Wrqf-RsoEUVz_lKE0tcSf5n_oYZYtRI0lTqtd63o,6150
265
269
  infrahub/core/schema/profile_schema.py,sha256=cOPSOt5KLgQ0nbqrAN_o33hY_pUtrKmiwSbY_YpVolI,1092
266
270
  infrahub/core/schema/relationship_schema.py,sha256=lVbyQKMP2jPZZwZGK6DBvXdXfEQEsQGMbZ2WYxOZKTw,8261
267
- infrahub/core/schema/schema_branch.py,sha256=9ut8iS4nUCjY81lJiX0VVTNWEA4K6bfS4yWpQe9NSTA,97723
271
+ infrahub/core/schema/schema_branch.py,sha256=v9wZ92qBGJow6p6E3luD-nvge1FvQV5SvOgVj9Mxre0,97870
268
272
  infrahub/core/schema/schema_branch_computed.py,sha256=14UUsQJDLMHkYhg7QMqeLiTF3PO8c8rGa90ul3F2ZZo,10629
269
273
  infrahub/core/schema/template_schema.py,sha256=O-PBS9IRM4JX6PxeoyZKwqZ0u0SdQ2zxWMc01PJ2_EA,1084
270
274
  infrahub/core/task/__init__.py,sha256=Ied1NvKGJUDmff27z_-yWW8ArenHxGvSvQTaQyx1iHs,128
@@ -307,7 +311,7 @@ infrahub/core/validators/uniqueness/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
307
311
  infrahub/core/validators/uniqueness/checker.py,sha256=RpiLpIjbdkwwjivry-vjEkVim6ZoC-t2H5Bal7ngASQ,10375
308
312
  infrahub/core/validators/uniqueness/index.py,sha256=Jw1o-UVinQquNduZ5vCCzt8GUfIEdVzBo-1XyRti8F8,5068
309
313
  infrahub/core/validators/uniqueness/model.py,sha256=V2aejcuHPhgC5nTrS7xX0JFMzprVu90QAau-rUzruCY,5135
310
- infrahub/core/validators/uniqueness/query.py,sha256=gx2eInPf4GA4Q9U5oyyHYNPfCK-UxgW7704uk_XMM0o,11665
314
+ infrahub/core/validators/uniqueness/query.py,sha256=NudW0JziATlCloFOFIyoABeu1IGvCl2ug9itEmXS500,11843
311
315
  infrahub/database/__init__.py,sha256=yDdkliw-BS7aj7akxvURIoaS_LCgBaz2vss_I9O0dH8,20544
312
316
  infrahub/database/index.py,sha256=ATLqw9Grqbq7haGGm14VSEPmcPniid--YATiffo4sA0,1676
313
317
  infrahub/database/memgraph.py,sha256=Fg3xHP9s0MiBBmMvcEmsJvuIUSq8U_XCS362HDE9d1s,1742
@@ -458,7 +462,7 @@ infrahub/graphql/queries/__init__.py,sha256=LGmI88POb8a4fyjSuBEkOkCIYpU2FZEwOkxW
458
462
  infrahub/graphql/queries/account.py,sha256=VB3HtLXf8s7VJxoA4G0ISBvn9hkQ9oTavKfRwTEju8A,5457
459
463
  infrahub/graphql/queries/branch.py,sha256=hEZF8xJHyXUOQOkWrfjbfrVhIrK70vKMeBGaLLnHQGY,792
460
464
  infrahub/graphql/queries/diff/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
461
- infrahub/graphql/queries/diff/tree.py,sha256=HVF0OXQCRuztk9ybicRDkcxyivTEL6c1Q7EZR5KWocg,22928
465
+ infrahub/graphql/queries/diff/tree.py,sha256=4XcHIMDtJLA6nDBzGNn2WR_HeY_7lrmIU38CdK_qBIc,23026
462
466
  infrahub/graphql/queries/event.py,sha256=9kHi37WmM4bwGgnIPaPLVOaXp124tn10v60kNx5C7aU,4204
463
467
  infrahub/graphql/queries/internal.py,sha256=pcGLpLrY1fC_HxHNs8NAFjr5FTFzcgRlS1F7b65gqfE,647
464
468
  infrahub/graphql/queries/ipam.py,sha256=peN--58IhLgS06O44AEthefEkaVDc7f38Sib3JyGKu4,4106
@@ -628,10 +632,10 @@ infrahub/transformations/tasks.py,sha256=zgaZzlPbzGAfQdk1hqjZetLoQL7EuaTI7o_Ofg2
628
632
  infrahub/trigger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
629
633
  infrahub/trigger/catalogue.py,sha256=jnMs0i6MureKREyFvGop3eWIlcszSDE5UuayODTEDBc,499
630
634
  infrahub/trigger/constants.py,sha256=u9_5A6gIUIrprzfEdwseYk2yTkwU0VPCjZTwL8b3T6s,22
631
- infrahub/trigger/models.py,sha256=FQ7VDu9l1GL-zDrRLz8yIlWZSc0ugI8k0kjjvB21VA8,3805
632
- infrahub/trigger/setup.py,sha256=cq3PgJ3VVNufKGX63RXUA-nkhAqjhGapZtPP5bzJuxY,3727
633
- infrahub/trigger/tasks.py,sha256=NAGzdR314AHuvU1Juznh53T87iidJgXybeO1bYHmCzY,1420
634
- infrahub/types.py,sha256=qKmmmL1UGCAJ2O2P9YES9uEvrr0uVXt9KSLtktg_hsU,11322
635
+ infrahub/trigger/models.py,sha256=y1UcCQcZl3AQTb-gH0XwM6WFwpD6WgUaSIw84Eu58q8,4147
636
+ infrahub/trigger/setup.py,sha256=uPtuAQo_OgeqLqOeDeQXI0wQR8GBcm-dA_z-KnsgeuM,5213
637
+ infrahub/trigger/tasks.py,sha256=ZDzrXNCbYzotjUgbwvkyRW0KScyAlK9Rr4V8OLmJT-I,1392
638
+ infrahub/types.py,sha256=ADUrDarvflVlX_LIVNDFfny5v6vxHxF5cFlPRPi9kEA,11328
635
639
  infrahub/utils.py,sha256=3p_bXmRGOTnXIMG9fZ9mFsKdBw2fU3VBFJT3YHrbvyw,2704
636
640
  infrahub/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
637
641
  infrahub/validators/events.py,sha256=FA6fxksQMq-vn6747NWsMfkFZ3dsYpgP8u7G3p5MwSI,1501
@@ -639,7 +643,7 @@ infrahub/validators/tasks.py,sha256=BlhBRBzNC5Ozop6aj2pHzZxGopxWcQbU-H3cHes_zs0,
639
643
  infrahub/visuals.py,sha256=N62G4oOOIYNFpvMjKq7uos-oZAZybGMp57uh5jsVX9w,627
640
644
  infrahub/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
641
645
  infrahub/webhook/gather.py,sha256=XNaIGiHDiMjjtSjsVbswOze7cLaL0MKJmvSbZBS-WT0,691
642
- infrahub/webhook/models.py,sha256=micGF9JT4qcstx0FNaL1ycQnRo8BlbCNDXr-tRoVFUg,10007
646
+ infrahub/webhook/models.py,sha256=c_6Ng8BeoyUDb4TZInVruB7e8Faq_QQ8-00IVcEBwJM,10031
643
647
  infrahub/webhook/tasks.py,sha256=kQz0BzOOKUGogHKN2X_tSKYk-7rpHMQ1FKjmGugzEc0,7235
644
648
  infrahub/webhook/triggers.py,sha256=v1dzFV4wX0GO2n5hft_qzp-oJOA2P_9Q2eTcSP-i0pk,1574
645
649
  infrahub/worker.py,sha256=JtTM-temURUbpEy-bkKJuTt-GKoiHFDrOe9SyVTIXEM,49
@@ -647,9 +651,9 @@ infrahub/workers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
647
651
  infrahub/workers/infrahub_async.py,sha256=NQ2HLmRFWW1_M9NZmmdkEctFCPgqGKFmweGlNkjdgyU,9207
648
652
  infrahub/workers/utils.py,sha256=m6FOKrYo53Aoj-JcEyQ7-J4Dc20R9JtHMDzTcqXiRpg,2407
649
653
  infrahub/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
650
- infrahub/workflows/catalogue.py,sha256=fn1oNCreKCGPsThZBPZfzOvvyuz5nivFcTpSfI7xd2c,14659
654
+ infrahub/workflows/catalogue.py,sha256=OKcyKLe0dE8zjHr8rKb2y4GJPIEW96LIcSFiyWAr2Sw,14989
651
655
  infrahub/workflows/constants.py,sha256=7je2FF7tJH6x_ZNqHKZfQX91X7I5gmD8OECN3dE_eqI,651
652
- infrahub/workflows/initialization.py,sha256=BJjSt9uz7fuNr2aahGbLdy1RUKw8AjxKrZ81cJswbxY,3219
656
+ infrahub/workflows/initialization.py,sha256=ZrmqxuSgPqHgQf35DDrUPcWV7PZOrUk0HMmn9JfGlec,3213
653
657
  infrahub/workflows/models.py,sha256=uGBNla2xJqKnqARdq21vhXGHxM2ozDqioeBvT7zg3Jo,3439
654
658
  infrahub/workflows/utils.py,sha256=DhN_NbpaJ_-I4a8GGtKcTfYf8EEJSuRX7PaO06dis-w,2730
655
659
  infrahub_sdk/__init__.py,sha256=weZAa06Ar0NO5IOKLQICtCceHUCKQxbkBxHebqQGJ1o,401
@@ -738,7 +742,7 @@ infrahub_sdk/testing/repository.py,sha256=9s4MMaMljbJe97Ua4bJgc64giQ2UMC0bD5qIqY
738
742
  infrahub_sdk/testing/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
739
743
  infrahub_sdk/testing/schemas/animal.py,sha256=a1vydXPttoPvsGbSHY5H89AEoi7AWE2JiCGRBE9LJS8,7403
740
744
  infrahub_sdk/testing/schemas/car_person.py,sha256=1VwgJMJvVggsQyRdSqDjiLrPzysz8cXFSFzSghVSVms,8940
741
- infrahub_sdk/timestamp.py,sha256=hRJdqH_4jfaTkXdxQqBGXNErHqvXX-SuoeKpguOCFjk,6101
745
+ infrahub_sdk/timestamp.py,sha256=qKCZK27W-C13gihxAMDooKBbOqE0py08YysJMW_Vf6E,6111
742
746
  infrahub_sdk/topological_sort.py,sha256=RqIGYxHlqOUHvMSAxbq6658TYLaEIdrFP4wyK3Hva5w,2456
743
747
  infrahub_sdk/transfer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
744
748
  infrahub_sdk/transfer/constants.py,sha256=kdYkVWif8v4IiWbbff3Mn3JnPCXD2ONI3SLXQM17Ljw,56
@@ -758,17 +762,17 @@ infrahub_sdk/yaml.py,sha256=512OKgxAYPt4QLBFlucUB4GgwKJ09dzgC86pO57YFFw,5018
758
762
  infrahub_testcontainers/__init__.py,sha256=oPpmesGgYBSdKTg1L37FGwYBeao1EHury5SJGul-CT8,216
759
763
  infrahub_testcontainers/constants.py,sha256=mZ4hLvcf4rKk9wC7EId4MQxAY0sk4V99deB04N0J2bg,85
760
764
  infrahub_testcontainers/container.py,sha256=-NccmHKJw8rnGY4nSgqIJdGBrX8eObi9kq7q7mQz1zs,12308
761
- infrahub_testcontainers/docker-compose.test.yml,sha256=3rUOn2UB_n5z_XlYykO6c6j35OMgyvZXwVSFqlem54Y,8465
765
+ infrahub_testcontainers/docker-compose.test.yml,sha256=dePNK3r5DWVysrFr-t838-9LercZQOIJ8ZYOBWv7Mok,8482
762
766
  infrahub_testcontainers/haproxy.cfg,sha256=QUkG2Xu-hKoknPOeYKAkBT_xJH6U9CfIS0DTMFZJsnk,1305
763
767
  infrahub_testcontainers/helpers.py,sha256=zsvBOql5qM2OX1ybPcklqF-nzWYHkZI3Gk3KZhxWOtU,3578
764
768
  infrahub_testcontainers/host.py,sha256=Z4_gGoGKKeM_HGVS7SdYL1FTNGyLBk8wzicdSKHpfmM,1486
765
769
  infrahub_testcontainers/measurements.py,sha256=gR-uTasSIFCXrwvnNpIpfsQIopKftT7pBiarCgIShaQ,2214
766
770
  infrahub_testcontainers/models.py,sha256=ASYyvl7d_WQz_i7y8-3iab9hwwmCl3OCJavqVbe8nXU,954
767
- infrahub_testcontainers/performance_test.py,sha256=CZ0YeGqnc9RCEPPk5-jFh0b0zFz-DYweOBF-Lfo0bc8,6037
771
+ infrahub_testcontainers/performance_test.py,sha256=hvwiy6tc_lWniYqGkqfOXVGAmA_IV15VOZqbiD9ezno,6149
768
772
  infrahub_testcontainers/plugin.py,sha256=g24SMg4EAqVe2N8i9F66EV34cNqIdDU4mRP7OeOJO1w,5381
769
773
  infrahub_testcontainers/prometheus.yml,sha256=610xQEyj3xuVJMzPkC4m1fRnCrjGpiRBrXA2ytCLa54,599
770
- infrahub_server-1.2.9rc0.dist-info/LICENSE.txt,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
771
- infrahub_server-1.2.9rc0.dist-info/METADATA,sha256=TIOicC4ngay7aqMkXrQgH8F2VbmFQhQlAVh4rRs7y8o,8192
772
- infrahub_server-1.2.9rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
773
- infrahub_server-1.2.9rc0.dist-info/entry_points.txt,sha256=UXIeFWDsrV-4IllNvUEd6KieYGzQfn9paga2YyABOQI,393
774
- infrahub_server-1.2.9rc0.dist-info/RECORD,,
774
+ infrahub_server-1.2.10.dist-info/LICENSE.txt,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
775
+ infrahub_server-1.2.10.dist-info/METADATA,sha256=jIU3vIOb6nVuLMlEDps3sUh-jqgmD976HbR8g79bSiY,8194
776
+ infrahub_server-1.2.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
777
+ infrahub_server-1.2.10.dist-info/entry_points.txt,sha256=UXIeFWDsrV-4IllNvUEd6KieYGzQfn9paga2YyABOQI,393
778
+ infrahub_server-1.2.10.dist-info/RECORD,,
@@ -57,14 +57,14 @@ services:
57
57
  NEO4J_dbms_security_procedures_unrestricted: "apoc.*"
58
58
  NEO4J_dbms_security_auth__minimum__password__length: 4
59
59
  NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
60
- NEO4J_dbms_memory_heap_initial__size: ${INFRAHUB_TESTING_DB_HEAP_INITIAL_SIZE}
61
- NEO4J_dbms_memory_heap_max__size: ${INFRAHUB_TESTING_DB_HEAP_MAX_SIZE}
60
+ NEO4J_server_memory_heap_initial__size: ${INFRAHUB_TESTING_DB_HEAP_INITIAL_SIZE}
61
+ NEO4J_server_memory_heap_max__size: ${INFRAHUB_TESTING_DB_HEAP_MAX_SIZE}
62
62
  volumes:
63
63
  - "database_data:/data"
64
64
  - "database_logs:/logs"
65
65
  - "./${INFRAHUB_TESTING_LOCAL_DB_BACKUP_DIRECTORY}:${INFRAHUB_TESTING_INTERNAL_DB_BACKUP_DIRECTORY}"
66
66
  healthcheck:
67
- test: wget http://localhost:7474 || exit 1
67
+ test: wget -O /dev/null http://localhost:7474 || exit 1
68
68
  interval: 2s
69
69
  timeout: 10s
70
70
  retries: 20
@@ -158,9 +158,12 @@ class InfrahubPerformanceTest:
158
158
  "kind": PERFORMANCE_TEST_KIND,
159
159
  "payload_format": PERFORMANCE_TEST_VERSION,
160
160
  "data": data,
161
- "checksum": hashlib.sha256(json.dumps(data).encode()).hexdigest(),
161
+ "checksum": hashlib.sha256(json.dumps(data, separators=(",", ":")).encode()).hexdigest(),
162
162
  }
163
163
 
164
164
  with httpx.Client() as client:
165
- response = client.post(self.results_url, json=payload)
166
- response.raise_for_status()
165
+ try:
166
+ response = client.post(self.results_url, json=payload)
167
+ response.raise_for_status()
168
+ except Exception as exc:
169
+ print(exc)