qontract-reconcile 0.10.1rc912__py3-none-any.whl → 0.10.1rc914__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc912
3
+ Version: 0.10.1rc914
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -213,7 +213,7 @@ reconcile/gql_definitions/advanced_upgrade_service/aus_organization.py,sha256=zU
213
213
  reconcile/gql_definitions/app_interface_metrics_exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
214
214
  reconcile/gql_definitions/app_interface_metrics_exporter/onboarding_status.py,sha256=uVEEqU6YYmKsNTo6EWlFnoVmqha2rvBDx-wiD64VmG0,1679
215
215
  reconcile/gql_definitions/aws_account_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
216
- reconcile/gql_definitions/aws_account_manager/aws_accounts.py,sha256=GVRRBlj_OOw3rh-IQFsMs0WYDNy2gA4xdUciO7NJlDo,4777
216
+ reconcile/gql_definitions/aws_account_manager/aws_accounts.py,sha256=JdqtE3gMpeodymPJST-aFVkYP_MO--_CcwjF070R5Cs,4883
217
217
  reconcile/gql_definitions/aws_ami_cleanup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
218
218
  reconcile/gql_definitions/aws_ami_cleanup/asg_namespaces.py,sha256=OJmeTu7uirLGAysZ3IQTtRXqMyL8noi_QZxPuWYxxmI,3678
219
219
  reconcile/gql_definitions/aws_saml_idp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -464,7 +464,7 @@ reconcile/templates/rosa-classic-cluster-creation.sh.j2,sha256=FVBmnR2FmVModhqOY
464
464
  reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=2wTdv9qvapCvT8NSi_hq8sXhpFSaxRX-V6Cao1diCI8,2393
465
465
  reconcile/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
466
466
  reconcile/templating/renderer.py,sha256=VQVsQxMjKfftpsgzpd1jJ-bhrsgi8zjDYXYzMfI4vZA,12104
467
- reconcile/templating/validator.py,sha256=L_5kvY1LJTNQUmhPZZoB62NBiTKFIjlia0j6jZGdvh8,4660
467
+ reconcile/templating/validator.py,sha256=tGI7PwPMAmRJ_-Gg_O7NoZO8ytg_QUeCQAv6G1smitc,4736
468
468
  reconcile/templating/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
469
469
  reconcile/templating/lib/merge_request_manager.py,sha256=4oe3EwQOP7CZSraocivbRzzOuVb0ooElaUS2_DGsF50,5603
470
470
  reconcile/templating/lib/model.py,sha256=fb6FYYLQjmoh2DjVKO7TEWCuDPf1Q34xmOx0M9Z07ek,324
@@ -844,8 +844,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
844
844
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
845
845
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
846
846
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
847
- qontract_reconcile-0.10.1rc912.dist-info/METADATA,sha256=qR2rsUnR1rVDkqgV_iVsHwnqlQxMRMdffVqsdgvoQAQ,2273
848
- qontract_reconcile-0.10.1rc912.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
849
- qontract_reconcile-0.10.1rc912.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
850
- qontract_reconcile-0.10.1rc912.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
851
- qontract_reconcile-0.10.1rc912.dist-info/RECORD,,
847
+ qontract_reconcile-0.10.1rc914.dist-info/METADATA,sha256=fhmsnD8MxH5KL6pAfaMn_pKyScPbkweGectQCRDTy7s,2273
848
+ qontract_reconcile-0.10.1rc914.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
849
+ qontract_reconcile-0.10.1rc914.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
850
+ qontract_reconcile-0.10.1rc914.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
851
+ qontract_reconcile-0.10.1rc914.dist-info/RECORD,,
@@ -89,6 +89,7 @@ query AWSAccountManagerAccounts {
89
89
  resourcesDefaultRegion
90
90
  supportedDeploymentRegions
91
91
  uid
92
+ additionalFeatures
92
93
  }
93
94
  organization_accounts {
94
95
  ... AWSAccountManaged
@@ -141,6 +142,7 @@ class AWSAccountRequestV1(ConfiguredBaseModel):
141
142
  resources_default_region: str = Field(..., alias="resourcesDefaultRegion")
142
143
  supported_deployment_regions: Optional[list[str]] = Field(..., alias="supportedDeploymentRegions")
143
144
  uid: Optional[str] = Field(..., alias="uid")
145
+ additional_features: Optional[Json] = Field(..., alias="additionalFeatures")
144
146
 
145
147
 
146
148
  class AWSAccountV1(AWSAccountManaged):
@@ -79,15 +79,17 @@ class TemplateValidatorIntegration(QontractReconcileIntegration):
79
79
 
80
80
  # Check condition
81
81
  should_render = r.render_condition()
82
- if (
83
- template_test.expected_to_render is not None
84
- and template_test.expected_to_render != should_render
85
- ):
82
+ expected_to_render = (
83
+ template_test.expected_to_render
84
+ if template_test.expected_to_render is not None
85
+ else True
86
+ )
87
+ if expected_to_render != should_render:
86
88
  diffs.append(
87
89
  TemplateDiff(
88
90
  template=template.name,
89
91
  test=template_test.name,
90
- diff=f"Condition mismatch, got: {should_render}, expected: {template_test.expected_to_render}",
92
+ diff=f"Condition mismatch for expectedToRender, got: {should_render}, expected: {expected_to_render}",
91
93
  )
92
94
  )
93
95