pyegeria 5.2__py3-none-any.whl → 5.2.0.2__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.
Files changed (126) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/__init__.py +0 -2
  3. pyegeria/_client.py +2 -7
  4. pyegeria/asset_catalog_omvs.py +0 -34
  5. pyegeria/classification_manager_omvs.py +3 -2
  6. pyegeria/collection_manager_omvs.py +45 -92
  7. pyegeria/commands/.DS_Store +0 -0
  8. pyegeria/commands/README.md +1 -2
  9. pyegeria/commands/cat/__init__.py +5 -1
  10. pyegeria/commands/cat/get_collection.py +14 -23
  11. pyegeria/commands/cat/get_tech_type_elements.py +1 -1
  12. pyegeria/commands/cat/glossary_actions.py +8 -28
  13. pyegeria/commands/cat/list_assets.py +17 -8
  14. pyegeria/commands/cat/list_collections.py +5 -10
  15. pyegeria/commands/cat/list_deployed_catalogs.py +2 -4
  16. pyegeria/commands/cat/list_deployed_database_schemas.py +14 -8
  17. pyegeria/commands/cat/list_deployed_databases.py +3 -2
  18. pyegeria/commands/cat/list_tech_types.py +24 -36
  19. pyegeria/commands/cat/list_terms.py +2 -4
  20. pyegeria/commands/cli/egeria.py +108 -104
  21. pyegeria/commands/cli/egeria_cat.py +54 -53
  22. pyegeria/commands/cli/egeria_my.py +33 -25
  23. pyegeria/commands/cli/egeria_ops.py +40 -38
  24. pyegeria/commands/cli/egeria_tech.py +41 -55
  25. pyegeria/commands/cli/ops_config.py +1 -3
  26. pyegeria/commands/doc/.DS_Store +0 -0
  27. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  28. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  29. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/CleanShot 2024-11-20 at 16.17.43@2x.png +0 -0
  30. pyegeria/commands/doc/{README.md → command-overview.md} +5 -50
  31. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  32. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  33. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  34. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/{README.md → hey_egeria: overview.md } +1 -1
  35. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  36. pyegeria/commands/my/monitor_my_todos.py +5 -17
  37. pyegeria/commands/my/monitor_open_todos.py +1 -1
  38. pyegeria/commands/ops/monitor_asset_events.py +22 -27
  39. pyegeria/commands/ops/monitor_engine_activity_c.py +1 -1
  40. pyegeria/commands/ops/monitor_gov_eng_status.py +4 -31
  41. pyegeria/commands/ops/monitor_integ_daemon_status.py +14 -17
  42. pyegeria/commands/ops/monitor_platform_status.py +1 -1
  43. pyegeria/commands/ops/orig_monitor_server_status.py +21 -36
  44. pyegeria/commands/ops/refresh_integration_daemon.py +1 -1
  45. pyegeria/commands/ops/restart_integration_daemon.py +1 -1
  46. pyegeria/commands/tech/get_tech_details.py +42 -79
  47. pyegeria/commands/tech/get_tech_type_template.py +53 -69
  48. pyegeria/commands/tech/list_anchored_elements.py +15 -18
  49. pyegeria/commands/tech/list_elements_x.py +4 -7
  50. pyegeria/commands/tech/list_registered_services.py +1 -1
  51. pyegeria/commands/tech/list_relationship_types.py +21 -19
  52. pyegeria/commands/tech/list_relationships.py +3 -7
  53. pyegeria/commands/tech/table_tech_templates.py +1 -3
  54. pyegeria/create_tech_guid_lists.py +2 -2
  55. pyegeria/egeria_client.py +0 -2
  56. pyegeria/egeria_tech_client.py +0 -5
  57. pyegeria/glossary_manager_omvs.py +7 -101
  58. pyegeria/server_operations.py +4 -4
  59. pyegeria/template_manager_omvs.py +3 -1
  60. pyegeria/valid_metadata_omvs.py +1 -1
  61. {pyegeria-5.2.dist-info → pyegeria-5.2.0.2.dist-info}/METADATA +5 -3
  62. pyegeria-5.2.0.2.dist-info/RECORD +185 -0
  63. {pyegeria-5.2.dist-info → pyegeria-5.2.0.2.dist-info}/entry_points.txt +0 -2
  64. pyegeria/commands/cat/list_tech_type_elements.py +0 -190
  65. pyegeria/commands/cli/egeria_login_tui.py +0 -313
  66. pyegeria/commands/cli/txt_custom_v2.tcss +0 -19
  67. pyegeria/commands/doc/Visual Command Reference/README.md +0 -511
  68. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
  69. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
  70. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
  71. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
  72. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
  73. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
  74. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
  75. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
  76. pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
  77. pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
  78. pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
  79. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
  80. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
  81. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
  82. pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
  83. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
  84. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
  85. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
  86. pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
  87. pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
  88. pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
  89. pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
  90. pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
  91. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
  92. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
  93. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
  94. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
  95. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
  96. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
  97. pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
  98. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
  99. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
  100. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
  101. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
  102. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
  103. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
  104. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
  105. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
  106. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
  107. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
  108. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
  109. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
  110. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
  111. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
  112. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
  113. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
  114. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
  115. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
  116. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
  117. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
  118. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
  119. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
  120. pyegeria/metadata_explorer_omvs.py +0 -2371
  121. pyegeria-5.2.dist-info/RECORD +0 -232
  122. /pyegeria/commands/doc/Visual Command Reference/cat/show/assets/{asset-graph 2024-11-20 at 15.56.42.png → Asset-graph 2024-11-20 at 15.56.42.png} +0 -0
  123. /pyegeria/commands/doc/Visual Command Reference/cat/show/assets/{assets-in-domain 2024-11-20 at 15.49.55@2x.png → Assets-in-domain 2024-11-20 at 15.49.55@2x.png} +0 -0
  124. /pyegeria/commands/doc/Visual Command Reference/cat/show/{deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png → assets/deployed-catalogs 2024-11-20 at 16.17.43@2x.png} +0 -0
  125. {pyegeria-5.2.dist-info → pyegeria-5.2.0.2.dist-info}/LICENSE +0 -0
  126. {pyegeria-5.2.dist-info → pyegeria-5.2.0.2.dist-info}/WHEEL +0 -0
