openbrokerapi 4.7.0__tar.gz → 4.7.1__tar.gz
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.
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/PKG-INFO +5 -3
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/README.rst +4 -2
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/api.py +3 -3
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/service_broker.py +2 -2
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/pyproject.toml +2 -2
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/LICENSE +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/__init__.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/auth.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/catalog.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/constants.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/errors.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/helper.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/log_util.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/request_filter.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/response.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/router.py +0 -0
- {openbrokerapi-4.7.0 → openbrokerapi-4.7.1}/openbrokerapi/settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openbrokerapi
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.1
|
|
4
4
|
Summary: A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)
|
|
5
5
|
Home-page: https://openbrokerapi.readthedocs.io/
|
|
6
6
|
License: MIT
|
|
@@ -34,7 +34,7 @@ Project-URL: Issue Tracker, https://github.com/eruvanos/openbrokerapi/issues
|
|
|
34
34
|
Project-URL: Repository, https://github.com/eruvanos/openbrokerapi
|
|
35
35
|
Description-Content-Type: text/x-rst
|
|
36
36
|
|
|
37
|
-
|Build Status| |Coverage Status| |Known Vulnerabilities| |PYUP| |OpenSSF Best Practices|
|
|
37
|
+
|Build Status| |Coverage Status| |Known Vulnerabilities| |PYUP| |OpenSSF Best Practices| |Scorecard|
|
|
38
38
|
|
|
39
39
|
Open Broker API
|
|
40
40
|
===============
|
|
@@ -210,5 +210,7 @@ So let us check how you can contribute:
|
|
|
210
210
|
.. |PYUP| image:: https://pyup.io/repos/github/eruvanos/openbrokerapi/shield.svg
|
|
211
211
|
:target: https://pyup.io/repos/github/eruvanos/openbrokerapi/
|
|
212
212
|
.. |OpenSSF Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/7220/badge
|
|
213
|
-
:target: https://
|
|
213
|
+
:target: https://www.bestpractices.dev/projects/7220
|
|
214
|
+
.. |Scorecard| image:: https://api.scorecard.dev/projects/github.com/eruvanos/openbrokerapi/badge
|
|
215
|
+
:target: https://scorecard.dev/viewer/?uri=github.com/eruvanos/openbrokerapi
|
|
214
216
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|Build Status| |Coverage Status| |Known Vulnerabilities| |PYUP| |OpenSSF Best Practices|
|
|
1
|
+
|Build Status| |Coverage Status| |Known Vulnerabilities| |PYUP| |OpenSSF Best Practices| |Scorecard|
|
|
2
2
|
|
|
3
3
|
Open Broker API
|
|
4
4
|
===============
|
|
@@ -174,4 +174,6 @@ So let us check how you can contribute:
|
|
|
174
174
|
.. |PYUP| image:: https://pyup.io/repos/github/eruvanos/openbrokerapi/shield.svg
|
|
175
175
|
:target: https://pyup.io/repos/github/eruvanos/openbrokerapi/
|
|
176
176
|
.. |OpenSSF Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/7220/badge
|
|
177
|
-
:target: https://
|
|
177
|
+
:target: https://www.bestpractices.dev/projects/7220
|
|
178
|
+
.. |Scorecard| image:: https://api.scorecard.dev/projects/github.com/eruvanos/openbrokerapi/badge
|
|
179
|
+
:target: https://scorecard.dev/viewer/?uri=github.com/eruvanos/openbrokerapi
|
|
@@ -41,7 +41,7 @@ from openbrokerapi.service_broker import (
|
|
|
41
41
|
ServiceBroker,
|
|
42
42
|
OperationState,
|
|
43
43
|
)
|
|
44
|
-
|
|
44
|
+
import openbrokerapi.settings
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
def _check_plan_id(broker: ServiceBroker, plan_id) -> bool:
|
|
@@ -78,13 +78,13 @@ def get_blueprint(
|
|
|
78
78
|
logger.debug("Apply print_request filter for debugging")
|
|
79
79
|
openbroker.before_request(print_request)
|
|
80
80
|
|
|
81
|
-
if DISABLE_VERSION_CHECK:
|
|
81
|
+
if openbrokerapi.settings.DISABLE_VERSION_CHECK:
|
|
82
82
|
logger.warning(
|
|
83
83
|
"Minimum API version is not checked, this can cause illegal contracts between service broker and platform!",
|
|
84
84
|
stacklevel=0
|
|
85
85
|
)
|
|
86
86
|
else:
|
|
87
|
-
logger.debug("Apply check_version filter for version %s" % str(MIN_VERSION))
|
|
87
|
+
logger.debug("Apply check_version filter for version %s" % str(openbrokerapi.settings.MIN_VERSION))
|
|
88
88
|
openbroker.before_request(check_version)
|
|
89
89
|
|
|
90
90
|
# apply filter: global load X-Broker-API-Originating-Identity
|
|
@@ -6,7 +6,7 @@ from openbrokerapi.catalog import (
|
|
|
6
6
|
ServiceMetadata,
|
|
7
7
|
ServicePlan,
|
|
8
8
|
)
|
|
9
|
-
|
|
9
|
+
import openbrokerapi.settings
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class ProvisionDetails:
|
|
@@ -37,7 +37,7 @@ class ProvisionDetails:
|
|
|
37
37
|
raise TypeError("space_guid does not match with context.space_guid")
|
|
38
38
|
self.space_guid = context["space_guid"]
|
|
39
39
|
|
|
40
|
-
if DISABLE_SPACE_ORG_GUID_CHECK:
|
|
40
|
+
if openbrokerapi.settings.DISABLE_SPACE_ORG_GUID_CHECK:
|
|
41
41
|
pass
|
|
42
42
|
elif None in (self.organization_guid, self.space_guid):
|
|
43
43
|
raise TypeError("Organization and space guid are required.")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "openbrokerapi"
|
|
3
|
-
version = "4.7.
|
|
3
|
+
version = "4.7.1"
|
|
4
4
|
description = "A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)"
|
|
5
5
|
authors = ["Maic Siemering <maic@siemering.tech>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -74,7 +74,7 @@ gunicorn = ["gunicorn"]
|
|
|
74
74
|
|
|
75
75
|
[tool.poetry.group.dev.dependencies]
|
|
76
76
|
bumpversion = "^0.6.0"
|
|
77
|
-
ruff = ">=0.0.252,<0.4.
|
|
77
|
+
ruff = ">=0.0.252,<0.4.9"
|
|
78
78
|
mypy = "^1.0.1"
|
|
79
79
|
types-requests = "^2.28.11.15"
|
|
80
80
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|