qontract-reconcile 0.10.2.dev75__py3-none-any.whl → 0.10.2.dev77__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.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev75
3
+ Version: 0.10.2.dev77
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
6
6
  Project-URL: repository, https://github.com/app-sre/qontract-reconcile
@@ -155,7 +155,7 @@ reconcile/aws_saml_idp/integration.py,sha256=Z2JtUx2YIbkn0KVrVa2CoAErPB8vTykOOkW
155
155
  reconcile/aws_saml_roles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
156
156
  reconcile/aws_saml_roles/integration.py,sha256=inU10Yu0lZpJw_00vVe2bytJrecjLtu2hR7kQQIAbx0,11234
157
157
  reconcile/aws_version_sync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
- reconcile/aws_version_sync/integration.py,sha256=7tfOZx9uY4bLcPFf0i6o9cu1Hmk9ByoGPTZ66Iv5fYQ,17885
158
+ reconcile/aws_version_sync/integration.py,sha256=uqIJzek-6pcoB22wmXyfFvmifL-2xODQ5rZ_o-vJGZQ,17899
159
159
  reconcile/aws_version_sync/utils.py,sha256=x-45QT7zAwdNvCg7w_qJNwLaksFcfz1_6KQoD_0IVuA,1727
160
160
  reconcile/aws_version_sync/merge_request_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
161
  reconcile/aws_version_sync/merge_request_manager/merge_request.py,sha256=2FbqLLdqxycWNvX1eNbwMjWSVBb7q0p-8t5Db0m7b4Q,4842
@@ -488,7 +488,7 @@ reconcile/skupper_network/site_controller.py,sha256=ovBUPuqrJjmhZBSV2zF9HQByVgBF
488
488
  reconcile/statuspage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
489
489
  reconcile/statuspage/atlassian.py,sha256=41uE77ZeV0M98k_xVmrXUQ33iVG8Lb3TwrWq2pRc84U,18617
490
490
  reconcile/statuspage/integration.py,sha256=hsazrQMceJbr61nEkJLxJbHhudTGtFuH0mlCo66-2ug,711
491
- reconcile/statuspage/page.py,sha256=EWzu7rYjS6QJzgjKmfSV5pGmCAzFR3U5HGiN9ytblog,5375
491
+ reconcile/statuspage/page.py,sha256=zq9udsWw7ARxnG10mZytcBwGvH30XsyduqcQJByCQaI,6339
492
492
  reconcile/statuspage/state.py,sha256=wjX9by5Yy7nobxiE-xNhf6GyNwMVATd0O37jBckJm5M,1591
493
493
  reconcile/statuspage/status.py,sha256=5nYtMaxOqMYdM7n_Glss3ZcaPKQe_nUUQKH6xCTE9rI,2741
494
494
  reconcile/statuspage/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -786,7 +786,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
786
786
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
787
787
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
788
788
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
789
- qontract_reconcile-0.10.2.dev75.dist-info/METADATA,sha256=FT3VK_gLcrdE4RntPG5THjQp3zubRVTkGhO3IAUIXy8,24565
790
- qontract_reconcile-0.10.2.dev75.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
791
- qontract_reconcile-0.10.2.dev75.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
792
- qontract_reconcile-0.10.2.dev75.dist-info/RECORD,,
789
+ qontract_reconcile-0.10.2.dev77.dist-info/METADATA,sha256=F9mP1rH9xCxwwAfw3JvwbEgzbmx7fS6Zbq8gkoxS_5A,24565
790
+ qontract_reconcile-0.10.2.dev77.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
791
+ qontract_reconcile-0.10.2.dev77.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
792
+ qontract_reconcile-0.10.2.dev77.dist-info/RECORD,,
@@ -359,8 +359,8 @@ class AVSIntegration(QontractReconcileIntegration[AVSIntegrationParams]):
359
359
  desired=external_resources_aws,
360
360
  key=lambda r: r.key,
361
361
  equal=lambda external_resources_app_interface,
362
- external_resources_aws: external_resources_app_interface.resource_engine_version
363
- == external_resources_aws.resource_engine_version,
362
+ external_resources_aws: external_resources_app_interface.resource_engine_version_string
363
+ == external_resources_aws.resource_engine_version_string,
364
364
  )
365
365
  for diff_pair in diff.change.values():
366
366
  aws_resource = diff_pair.desired
@@ -52,6 +52,16 @@ class StatusComponent(BaseModel):
52
52
  class Config:
53
53
  arbitrary_types_allowed = True
54
54
 
55
+ def __eq__(self, other: object) -> bool:
56
+ if not isinstance(other, StatusComponent):
57
+ raise NotImplementedError("Cannot compare to non StatusComponent objects.")
58
+ return (
59
+ self.name == other.name
60
+ and self.display_name == other.display_name
61
+ and self.description == other.description
62
+ and self.group_name == other.group_name
63
+ )
64
+
55
65
  @classmethod
56
66
  def init_from_page_component(
57
67
  cls, component: StatusPageComponentV1, name_override: str | None = None
@@ -172,3 +182,17 @@ class StatusMaintenance(BaseModel):
172
182
  components=affected_components,
173
183
  announcements=statuspage_announcements[0],
174
184
  )
185
+
186
+ def __eq__(self, other: object) -> bool:
187
+ if not isinstance(other, StatusMaintenance):
188
+ raise NotImplementedError(
189
+ "Cannot compare to non StatusMaintenance objects."
190
+ )
191
+ return (
192
+ self.name == other.name
193
+ and self.message == other.message
194
+ and self.schedule_start == other.schedule_start
195
+ and self.schedule_end == other.schedule_end
196
+ and self.components == other.components
197
+ and self.announcements == other.announcements
198
+ )