pyegeria 0.5.8.7__py3-none-any.whl → 0.5.8.8__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.
- examples/widgets/operational/list_catalog_targets.py +24 -3
- {pyegeria-0.5.8.7.dist-info → pyegeria-0.5.8.8.dist-info}/METADATA +1 -1
- {pyegeria-0.5.8.7.dist-info → pyegeria-0.5.8.8.dist-info}/RECORD +6 -6
- {pyegeria-0.5.8.7.dist-info → pyegeria-0.5.8.8.dist-info}/LICENSE +0 -0
- {pyegeria-0.5.8.7.dist-info → pyegeria-0.5.8.8.dist-info}/WHEEL +0 -0
- {pyegeria-0.5.8.7.dist-info → pyegeria-0.5.8.8.dist-info}/entry_points.txt +0 -0
@@ -16,6 +16,7 @@ from rich import box
|
|
16
16
|
from rich.console import Console
|
17
17
|
from rich.table import Table
|
18
18
|
from rich.prompt import Prompt
|
19
|
+
from rich.markdown import Markdown
|
19
20
|
|
20
21
|
from pyegeria import (
|
21
22
|
InvalidParameterException,
|
@@ -52,26 +53,46 @@ def display_catalog_targets(connector:str, server: str, url: str, username: str,
|
|
52
53
|
show_lines=True,
|
53
54
|
box=box.ROUNDED,
|
54
55
|
caption=f"Catalog Targets for '{server}' @ Platform - {url}",
|
55
|
-
expand=True
|
56
|
+
expand=True,
|
57
|
+
width = 200
|
56
58
|
)
|
57
59
|
table.add_column("Connector Name")
|
58
60
|
table.add_column("Catalog Target Name")
|
61
|
+
table.add_column('Metadata Source Qualified Name')
|
59
62
|
table.add_column("Relationship GUID", no_wrap=True)
|
63
|
+
table.add_column('Configuration Properties')
|
64
|
+
table.add_column('Template Properties')
|
60
65
|
table.add_column("Synchronization")
|
61
66
|
table.add_column("Delete Method")
|
62
67
|
|
63
68
|
|
64
|
-
|
65
69
|
if type(cat_targets) is list:
|
66
70
|
for target in cat_targets:
|
67
71
|
target_name = target.get('catalogTargetName','---')
|
72
|
+
target_source = target.get('metadataSourceQualifiedName', '---')
|
68
73
|
target_rel = target.get('relationshipGUID','---')
|
69
74
|
target_sync = target.get('permittedSynchronization')
|
70
75
|
target_delete = target.get('deleteMethod','---')
|
71
76
|
# target_guid = target['catalogTargetElement']['guid']
|
72
77
|
connector_unique = target['catalogTargetElement']['uniqueName']
|
78
|
+
|
79
|
+
config_props = target.get('configurationProperties','---')
|
80
|
+
if type(config_props) is dict:
|
81
|
+
config_props_md = ''
|
82
|
+
for prop in config_props:
|
83
|
+
config_props_md += f"* {prop}: {config_props[prop]}\n"
|
84
|
+
config_props_out = Markdown(config_props_md)
|
85
|
+
|
86
|
+
template_props = target.get('templateProperties','---')
|
87
|
+
if type(template_props) is dict:
|
88
|
+
template_props_md = ''
|
89
|
+
for prop in template_props:
|
90
|
+
template_props_md += f"* {prop}: {template_props[prop]}\n"
|
91
|
+
template_props_out = Markdown(template_props_md)
|
92
|
+
|
73
93
|
table.add_row(
|
74
|
-
connector_unique, target_name,
|
94
|
+
connector_unique, target_name, target_source, target_rel,
|
95
|
+
config_props_out, template_props_out, target_sync, target_delete,
|
75
96
|
)
|
76
97
|
|
77
98
|
return table
|
@@ -25,7 +25,7 @@ examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwg
|
|
25
25
|
examples/widgets/operational/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
|
26
26
|
examples/widgets/operational/engine_actions.py,sha256=j4OL-Gpo4n8CAqcwdCRI8nnAm0F7NOEpX6Bp6FB-Pmg,3064
|
27
27
|
examples/widgets/operational/integration_daemon_actions.py,sha256=SacZaweJWYIUKgEu2B1y0iQXg0Aj4zeJjX4Jhs93TpM,3942
|
28
|
-
examples/widgets/operational/list_catalog_targets.py,sha256=
|
28
|
+
examples/widgets/operational/list_catalog_targets.py,sha256=8iTU3GXoozJKfnqeIYaCjLeMB5GaHVS3E7_xqpvG44A,5614
|
29
29
|
examples/widgets/operational/load_archive.py,sha256=j9K4uPpUzvqEyvsUMZoY0-1NVuljAwqcMg8Lhin_p1E,2280
|
30
30
|
examples/widgets/operational/monitor_asset_events.py,sha256=eERSZaL-F_3OYFfao4qfsLtFLZoLFkxUJHH9XVt5hDM,3731
|
31
31
|
examples/widgets/operational/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
|
@@ -69,8 +69,8 @@ pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfRO
|
|
69
69
|
pyegeria/server_operations.py,sha256=ZX7FlJRrAC7RK4bq4wHWepEsYbbWlqkUZdsJrTplVVU,16534
|
70
70
|
pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
|
71
71
|
pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
|
72
|
-
pyegeria-0.5.8.
|
73
|
-
pyegeria-0.5.8.
|
74
|
-
pyegeria-0.5.8.
|
75
|
-
pyegeria-0.5.8.
|
76
|
-
pyegeria-0.5.8.
|
72
|
+
pyegeria-0.5.8.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
73
|
+
pyegeria-0.5.8.8.dist-info/METADATA,sha256=KBTPgqsWrThfogcwMJIwNKpXwgV0jRUbdvQ3mX-30rc,2688
|
74
|
+
pyegeria-0.5.8.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
pyegeria-0.5.8.8.dist-info/entry_points.txt,sha256=5aexqWL8P1vQZrEK4bQLfelOnFfZtXFmWYS0pLa4NmE,2772
|
76
|
+
pyegeria-0.5.8.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|