pyegeria 0.7.8__tar.gz → 0.7.10__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.
- {pyegeria-0.7.8 → pyegeria-0.7.10}/PKG-INFO +1 -1
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/egeria.py +9 -3
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/egeria_ops.py +8 -1
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/egeria_tech.py +2 -2
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/get_tech_details.py +14 -7
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/automated_curation_omvs.py +816 -124
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyproject.toml +1 -4
- {pyegeria-0.7.8 → pyegeria-0.7.10}/LICENSE +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/README.md +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/doc_samples/Create_Collection_Sample.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/README.md +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/get_asset_graph.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/get_collection.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/get_project_structure.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/get_tech_type_elements.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/get_tech_type_template.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_assets.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_cert_types.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_glossary.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_projects.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_tech_types.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cat/list_todos.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/egeria_cat.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/egeria_my.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/cli/ops_config.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/README.md +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/list_my_profile.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/list_my_roles.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/monitor_my_todos.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/monitor_open_todos.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/my/my_profile_actions.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/README.md +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/engine_actions.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/integration_daemon_actions.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/list_catalog_targets.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/load_archive.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_asset_events.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_coco_status.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_engine_activity.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_platform_status.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_server_list.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/monitor_server_status.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/ops/restart_integration_daemon.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/README.md +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/get_guid_info.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_asset_types.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_elements.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_registered_services.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_relationship_types.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_tech_templates.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/examples/widgets/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/Xloaded_resources_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/__init__.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/_client.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/_globals.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/_validators.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/action_author_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/utils.py +0 -0
- {pyegeria-0.7.8 → pyegeria-0.7.10}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -52,8 +52,8 @@ from examples.widgets.tech.list_tech_templates import display_templates_spec
|
|
52
52
|
from examples.widgets.tech.list_valid_metadata_values import display_metadata_values
|
53
53
|
from examples.widgets.tech.list_elements import list_elements
|
54
54
|
|
55
|
-
@tui()
|
56
|
-
|
55
|
+
# @tui()
|
56
|
+
@tui('menu', 'menu', 'A textual command line interface')
|
57
57
|
@click.version_option("0.0.1", prog_name="egeria_ops")
|
58
58
|
@click.group()
|
59
59
|
@click.option('--server', default='active-metadata-store', envvar='EGERIA_METADATA_STORE',
|
@@ -672,7 +672,13 @@ def engine_host(ctx):
|
|
672
672
|
engine_host.add_command(start_engine_host)
|
673
673
|
engine_host.add_command(stop_engine_host)
|
674
674
|
|
675
|
-
tell.
|
675
|
+
@tell.group('repository')
|
676
|
+
@click.pass_context
|
677
|
+
def repository(ctx):
|
678
|
+
"""Group of commands to a repository"""
|
679
|
+
pass
|
680
|
+
|
681
|
+
repository.add_command(load_archive)
|
676
682
|
|
677
683
|
if __name__ == '__main__':
|
678
684
|
cli()
|
@@ -245,7 +245,14 @@ def engine_host(ctx):
|
|
245
245
|
engine_host.add_command(start_engine_host)
|
246
246
|
engine_host.add_command(stop_engine_host)
|
247
247
|
|
248
|
-
tell.
|
248
|
+
@tell.group('repository')
|
249
|
+
@click.pass_context
|
250
|
+
def repository(ctx):
|
251
|
+
"""Group of commands to a repository"""
|
252
|
+
pass
|
253
|
+
|
254
|
+
repository.add_command(load_archive)
|
255
|
+
|
249
256
|
|
250
257
|
if __name__ == '__main__':
|
251
258
|
cli()
|
@@ -207,9 +207,9 @@ def valid_metadata_values(ctx, property, type_name):
|
|
207
207
|
c.userid, c.password, False, c.jupyter, c.width)
|
208
208
|
|
209
209
|
|
210
|
-
@show.command(
|
210
|
+
@show.command('list-elements')
|
211
211
|
@click.pass_context
|
212
|
-
@click.option('--om_type', default='
|
212
|
+
@click.option('--om_type', default='Organization', help='Metadata type to query')
|
213
213
|
def get_element_info(ctx, om_type):
|
214
214
|
"""Display the valid metadata values for a property and type"""
|
215
215
|
c = ctx.obj
|
@@ -11,6 +11,7 @@ import os
|
|
11
11
|
|
12
12
|
from rich import print
|
13
13
|
from rich.console import Console
|
14
|
+
from rich.markdown import Markdown
|
14
15
|
from rich.panel import Panel
|
15
16
|
from rich.prompt import Prompt
|
16
17
|
from rich.text import Text
|
@@ -54,20 +55,24 @@ def tech_details_viewer(tech: str, server_name: str, platform_url: str, user: st
|
|
54
55
|
description = tech_details.get('description', '---')
|
55
56
|
|
56
57
|
style = "bold bright_white on black"
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
58
|
+
bas_md = (f"* Name: {name}", "bold red\n"
|
59
|
+
f"* QualifiedName: {qualified_name}\n"
|
60
|
+
f"* Category: {category}\n"
|
61
|
+
f"* Technology Description: {description}\n"
|
62
|
+
)
|
63
|
+
bas_out = Markdown(bas_md, style="bright_white on black")
|
64
|
+
|
65
|
+
l2 = tree.add(Panel(bas_out))
|
61
66
|
ext_ref = tech_details.get('externalReferences', None)
|
62
67
|
|
63
68
|
if ext_ref is not None:
|
64
69
|
uri = ext_ref[0]["properties"].get("uri", "---")
|
65
70
|
# console.print(f" {type(ext_ref)}, {len(ext_ref)}")
|
66
|
-
l2 = tree.add(Text(f'* URI: {uri}', style))
|
71
|
+
l2 = tree.add(Panel(Text(f'* URI: {uri}', style)))
|
67
72
|
|
68
73
|
resource_list = tech_details.get('resourceList', None)
|
69
74
|
if resource_list:
|
70
|
-
t_r = tree.add("Resource List[bold red]")
|
75
|
+
t_r = tree.add(Panel("Resource List[bold red]"))
|
71
76
|
for resource in resource_list:
|
72
77
|
resource_use = Text(f"[bold bright_white]{resource.get('resourceUse', '---')}")
|
73
78
|
resource_use_description = Text(f"[bold bright_white]{resource.get('resourceUseDescription', '---')}")
|
@@ -80,9 +85,11 @@ def tech_details_viewer(tech: str, server_name: str, platform_url: str, user: st
|
|
80
85
|
f"[white]Unique Name: {unique_name}\n[white]Related GUID: {related_guid}\n")
|
81
86
|
p = Panel.fit(resource_text)
|
82
87
|
tt = t_r.add(p, style=style)
|
88
|
+
else:
|
89
|
+
tt = tree.add(Panel(f"Resource details for {tech} where not found"))
|
83
90
|
|
84
91
|
else:
|
85
|
-
tt = tree.add(f"Tech type {tech} was not found - please check the tech type name")
|
92
|
+
tt = tree.add(Panel(f"Tech type {tech} was not found - please check the tech type name"))
|
86
93
|
|
87
94
|
return tt
|
88
95
|
|