pyegeria 0.8.4.34__py3-none-any.whl → 0.8.4.36__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.
- commands/cat/list_glossary.py +4 -0
- commands/ops/monitor_integ_daemon_status.py +10 -10
- pyegeria/automated_curation_omvs.py +52 -37
- pyegeria/core_omag_server_config.py +2 -2
- pyegeria/runtime_manager_omvs.py +27 -27
- {pyegeria-0.8.4.34.dist-info → pyegeria-0.8.4.36.dist-info}/METADATA +1 -1
- {pyegeria-0.8.4.34.dist-info → pyegeria-0.8.4.36.dist-info}/RECORD +10 -10
- {pyegeria-0.8.4.34.dist-info → pyegeria-0.8.4.36.dist-info}/LICENSE +0 -0
- {pyegeria-0.8.4.34.dist-info → pyegeria-0.8.4.36.dist-info}/WHEEL +0 -0
- {pyegeria-0.8.4.34.dist-info → pyegeria-0.8.4.36.dist-info}/entry_points.txt +0 -0
commands/cat/list_glossary.py
CHANGED
@@ -10,6 +10,7 @@ A simple display for glossary terms
|
|
10
10
|
"""
|
11
11
|
import argparse
|
12
12
|
import os
|
13
|
+
import sys
|
13
14
|
import time
|
14
15
|
|
15
16
|
from rich import box
|
@@ -86,6 +87,9 @@ def display_glossary_terms(
|
|
86
87
|
page_size=500,
|
87
88
|
)
|
88
89
|
|
90
|
+
if type(terms) is str:
|
91
|
+
print(f"No terms found!")
|
92
|
+
sys.exit(0)
|
89
93
|
sorted_terms = sorted(
|
90
94
|
terms, key=lambda k: k["glossaryTermProperties"]["displayName"]
|
91
95
|
)
|
@@ -45,20 +45,18 @@ disable_ssl_warnings = True
|
|
45
45
|
|
46
46
|
|
47
47
|
def display_integration_daemon_status(
|
48
|
-
integ_server: str,
|
49
|
-
integ_url: str,
|
50
|
-
view_server: str,
|
51
|
-
view_url: str,
|
52
|
-
user: str,
|
53
|
-
user_pass: str,
|
54
|
-
paging: bool,
|
48
|
+
integ_server: str = EGERIA_INTEGRATION_DAEMON,
|
49
|
+
integ_url: str = EGERIA_INTEGRATION_DAEMON_URL,
|
50
|
+
view_server: str = EGERIA_VIEW_SERVER,
|
51
|
+
view_url: str = EGERIA_VIEW_SERVER_URL,
|
52
|
+
user: str = EGERIA_USER,
|
53
|
+
user_pass: str = EGERIA_USER_PASSWORD,
|
54
|
+
paging: bool = True,
|
55
55
|
jupyter: bool = EGERIA_JUPYTER,
|
56
56
|
width: int = EGERIA_WIDTH,
|
57
57
|
sort: bool = True,
|
58
58
|
):
|
59
59
|
s_client = EgeriaTech(view_server, view_url, user, user_pass)
|
60
|
-
token = s_client.create_egeria_bearer_token()
|
61
|
-
server_guid = s_client.get_guid_for_name(integ_server)
|
62
60
|
|
63
61
|
def generate_table() -> Table:
|
64
62
|
"""Make a new table."""
|
@@ -82,7 +80,9 @@ def display_integration_daemon_status(
|
|
82
80
|
table.add_column("Target Element", min_width=20)
|
83
81
|
table.add_column("Exception Message", min_width=10)
|
84
82
|
|
85
|
-
|
83
|
+
token = s_client.create_egeria_bearer_token()
|
84
|
+
# server_guid = s_client.get_guid_for_name(integ_server)
|
85
|
+
daemon_status = s_client.get_server_report(None, integ_server)
|
86
86
|
|
87
87
|
reports = daemon_status["integrationConnectorReports"]
|
88
88
|
if sort is True:
|
@@ -49,7 +49,7 @@ class AutomatedCuration(Client):
|
|
49
49
|
self.user_id = user_id
|
50
50
|
self.user_pwd = user_pwd
|
51
51
|
Client.__init__(self, server_name, platform_url, user_id, user_pwd, token=token)
|
52
|
-
self.
|
52
|
+
self.curation_command_root = f"{self.platform_url}/servers/{self.server_name}/api/open-metadata/automated-curation"
|
53
53
|
|
54
54
|
async def _async_create_element_from_template(self, body: dict) -> str:
|
55
55
|
"""Create a new metadata element from a template. Async version.
|
@@ -95,7 +95,7 @@ class AutomatedCuration(Client):
|
|
95
95
|
}
|
96
96
|
"""
|
97
97
|
|
98
|
-
url = f"{self.
|
98
|
+
url = f"{self.curation_command_root}/catalog-templates/new-element"
|
99
99
|
response = await self._async_make_request("POST", url, body)
|
100
100
|
return response.json().get("guid", "GUID failed to be returned")
|
101
101
|
|
@@ -1080,7 +1080,7 @@ class AutomatedCuration(Client):
|
|
1080
1080
|
"""
|
1081
1081
|
|
1082
1082
|
url = (
|
1083
|
-
f"{self.
|
1083
|
+
f"{self.curation_command_root}/engine-actions?"
|
1084
1084
|
f"startFrom={start_from}&pageSize={page_size}"
|
1085
1085
|
)
|
1086
1086
|
|
@@ -1145,7 +1145,7 @@ class AutomatedCuration(Client):
|
|
1145
1145
|
For more information see: https://egeria-project.org/concepts/engine-action
|
1146
1146
|
"""
|
1147
1147
|
|
1148
|
-
url = f"{self.
|
1148
|
+
url = f"{self.curation_command_root}/engine-actions/" f"{engine_action_guid}"
|
1149
1149
|
|
1150
1150
|
response = await self._async_make_request("GET", url)
|
1151
1151
|
return response.json().get("element", "No element found")
|
@@ -1207,7 +1207,10 @@ class AutomatedCuration(Client):
|
|
1207
1207
|
|
1208
1208
|
validate_guid(engine_action_guid)
|
1209
1209
|
|
1210
|
-
url =
|
1210
|
+
url = (
|
1211
|
+
f"{self.curation_command_root}/engine-actions/"
|
1212
|
+
f"{engine_action_guid}/cancel"
|
1213
|
+
)
|
1211
1214
|
|
1212
1215
|
await self._async_make_request("POST", url)
|
1213
1216
|
|
@@ -1268,7 +1271,7 @@ class AutomatedCuration(Client):
|
|
1268
1271
|
"""
|
1269
1272
|
|
1270
1273
|
url = (
|
1271
|
-
f"{self.
|
1274
|
+
f"{self.curation_command_root}/engine-actions/active?"
|
1272
1275
|
f"startFrom={start_from}&pageSize={page_size}"
|
1273
1276
|
)
|
1274
1277
|
|
@@ -1346,7 +1349,7 @@ class AutomatedCuration(Client):
|
|
1346
1349
|
validate_name(name)
|
1347
1350
|
|
1348
1351
|
url = (
|
1349
|
-
f"{self.
|
1352
|
+
f"{self.curation_command_root}/engine-actions/by-name?"
|
1350
1353
|
f"startFrom={start_from}&pageSize={page_size}"
|
1351
1354
|
)
|
1352
1355
|
body = {"filter": name}
|
@@ -1452,7 +1455,7 @@ class AutomatedCuration(Client):
|
|
1452
1455
|
ignore_case_s = str(ignore_case).lower()
|
1453
1456
|
|
1454
1457
|
url = (
|
1455
|
-
f"{self.
|
1458
|
+
f"{self.curation_command_root}/engine-actions/"
|
1456
1459
|
f"by-search-string?startFrom={start_from}&pageSize={page_size}&startsWith={starts_with_s}&"
|
1457
1460
|
f"endsWith={ends_with_s}&ignoreCase={ignore_case_s}"
|
1458
1461
|
)
|
@@ -1551,7 +1554,10 @@ class AutomatedCuration(Client):
|
|
1551
1554
|
|
1552
1555
|
validate_guid(process_guid)
|
1553
1556
|
|
1554
|
-
url =
|
1557
|
+
url = (
|
1558
|
+
f"{self.curation_command_root}/"
|
1559
|
+
f"governance-action-processes/{process_guid}"
|
1560
|
+
)
|
1555
1561
|
|
1556
1562
|
response = await self._async_make_request("GET", url)
|
1557
1563
|
return response.json().get("element", "no actions")
|
@@ -1608,7 +1614,7 @@ class AutomatedCuration(Client):
|
|
1608
1614
|
validate_guid(process_guid)
|
1609
1615
|
|
1610
1616
|
url = (
|
1611
|
-
f"{self.
|
1617
|
+
f"{self.curation_command_root}/"
|
1612
1618
|
f"governance-action-processes/{process_guid}/graph"
|
1613
1619
|
)
|
1614
1620
|
|
@@ -1677,7 +1683,7 @@ class AutomatedCuration(Client):
|
|
1677
1683
|
validate_name(name)
|
1678
1684
|
|
1679
1685
|
url = (
|
1680
|
-
f"{self.
|
1686
|
+
f"{self.curation_command_root}/governance-action-processes/"
|
1681
1687
|
f"by-name?startFrom={start_from}&pageSize={page_size}"
|
1682
1688
|
)
|
1683
1689
|
body = {"filter": name}
|
@@ -1775,7 +1781,7 @@ class AutomatedCuration(Client):
|
|
1775
1781
|
ignore_case_s = str(ignore_case).lower()
|
1776
1782
|
|
1777
1783
|
url = (
|
1778
|
-
f"{self.
|
1784
|
+
f"{self.curation_command_root}/governance-action-processes/"
|
1779
1785
|
f"by-search-string?startFrom={start_from}&pageSize={page_size}&startsWith={starts_with_s}&"
|
1780
1786
|
f"endsWith={ends_with_s}&ignoreCase={ignore_case_s}"
|
1781
1787
|
)
|
@@ -1892,7 +1898,7 @@ class AutomatedCuration(Client):
|
|
1892
1898
|
datetime.datetime.now() if start_time is None else start_time
|
1893
1899
|
)
|
1894
1900
|
|
1895
|
-
url = f"{self.
|
1901
|
+
url = f"{self.curation_command_root}/governance-action-processes/" f"initiate"
|
1896
1902
|
body = {
|
1897
1903
|
"class": "GovernanceActionProcessRequestBody",
|
1898
1904
|
"processQualifiedName": action_type_qualified_name,
|
@@ -1986,7 +1992,7 @@ class AutomatedCuration(Client):
|
|
1986
1992
|
validate_guid(gov_action_type_guid)
|
1987
1993
|
|
1988
1994
|
url = (
|
1989
|
-
f"{self.
|
1995
|
+
f"{self.curation_command_root}/"
|
1990
1996
|
f"governance-action-types/{gov_action_type_guid}"
|
1991
1997
|
)
|
1992
1998
|
|
@@ -2047,7 +2053,7 @@ class AutomatedCuration(Client):
|
|
2047
2053
|
validate_name(action_type_name)
|
2048
2054
|
|
2049
2055
|
url = (
|
2050
|
-
f"{self.
|
2056
|
+
f"{self.curation_command_root}/"
|
2051
2057
|
f"governance-action-types/by-name?startFrom={start_from}&pageSize={page_size}"
|
2052
2058
|
)
|
2053
2059
|
|
@@ -2145,7 +2151,7 @@ class AutomatedCuration(Client):
|
|
2145
2151
|
ignore_case_s = str(ignore_case).lower()
|
2146
2152
|
|
2147
2153
|
url = (
|
2148
|
-
f"{self.
|
2154
|
+
f"{self.curation_command_root}/governance-action-types/"
|
2149
2155
|
f"by-search-string?startFrom={start_from}&pageSize={page_size}&startsWith={starts_with_s}&"
|
2150
2156
|
f"endsWith={ends_with_s}&ignoreCase={ignore_case_s}"
|
2151
2157
|
)
|
@@ -2252,7 +2258,7 @@ class AutomatedCuration(Client):
|
|
2252
2258
|
|
2253
2259
|
"""
|
2254
2260
|
|
2255
|
-
url = f"{self.
|
2261
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2256
2262
|
start = int(start_time.timestamp() * 1000) if start_time else None
|
2257
2263
|
body = {
|
2258
2264
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2330,7 +2336,7 @@ class AutomatedCuration(Client):
|
|
2330
2336
|
) -> str:
|
2331
2337
|
"""Initiate a postgres database survey"""
|
2332
2338
|
|
2333
|
-
url = f"{self.
|
2339
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2334
2340
|
|
2335
2341
|
body = {
|
2336
2342
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2359,7 +2365,7 @@ class AutomatedCuration(Client):
|
|
2359
2365
|
) -> str:
|
2360
2366
|
"""Initiate a postgres server survey - Async version"""
|
2361
2367
|
|
2362
|
-
url = f"{self.
|
2368
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2363
2369
|
|
2364
2370
|
body = {
|
2365
2371
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2420,7 +2426,7 @@ class AutomatedCuration(Client):
|
|
2420
2426
|
- AssetSurvey:survey-all-folders-and-files
|
2421
2427
|
"""
|
2422
2428
|
|
2423
|
-
url = f"{self.
|
2429
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2424
2430
|
|
2425
2431
|
body = {
|
2426
2432
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2483,7 +2489,7 @@ class AutomatedCuration(Client):
|
|
2483
2489
|
async def _async_initiate_file_survey(self, file_guid: str) -> str:
|
2484
2490
|
"""Initiate a file survey - async version"""
|
2485
2491
|
|
2486
|
-
url = f"{self.
|
2492
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2487
2493
|
|
2488
2494
|
body = {
|
2489
2495
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2519,7 +2525,7 @@ class AutomatedCuration(Client):
|
|
2519
2525
|
|
2520
2526
|
"""
|
2521
2527
|
|
2522
|
-
url = f"{self.
|
2528
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2523
2529
|
|
2524
2530
|
body = {
|
2525
2531
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2570,7 +2576,7 @@ class AutomatedCuration(Client):
|
|
2570
2576
|
|
2571
2577
|
"""
|
2572
2578
|
|
2573
|
-
url = f"{self.
|
2579
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2574
2580
|
|
2575
2581
|
body = {
|
2576
2582
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2620,7 +2626,7 @@ class AutomatedCuration(Client):
|
|
2620
2626
|
|
2621
2627
|
"""
|
2622
2628
|
|
2623
|
-
url = f"{self.
|
2629
|
+
url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
|
2624
2630
|
|
2625
2631
|
body = {
|
2626
2632
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2674,7 +2680,7 @@ class AutomatedCuration(Client):
|
|
2674
2680
|
#
|
2675
2681
|
# """
|
2676
2682
|
# server = self.view_server if server is None else server
|
2677
|
-
# url = (f"{self.
|
2683
|
+
# url = (f"{self.curation_command_root}/governance-action-types/"
|
2678
2684
|
# f"initiate")
|
2679
2685
|
#
|
2680
2686
|
# body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2720,7 +2726,7 @@ class AutomatedCuration(Client):
|
|
2720
2726
|
#
|
2721
2727
|
# """
|
2722
2728
|
# server = self.view_server if server is None else server
|
2723
|
-
# url = (f"{self.
|
2729
|
+
# url = (f"{self.curation_command_root}/governance-action-types/"
|
2724
2730
|
# f"initiate")
|
2725
2731
|
#
|
2726
2732
|
# body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2766,7 +2772,7 @@ class AutomatedCuration(Client):
|
|
2766
2772
|
#
|
2767
2773
|
# """
|
2768
2774
|
# server = self.view_server if server is None else server
|
2769
|
-
# url = (f"{self.
|
2775
|
+
# url = (f"{self.curation_command_root}/governance-action-types/"
|
2770
2776
|
# f"initiate")
|
2771
2777
|
#
|
2772
2778
|
# body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
@@ -2854,7 +2860,10 @@ class AutomatedCuration(Client):
|
|
2854
2860
|
|
2855
2861
|
"""
|
2856
2862
|
|
2857
|
-
url =
|
2863
|
+
url = (
|
2864
|
+
f"{self.curation_command_root}/governance-engines/"
|
2865
|
+
f"engine-actions/initiate"
|
2866
|
+
)
|
2858
2867
|
body = {
|
2859
2868
|
"class": "GovernanceActionRequestBody",
|
2860
2869
|
"qualifiedName": qualified_name + str(int(start_time.timestamp())),
|
@@ -2977,7 +2986,7 @@ class AutomatedCuration(Client):
|
|
2977
2986
|
validate_guid(integ_connector_guid)
|
2978
2987
|
|
2979
2988
|
url = (
|
2980
|
-
f"{self.
|
2989
|
+
f"{self.curation_command_root}/integration-connectors/"
|
2981
2990
|
f"{integ_connector_guid}/catalog-targets?startFrom={start_from}&pageSize={page_size}"
|
2982
2991
|
)
|
2983
2992
|
|
@@ -3037,7 +3046,7 @@ class AutomatedCuration(Client):
|
|
3037
3046
|
|
3038
3047
|
validate_guid(relationship_guid)
|
3039
3048
|
|
3040
|
-
url = f"{self.
|
3049
|
+
url = f"{self.curation_command_root}/catalog-targets/" f"{relationship_guid}"
|
3041
3050
|
|
3042
3051
|
response = await self._async_make_request("GET", url)
|
3043
3052
|
return response.json().get("element", "no actions")
|
@@ -3120,7 +3129,7 @@ class AutomatedCuration(Client):
|
|
3120
3129
|
validate_guid(metadata_element_guid)
|
3121
3130
|
|
3122
3131
|
url = (
|
3123
|
-
f"{self.
|
3132
|
+
f"{self.curation_command_root}/integration-connectors/"
|
3124
3133
|
f"{integ_connector_guid}/catalog-targets/{metadata_element_guid}"
|
3125
3134
|
)
|
3126
3135
|
body = {
|
@@ -3243,7 +3252,10 @@ class AutomatedCuration(Client):
|
|
3243
3252
|
|
3244
3253
|
validate_guid(relationship_guid)
|
3245
3254
|
|
3246
|
-
url =
|
3255
|
+
url = (
|
3256
|
+
f"{self.curation_command_root}/catalog-targets/"
|
3257
|
+
f"{relationship_guid}/update"
|
3258
|
+
)
|
3247
3259
|
body = {
|
3248
3260
|
"catalogTargetName": catalog_target_name,
|
3249
3261
|
"metadataSourceQualifiedName": metadata_src_qual_name,
|
@@ -3327,7 +3339,10 @@ class AutomatedCuration(Client):
|
|
3327
3339
|
|
3328
3340
|
validate_guid(relationship_guid)
|
3329
3341
|
|
3330
|
-
url =
|
3342
|
+
url = (
|
3343
|
+
f"{self.curation_command_root}/catalog-targets/"
|
3344
|
+
f"{relationship_guid}/remove"
|
3345
|
+
)
|
3331
3346
|
|
3332
3347
|
await self._async_make_request("POST", url)
|
3333
3348
|
return
|
@@ -3395,7 +3410,7 @@ class AutomatedCuration(Client):
|
|
3395
3410
|
|
3396
3411
|
# validate_name(type_name)
|
3397
3412
|
url = (
|
3398
|
-
f"{self.
|
3413
|
+
f"{self.curation_command_root}/open-metadata-types/"
|
3399
3414
|
f"{type_name}/technology-types?startFrom={start_from}&pageSize={page_size}"
|
3400
3415
|
)
|
3401
3416
|
body = {"filter": tech_name}
|
@@ -3470,7 +3485,7 @@ class AutomatedCuration(Client):
|
|
3470
3485
|
"""
|
3471
3486
|
|
3472
3487
|
# validate_name(type_name)
|
3473
|
-
url = f"{self.
|
3488
|
+
url = f"{self.curation_command_root}/technology-types/by-name"
|
3474
3489
|
|
3475
3490
|
body = {"filter": type_name}
|
3476
3491
|
|
@@ -3561,7 +3576,7 @@ class AutomatedCuration(Client):
|
|
3561
3576
|
search_string = ""
|
3562
3577
|
|
3563
3578
|
url = (
|
3564
|
-
f"{self.
|
3579
|
+
f"{self.curation_command_root}/technology-types/"
|
3565
3580
|
f"by-search-string?startFrom={start_from}&pageSize={page_size}&startsWith={starts_with_s}&"
|
3566
3581
|
f"endsWith={ends_with_s}&ignoreCase={ignore_case_s}"
|
3567
3582
|
)
|
@@ -3741,7 +3756,7 @@ class AutomatedCuration(Client):
|
|
3741
3756
|
validate_name(filter)
|
3742
3757
|
|
3743
3758
|
url = (
|
3744
|
-
f"{self.
|
3759
|
+
f"{self.curation_command_root}/technology-types/elements?"
|
3745
3760
|
f"startFrom={start_from}&pageSize={page_size}&getTemplates={get_templates_s}"
|
3746
3761
|
)
|
3747
3762
|
body = {"filter": filter, "effective_time": effective_time}
|
@@ -1419,8 +1419,8 @@ class CoreServerConfig(Client):
|
|
1419
1419
|
conn.close()
|
1420
1420
|
|
1421
1421
|
jdbc_url = f'"jdbc:postgresql://{host}:{port}/{pg_db}?user={pg_user}&password={pg_pwd}"'
|
1422
|
-
index_dir = f'"data/servers/{server_name}/repository/{
|
1423
|
-
lucene_dir = f'"data/servers/{server_name}/repository/{
|
1422
|
+
index_dir = f'"data/servers/{server_name}/repository/{server_name}/rdb-index"'
|
1423
|
+
lucene_dir = f'"data/servers/{server_name}/repository/{server_name}/lucene"'
|
1424
1424
|
|
1425
1425
|
index_str = "{:xtdb/index-store {:kv-store {:xtdb/module xtdb.rocksdb/->kv-store :db-dir "
|
1426
1426
|
index_str2 = index_str + index_dir + "}}"
|
pyegeria/runtime_manager_omvs.py
CHANGED
@@ -52,7 +52,7 @@ class RuntimeManager(Client):
|
|
52
52
|
self.view_server = view_server
|
53
53
|
self.time_out = time_out
|
54
54
|
Client.__init__(self, view_server, platform_url, user_id, user_pwd, token=token)
|
55
|
-
self.
|
55
|
+
self.runtime_command_root = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/runtime-manager"
|
56
56
|
self.platform_guid = "44bf319f-1e41-4da1-b771-2753b92b631a" # this is platform @ 9443 from the core content archive
|
57
57
|
self.default_platform_name = (
|
58
58
|
"Default Local OMAG Server Platform" # this from the core content archive
|
@@ -142,7 +142,7 @@ class RuntimeManager(Client):
|
|
142
142
|
"""
|
143
143
|
server_guid = self.__get_guid__(server_guid, server_name)
|
144
144
|
url = (
|
145
|
-
f"{self.
|
145
|
+
f"{self.runtime_command_root}/cohort-members/"
|
146
146
|
f"{server_guid}/cohorts/{cohort_name}/connect"
|
147
147
|
)
|
148
148
|
await self._async_make_request("GET", url)
|
@@ -213,7 +213,7 @@ class RuntimeManager(Client):
|
|
213
213
|
"""
|
214
214
|
server_guid = self.__get_guid__(server_guid, server_name)
|
215
215
|
url = (
|
216
|
-
f"{self.
|
216
|
+
f"{self.runtime_command_root}/runtime-manager/cohort-members/"
|
217
217
|
f"{server_guid}/cohorts/{cohort_name}/disconnect"
|
218
218
|
)
|
219
219
|
await self._async_make_request("GET", url)
|
@@ -281,7 +281,7 @@ class RuntimeManager(Client):
|
|
281
281
|
"""
|
282
282
|
server_guid = self.__get_guid__(server_guid, server_name)
|
283
283
|
url = (
|
284
|
-
f"{self.
|
284
|
+
f"{self.runtime_command_root}/cohort-members/"
|
285
285
|
f"{server_guid}/cohorts/{cohort_name}/unregister"
|
286
286
|
)
|
287
287
|
await self._async_make_request("GET", url)
|
@@ -359,7 +359,7 @@ class RuntimeManager(Client):
|
|
359
359
|
"""
|
360
360
|
server_guid = self.__get_guid__(server_guid, server_name)
|
361
361
|
url = (
|
362
|
-
f"{self.
|
362
|
+
f"{self.runtime_command_root}/engine-hosts/"
|
363
363
|
f"{server_guid}/governance_engines/{gov_engine_name}/refresh-config"
|
364
364
|
)
|
365
365
|
await self._async_make_request("GET", url)
|
@@ -438,7 +438,7 @@ class RuntimeManager(Client):
|
|
438
438
|
"""
|
439
439
|
server_guid = self.__get_guid__(server_guid, server_name)
|
440
440
|
url = (
|
441
|
-
f"{self.
|
441
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
442
442
|
f"{server_guid}/integration-connectors/{connector_name}/configuration-properties"
|
443
443
|
)
|
444
444
|
response = await self._async_make_request("GET", url)
|
@@ -520,7 +520,7 @@ class RuntimeManager(Client):
|
|
520
520
|
"""
|
521
521
|
server_guid = self.__get_guid__(server_guid, server_name)
|
522
522
|
url = (
|
523
|
-
f"{self.
|
523
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
524
524
|
f"{server_guid}/integration-connectors/{connector_name}/configuration-properties"
|
525
525
|
)
|
526
526
|
|
@@ -620,7 +620,7 @@ class RuntimeManager(Client):
|
|
620
620
|
"""
|
621
621
|
server_guid = self.__get_guid__(server_guid, server_name)
|
622
622
|
url = (
|
623
|
-
f"{self.
|
623
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
624
624
|
f"{server_guid}/integration-connectors/{connector_name}/endpoint-network-address"
|
625
625
|
)
|
626
626
|
|
@@ -707,7 +707,7 @@ class RuntimeManager(Client):
|
|
707
707
|
"""
|
708
708
|
server_guid = self.__get_guid__(server_guid, server_name)
|
709
709
|
url = (
|
710
|
-
f"{self.
|
710
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
711
711
|
f"{server_guid}/integration-connectors/refresh"
|
712
712
|
)
|
713
713
|
|
@@ -790,7 +790,7 @@ class RuntimeManager(Client):
|
|
790
790
|
"""
|
791
791
|
server_guid = self.__get_guid__(server_guid, server_name)
|
792
792
|
url = (
|
793
|
-
f"{self.
|
793
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
794
794
|
f"{server_guid}/integration-connectors/restart"
|
795
795
|
)
|
796
796
|
|
@@ -875,7 +875,7 @@ class RuntimeManager(Client):
|
|
875
875
|
"""
|
876
876
|
server_guid = self.__get_guid__(server_guid, server_name)
|
877
877
|
url = (
|
878
|
-
f"{self.
|
878
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
879
879
|
f"{server_guid}/integration-groups/{integ_group_name}/refresh-config"
|
880
880
|
)
|
881
881
|
|
@@ -959,7 +959,7 @@ class RuntimeManager(Client):
|
|
959
959
|
"""
|
960
960
|
server_guid = self.__get_guid__(server_guid, server_name)
|
961
961
|
url = (
|
962
|
-
f"{self.
|
962
|
+
f"{self.runtime_command_root}/integration-daemons/"
|
963
963
|
f"{server_guid}/integration-daemons/{server_guid}/open-lineage-events/publish"
|
964
964
|
)
|
965
965
|
|
@@ -1040,7 +1040,7 @@ class RuntimeManager(Client):
|
|
1040
1040
|
"""
|
1041
1041
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1042
1042
|
url = (
|
1043
|
-
f"{self.
|
1043
|
+
f"{self.runtime_command_root}/metadata-access-stores/{server_guid}/instance/load/open-metadata-archives/"
|
1044
1044
|
f"archive-content"
|
1045
1045
|
)
|
1046
1046
|
|
@@ -1129,7 +1129,7 @@ class RuntimeManager(Client):
|
|
1129
1129
|
|
1130
1130
|
"""
|
1131
1131
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1132
|
-
url = f"{self.
|
1132
|
+
url = f"{self.runtime_command_root}/metadata-access-stores/{server_guid}/instance/load/open-metadata-archives/file"
|
1133
1133
|
|
1134
1134
|
await self._async_make_request(
|
1135
1135
|
"POST-DATA", url, archive_file, time_out=time_out
|
@@ -1209,7 +1209,7 @@ class RuntimeManager(Client):
|
|
1209
1209
|
|
1210
1210
|
"""
|
1211
1211
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1212
|
-
url = f"{self.
|
1212
|
+
url = f"{self.runtime_command_root}/omag-servers/{server_guid}"
|
1213
1213
|
|
1214
1214
|
await self._async_make_request("DELETE", url)
|
1215
1215
|
|
@@ -1273,7 +1273,7 @@ class RuntimeManager(Client):
|
|
1273
1273
|
|
1274
1274
|
"""
|
1275
1275
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1276
|
-
url = f"{self.
|
1276
|
+
url = f"{self.runtime_command_root}/omag-servers/{server_guid}/instance"
|
1277
1277
|
|
1278
1278
|
await self._async_make_request("POST", url)
|
1279
1279
|
return
|
@@ -1335,7 +1335,7 @@ class RuntimeManager(Client):
|
|
1335
1335
|
|
1336
1336
|
"""
|
1337
1337
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1338
|
-
url = f"{self.
|
1338
|
+
url = f"{self.runtime_command_root}/omag-servers/{server_guid}/instance"
|
1339
1339
|
|
1340
1340
|
await self._async_make_request("DELETE", url)
|
1341
1341
|
|
@@ -1446,7 +1446,7 @@ class RuntimeManager(Client):
|
|
1446
1446
|
filter = self.default_platform_name
|
1447
1447
|
|
1448
1448
|
url = (
|
1449
|
-
f"{self.
|
1449
|
+
f"{self.runtime_command_root}/platforms/by-name?"
|
1450
1450
|
f"startFrom={start_from}&pageSize={page_size}"
|
1451
1451
|
)
|
1452
1452
|
if effective_time is not None:
|
@@ -1497,7 +1497,7 @@ class RuntimeManager(Client):
|
|
1497
1497
|
filter = "OMAG Server Platform"
|
1498
1498
|
|
1499
1499
|
url = (
|
1500
|
-
f"{self.
|
1500
|
+
f"{self.runtime_command_root}/platforms/"
|
1501
1501
|
f"by-deployed-implementation-type?startFrom={start_from}&pageSize={page_size}"
|
1502
1502
|
)
|
1503
1503
|
|
@@ -1591,7 +1591,7 @@ class RuntimeManager(Client):
|
|
1591
1591
|
filter = "OMAG Server Platform"
|
1592
1592
|
|
1593
1593
|
url = (
|
1594
|
-
f"{self.
|
1594
|
+
f"{self.runtime_command_root}/platforms/"
|
1595
1595
|
f"by-deployed-implementation-type?startFrom={start_from}&pageSize={page_size}&getTemplates=true"
|
1596
1596
|
)
|
1597
1597
|
|
@@ -1670,7 +1670,7 @@ class RuntimeManager(Client):
|
|
1670
1670
|
|
1671
1671
|
"""
|
1672
1672
|
platform_guid = self.__get_guid__(platform_guid, platform_name)
|
1673
|
-
url = f"{self.
|
1673
|
+
url = f"{self.runtime_command_root}/platforms/{platform_guid}/report"
|
1674
1674
|
|
1675
1675
|
response = await self._async_make_request("GET", url)
|
1676
1676
|
|
@@ -1727,7 +1727,7 @@ class RuntimeManager(Client):
|
|
1727
1727
|
|
1728
1728
|
"""
|
1729
1729
|
|
1730
|
-
url = f"{self.
|
1730
|
+
url = f"{self.runtime_command_root}/platforms/{platform_guid}"
|
1731
1731
|
|
1732
1732
|
if effective_time is not None:
|
1733
1733
|
body = {"effectiveTime": effective_time}
|
@@ -1798,7 +1798,7 @@ class RuntimeManager(Client):
|
|
1798
1798
|
|
1799
1799
|
"""
|
1800
1800
|
server_guid = self.__get_guid__(server_guid, server_name)
|
1801
|
-
url = f"{self.
|
1801
|
+
url = f"{self.runtime_command_root}/software-servers/{server_guid}"
|
1802
1802
|
|
1803
1803
|
if effective_time is not None:
|
1804
1804
|
body = {"effectiveTime": effective_time}
|
@@ -1877,7 +1877,7 @@ class RuntimeManager(Client):
|
|
1877
1877
|
"""
|
1878
1878
|
|
1879
1879
|
url = (
|
1880
|
-
f"{self.
|
1880
|
+
f"{self.runtime_command_root}/software-servers/by-name?"
|
1881
1881
|
f"startFrom={start_from}&pageSize={page_size}"
|
1882
1882
|
)
|
1883
1883
|
|
@@ -1960,7 +1960,7 @@ class RuntimeManager(Client):
|
|
1960
1960
|
filter = None
|
1961
1961
|
|
1962
1962
|
url = (
|
1963
|
-
f"{self.
|
1963
|
+
f"{self.runtime_command_root}/software-servers/"
|
1964
1964
|
f"by-deployed-implementation-type?startFrom={start_from}&pageSize={page_size}"
|
1965
1965
|
)
|
1966
1966
|
|
@@ -2053,7 +2053,7 @@ class RuntimeManager(Client):
|
|
2053
2053
|
filter = None
|
2054
2054
|
|
2055
2055
|
url = (
|
2056
|
-
f"{self.
|
2056
|
+
f"{self.runtime_command_root}/software-servers/"
|
2057
2057
|
f"by-deployed-implementation-type?startFrom={start_from}&pageSize={page_size}&getTemplates=true"
|
2058
2058
|
)
|
2059
2059
|
|
@@ -2131,7 +2131,7 @@ class RuntimeManager(Client):
|
|
2131
2131
|
|
2132
2132
|
"""
|
2133
2133
|
server_guid = self.__get_guid__(server_guid, server_name)
|
2134
|
-
url = f"{self.
|
2134
|
+
url = f"{self.runtime_command_root}/omag-servers/{server_guid}/instance/report"
|
2135
2135
|
|
2136
2136
|
response = await self._async_make_request("GET", url)
|
2137
2137
|
|
@@ -9,7 +9,7 @@ commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eV
|
|
9
9
|
commands/cat/list_archives.py,sha256=E45WMqAUuaEL6vwHGMfbpoUm3C7CyW46pIFcRc0Yfbs,5481
|
10
10
|
commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
11
11
|
commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
12
|
-
commands/cat/list_glossary.py,sha256=
|
12
|
+
commands/cat/list_glossary.py,sha256=tUtQQoTGTlDLU-yFbfO3zjiJC9QyEJfg8NxnGCo2mnI,5811
|
13
13
|
commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
|
14
14
|
commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
|
15
15
|
commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
@@ -39,7 +39,7 @@ commands/ops/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnlla
|
|
39
39
|
commands/ops/monitor_engine_activity.py,sha256=m18OSnRoo5ut0WKKOWNoFGXJW_npjp6hzHK3RUQG8T0,8479
|
40
40
|
commands/ops/monitor_engine_activity_c.py,sha256=rSEUD3elhsiYdUhQRn613OM_R4VecFb0uq39MhYhltQ,9371
|
41
41
|
commands/ops/monitor_gov_eng_status.py,sha256=0Hc7Nbfvl-Qulrhm65GTcYSQ10xkIBtr1ZtjCMYKsEk,7031
|
42
|
-
commands/ops/monitor_integ_daemon_status.py,sha256=
|
42
|
+
commands/ops/monitor_integ_daemon_status.py,sha256=BtQojoyJcEkZ69Kp8_inWedsoUKuv7x6iUjgEs8sWws,9225
|
43
43
|
commands/ops/monitor_platform_status.py,sha256=xmngiuQK9X6X4-stGSITzfMSAdqpswVk-DY7kh8M0P0,6401
|
44
44
|
commands/ops/monitor_server_status.py,sha256=eeZY4o_HwrH-csrhHPi95LLGu00j6AYl48A7fDYTG34,6061
|
45
45
|
commands/ops/orig_monitor_server_list.py,sha256=Uhtn8lv7QVXJBi9DSR3Nelmz8TB0vOsat10nFS6Nu20,4637
|
@@ -67,10 +67,10 @@ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
|
67
67
|
pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
|
68
68
|
pyegeria/_validators.py,sha256=rnZelHJnjHaLZ8UhUTDyB59MfIUJifhALtkYoHBaos4,12736
|
69
69
|
pyegeria/asset_catalog_omvs.py,sha256=6KVQxTeTuMOrXpv8AhiqadDnStIl8JKvPC3qZKmUxAk,21075
|
70
|
-
pyegeria/automated_curation_omvs.py,sha256=
|
70
|
+
pyegeria/automated_curation_omvs.py,sha256=RhmESqQwQPSuL_GRBc-HJC_72MPeFB7PicZ2Ov8wvPw,133257
|
71
71
|
pyegeria/classification_manager_omvs.py,sha256=hOKYqNWfAFqwwVgvkUok8kzD4g0pOaNI7QxrkjPZDMI,200796
|
72
72
|
pyegeria/collection_manager_omvs.py,sha256=C8cfgGsx6MpG1Nds3JahyqXel8zpb-9iwXsXCAuzmg0,109717
|
73
|
-
pyegeria/core_omag_server_config.py,sha256=
|
73
|
+
pyegeria/core_omag_server_config.py,sha256=BOCfjDKq68UnZX2azwRxLYSyJq9XLkPW1b83kbpjdGo,94969
|
74
74
|
pyegeria/create_tech_guid_lists.py,sha256=HHkC6HW58EN1BiolrYSRqSE0JhPbTepOFzwtdwBxVaU,4640
|
75
75
|
pyegeria/egeria_cat_client.py,sha256=WyxDYklm2eDpsiHLXVJi4WP5BBeXlvWWX5h5CLevdcE,1877
|
76
76
|
pyegeria/egeria_client.py,sha256=8rKu-ACdyBVRw2C114mleCBI4m30YCBi7dPCt5Y-ZTY,3360
|
@@ -86,13 +86,13 @@ pyegeria/my_profile_omvs.py,sha256=eDnDK8LQIg7yrmiG8x20xMw-Yu6xuL0yXRm0vSc4T8k,4
|
|
86
86
|
pyegeria/platform_services.py,sha256=g8x5gF8jNkT29rx5GUSJyJRSKLWkZ5-1i1DR0gFWGnA,41643
|
87
87
|
pyegeria/project_manager_omvs.py,sha256=OCdJKECI0sTZWgXcQ5TcupK5JPxHJG78-kHXyflDu1k,74521
|
88
88
|
pyegeria/registered_info.py,sha256=3PbmqKusFX5m9KYVwbT69PIN1oSL4PhZDbbU_an7dvE,6356
|
89
|
-
pyegeria/runtime_manager_omvs.py,sha256=
|
89
|
+
pyegeria/runtime_manager_omvs.py,sha256=aDLJauaRKoZP8ike-NiMH71zRVFmLC5-mCZEzM7cgLM,74149
|
90
90
|
pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0,16766
|
91
91
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
92
92
|
pyegeria/valid_metadata_omvs.py,sha256=6Hc4g9BOS8w1ILfTG3_A1tfIX3HLtpgZZvcC-z9GePU,36185
|
93
93
|
pyegeria/x_action_author_omvs.py,sha256=za472slZ5tN9Pkd-ukyHS5Sn6MlKkJyIlbLlU3bL_Go,6451
|
94
|
-
pyegeria-0.8.4.
|
95
|
-
pyegeria-0.8.4.
|
96
|
-
pyegeria-0.8.4.
|
97
|
-
pyegeria-0.8.4.
|
98
|
-
pyegeria-0.8.4.
|
94
|
+
pyegeria-0.8.4.36.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
95
|
+
pyegeria-0.8.4.36.dist-info/METADATA,sha256=wUx0fiwEOEqysBkULJOX_84UXo-V2cKWA0feXpBWTF8,2868
|
96
|
+
pyegeria-0.8.4.36.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
97
|
+
pyegeria-0.8.4.36.dist-info/entry_points.txt,sha256=R8sNzclWZN542SufuVlx9HDia23PlSVnJioUkzCWg4I,3349
|
98
|
+
pyegeria-0.8.4.36.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|