pyegeria 0.5.8.6__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/cli/egeria_ops.py +2 -1
- examples/widgets/operational/list_catalog_targets.py +24 -3
- {pyegeria-0.5.8.6.dist-info → pyegeria-0.5.8.8.dist-info}/METADATA +1 -1
- {pyegeria-0.5.8.6.dist-info → pyegeria-0.5.8.8.dist-info}/RECORD +7 -7
- {pyegeria-0.5.8.6.dist-info → pyegeria-0.5.8.8.dist-info}/LICENSE +0 -0
- {pyegeria-0.5.8.6.dist-info → pyegeria-0.5.8.8.dist-info}/WHEEL +0 -0
- {pyegeria-0.5.8.6.dist-info → pyegeria-0.5.8.8.dist-info}/entry_points.txt +0 -0
@@ -194,7 +194,7 @@ def refresh_connectors(ctx,connector):
|
|
194
194
|
"""Refresh the specified integration connector or ALL connectors if not specified"""
|
195
195
|
c = ctx.obj
|
196
196
|
refresh_connector(connector,c.integration_daemon, c.integration_daemon_url,
|
197
|
-
c.userid, c.
|
197
|
+
c.userid, c.password)
|
198
198
|
|
199
199
|
@integration_daemon.command('restart')
|
200
200
|
@click.pass_context
|
@@ -205,6 +205,7 @@ def restart_connectors(ctx,connector):
|
|
205
205
|
restart_connector(connector,c.integration_daemon, c.integration_daemon_url,
|
206
206
|
c.userid, c.password)
|
207
207
|
|
208
|
+
|
208
209
|
integration_daemon.add_command(add_catalog_target)
|
209
210
|
integration_daemon.add_command(remove_catalog_target)
|
210
211
|
integration_daemon.add_command(update_catalog_target)
|
@@ -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
|
@@ -9,7 +9,7 @@ examples/widgets/catalog_user/get_tech_type_template.py,sha256=2bGRMIcXqlMFwNGRd
|
|
9
9
|
examples/widgets/catalog_user/list_assets.py,sha256=MRWha0yS3JPQEZNXqAktbEWYiU3kxdcmu4mV7YravQQ,5668
|
10
10
|
examples/widgets/catalog_user/list_glossary.py,sha256=abw3iBFEPHcSpucq2Jqh6UEOILyzx2IfBWS9gPl968k,5176
|
11
11
|
examples/widgets/cli/__init__.py,sha256=ReG7mIcm5c512S_z1UZIpMtE67zlO_zj-1HhHWYS4fI,30
|
12
|
-
examples/widgets/cli/egeria_ops.py,sha256=
|
12
|
+
examples/widgets/cli/egeria_ops.py,sha256=HLaRY6GiTaKtUSWDlt4XCVMkIOhYhdEoA_NqhocWjak,9474
|
13
13
|
examples/widgets/cli/ops_config.py,sha256=7l20Y7eZTkPIfWLezh0QiNF2FaQB98o6qtj7QRbGgoY,1300
|
14
14
|
examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
|
15
15
|
examples/widgets/developer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -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
|