pyegeria 5.3.3.10.dev10__py3-none-any.whl → 5.3.3.11__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/__init__.py +4 -3
- pyegeria/commands/{cat/get_information_supply_chains.py → tech/list_information_supply_chains.py} +26 -88
- pyegeria/commands/tech/list_isolution_blueprints.py +166 -0
- pyegeria/commands/tech/list_isolution_blueprints2.py +164 -0
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Subject Onboarding.mmd +49 -0
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Treatment Validation.mmd +129 -0
- pyegeria/commands/tech/work/mermaid_graphs/Employee Expense Payment.mmd +40 -0
- pyegeria/commands/tech/work/mermaid_graphs/New Drug Product Information Distribution.mmd +55 -0
- pyegeria/commands/tech/work/mermaid_graphs/New Employee Onboarding.mmd +52 -0
- pyegeria/commands/tech/work/mermaid_graphs/Personalized Treatment Ordering.mmd +57 -0
- pyegeria/commands/tech/work/mermaid_graphs/Physical Inventory Tracking.mmd +92 -0
- pyegeria/commands/tech/work/mermaid_graphs/Sustainability Reporting.mmd +117 -0
- pyegeria/commands/tech/work/mermaid_graphs/{{displayName}}.mmd +29 -0
- pyegeria/egeria_client.py +5 -0
- pyegeria/egeria_tech_client.py +5 -5
- pyegeria/mermaid_utilities.py +31 -1
- pyegeria/solution_architect_omvs.py +4 -0
- {pyegeria-5.3.3.10.dev10.dist-info → pyegeria-5.3.3.11.dist-info}/METADATA +1 -1
- {pyegeria-5.3.3.10.dev10.dist-info → pyegeria-5.3.3.11.dist-info}/RECORD +22 -11
- {pyegeria-5.3.3.10.dev10.dist-info → pyegeria-5.3.3.11.dist-info}/entry_points.txt +1 -1
- {pyegeria-5.3.3.10.dev10.dist-info → pyegeria-5.3.3.11.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.3.10.dev10.dist-info → pyegeria-5.3.3.11.dist-info}/WHEEL +0 -0
pyegeria/mermaid_utilities.py
CHANGED
@@ -40,7 +40,7 @@ EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
|
40
40
|
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
41
41
|
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
42
42
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
43
|
-
|
43
|
+
EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "./work/mermaid_graphs")
|
44
44
|
|
45
45
|
# Check Mermaid.js version
|
46
46
|
# def check_mermaid_version():
|
@@ -110,6 +110,36 @@ def render_mermaid(mermaid_code):
|
|
110
110
|
"""
|
111
111
|
display(HTML(mermaid_html))
|
112
112
|
|
113
|
+
def save_mermaid_graph(title, mermaid_code, folder:str = EGERIA_MERMAID_FOLDER):
|
114
|
+
"""Save a Mermaid diagram to a file"""
|
115
|
+
if not os.path.exists(folder):
|
116
|
+
os.makedirs(folder)
|
117
|
+
mermaid_file = os.path.join(folder, title + ".mmd")
|
118
|
+
mermaid_code = f"""
|
119
|
+
<!DOCTYPE html>
|
120
|
+
<html>
|
121
|
+
<head>
|
122
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
123
|
+
</head>
|
124
|
+
<body>
|
125
|
+
<div class="mermaid">
|
126
|
+
{mermaid_code}
|
127
|
+
</div>
|
128
|
+
""" \
|
129
|
+
+ \
|
130
|
+
"""
|
131
|
+
<script>
|
132
|
+
mermaid.initialize({startOnLoad:true});
|
133
|
+
</script>
|
134
|
+
</body>
|
135
|
+
</html>
|
136
|
+
"""
|
137
|
+
|
138
|
+
with open(mermaid_file, "w") as f:
|
139
|
+
f.write(mermaid_code)
|
140
|
+
return mermaid_file
|
141
|
+
|
142
|
+
|
113
143
|
|
114
144
|
def generate_process_graph(
|
115
145
|
process_guid: str,
|
@@ -100,6 +100,7 @@ class SolutionArchitect(Client):
|
|
100
100
|
|
101
101
|
async def _async_find_information_supply_chains(self,
|
102
102
|
filter: str = "*",
|
103
|
+
add_implementation: bool = True,
|
103
104
|
starts_with: bool = True,
|
104
105
|
ends_with: bool = False,
|
105
106
|
ignore_case: bool = False,
|
@@ -115,6 +116,8 @@ class SolutionArchitect(Client):
|
|
115
116
|
----------
|
116
117
|
filter : str
|
117
118
|
- search_filter string to search for.
|
119
|
+
add_implementation : bool, [default=True], optional
|
120
|
+
- add_implementation flag to include information supply chain implementations details..
|
118
121
|
starts_with : bool, [default=False], optional
|
119
122
|
Starts with the supplied string.
|
120
123
|
ends_with : bool, [default=False], optional
|
@@ -146,6 +149,7 @@ class SolutionArchitect(Client):
|
|
146
149
|
("startsWith", starts_with),
|
147
150
|
("endsWith", ends_with),
|
148
151
|
("ignoreCase", ignore_case),
|
152
|
+
("addImplementation", add_implementation),
|
149
153
|
]
|
150
154
|
)
|
151
155
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
pyegeria/.DS_Store,sha256=NXvKqE04FGJAyq25tRApO9AJj14vF1vzFC-R0JjEWhc,6148
|
2
2
|
pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
|
3
|
-
pyegeria/__init__.py,sha256
|
3
|
+
pyegeria/__init__.py,sha256=-yvL4_Qv-lt7Fh85wvtVFYA_VBUXE1vO5Fq-EvvXNDM,22023
|
4
4
|
pyegeria/_client.py,sha256=Hj8Tmo6DuKJPLROZrUw7NXzo7O_BgbewlvRwJZPKPBA,30889
|
5
5
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
6
6
|
pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
@@ -41,7 +41,6 @@ pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc,sha256=d03sLltHH
|
|
41
41
|
pyegeria/commands/cat/exp_list_glossaries.py,sha256=HxMa5r7XxsH29KJ9GLOqIXD_PpUvrzsHe41LBWCZUTc,5811
|
42
42
|
pyegeria/commands/cat/get_asset_graph.py,sha256=tHTib3AjbXzrGkOHE2SO51O_ARPjmmDq1UDbE8XSd7o,12454
|
43
43
|
pyegeria/commands/cat/get_collection.py,sha256=ukUZA4Ot_Gjaym6LmFiWoGezshbcygJPowwHLooVHck,5359
|
44
|
-
pyegeria/commands/cat/get_information_supply_chains.py,sha256=2WLlTN8UdadSSDNNTagyGqUsnqd066TJwBuLLe7vSL4,7791
|
45
44
|
pyegeria/commands/cat/get_project_dependencies.py,sha256=NCUTAHAzScjQwoAHLf1DC9rGPg53VfjaTR96eahgjq8,5988
|
46
45
|
pyegeria/commands/cat/get_project_structure.py,sha256=h6q5Ps3xRhV2Zqh6295nDCgVThUrWX5O-JC0qaSIM5s,5976
|
47
46
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=9F0wBy8ireLFHLNChxkM4A7xJ4uFL4XKdXlm6roDk2I,6185
|
@@ -273,6 +272,9 @@ pyegeria/commands/tech/list_elements_by_property_value.py,sha256=3OG8uyPKY3zX-K_
|
|
273
272
|
pyegeria/commands/tech/list_elements_by_property_value_x.py,sha256=y77Nszqg5XtyQXwKm3XjB38gwmlpiULEn4NLr_SnRug,7065
|
274
273
|
pyegeria/commands/tech/list_elements_for_classification.py,sha256=jck8bPQHiS61IKslmA2a_B1iopHZ0cE50vAs6Ud2Gkc,6207
|
275
274
|
pyegeria/commands/tech/list_gov_action_processes.py,sha256=NaoZ3t5n1uXcLI0OdUAgMTuzDrEkptY9w7uQeZ4KZP8,4587
|
275
|
+
pyegeria/commands/tech/list_information_supply_chains.py,sha256=UeXyetEJcuWC2PdkkysN0w_aJffDaEMMdBVdeFkHDME,5536
|
276
|
+
pyegeria/commands/tech/list_isolution_blueprints.py,sha256=PDU1QCnE44r0cMAgUHJ49RpTK-rbgiy7Gzh9GOlMSBk,6285
|
277
|
+
pyegeria/commands/tech/list_isolution_blueprints2.py,sha256=xY5JuUET3DHV_VWsdSIbtPZZX5umEf0ORnEuQod9m10,6164
|
276
278
|
pyegeria/commands/tech/list_registered_services.py,sha256=fNh21Acd5bCbOQmxpDMOH6QNT5GkiGPLZpadbzIA8F8,6541
|
277
279
|
pyegeria/commands/tech/list_related_elements_with_prop_value.py,sha256=NhWSfJmtBIUN5IBWEK_uQn0OxpCeWnVhy0kaZ_gyEGw,8157
|
278
280
|
pyegeria/commands/tech/list_related_specification.py,sha256=aMUZBiQcTMaNTvSgGUsRjqvqhmebP9iO0eAlbJsDWBk,5925
|
@@ -281,19 +283,28 @@ pyegeria/commands/tech/list_relationships.py,sha256=lKZBQleZRK9qDCAUOExejl5gtYb0
|
|
281
283
|
pyegeria/commands/tech/list_tech_templates.py,sha256=FvJ2qAHo7yoCdd9LnZtvWjd3DQEvD0P5wfz5-D5qjmw,14153
|
282
284
|
pyegeria/commands/tech/list_valid_metadata_values.py,sha256=Mv4eSHCR_pR0llWRrpMIzNKA6_QEr8qccAv4NQv4dg0,6340
|
283
285
|
pyegeria/commands/tech/table_tech_templates.py,sha256=kv9VWhZ6pEN-1vEjo6IprliwFTjumjdVV3IWQB2HzI4,9503
|
286
|
+
pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Subject Onboarding.mmd,sha256=8TSURyiSqdOcu-5WWNbOLgCctXFBMeCq0c0lj9mZq-A,2625
|
287
|
+
pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Treatment Validation.mmd,sha256=U7SzesnbzNBZLO1ngjRCzNFW3hFt3PO2-zs0y32LktU,8270
|
288
|
+
pyegeria/commands/tech/work/mermaid_graphs/Employee Expense Payment.mmd,sha256=SbitTvnKlqABBB6Rco8o6BMS8pl5-Nms1NVD7zKm6FU,1784
|
289
|
+
pyegeria/commands/tech/work/mermaid_graphs/New Drug Product Information Distribution.mmd,sha256=ifpwvF-4GVAfq5esHftDcIMXfk1xlz1u86Q22Yo1-0A,2936
|
290
|
+
pyegeria/commands/tech/work/mermaid_graphs/New Employee Onboarding.mmd,sha256=ermDXFOI5_7AvT-Wn-yAoR7HGDPq9iLsVdenq14klPU,2684
|
291
|
+
pyegeria/commands/tech/work/mermaid_graphs/Personalized Treatment Ordering.mmd,sha256=_Ahf4R77ZhDJq85dmBA64KZmpkf0zKuS-5Qrq_AhGEw,3101
|
292
|
+
pyegeria/commands/tech/work/mermaid_graphs/Physical Inventory Tracking.mmd,sha256=-A7ojS5ewxqmz83EwUR5RtdFlR3BiD3aEXYNCthnR4I,6031
|
293
|
+
pyegeria/commands/tech/work/mermaid_graphs/Sustainability Reporting.mmd,sha256=fMMvKDKUrpEOl3CUWzR98OvP-ksfCib4ZH0IuObIl00,7262
|
294
|
+
pyegeria/commands/tech/work/mermaid_graphs/{{displayName}}.mmd,sha256=hWU8uKXBQ_cu5oi8r5aNDMFbSCm5iTTc-qOZ1p0cugk,871
|
284
295
|
pyegeria/commands/tech/x_list_related_elements.py,sha256=viUFq_G52CvLO_RJsgN8fkLeIF89Tb8Gvl-nNfeDPSI,5871
|
285
296
|
pyegeria/core_omag_server_config.py,sha256=ej0oNpGelSTTm2oERS86LpgT9O9E5CZFbUm2Iek8f1E,97764
|
286
297
|
pyegeria/create_tech_guid_lists.py,sha256=mI__-i9U01emyqQMdPK2miealwQNiZfB23iiFGmrH0g,4640
|
287
298
|
pyegeria/egeria_cat_client.py,sha256=NzwDbdi5OBHOOA7JzIQC5LqJJ7xtEwHA5yaKrGkDFnc,2022
|
288
|
-
pyegeria/egeria_client.py,sha256=
|
299
|
+
pyegeria/egeria_client.py,sha256=B2hYs_gK0ck5Ci7socbrqeR9t1nj_Ot52JxzOgA_qP8,3574
|
289
300
|
pyegeria/egeria_config_client.py,sha256=Zm31u4e7o8mXTV93qD0IHluQuG73jYbArPFqypjaMso,1328
|
290
301
|
pyegeria/egeria_my_client.py,sha256=XHwbFmSZXJClKDBFV8_fyK9CWaap2FndurRjywKPQiU,1549
|
291
|
-
pyegeria/egeria_tech_client.py,sha256=
|
302
|
+
pyegeria/egeria_tech_client.py,sha256=tPWnv5ZNo-9jQVvxzPPN0GRG88C1fYRp8EkGlJRJKok,2768
|
292
303
|
pyegeria/feedback_manager_omvs.py,sha256=B66e3ZCaC_dirb0mcb2Nz3PYh2ZKsoMAYNOb3euNiro,152931
|
293
304
|
pyegeria/full_omag_server_config.py,sha256=k3fUfopAFAE3OKkFR7zZPiki_FYj6j2xQ4oD2SVaefQ,47350
|
294
305
|
pyegeria/glossary_browser_omvs.py,sha256=NcitYaZJqwVODBO5zBtWpXPNUJJ3DKzEbRaOFSAyUlg,93554
|
295
306
|
pyegeria/glossary_manager_omvs.py,sha256=tBjoHrrHJLasXoeQSpW-KpF3vEQdN_GR3jfcceTjt_c,132444
|
296
|
-
pyegeria/mermaid_utilities.py,sha256=
|
307
|
+
pyegeria/mermaid_utilities.py,sha256=ax32Q6YwXcyJP4nx9QIlQB5sD2Lq9rpIgkEDlpm9q4g,10664
|
297
308
|
pyegeria/metadata_explorer_omvs.py,sha256=XBg6q-JXOA8UYsT85nlpBVe4EQ6jxwj70MvE7tkVvH0,86905
|
298
309
|
pyegeria/my_profile_omvs.py,sha256=DyECbUFEcgokrIbzdMMNljC3bqfqKGXAF2wZEpzvRYs,34666
|
299
310
|
pyegeria/platform_services.py,sha256=CJIOYIFEbcIGwdWlApAQcXxZTsdrhFtpJcm4O3p7dG0,41646
|
@@ -301,13 +312,13 @@ pyegeria/project_manager_omvs.py,sha256=Y7Lyqh4jIujJrr_Ub7feo904FN_uz4R10T4hKhqE
|
|
301
312
|
pyegeria/registered_info.py,sha256=y0-LgDIQXpph0lEWxIOG3_HsqX_Z2iAIb3xu4Aa4B70,6344
|
302
313
|
pyegeria/runtime_manager_omvs.py,sha256=sZfxgM7zVfryVsun5GwDpUT5htap91ZoZLNU7wspWm4,79575
|
303
314
|
pyegeria/server_operations.py,sha256=PfH0wvWCOr43ezJAAXj7VEUdT0x_oTrfr0dzzQvcQk4,16766
|
304
|
-
pyegeria/solution_architect_omvs.py,sha256=
|
315
|
+
pyegeria/solution_architect_omvs.py,sha256=8QC0lGQQ0zwQ_se1SejieOP2BeEXWokD0rPhxrdokDE,23527
|
305
316
|
pyegeria/template_manager_omvs.py,sha256=Sw5xsQAhy7a48xFCg59mg9_nqyhawoS9v4WyF-PjPqM,42425
|
306
317
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
307
318
|
pyegeria/valid_metadata_omvs.py,sha256=cCt5CCLv6BdzCu90n68r_PkG_PEQJjrtwCxio7K6yko,65034
|
308
319
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
309
|
-
pyegeria-5.3.3.
|
310
|
-
pyegeria-5.3.3.
|
311
|
-
pyegeria-5.3.3.
|
312
|
-
pyegeria-5.3.3.
|
313
|
-
pyegeria-5.3.3.
|
320
|
+
pyegeria-5.3.3.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
321
|
+
pyegeria-5.3.3.11.dist-info/METADATA,sha256=ixGxYSbmYLXudiC4mZhTSkhyFbpyBPgcJ0j0MwP3-_M,2736
|
322
|
+
pyegeria-5.3.3.11.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
323
|
+
pyegeria-5.3.3.11.dist-info/entry_points.txt,sha256=cLnCR81Pm2c35hDDg7BOlQ9Mtvx5wofuvwXHnL1bGis,5956
|
324
|
+
pyegeria-5.3.3.11.dist-info/RECORD,,
|
@@ -12,7 +12,6 @@ get_asset_graph=pyegeria.commands.cat.get_asset_graph:main
|
|
12
12
|
get_collection=pyegeria.commands.cat.get_collection:main
|
13
13
|
get_element_info=pyegeria.commands.tech.get_element_info:main
|
14
14
|
get_guid_info=pyegeria.commands.tech.get_guid_info:main
|
15
|
-
get_info_supply_chains=pyegeria.commands.cat.get_information_supply_chains:main
|
16
15
|
get_project_dependencies=pyegeria.commands.cat.get_project_dependencies:main
|
17
16
|
get_project_structure=pyegeria.commands.cat.get_project_structure:main
|
18
17
|
get_tech_details=pyegeria.commands.tech.get_tech_details:main
|
@@ -46,6 +45,7 @@ list_engine_activity_compressed=pyegeria.commands.ops.monitor_engine_activity_c:
|
|
46
45
|
list_glossaries=pyegeria.commands.cat.list_glossaries:main
|
47
46
|
list_gov_action_processes=pyegeria.commands.tech.list_gov_action_processes:main
|
48
47
|
list_gov_eng_status=pyegeria.commands.ops.monitor_gov_eng_status:main_paging
|
48
|
+
list_info_supply_chains=pyegeria.commands.tech.list_information_supply_chains:main
|
49
49
|
list_integ_daemon_status=pyegeria.commands.ops.monitor_integ_daemon_status:main_paging
|
50
50
|
list_my_profile=pyegeria.commands.my.list_my_profile:main
|
51
51
|
list_my_roles=pyegeria.commands.my.list_my_roles:main
|
File without changes
|
File without changes
|