qontract-reconcile 0.10.2.dev303__py3-none-any.whl → 0.10.2.dev314__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.
- {qontract_reconcile-0.10.2.dev303.dist-info → qontract_reconcile-0.10.2.dev314.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev303.dist-info → qontract_reconcile-0.10.2.dev314.dist-info}/RECORD +30 -30
- reconcile/gql_definitions/common/aws_vpc_requests.py +4 -1
- reconcile/gql_definitions/fragments/aws_vpc_request.py +3 -0
- reconcile/gql_definitions/introspection.json +36 -12
- reconcile/gql_definitions/status_board/status_board.py +0 -20
- reconcile/prometheus_rules_tester/integration.py +1 -1
- reconcile/rhidp/common.py +2 -0
- reconcile/status_board.py +9 -133
- reconcile/terraform_tgw_attachments.py +1 -1
- reconcile/terraform_users.py +3 -1
- reconcile/terraform_vpc_peerings.py +1 -1
- reconcile/terraform_vpc_resources/integration.py +19 -1
- reconcile/typed_queries/status_board.py +8 -43
- reconcile/utils/ocm/base.py +10 -0
- reconcile/utils/ocm/status_board.py +0 -13
- reconcile/utils/openssl.py +2 -2
- reconcile/utils/repo_owners.py +21 -29
- reconcile/utils/runtime/meta.py +2 -1
- reconcile/utils/sharding.py +1 -1
- reconcile/utils/sqs_gateway.py +14 -10
- reconcile/utils/structs.py +3 -3
- reconcile/utils/terraform_client.py +27 -25
- reconcile/utils/terrascript_aws_client.py +487 -372
- reconcile/utils/throughput.py +1 -1
- reconcile/vpc_peerings_validator.py +2 -2
- tools/qontract_cli.py +1 -1
- tools/sre_checkpoints/util.py +5 -3
- {qontract_reconcile-0.10.2.dev303.dist-info → qontract_reconcile-0.10.2.dev314.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev303.dist-info → qontract_reconcile-0.10.2.dev314.dist-info}/entry_points.txt +0 -0
reconcile/utils/throughput.py
CHANGED
@@ -79,7 +79,7 @@ def validate_no_cidr_overlap(
|
|
79
79
|
return True
|
80
80
|
|
81
81
|
|
82
|
-
def find_cidr_overlap(cluster_name: str, input_list: list):
|
82
|
+
def find_cidr_overlap(cluster_name: str, input_list: list) -> bool:
|
83
83
|
for i in range(len(input_list)):
|
84
84
|
compared_vpc = input_list[i]
|
85
85
|
for j in range(i + 1, len(input_list)):
|
@@ -171,7 +171,7 @@ def validate_no_public_to_public_peerings(
|
|
171
171
|
return valid
|
172
172
|
|
173
173
|
|
174
|
-
def run(dry_run: bool):
|
174
|
+
def run(dry_run: bool) -> None:
|
175
175
|
query_data = vpc_peerings_validator.query(query_func=gql.get_api().query)
|
176
176
|
|
177
177
|
valid = True
|
tools/qontract_cli.py
CHANGED
@@ -2772,7 +2772,7 @@ def slo_document_services(ctx: click.Context, status_board_instance: str) -> Non
|
|
2772
2772
|
print(f"Status-board instance '{status_board_instance}' not found.")
|
2773
2773
|
sys.exit(1)
|
2774
2774
|
|
2775
|
-
desired_product_apps: dict[str,
|
2775
|
+
desired_product_apps: dict[str, set[str]] = (
|
2776
2776
|
StatusBoardExporterIntegration.get_product_apps(sb)
|
2777
2777
|
)
|
2778
2778
|
|
tools/sre_checkpoints/util.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
from typing import Any
|
2
|
+
|
1
3
|
from reconcile import queries
|
2
4
|
|
3
5
|
|
4
|
-
def full_name(app):
|
6
|
+
def full_name(app: dict[str, Any]) -> str:
|
5
7
|
"""Builds App full_name, prepending the App with the name
|
6
8
|
of the parent App.
|
7
9
|
|
@@ -17,14 +19,14 @@ def full_name(app):
|
|
17
19
|
return name
|
18
20
|
|
19
21
|
|
20
|
-
def get_latest_sre_checkpoints():
|
22
|
+
def get_latest_sre_checkpoints() -> dict[str, str]:
|
21
23
|
"""Builds dictionary with the full_name of the app as the key and the
|
22
24
|
date of sre_checkpoint as the value.
|
23
25
|
|
24
26
|
:return: dictionary with the latest checkpoints
|
25
27
|
:rtype: dict
|
26
28
|
"""
|
27
|
-
checkpoints = {}
|
29
|
+
checkpoints: dict[str, str] = {}
|
28
30
|
for checkpoint in queries.get_sre_checkpoints():
|
29
31
|
name = full_name(checkpoint["app"])
|
30
32
|
date = checkpoint["date"]
|
{qontract_reconcile-0.10.2.dev303.dist-info → qontract_reconcile-0.10.2.dev314.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|