qontract-reconcile 0.10.2.dev17__py3-none-any.whl → 0.10.2.dev19__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.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/RECORD +5 -5
- reconcile/dynatrace_token_provider/integration.py +12 -1
- {qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev19
|
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
|
{qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/RECORD
RENAMED
@@ -185,7 +185,7 @@ reconcile/cna/assets/asset_factory.py,sha256=7T7X_J6xIsoGETqBRI45_EyIKEdQcnRPt_G
|
|
185
185
|
reconcile/cna/assets/null.py,sha256=85mVh97atCoC0aLuX47poTZiyOthmziJeBsUw0c924w,1658
|
186
186
|
reconcile/dynatrace_token_provider/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
187
187
|
reconcile/dynatrace_token_provider/dependencies.py,sha256=FuRUnK18EyJIIgFwQBZSskIG08mN2VQAcAcaJFTf8zc,2812
|
188
|
-
reconcile/dynatrace_token_provider/integration.py,sha256=
|
188
|
+
reconcile/dynatrace_token_provider/integration.py,sha256=usNTif2yrzWp7V24QHmMI1bd4QxwObYbxsqfJAYREXc,26576
|
189
189
|
reconcile/dynatrace_token_provider/metrics.py,sha256=oP-6NTZENFdvWiS0krnmX6tq3xyOzQ8e6vS0CZWYUuw,1496
|
190
190
|
reconcile/dynatrace_token_provider/model.py,sha256=gkpqo5rRRueBXnIMjp4EEHqBUBuU65TRI8zpdb8GJ0A,241
|
191
191
|
reconcile/dynatrace_token_provider/ocm.py,sha256=MwYCZIxW4f-1jzFTxxN__sity6S8O7bbKUdyTFEVO7U,4325
|
@@ -766,7 +766,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
766
766
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
767
767
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
768
768
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
769
|
-
qontract_reconcile-0.10.2.
|
770
|
-
qontract_reconcile-0.10.2.
|
771
|
-
qontract_reconcile-0.10.2.
|
772
|
-
qontract_reconcile-0.10.2.
|
769
|
+
qontract_reconcile-0.10.2.dev19.dist-info/METADATA,sha256=wb_IQ6QESeh7TYBGvXCUJde_kGmYx8m3jIPVO7MsETA,24665
|
770
|
+
qontract_reconcile-0.10.2.dev19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
771
|
+
qontract_reconcile-0.10.2.dev19.dist-info/entry_points.txt,sha256=JniHZPadNOILPyfSl0LF2YSp3Db7K2_W2CN7i9f3Gos,540
|
772
|
+
qontract_reconcile-0.10.2.dev19.dist-info/RECORD,,
|
@@ -37,11 +37,17 @@ from reconcile.utils.ocm.base import (
|
|
37
37
|
OCMServiceLogSeverity,
|
38
38
|
)
|
39
39
|
from reconcile.utils.ocm.labels import subscription_label_filter
|
40
|
+
from reconcile.utils.openshift_resource import (
|
41
|
+
QONTRACT_ANNOTATION_INTEGRATION,
|
42
|
+
QONTRACT_ANNOTATION_INTEGRATION_VERSION,
|
43
|
+
)
|
40
44
|
from reconcile.utils.runtime.integration import (
|
41
45
|
NoParams,
|
42
46
|
QontractReconcileIntegration,
|
43
47
|
)
|
48
|
+
from reconcile.utils.semver_helper import make_semver
|
44
49
|
|
50
|
+
QONTRACT_INTEGRATION_VERSION = make_semver(2, 0, 1)
|
45
51
|
QONTRACT_INTEGRATION = "dynatrace-token-provider"
|
46
52
|
SYNCSET_AND_MANIFEST_ID = "ext-dynatrace-tokens-dtp"
|
47
53
|
|
@@ -64,10 +70,11 @@ class DynatraceTokenProviderIntegration(QontractReconcileIntegration[NoParams]):
|
|
64
70
|
def get_early_exit_desired_state(self, *args: Any, **kwargs: Any) -> dict[str, Any]:
|
65
71
|
"""Return the desired state for early exit."""
|
66
72
|
return {
|
73
|
+
"version": QONTRACT_INTEGRATION_VERSION,
|
67
74
|
"specs": {
|
68
75
|
spec.name: spec.dict()
|
69
76
|
for spec in get_dynatrace_token_provider_token_specs()
|
70
|
-
}
|
77
|
+
},
|
71
78
|
}
|
72
79
|
|
73
80
|
@property
|
@@ -574,6 +581,10 @@ class DynatraceTokenProviderIntegration(QontractReconcileIntegration[NoParams]):
|
|
574
581
|
"metadata": {
|
575
582
|
"name": secret.secret_name,
|
576
583
|
"namespace": secret.namespace_name,
|
584
|
+
"annotations": {
|
585
|
+
QONTRACT_ANNOTATION_INTEGRATION: QONTRACT_INTEGRATION,
|
586
|
+
QONTRACT_ANNOTATION_INTEGRATION_VERSION: QONTRACT_INTEGRATION_VERSION,
|
587
|
+
},
|
577
588
|
},
|
578
589
|
"data": data,
|
579
590
|
})
|
{qontract_reconcile-0.10.2.dev17.dist-info → qontract_reconcile-0.10.2.dev19.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|