@@ -9,19 +9,14 @@ A command line interface for Egeria Users - all commands
9
9
  This is an emerging capability based on the **click** package. Feedback welcome!
10
10
 
11
11
  """
12
- import os
13
- import sys
14
-
15
12
  import click
16
13
  from trogon import tui
17
14
 
18
- from pyegeria.commands.cli.egeria_login_tui import login
19
15
  from pyegeria.commands.cat.get_asset_graph import asset_viewer
20
16
  from pyegeria.commands.cat.get_collection import collection_viewer
21
17
  from pyegeria.commands.cat.get_project_dependencies import project_dependency_viewer
22
18
  from pyegeria.commands.cat.get_project_structure import project_structure_viewer
23
19
  from pyegeria.commands.cat.get_tech_type_elements import tech_viewer
24
- from pyegeria.commands.cat.list_tech_type_elements import list_tech_elements
25
20
  from pyegeria.commands.cli.egeria_ops import show_server
26
21
  from pyegeria.commands.tech.get_tech_type_template import template_viewer
27
22
  from pyegeria.commands.cat.list_assets import display_assets
@@ -118,83 +113,87 @@ from pyegeria.commands.tech.list_gov_action_processes import display_gov_process
118
113
  @click.group()
119
114
  @click.option(
120
115
  "--server",
121
- default=os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store"),
116
+ default="active-metadata-store",
117
+ envvar="EGERIA_METADATA_STORE",
122
118
  help="Egeria metadata store to work with",
123
119
  )
124
120
  @click.option(
125
121
  "--url",
126
- default=os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443"),
122
+ default="https://localhost:9443",
123
+ envvar="EGERIA_PLATFORM_URL",
127
124
  help="URL of Egeria metadata store platform to connect to",
128
125
  )
129
126
  @click.option(
130
- "--integration_daemon",
131
- default=os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon"),
127
+ "--integration-daemon",
128
+ default="integration-daemon",
129
+ envvar="EGERIA_INTEGRATION_DAEMON",
132
130
  help="Egeria integration daemon to work with",
133
131
  )
134
132
  @click.option(
135
133
  "--integration_daemon_url",
136
- default=os.environ.get("EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"),
134
+ default="https://localhost:9443",
135
+ envvar="EGERIA_INTEGRATION_DAEMON_URL",
137
136
  help="URL of Egeria integration daemon platform to connect to",
138
137
  )
139
138
  @click.option(
140
139
  "--view_server",
141
- default=os.environ.get("EGERIA_VIEW_SERVER", "view-server"),
140
+ default="view-server",
141
+ envvar="EGERIA_VIEW_SERVER",
142
142
  help="Egeria view server to work with",
143
143
  )
144
144
  @click.option(
145
145
  "--view_server_url",
146
- default=os.environ.get("EGERIA_VIEW_SERVER_URL", "https://localhost:9443"),
146
+ default="https://localhost:9443",
147
+ envvar="EGERIA_VIEW_SERVER_URL",
147
148
  help="URL of Egeria view server platform to connect to",
148
149
  )
149
150
  @click.option(
150
151
  "--engine_host",
151
- default=os.environ.get("EGERIA_ENGINE_HOST", "engine-host"),
152
+ default="engine-host",
153
+ envvar="EGERIA_ENGINE_HOST",
152
154
  help="Egeria engine host to work with",
153
155
  )
154
156
  @click.option(
155
157
  "--engine_host_url",
156
- default=os.environ.get("EGERIA_ENGINE_HOST_URL", "https://localhost:9443"),
158
+ default="https://localhost:9443",
159
+ envvar="EGERIA_ENGINE_HOST_URL",
157
160
  help="URL of Egeria engine host platform to connect to",
158
161
  )
159
162
  @click.option(
160
163
  "--admin_user",
161
- default=os.environ.get("EGERIA_ADMIN_USER", "garygeeke"),
164
+ default="garygeeke",
165
+ envvar="EGERIA_ADMIN_USER",
162
166
  help="Egeria admin user",
163
167
  )
164
168
  @click.option(
165
169
  "--admin_user_password",
166
- default=os.environ.get("EGERIA_ADMIN_PASSWORD", "secret"),
170
+ default="secret",
171
+ envvar="EGERIA_ADMIN_PASSWORD",
167
172
  help="Egeria admin password",
168
173
  )
169
174
  @click.option(
170
- "--userid",
171
- default=os.environ.get("EGERIA_USER", "erinoverview"),
172
- help="Egeria user",
175
+ "--userid", default="erinoverview", envvar="EGERIA_USER", help="Egeria user"
173
176
  )
174
177
  @click.option(
175
178
  "--password",
176
- default=os.environ.get("EGERIA_USER_PASSWORD", "secret"),
179
+ default="secret",
180
+ envvar="EGERIA_PASSWORD",
177
181
  help="Egeria user password",
178
182
  )
179
183
  @click.option("--timeout", default=60, help="Number of seconds to wait")
180
184
  @click.option(
181
185
  "--jupyter",
182
186
  is_flag=True,
183
- type=bool,
184
- default=os.environ.get("EGERIA_JUPYTER", False),
187
+ default=False,
188
+ envvar="EGERIA_JUPYTER",
185
189
  help="Enable for rendering in a Jupyter terminal",
186
190
  )
187
191
  @click.option(
188
192
  "--width",
189
- default=os.environ.get("EGERIA_WIDTH", 200),
190
- type=int,
193
+ default=200,
194
+ envvar="EGERIA_WIDTH",
191
195
  help="Screen width, in characters, to use",
192
196
  )
193
- @click.option(
194
- "--home_glossary_guid",
195
- default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
196
- help="Glossary guid to use as the home glossary",
197
- )
198
197
  @click.pass_context
199
198
  def cli(
200
199
  ctx,
@@ -213,7 +212,6 @@ def cli(
213
212
  timeout,
214
213
  jupyter,
215
214
  width,
216
- home_glossary_guid,
217
215
  ):
218
216
  """An Egeria Command Line interface for Operations"""
219
217
  ctx.obj = Config(
@@ -232,9 +230,8 @@ def cli(
232
230
  timeout,
233
231
  jupyter,
234
232
  width,
235
- home_glossary_guid,
236
233
  )
237
- ctx.max_content_width = 250
234
+ ctx.max_content_width = 200
238
235
  ctx.ensure_object(Config)
239
236
 
240
237
 
@@ -272,7 +269,11 @@ def show_my_profile(ctx):
272
269
  @my_show.command("my-roles")
273
270
  @click.pass_context
274
271
  def show_my_roles(ctx):
275
- """Display my roles"""
272
+ """Display my profiles
273
+
274
+ Usage: show my-profile
275
+
276
+ """
276
277
  c = ctx.obj
277
278
  display_my_roles(
278
279
  c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
@@ -362,8 +363,8 @@ def show_elements(ctx):
362
363
  @show_elements.command("guid-info")
363
364
  @click.argument("guid", nargs=1)
364
365
  @click.pass_context
365
- def show_guid_info(ctx, guid):
366
- """Display guid information
366
+ def show_guid_infos(ctx, guid):
367
+ """Display a live status view of known platforms
367
368
 
368
369
  Usage: show guid-info <a guid>
369
370
 
@@ -372,37 +373,22 @@ def show_guid_info(ctx, guid):
372
373
  display_guid(guid, c.server, c.url, c.userid, c.password, c.jupyter, c.width)
373
374
 
374
375
 
375
- @show_elements.command("anchored_elements")
376
+ @show_elements.command("anchored-elements")
376
377
  @click.pass_context
378
+ @click.option("--search-string", help="value we are searching for")
377
379
  @click.option(
378
- "--search-string",
379
- default="DeployedDatabaseSchema",
380
- help="value we are searching for",
381
- )
382
- @click.option(
383
- "--prop-list",
384
- default="anchorTypeName",
385
- help="List of properties we are searching",
380
+ "--prop-list", default="anchorTypeName", help="List of properties we are searching"
386
381
  )
387
382
  def list_anchored_elements(ctx, search_string: str, prop_list: str):
388
383
  """List elements with the specified properties"""
389
384
  c = ctx.obj
390
- if type(prop_list) is str:
391
- property_names = prop_list.split(",")
392
- elif type(prop_list) is list:
393
- property_names = prop_list
394
- else:
395
- property_names = []
396
- print(f"\nError --> Invalid property list - must be a string or list")
397
- sys.exit(4)
398
385
  display_anchored_elements(
399
386
  search_string,
400
- [prop_list],
387
+ prop_list,
401
388
  c.view_server,
402
389
  c.view_server_url,
403
390
  c.userid,
404
391
  c.password,
405
- c.timeout,
406
392
  c.jupyter,
407
393
  c.width,
408
394
  )
@@ -484,7 +470,7 @@ def show_tech_type_templates(ctx, tech_type):
484
470
  @show_tech_info.command("asset-types")
485
471
  @click.pass_context
486
472
  def show_asset_types(ctx):
487
- """Display asset types"""
473
+ """Display engine-host status information"""
488
474
  c = ctx.obj
489
475
  display_asset_types(
490
476
  c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
@@ -526,16 +512,16 @@ def show_registered_services(ctx, services):
526
512
 
527
513
  @show_tech_info.command("relationship-types")
528
514
  @click.option(
529
- "--om-type",
515
+ "--rel-type",
530
516
  default="AssetOwner",
531
517
  help="Relationship type to get information about",
532
518
  )
533
519
  @click.pass_context
534
- def show_relationship_types(ctx, om_type):
535
- """Show information about the specified relationship types"""
520
+ def show_relationship_types(ctx, rel_type):
521
+ """Show information about the specified relationship type"""
536
522
  c = ctx.obj
537
523
  display_relationship_types(
538
- om_type,
524
+ rel_type,
539
525
  c.view_server,
540
526
  c.view_server_url,
541
527
  c.userid,
@@ -559,7 +545,7 @@ def show_relationship_types(ctx, om_type):
559
545
  )
560
546
  @click.pass_context
561
547
  def show_elements_by_classification(ctx, om_type, classification):
562
- """Show elements by classification"""
548
+ """Show information about the specified relationship type"""
563
549
  c = ctx.obj
564
550
  list_classified_elements(
565
551
  om_type,
@@ -589,8 +575,8 @@ def show_elements_by_classification(ctx, om_type, classification):
589
575
  help="Relationship type to follow.",
590
576
  )
591
577
  @click.pass_context
592
- def show_related_elements(ctx, element_guid, om_type, rel_type):
593
- """Show elements related to specified guid"""
578
+ def show_relationship_types(ctx, element_guid, om_type, rel_type):
579
+ """Show information about the specified relationship type"""
594
580
  c = ctx.obj
595
581
  list_related_elements(
596
582
  element_guid,
@@ -720,7 +706,7 @@ def list_element_info(ctx, om_type, extended):
720
706
  @show_tech_info.command("processes")
721
707
  @click.pass_context
722
708
  def list_element_info(ctx):
723
- """Display the governance action processes"""
709
+ """Display the valid metadata values for a property and type"""
724
710
  c = ctx.obj
725
711
  list_elements(
726
712
  "GovernanceActionProcess",
@@ -737,7 +723,7 @@ def list_element_info(ctx):
737
723
  @click.pass_context
738
724
  @click.option("--om_type", default="Project", help="Metadata type to query")
739
725
  def get_element_info(ctx, om_type):
740
- """Display a table of elements of an Open Metadata Type"""
726
+ """Display a table of elements for an Open Metadata Type"""
741
727
  c = ctx.obj
742
728
  display_elements(
743
729
  om_type,
@@ -758,7 +744,7 @@ def get_element_info(ctx, om_type):
758
744
  @cli.group("cat")
759
745
  @click.pass_context
760
746
  def cat(ctx):
761
- """Commands for all users"""
747
+ """Commands for the more tech user"""
762
748
  pass
763
749
 
764
750
 
@@ -790,11 +776,11 @@ def show_tech_types(ctx, tech_type):
790
776
  @show_cat_info.command("collections")
791
777
  @click.option("--collection", default="*", help="Collection to search for")
792
778
  @click.pass_context
793
- def show_collections(ctx, collection):
779
+ def show_collections(ctx, collections):
794
780
  """List Collections"""
795
781
  c = ctx.obj
796
782
  display_collections(
797
- collection, c.view_server, c.view_server_url, c.userid, c.password
783
+ collections, c.view_server, c.view_server_url, c.userid, c.password
798
784
  )
799
785
 
800
786
 
@@ -805,7 +791,7 @@ def asset_group(ctx):
805
791
  pass
806
792
 
807
793
 
808
- @asset_group.command("elements-of-tech-type")
794
+ @asset_group.command("elements-of-type")
809
795
  @click.option(
810
796
  "--tech_type",
811
797
  default="PostgreSQL Server",
@@ -879,7 +865,7 @@ def glossary_group(ctx):
879
865
  )
880
866
  @click.option(
881
867
  "--glossary-guid",
882
- default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
868
+ default=None,
883
869
  help="Optionally restrict search to glossary with the specified guid",
884
870
  )
885
871
  @click.option(
@@ -908,7 +894,7 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name):
908
894
  @click.option("--search_string", default="*", help="Name to search for glossaries")
909
895
  @click.pass_context
910
896
  def glossaries(ctx, search_string):
911
- """Display a list of glossaries"""
897
+ """Display a tree graph of information about an asset"""
912
898
  c = ctx.obj
913
899
  display_glossaries(
914
900
  search_string,
@@ -921,15 +907,15 @@ def glossaries(ctx, search_string):
921
907
  )
922
908
 
923
909
 
924
- @show_cat_info.command("collection-graph")
910
+ @show_cat_info.command("collection")
925
911
  @click.option(
926
912
  "--root_collection",
927
- default="Coco Pharmaceuticals Governance Domains",
913
+ default="Root Sustainability Collection",
928
914
  help="View of tree of collections from a given root",
929
915
  )
930
916
  @click.pass_context
931
- def show_collection(ctx, root_collection):
932
- """Display collection graph"""
917
+ def show_asset_graph(ctx, root_collection):
918
+ """Display a tree graph of information about an asset"""
933
919
  c = ctx.obj
934
920
  collection_viewer(
935
921
  root_collection,
@@ -971,7 +957,9 @@ def show_projects(ctx, search_string):
971
957
  @click.option("--search-string", default="CertificationType", help="")
972
958
  @click.pass_context
973
959
  def show_certification_types(ctx, search_string):
974
- """Show certification types"""
960
+ """Show certification types
961
+ - generally stay with the default.
962
+ """
975
963
  c = ctx.obj
976
964
  display_certifications(
977
965
  search_string,
@@ -1053,7 +1041,7 @@ def show_project_dependencies(ctx, project):
1053
1041
  )
1054
1042
  @click.pass_context
1055
1043
  def show_todos(ctx, search_string, status):
1056
- """Display list of To Dost"""
1044
+ """Display a tree graph of information about an asset"""
1057
1045
  c = ctx.obj
1058
1046
  list_todos(
1059
1047
  search_string,
@@ -1070,7 +1058,7 @@ def show_todos(ctx, search_string, status):
1070
1058
  @show_cat_info.command("user-ids")
1071
1059
  @click.pass_context
1072
1060
  def show_todos(ctx):
1073
- """Display a list of known user-ids"""
1061
+ """Display a list of known user ids"""
1074
1062
  c = ctx.obj
1075
1063
  list_user_ids(
1076
1064
  c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
@@ -1204,7 +1192,9 @@ def show_tech_types(ctx, tech_type):
1204
1192
  @click.option("--search-string", default="CertificationType", help="")
1205
1193
  @click.pass_context
1206
1194
  def show_certification_types(ctx, search_string):
1207
- """Show certification types"""
1195
+ """Show certification types
1196
+ - generally stay with the default..
1197
+ """
1208
1198
  c = ctx.obj
1209
1199
  display_certifications(
1210
1200
  search_string,
@@ -1325,11 +1315,30 @@ def show_asset_graph(ctx, asset_guid):
1325
1315
  help="Specific tech type to get elements for",
1326
1316
  )
1327
1317
  @click.pass_context
1328
- def list_tech_type_elements(ctx, tech_type):
1318
+ def show_tech_type_elements(ctx, tech_type):
1329
1319
  """List technology type elements"""
1330
1320
  c = ctx.obj
1331
- list_tech_elements(
1332
- tech_type, c.view_server, c.view_server_url, c.userid, c.password
1321
+ tech_viewer(tech_type, c.view_server, c.view_server_url, c.userid, c.password)
1322
+
1323
+
1324
+ @show_cat_info.command("collection")
1325
+ @click.option(
1326
+ "--root_collection",
1327
+ default="Root Sustainability Collection",
1328
+ help="View of tree of collections from a given root",
1329
+ )
1330
+ @click.pass_context
1331
+ def show_asset_graph(ctx, root_collection):
1332
+ """Display information about a collection"""
1333
+ c = ctx.obj
1334
+ collection_viewer(
1335
+ root_collection,
1336
+ c.view_server,
1337
+ c.view_server_url,
1338
+ c.userid,
1339
+ c.password,
1340
+ c.jupyter,
1341
+ c.width,
1333
1342
  )
1334
1343
 
1335
1344
 
@@ -1365,7 +1374,7 @@ def show_projects(ctx, search_string):
1365
1374
  )
1366
1375
  @click.pass_context
1367
1376
  def show_todos(ctx, search_string, status):
1368
- """Display a list of To Dos"""
1377
+ """Display a tree graph of information about an asset"""
1369
1378
  c = ctx.obj
1370
1379
  list_todos(
1371
1380
  search_string,
@@ -1392,7 +1401,7 @@ def show_user_ids(ctx):
1392
1401
  @show_server.command("archives")
1393
1402
  @click.pass_context
1394
1403
  def archives(ctx):
1395
- """Display a list of archivest"""
1404
+ """Display a tree graph of information about an asset"""
1396
1405
  c = ctx.obj
1397
1406
  display_archive_list(
1398
1407
  c.view_server,
@@ -1413,7 +1422,6 @@ def archives(ctx):
1413
1422
  )
1414
1423
  @click.pass_context
1415
1424
  def show_deployed_servers(ctx, search_string):
1416
- """Show list of deployed servers"""
1417
1425
  c = ctx.obj
1418
1426
  display_servers_by_dep_imp(
1419
1427
  search_string,
@@ -1432,7 +1440,7 @@ def show_deployed_servers(ctx, search_string):
1432
1440
  )
1433
1441
  @click.pass_context
1434
1442
  def deployed_schemas(ctx, search_catalog):
1435
- """Display a list of deployed schemas"""
1443
+ """Display a tree graph of information about an asset"""
1436
1444
  c = ctx.obj
1437
1445
  list_deployed_database_schemas(
1438
1446
  search_catalog,
@@ -1449,7 +1457,7 @@ def deployed_schemas(ctx, search_catalog):
1449
1457
  @click.option("--search_server", default="*", help="Server to search for catalogs")
1450
1458
  @click.pass_context
1451
1459
  def catalogs(ctx, search_server):
1452
- """Display a list of deployed catalogs"""
1460
+ """Display a tree graph of information about an asset"""
1453
1461
  c = ctx.obj
1454
1462
  list_deployed_catalogs(
1455
1463
  search_server,
@@ -1465,7 +1473,7 @@ def catalogs(ctx, search_server):
1465
1473
  @deployed_data.command("databases")
1466
1474
  @click.pass_context
1467
1475
  def databases(ctx):
1468
- """Display a list of deployed databases"""
1476
+ """Display a tree graph of information about an asset"""
1469
1477
  c = ctx.obj
1470
1478
  list_deployed_databases(
1471
1479
  c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
@@ -1476,7 +1484,7 @@ def databases(ctx):
1476
1484
  @click.option("--search_string", default="*", help="Name to search for glossaries")
1477
1485
  @click.pass_context
1478
1486
  def glossaries(ctx, search_string):
1479
- """Display a list of glossaries"""
1487
+ """Display a tree graph of information about an asset"""
1480
1488
  c = ctx.obj
1481
1489
  display_glossaries(
1482
1490
  search_string,
@@ -1619,14 +1627,14 @@ def gov_eng_status(ctx, engine_list, engine_host, list):
1619
1627
  c = ctx.obj
1620
1628
  display_gov_eng_status(
1621
1629
  [engine_list],
1622
- engine_host=engine_host,
1623
- view_server=c.view_server,
1624
- url=c.view_server_url,
1625
- username=c.userid,
1626
- user_pass=c.password,
1627
- paging=list,
1628
- jupyter=c.jupyter,
1629
- width=c.width,
1630
+ engine_host,
1631
+ c.view_server,
1632
+ c.view_server_url,
1633
+ c.userid,
1634
+ c.password,
1635
+ list,
1636
+ c.jupyter,
1637
+ c.width,
1630
1638
  )
1631
1639
 
1632
1640
 
@@ -1697,7 +1705,7 @@ def integrations(ctx):
1697
1705
  )
1698
1706
  @click.pass_context
1699
1707
  def integrations_status(ctx, connector_list, list, sorted):
1700
- """Display integration_daemon status information"""
1708
+ """Display integration-daemon status information"""
1701
1709
  c = ctx.obj
1702
1710
  display_integration_daemon_status(
1703
1711
  [connector_list],
@@ -1716,7 +1724,7 @@ def integrations_status(ctx, connector_list, list, sorted):
1716
1724
 
1717
1725
  @integrations.command("targets")
1718
1726
  @click.pass_context
1719
- @click.argument("--connector", nargs=1)
1727
+ @click.argument("connector", nargs=1)
1720
1728
  def integrations_status(ctx, connector):
1721
1729
  """Display Catalog Targets for a connector"""
1722
1730
  c = ctx.obj
@@ -1746,7 +1754,7 @@ def tell_ops(ctx):
1746
1754
  @tell_ops.group("integration-daemon")
1747
1755
  @click.pass_context
1748
1756
  def tell_integration_daemon(ctx):
1749
- """Group of commands to an integration_daemon"""
1757
+ """Group of commands to an integration-daemon"""
1750
1758
  pass
1751
1759
 
1752
1760
 
@@ -1830,8 +1838,4 @@ def repository(ctx):
1830
1838
  repository.add_command(load_archive)
1831
1839
 
1832
1840
  if __name__ == "__main__":
1833
- while True:
1834
- try:
1835
- cli()
1836
- except Exception as e:
1837
- click.echo(f"Error: {e}")
1841
+ cli()