pyegeria 5.3.3.5__py3-none-any.whl → 5.3.3.7__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.
- pyegeria/commands/ops/monitor_integ_daemon_status.py +1 -1
- pyegeria/commands/ops/monitor_server_status.py +5 -5
- pyegeria/mermaid_utilities.py +22 -1
- pyegeria/runtime_manager_omvs.py +2 -1
- {pyegeria-5.3.3.5.dist-info → pyegeria-5.3.3.7.dist-info}/METADATA +4 -3
- {pyegeria-5.3.3.5.dist-info → pyegeria-5.3.3.7.dist-info}/RECORD +9 -9
- {pyegeria-5.3.3.5.dist-info → pyegeria-5.3.3.7.dist-info}/WHEEL +1 -1
- {pyegeria-5.3.3.5.dist-info → pyegeria-5.3.3.7.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.3.5.dist-info → pyegeria-5.3.3.7.dist-info}/entry_points.txt +0 -0
@@ -150,7 +150,7 @@ def display_integration_daemon_status(
|
|
150
150
|
connector_guid = connector.get("connectorGUID", "---")
|
151
151
|
last_refresh_time = connector.get("lastRefreshTime", "---")[:-10]
|
152
152
|
refresh_interval = str(connector.get("minMinutesBetweenRefresh", "---"))
|
153
|
-
exception_msg = connector.get("failingExceptionMessage", "
|
153
|
+
exception_msg = connector.get("failingExceptionMessage", " ")
|
154
154
|
if connector_guid != "---":
|
155
155
|
targets = s_client.get_catalog_targets(connector_guid)
|
156
156
|
tgt_tab = Table()
|
@@ -50,10 +50,10 @@ EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
|
50
50
|
|
51
51
|
def display_status(
|
52
52
|
extended: bool,
|
53
|
-
view_server: str,
|
54
|
-
url: str,
|
55
|
-
username:
|
56
|
-
user_pass: str,
|
53
|
+
view_server: str = EGERIA_VIEW_SERVER,
|
54
|
+
url: str = EGERIA_VIEW_SERVER_URL,
|
55
|
+
username:str = EGERIA_USER,
|
56
|
+
user_pass: str= EGERIA_USER_PASSWORD,
|
57
57
|
jupyter: bool = EGERIA_JUPYTER,
|
58
58
|
width: int = EGERIA_WIDTH,
|
59
59
|
):
|
@@ -172,7 +172,7 @@ def main():
|
|
172
172
|
full = args.full if args.full is not None else False
|
173
173
|
server = args.server if args.server is not None else EGERIA_VIEW_SERVER
|
174
174
|
url = args.url if args.url is not None else EGERIA_PLATFORM_URL
|
175
|
-
userid = args.userid if args.userid is not None else
|
175
|
+
userid = args.userid if args.userid is not None else EGERIA_USER
|
176
176
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
177
177
|
|
178
178
|
display_status(full, server, url, userid, user_pass)
|
pyegeria/mermaid_utilities.py
CHANGED
@@ -42,13 +42,34 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
|
42
42
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
43
43
|
|
44
44
|
|
45
|
+
# Check Mermaid.js version
|
46
|
+
def check_mermaid_version():
|
47
|
+
"""Check the version of Mermaid.js loaded in Jupyter Notebook"""
|
48
|
+
display(HTML("""
|
49
|
+
<script>
|
50
|
+
function checkMermaid() {
|
51
|
+
if (window.mermaid && typeof window.mermaid.version !== "undefined") {
|
52
|
+
console.log("Mermaid.js version:", mermaid.version);
|
53
|
+
alert("Mermaid.js version: " + mermaid.version);
|
54
|
+
} else {
|
55
|
+
console.warn("Mermaid.js is not loaded yet. Please ensure it's properly injected.");
|
56
|
+
alert("Mermaid.js is not loaded yet. Please ensure it's properly injected.");
|
57
|
+
}
|
58
|
+
}
|
59
|
+
// Delay execution to ensure Mermaid.js has had time to load
|
60
|
+
setTimeout(checkMermaid, 1000);
|
61
|
+
</script>
|
62
|
+
"""))
|
63
|
+
|
64
|
+
# another site to get mermaid from is "https://cdnjs.cloudflare.com/ajax/libs/mermaid/11.4.1/mermaid.min.js";
|
65
|
+
|
45
66
|
def load_mermaid():
|
46
67
|
"""Inject Mermaid.js library"""
|
47
68
|
mermaid_js = """
|
48
69
|
<script type="text/javascript">
|
49
70
|
if (!window.mermaid) {
|
50
71
|
var mermaidScript = document.createElement('script');
|
51
|
-
mermaidScript.src =
|
72
|
+
mermaidScript.src = https://unpkg.com/mermaid@11.4.1/dist/mermaid.min.js"
|
52
73
|
document.head.appendChild(mermaidScript);
|
53
74
|
}
|
54
75
|
</script>
|
pyegeria/runtime_manager_omvs.py
CHANGED
@@ -53,7 +53,8 @@ class RuntimeManager(Client):
|
|
53
53
|
self.time_out = time_out
|
54
54
|
Client.__init__(self, view_server, platform_url, user_id, user_pwd, token=token)
|
55
55
|
self.runtime_command_root = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/runtime-manager"
|
56
|
-
self.platform_guid = "44bf319f-1e41-4da1-b771-2753b92b631a" # this is platform @ 9443 from the core content archive
|
56
|
+
# self.platform_guid = "44bf319f-1e41-4da1-b771-2753b92b631a" # this is platform @ 9443 from the core content archive
|
57
|
+
self.platform_guid = None
|
57
58
|
self.default_platform_name = (
|
58
59
|
"Default Local OMAG Server Platform" # this from the core content archive
|
59
60
|
)
|
@@ -1,8 +1,7 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: pyegeria
|
3
|
-
Version: 5.3.3.
|
3
|
+
Version: 5.3.3.7
|
4
4
|
Summary: A python client for Egeria
|
5
|
-
Home-page: https://github.com/odpi/egeria-python
|
6
5
|
License: Apache 2.0
|
7
6
|
Keywords: egeria,metadata,governance
|
8
7
|
Author: Dan Wolfson
|
@@ -12,6 +11,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: License :: Other/Proprietary License
|
13
12
|
Classifier: Programming Language :: Python
|
14
13
|
Classifier: Programming Language :: Python :: 3
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
15
15
|
Requires-Dist: click
|
16
16
|
Requires-Dist: confluent-kafka
|
17
17
|
Requires-Dist: httpx
|
@@ -25,6 +25,7 @@ Requires-Dist: textual
|
|
25
25
|
Requires-Dist: trogon (>=0.6.0,<0.7.0)
|
26
26
|
Requires-Dist: urllib3
|
27
27
|
Requires-Dist: validators
|
28
|
+
Project-URL: Homepage, https://github.com/odpi/egeria-python
|
28
29
|
Project-URL: Repository, https://github.com/odpi/egeria-python
|
29
30
|
Description-Content-Type: text/markdown
|
30
31
|
|
@@ -171,10 +171,10 @@ pyegeria/commands/ops/monitor_asset_events.py,sha256=etHXpZIrZr9EisgFqnldz9vLSZ_
|
|
171
171
|
pyegeria/commands/ops/monitor_engine_activity.py,sha256=cIFmwzK039J1fkpcv_PJ6SNoimEsqg4_Y1q1uTeczes,9863
|
172
172
|
pyegeria/commands/ops/monitor_engine_activity_c.py,sha256=kuSNeq0YaD9w8kjyijPxp5L4oa7_68IhsU6sFl16SAg,10747
|
173
173
|
pyegeria/commands/ops/monitor_gov_eng_status.py,sha256=nSPZscEFnlljaA4AMNQqhY2SyovB3rPwidB0a4E6XpU,9863
|
174
|
-
pyegeria/commands/ops/monitor_integ_daemon_status.py,sha256=
|
174
|
+
pyegeria/commands/ops/monitor_integ_daemon_status.py,sha256=1HPJHIrBIohJPPw0wHae2rvGgLSmgMgucRujcug5Qwk,11768
|
175
175
|
pyegeria/commands/ops/monitor_platform_status.py,sha256=J_DdUDWv2FtY9DeJamdnWJmFK6Ua9L1GU_yFvb-zcTc,7180
|
176
176
|
pyegeria/commands/ops/monitor_server_startup.py,sha256=bvLqxoRiw9tJzNtChZ70a5w_23UyJLlrlmbMnmZ5QN4,3908
|
177
|
-
pyegeria/commands/ops/monitor_server_status.py,sha256=
|
177
|
+
pyegeria/commands/ops/monitor_server_status.py,sha256=i1K7zCGmrCbsYV_IkzwCsdHczM7m2AbIar0tS000OnY,6952
|
178
178
|
pyegeria/commands/ops/orig_monitor_server_list.py,sha256=tHGigEuUVZ8OA4ut5UscYK9HHeQevQ_MlIkE4XHYER8,4644
|
179
179
|
pyegeria/commands/ops/orig_monitor_server_status.py,sha256=povaYQ-Y8QJvwaFuWp_BLUThjjTTbmu-21h7zi8NlWk,4026
|
180
180
|
pyegeria/commands/ops/refresh_integration_daemon.py,sha256=aOIy7xsYfNwuiZ-8aXcd2RoRaBkakYQF5JPIWz1dlxE,2969
|
@@ -217,20 +217,20 @@ pyegeria/feedback_manager_omvs.py,sha256=B66e3ZCaC_dirb0mcb2Nz3PYh2ZKsoMAYNOb3eu
|
|
217
217
|
pyegeria/full_omag_server_config.py,sha256=k3fUfopAFAE3OKkFR7zZPiki_FYj6j2xQ4oD2SVaefQ,47350
|
218
218
|
pyegeria/glossary_browser_omvs.py,sha256=NcitYaZJqwVODBO5zBtWpXPNUJJ3DKzEbRaOFSAyUlg,93554
|
219
219
|
pyegeria/glossary_manager_omvs.py,sha256=tBjoHrrHJLasXoeQSpW-KpF3vEQdN_GR3jfcceTjt_c,132444
|
220
|
-
pyegeria/mermaid_utilities.py,sha256=
|
220
|
+
pyegeria/mermaid_utilities.py,sha256=2js6tTU9qtptx6yhLOgKDq_-_ugoMCAWNlalDla-eII,9228
|
221
221
|
pyegeria/metadata_explorer_omvs.py,sha256=WwkFvAnDzJTw8dPos7j3wCG6gpQ0BjcMmYXl-ckjn28,88723
|
222
222
|
pyegeria/my_profile_omvs.py,sha256=DyECbUFEcgokrIbzdMMNljC3bqfqKGXAF2wZEpzvRYs,34666
|
223
223
|
pyegeria/platform_services.py,sha256=CJIOYIFEbcIGwdWlApAQcXxZTsdrhFtpJcm4O3p7dG0,41646
|
224
224
|
pyegeria/project_manager_omvs.py,sha256=Y7Lyqh4jIujJrr_Ub7feo904FN_uz4R10T4hKhqE1Uw,67499
|
225
225
|
pyegeria/registered_info.py,sha256=y0-LgDIQXpph0lEWxIOG3_HsqX_Z2iAIb3xu4Aa4B70,6344
|
226
|
-
pyegeria/runtime_manager_omvs.py,sha256=
|
226
|
+
pyegeria/runtime_manager_omvs.py,sha256=sZfxgM7zVfryVsun5GwDpUT5htap91ZoZLNU7wspWm4,79575
|
227
227
|
pyegeria/server_operations.py,sha256=PfH0wvWCOr43ezJAAXj7VEUdT0x_oTrfr0dzzQvcQk4,16766
|
228
228
|
pyegeria/template_manager_omvs.py,sha256=Sw5xsQAhy7a48xFCg59mg9_nqyhawoS9v4WyF-PjPqM,42425
|
229
229
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
230
230
|
pyegeria/valid_metadata_omvs.py,sha256=cCt5CCLv6BdzCu90n68r_PkG_PEQJjrtwCxio7K6yko,65034
|
231
231
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
232
|
-
pyegeria-5.3.3.
|
233
|
-
pyegeria-5.3.3.
|
234
|
-
pyegeria-5.3.3.
|
235
|
-
pyegeria-5.3.3.
|
236
|
-
pyegeria-5.3.3.
|
232
|
+
pyegeria-5.3.3.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
233
|
+
pyegeria-5.3.3.7.dist-info/METADATA,sha256=UyQCvNprYZouZirb3PDCbHA8p8JstbM91qVt10YuwYk,2735
|
234
|
+
pyegeria-5.3.3.7.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
235
|
+
pyegeria-5.3.3.7.dist-info/entry_points.txt,sha256=sqVSCsr2oVnXtKTgRs5_F9OjbtexhmaXE330sO8V9bk,5873
|
236
|
+
pyegeria-5.3.3.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|