RockyRoad 0.0.571__py3-none-any.whl → 0.0.572__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.
- rockyroad/modules/oracle_installed_base_assets.py +6 -3
- rockyroad/modules/oracle_knowledge_management.py +6 -3
- rockyroad/modules/portal_configurations.py +7 -3
- rockyroad/modules/warranty_configurations.py +7 -3
- {rockyroad-0.0.571.dist-info → rockyroad-0.0.572.dist-info}/METADATA +1 -1
- {rockyroad-0.0.571.dist-info → rockyroad-0.0.572.dist-info}/RECORD +9 -9
- {rockyroad-0.0.571.dist-info → rockyroad-0.0.572.dist-info}/WHEEL +0 -0
- {rockyroad-0.0.571.dist-info → rockyroad-0.0.572.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.571.dist-info → rockyroad-0.0.572.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .module_imports import
|
|
1
|
+
from .module_imports import get_key
|
|
2
2
|
from uplink.retry.when import status_5xx
|
|
3
3
|
from uplink import (
|
|
4
4
|
Consumer,
|
|
@@ -11,6 +11,9 @@ from uplink import (
|
|
|
11
11
|
Query,
|
|
12
12
|
)
|
|
13
13
|
|
|
14
|
+
# Module configuration
|
|
15
|
+
USE_SERVICES_API = True
|
|
16
|
+
key = get_key(use_services_api=USE_SERVICES_API)
|
|
14
17
|
|
|
15
18
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
16
19
|
@retry(max_attempts=20, when=status_5xx())
|
|
@@ -18,8 +21,8 @@ class _Oracle_Installed_Base_Assets(Consumer):
|
|
|
18
21
|
"""Inteface to Oracle knowledge management resource for the RockyRoad API."""
|
|
19
22
|
|
|
20
23
|
def __init__(self, Resource, *args, **kw):
|
|
21
|
-
self._base_url = Resource._base_url
|
|
22
|
-
super().__init__(base_url=
|
|
24
|
+
self._base_url = Resource._services_base_url if USE_SERVICES_API else Resource._base_url
|
|
25
|
+
super().__init__(base_url=self._base_url, *args, **kw)
|
|
23
26
|
|
|
24
27
|
@returns.json
|
|
25
28
|
@http_get("oracle/installed-base-assets")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .module_imports import
|
|
1
|
+
from .module_imports import get_key
|
|
2
2
|
from uplink.retry.when import status_5xx
|
|
3
3
|
from uplink import (
|
|
4
4
|
Consumer,
|
|
@@ -9,6 +9,9 @@ from uplink import (
|
|
|
9
9
|
Query,
|
|
10
10
|
)
|
|
11
11
|
|
|
12
|
+
# Module configuration
|
|
13
|
+
USE_SERVICES_API = True
|
|
14
|
+
key = get_key(use_services_api=USE_SERVICES_API)
|
|
12
15
|
|
|
13
16
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
14
17
|
@retry(max_attempts=20, when=status_5xx())
|
|
@@ -16,8 +19,8 @@ class _Oracle_Knowledge_Management(Consumer):
|
|
|
16
19
|
"""Inteface to Oracle knowledge management resource for the RockyRoad API."""
|
|
17
20
|
|
|
18
21
|
def __init__(self, Resource, *args, **kw):
|
|
19
|
-
self._base_url = Resource._base_url
|
|
20
|
-
super().__init__(base_url=
|
|
22
|
+
self._base_url = Resource._services_base_url if USE_SERVICES_API else Resource._base_url
|
|
23
|
+
super().__init__(base_url=self._base_url, *args, **kw)
|
|
21
24
|
|
|
22
25
|
@returns.json
|
|
23
26
|
@http_get("oracle/content/articles")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .module_imports import
|
|
1
|
+
from .module_imports import get_key
|
|
2
2
|
from uplink.retry.when import status_5xx
|
|
3
3
|
from uplink import (
|
|
4
4
|
Consumer,
|
|
@@ -11,6 +11,10 @@ from uplink import (
|
|
|
11
11
|
json,
|
|
12
12
|
)
|
|
13
13
|
|
|
14
|
+
# Module configuration
|
|
15
|
+
USE_SERVICES_API = True
|
|
16
|
+
key = get_key(use_services_api=USE_SERVICES_API)
|
|
17
|
+
|
|
14
18
|
|
|
15
19
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
16
20
|
@retry(max_attempts=20, when=status_5xx())
|
|
@@ -18,8 +22,8 @@ class _Portal_Configurations(Consumer):
|
|
|
18
22
|
"""Inteface to portal configurations resource for the RockyRoad API."""
|
|
19
23
|
|
|
20
24
|
def __init__(self, Resource, *args, **kw):
|
|
21
|
-
self._base_url = Resource._base_url
|
|
22
|
-
super().__init__(base_url=
|
|
25
|
+
self._base_url = Resource._services_base_url if USE_SERVICES_API else Resource._base_url
|
|
26
|
+
super().__init__(base_url=self._base_url, *args, **kw)
|
|
23
27
|
|
|
24
28
|
@returns.json
|
|
25
29
|
@http_get("portal/configurations/file-resources")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .module_imports import
|
|
1
|
+
from .module_imports import get_key
|
|
2
2
|
from uplink.retry.when import status_5xx
|
|
3
3
|
from uplink import (
|
|
4
4
|
Consumer,
|
|
@@ -9,6 +9,10 @@ from uplink import (
|
|
|
9
9
|
Query,
|
|
10
10
|
)
|
|
11
11
|
|
|
12
|
+
# Module configuration
|
|
13
|
+
USE_SERVICES_API = True
|
|
14
|
+
key = get_key(use_services_api=USE_SERVICES_API)
|
|
15
|
+
|
|
12
16
|
|
|
13
17
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
14
18
|
@retry(max_attempts=20, when=status_5xx())
|
|
@@ -16,8 +20,8 @@ class _Warranty_Configurations(Consumer):
|
|
|
16
20
|
"""Inteface to warranty configurations resource for the RockyRoad API."""
|
|
17
21
|
|
|
18
22
|
def __init__(self, Resource, *args, **kw):
|
|
19
|
-
self._base_url = Resource._base_url
|
|
20
|
-
super().__init__(base_url=
|
|
23
|
+
self._base_url = Resource._services_base_url if USE_SERVICES_API else Resource._base_url
|
|
24
|
+
super().__init__(base_url=self._base_url, *args, **kw)
|
|
21
25
|
|
|
22
26
|
@returns.json
|
|
23
27
|
@http_get("warranties/configurations/roles")
|
|
@@ -31,11 +31,11 @@ rockyroad/modules/machine_logs.py,sha256=uVcB2d5NgMIFSauYgJ9_QyUE8K2iISYZ6MhI_F9
|
|
|
31
31
|
rockyroad/modules/machine_passcodes.py,sha256=e4a_tMs-gxzb_NXSnq6CxrVx4t6G8Gbw4y8kHiN-jdk,2092
|
|
32
32
|
rockyroad/modules/machines.py,sha256=BGBbIA50xnVYJ8vPjtwRdy_tn7ra88l6r73a7oGn9pA,5865
|
|
33
33
|
rockyroad/modules/module_imports.py,sha256=vWkjAbKKZJyP_M31KlvWmSENDKlIaD9OO1i5MOE0prg,610
|
|
34
|
-
rockyroad/modules/oracle_installed_base_assets.py,sha256=
|
|
35
|
-
rockyroad/modules/oracle_knowledge_management.py,sha256=
|
|
34
|
+
rockyroad/modules/oracle_installed_base_assets.py,sha256=Kxci11rEcBDs0fuU4s3TNRK_GF_ZJ0Nk0ws85fkbErs,2844
|
|
35
|
+
rockyroad/modules/oracle_knowledge_management.py,sha256=P3nzpdlDtJQAbN7yW2BIDx6h5BHYp4yOm8fADrbKrNs,1873
|
|
36
36
|
rockyroad/modules/oracle_users.py,sha256=wtMcA70JKAQxj1j-izNjNbpZ_DPLN7_Nl59Ay9zXy0U,1726
|
|
37
37
|
rockyroad/modules/parts.py,sha256=86eIKcaBepc94eOi1PhGs37095XHQNOnHolNSZSfOqg,5071
|
|
38
|
-
rockyroad/modules/portal_configurations.py,sha256=
|
|
38
|
+
rockyroad/modules/portal_configurations.py,sha256=6mYcEK9VSuQi348m_1vzRmgS8hxbcJB7NiLQXnHoYgg,2673
|
|
39
39
|
rockyroad/modules/portal_users.py,sha256=h1IpyD02NtbZaVYy-mtyygBmJgvOHWzPRiJoQHyOj2k,1018
|
|
40
40
|
rockyroad/modules/predictive_maintenance.py,sha256=-lpt93hJC__oGmn8pdAHhwSmJVMTpDHhQLhOg8k-FlQ,695
|
|
41
41
|
rockyroad/modules/service_reports.py,sha256=AndnKc3xgs-iXQino60LD7LHvpc00NL1ZDPyODyNmSI,1539
|
|
@@ -51,15 +51,15 @@ rockyroad/modules/users.py,sha256=5njKRWQi0zl_8jmX7MWZFrMp99xHXcZWjetEixokkDM,19
|
|
|
51
51
|
rockyroad/modules/util_data.py,sha256=33b90TVhH75GME0IRxYYtasoWTj-8Sa7kB3npelmWGI,1288
|
|
52
52
|
rockyroad/modules/warranties.py,sha256=VKQ4_oIGRwJ8VH9ng6H80Yh1SkW1W1IOpMwDmtW1jlo,9120
|
|
53
53
|
rockyroad/modules/warranty_assessments.py,sha256=1pIy-0Dk3n8VJ7qLNwZyQGwIO34vONdX-m-3jA_F9GE,797
|
|
54
|
-
rockyroad/modules/warranty_configurations.py,sha256=
|
|
54
|
+
rockyroad/modules/warranty_configurations.py,sha256=qQAvHjX5mDNbcAEDMNSWunKCeJBGtlD1B6buT_p9TIg,3937
|
|
55
55
|
rockyroad/modules/warranty_failure_modes.py,sha256=gGqiUjp9lYLvOBDuonR_nKagcdMxJivYHgu2hDi2-5Y,819
|
|
56
56
|
rockyroad/modules/warranty_gl_codes.py,sha256=a5vltjIfzEwu2FtrGbsqdtTdKLibd8kJkj7hYls-bLg,1432
|
|
57
57
|
rockyroad/modules/warranty_pip.py,sha256=_viDrbdMOX07OirXCH-22bfeeid60IoIl-lqZr_9iB8,7365
|
|
58
58
|
rockyroad/modules/warranty_rates.py,sha256=8oeDfg3boooBa3KPOWoR1JIm9yaX9Kslo4ZZnuuCDZA,1704
|
|
59
59
|
rockyroad/modules/warranty_registrations.py,sha256=ycTKiYoV9T_OTyKlwKSiLrDH7cOigSBzjIFI47GPhFA,1969
|
|
60
60
|
rockyroad/modules/warranty_rga.py,sha256=9rDQFE1YLw4dcpbt2yD3qIMxbvhUfoBNdpWl6KBRTPU,4714
|
|
61
|
-
rockyroad-0.0.
|
|
62
|
-
rockyroad-0.0.
|
|
63
|
-
rockyroad-0.0.
|
|
64
|
-
rockyroad-0.0.
|
|
65
|
-
rockyroad-0.0.
|
|
61
|
+
rockyroad-0.0.572.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
62
|
+
rockyroad-0.0.572.dist-info/METADATA,sha256=WErLGitMtCNW97qukZohgcM7nHkf-Pe5NkfFXpt0MTY,34189
|
|
63
|
+
rockyroad-0.0.572.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
64
|
+
rockyroad-0.0.572.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
65
|
+
rockyroad-0.0.572.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|