pyegeria 1.5.1.1.49__py3-none-any.whl → 1.5.1.1.51__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 (85) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/commands/.DS_Store +0 -0
  3. pyegeria/commands/cat/glossary_actions.py +16 -12
  4. pyegeria/commands/cli/egeria.py +689 -208
  5. pyegeria/commands/cli/egeria_cat.py +105 -116
  6. pyegeria/commands/cli/egeria_ops.py +19 -2
  7. pyegeria/commands/cli/egeria_tech.py +64 -22
  8. pyegeria/commands/doc/.DS_Store +0 -0
  9. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  10. pyegeria/commands/doc/glossary/basic-glossary-tui.md +52 -33
  11. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  12. pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  13. pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
  14. pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
  15. pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  16. pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
  17. pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
  18. pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
  19. pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
  20. pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
  21. pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
  22. pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  23. pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
  24. pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
  25. pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
  26. pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
  27. pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
  28. pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
  29. pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
  30. pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
  31. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  32. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/hey_egeria: overview.md +164 -0
  33. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
  34. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
  35. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria 2024-11-10 at 18.31.01@2x.png +0 -0
  36. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
  37. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
  38. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
  39. pyegeria/glossary_manager_omvs.py +85 -134
  40. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/METADATA +1 -1
  41. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/RECORD +62 -53
  42. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/entry_points.txt +4 -3
  43. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.02.16@2x.png +0 -0
  44. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.03.24@2x.png +0 -0
  45. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.06.32@2x.png +0 -0
  46. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.29.18@2x.png +0 -0
  47. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.34.41@2x.png +0 -0
  48. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.51.57@2x.png +0 -0
  49. pyegeria/commands/doc/glossary/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  50. pyegeria/commands/doc/glossary/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  51. pyegeria/commands/doc/glossary/out-terms-export 2024-11-06 at 21.03.24.png +0 -0
  52. pyegeria/commands/doc/glossary/out_show-all-terms 2024-11-05 at 19.43.29@2x.png +0 -0
  53. pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 17.07.21@2x.png +0 -0
  54. pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 19.21.50@2x.png +0 -0
  55. pyegeria/commands/doc/glossary/tui-create-glossary 2024-11-05 at 19.18.19@2x.png +0 -0
  56. pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  57. pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png +0 -0
  58. pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png +0 -0
  59. pyegeria/commands/doc/glossary/tui-display-terms-for-glossary 2024-11-06 at 20.49.51.png +0 -0
  60. pyegeria/commands/doc/glossary/tui-export-glossary 2024-11-06 at 21.02.16.png +0 -0
  61. pyegeria/commands/doc/glossary/tui-list-all-terms 2024-11-06 at 16.19.45@2x.png +0 -0
  62. pyegeria/commands/doc/glossary/tui-list-terms-from-glossary 2024-11-06 at 16.23.54.png +0 -0
  63. pyegeria/commands/doc/glossary/tui-load-terms 2024-11-05 at 20.44.20@2x.png +0 -0
  64. pyegeria/commands/doc/glossary/tui-show glossaries 2024-11-05 at 19.22.49@2x.png +0 -0
  65. pyegeria/commands/doc/glossary/tui-show-glossary-terms-sustainability 2024-11-05 at 19.46.13@2x.png +0 -0
  66. /pyegeria/commands/doc/glossary/{delete-glossary-step1 2024-11-06 at 15.47.23@2x.png → images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png} +0 -0
  67. /pyegeria/commands/doc/glossary/{delete-glossary-step2 2024-11-06 at 15.51.29@2x.png → images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png} +0 -0
  68. /pyegeria/commands/doc/glossary/{delete-glossary-step3 2024-11-06 at 15.53.19@2x.png → images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png} +0 -0
  69. /pyegeria/commands/doc/glossary/{delete-glossary-step4 2024-11-06 at 15.55.11@2x.png → images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png} +0 -0
  70. /pyegeria/commands/doc/glossary/{out-create-term 2024-11-06 at 20.48.29.png → images/out-create-term 2024-11-06 at 20.48.29.png} +0 -0
  71. /pyegeria/commands/doc/glossary/{out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png → images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png} +0 -0
  72. /pyegeria/commands/doc/glossary/{out-exported-terms 2024-11-06 at 21.06.32.png → images/out-exported-terms 2024-11-06 at 21.06.32.png} +0 -0
  73. /pyegeria/commands/doc/glossary/{out-list-all-terms 2024-11-06 at 16.22.20@2x.png → images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png} +0 -0
  74. /pyegeria/commands/doc/glossary/{out-list-terms-for-example 2024-11-06 at 16.40.12.png → images/out-list-terms-for-example 2024-11-06 at 16.40.12.png} +0 -0
  75. /pyegeria/commands/doc/glossary/{out-list-terms-second 2024-11-06 at 16.45.13.png → images/out-list-terms-second 2024-11-06 at 16.45.13.png} +0 -0
  76. /pyegeria/commands/doc/glossary/{tui-create-term 2024-11-06 at 20.46.35.png → images/tui-create-term 2024-11-06 at 20.46.35.png} +0 -0
  77. /pyegeria/commands/doc/glossary/{tui-delete-term 2024-11-07 at 03.51.57.png → images/tui-delete-term 2024-11-07 at 03.51.57.png} +0 -0
  78. /pyegeria/commands/doc/glossary/{tui-display-terms-for-example 2024-11-06 at 20.56.49.png → images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png} +0 -0
  79. /pyegeria/commands/doc/glossary/{tui-list-terms-second 2024-11-06 at 16.46.34.png → images/tui-list-terms-second 2024-11-06 at 16.46.34.png} +0 -0
  80. /pyegeria/commands/doc/glossary/{tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png → images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png} +0 -0
  81. /pyegeria/commands/{cat → ops}/list_archives.py +0 -0
  82. /pyegeria/commands/{cat → tech}/get_tech_type_template.py +0 -0
  83. /pyegeria/commands/{cat → tech}/list_relationships.py +0 -0
  84. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/LICENSE +0 -0
  85. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/WHEEL +0 -0
@@ -17,16 +17,17 @@ from pyegeria.commands.cat.get_collection import collection_viewer
17
17
  from pyegeria.commands.cat.get_project_dependencies import project_dependency_viewer
18
18
  from pyegeria.commands.cat.get_project_structure import project_structure_viewer
19
19
  from pyegeria.commands.cat.get_tech_type_elements import tech_viewer
20
- from pyegeria.commands.cat.get_tech_type_template import template_viewer
20
+ from pyegeria.commands.cli.egeria_ops import show_server
21
+ from pyegeria.commands.tech.get_tech_type_template import template_viewer
21
22
  from pyegeria.commands.cat.list_assets import display_assets
22
23
  from pyegeria.commands.cat.list_cert_types import display_certifications
23
24
  from pyegeria.commands.cat.list_terms import display_glossary_terms
24
25
  from pyegeria.commands.cat.list_projects import display_project_list
25
- from pyegeria.commands.cat.list_relationships import list_relationships
26
+ from pyegeria.commands.tech.list_relationships import list_relationships
26
27
  from pyegeria.commands.cat.list_tech_types import display_tech_types
27
28
  from pyegeria.commands.cat.list_todos import display_to_dos as list_todos
28
29
  from pyegeria.commands.cat.list_user_ids import list_user_ids
29
- from pyegeria.commands.cat.list_archives import display_archive_list
30
+ from pyegeria.commands.ops.list_archives import display_archive_list
30
31
  from pyegeria.commands.cat.list_servers_deployed_imp import display_servers_by_dep_imp
31
32
  from pyegeria.commands.cli.ops_config import Config
32
33
  from pyegeria.commands.my.list_my_profile import display_my_profile
@@ -50,6 +51,7 @@ from pyegeria.commands.cat.list_glossaries import display_glossaries
50
51
 
51
52
  from pyegeria.commands.my.todo_actions import (
52
53
  mark_todo_complete,
54
+ change_todo_status,
53
55
  reassign_todo,
54
56
  delete_todo,
55
57
  create_todo,
@@ -86,11 +88,16 @@ from pyegeria.commands.tech.get_element_info import display_elements
86
88
  from pyegeria.commands.tech.get_guid_info import display_guid
87
89
  from pyegeria.commands.tech.get_tech_details import tech_details_viewer
88
90
  from pyegeria.commands.tech.list_asset_types import display_asset_types
91
+ from pyegeria.commands.tech.list_elements_for_classification import (
92
+ list_classified_elements,
93
+ )
89
94
  from pyegeria.commands.tech.list_elements import list_elements
90
95
  from pyegeria.commands.tech.list_registered_services import display_registered_svcs
91
96
  from pyegeria.commands.tech.list_related_specification import (
92
97
  display_related_specification,
93
98
  )
99
+ from pyegeria.commands.tech.list_related_elements import list_related_elements
100
+
94
101
  from pyegeria.commands.tech.list_relationship_types import display_relationship_types
95
102
  from pyegeria.commands.tech.list_tech_templates import display_templates_spec
96
103
  from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_values
@@ -248,14 +255,14 @@ def my(ctx):
248
255
  pass
249
256
 
250
257
 
251
- @my.group("show")
258
+ @my.group("my-show")
252
259
  @click.pass_context
253
- def show(ctx):
260
+ def my_show(ctx):
254
261
  """Display an Egeria Object"""
255
262
  pass
256
263
 
257
264
 
258
- @show.command("my-profile")
265
+ @my_show.command("my-profile")
259
266
  @click.pass_context
260
267
  def show_my_profile(ctx):
261
268
  """Display my profiles
@@ -269,7 +276,7 @@ def show_my_profile(ctx):
269
276
  )
270
277
 
271
278
 
272
- @show.command("my-roles")
279
+ @my_show.command("my-roles")
273
280
  @click.pass_context
274
281
  def show_my_roles(ctx):
275
282
  """Display my profiles
@@ -283,7 +290,7 @@ def show_my_roles(ctx):
283
290
  )
284
291
 
285
292
 
286
- @show.command("my-to-dos")
293
+ @my_show.command("my-to-dos")
287
294
  @click.pass_context
288
295
  def show_my_todos(ctx):
289
296
  """Show my To-Dos
@@ -297,7 +304,7 @@ def show_my_todos(ctx):
297
304
  )
298
305
 
299
306
 
300
- @show.command("open-to-dos")
307
+ @my_show.command("open-to-dos")
301
308
  @click.pass_context
302
309
  def show_open_todos(ctx):
303
310
  """Display a live status view of Egeria servers for the specified Egeria platform
@@ -317,13 +324,20 @@ def show_open_todos(ctx):
317
324
  #
318
325
 
319
326
 
320
- @my.group("tell")
327
+ @my.group("my-tell")
321
328
  @click.pass_context
322
- def tell(ctx):
329
+ def my_tell(ctx):
323
330
  """Perform actions an Egeria Objects"""
324
331
  pass
325
332
 
326
333
 
334
+ my_tell.add_command(create_todo)
335
+ my_tell.add_command(delete_todo)
336
+ my_tell.add_command(change_todo_status)
337
+ my_tell.add_command(mark_todo_complete)
338
+ my_tell.add_command(reassign_todo)
339
+
340
+
327
341
  #
328
342
  # tech User: Show
329
343
  #
@@ -334,64 +348,34 @@ def tech(ctx):
334
348
  pass
335
349
 
336
350
 
337
- @tech.group("show")
351
+ @tech.group("show_tech")
338
352
  @click.pass_context
339
- def show(ctx):
353
+ def show_tech(ctx):
340
354
  """Display an Egeria Object"""
341
355
  pass
342
356
 
343
357
 
344
- @show.command("get-elements")
358
+ @show_tech.group("show_tech_info")
345
359
  @click.pass_context
346
- @click.option("--om_type", default="Project", help="Metadata type to query")
347
- def get_element_info(ctx, om_type):
348
- """Display the elements for an Open Metadata Type"""
349
- c = ctx.obj
350
- display_elements(
351
- om_type,
352
- c.view_server,
353
- c.view_server_url,
354
- c.userid,
355
- c.password,
356
- c.jupyter,
357
- c.width,
358
- )
360
+ def show_tech_info(ctx):
361
+ """Show various Egeria information"""
362
+ pass
359
363
 
360
364
 
361
- @show.command("elements")
365
+ @show_tech.group("show_tech-types")
362
366
  @click.pass_context
363
- @click.option("--om_type", default="Project", help="Metadata type to query")
364
- def list_element_info(ctx, om_type):
365
- """Display the elements for an Open Metadata Type"""
366
- c = ctx.obj
367
- list_elements(
368
- om_type,
369
- c.view_server,
370
- c.view_server_url,
371
- c.userid,
372
- c.password,
373
- c.jupyter,
374
- c.width,
375
- )
367
+ def show_tech_type(ctx):
368
+ """Show information about Egeria technology types"""
369
+ pass
376
370
 
377
371
 
378
- @show.command("processes")
372
+ @show_tech.group("elements")
379
373
  @click.pass_context
380
- def list_process_info(ctx):
381
- """Display the valid metadata values for a property and type"""
382
- c = ctx.obj
383
- list_elements(
384
- "GovernanceActionProcess",
385
- c.view_server,
386
- c.view_server_url,
387
- c.userid,
388
- c.password,
389
- c.jupyter,
390
- c.width,
391
- )
374
+ def show_elements(ctx):
375
+ """Show information about Egeria elements"""
392
376
 
393
377
 
394
- @show.command("guid-info")
378
+ @show_elements.command("guid-info")
395
379
  @click.argument("guid", nargs=1)
396
380
  @click.pass_context
397
381
  def show_guid_infos(ctx, guid):
@@ -404,7 +388,24 @@ def show_guid_infos(ctx, guid):
404
388
  display_guid(guid, c.server, c.url, c.userid, c.password, c.jupyter, c.width)
405
389
 
406
390
 
407
- @show.command("tech-types")
391
+ @show_elements.command("related-specifications")
392
+ @click.pass_context
393
+ @click.argument("element-guid")
394
+ def show_related_specifications(ctx, element_guid):
395
+ """List specifications related to the given Element"""
396
+ c = ctx.obj
397
+ display_related_specification(
398
+ element_guid,
399
+ c.view_server,
400
+ c.view_server_url,
401
+ c.userid,
402
+ c.password,
403
+ c.jupyter,
404
+ c.width,
405
+ )
406
+
407
+
408
+ @show_tech_type.command("tech-types")
408
409
  @click.option("--search-string", default="*", help="Tech type to search for")
409
410
  @click.pass_context
410
411
  def show_tech_types(ctx, search_string):
@@ -422,7 +423,7 @@ def show_tech_types(ctx, search_string):
422
423
  )
423
424
 
424
425
 
425
- @show.command("tech-details")
426
+ @show_tech_type.command("tech-details")
426
427
  @click.argument("tech-name")
427
428
  @click.pass_context
428
429
  def show_tech_details(ctx, tech_name):
@@ -444,7 +445,28 @@ def show_tech_details(ctx, tech_name):
444
445
  )
445
446
 
446
447
 
447
- @show.command("asset-types")
448
+ @show_tech_type.command("tech-type-templates")
449
+ @click.option(
450
+ "--tech-type",
451
+ default="PostgreSQL Server",
452
+ help="Specific tech type to get elements for",
453
+ )
454
+ @click.pass_context
455
+ def show_tech_type_templates(ctx, tech_type):
456
+ """List technology type templates"""
457
+ c = ctx.obj
458
+ template_viewer(
459
+ tech_type,
460
+ c.view_server,
461
+ c.view_server_url,
462
+ c.userid,
463
+ c.password,
464
+ c.jupyter,
465
+ c.width,
466
+ )
467
+
468
+
469
+ @show_tech_info.command("asset-types")
448
470
  @click.pass_context
449
471
  def show_asset_types(ctx):
450
472
  """Display engine-host status information"""
@@ -454,7 +476,7 @@ def show_asset_types(ctx):
454
476
  )
455
477
 
456
478
 
457
- @show.command("registered-services")
479
+ @show_tech_info.command("registered-services")
458
480
  @click.option(
459
481
  "--services",
460
482
  type=click.Choice(
@@ -487,14 +509,46 @@ def show_registered_services(ctx, services):
487
509
  )
488
510
 
489
511
 
490
- @show.command("related-specifications")
512
+ @show_tech_info.command("relationship-types")
513
+ @click.option(
514
+ "--rel-type",
515
+ default="AssetOwner",
516
+ help="Relationship type to get information about",
517
+ )
491
518
  @click.pass_context
492
- @click.argument("element-guid")
493
- def show_related_specifications(ctx, element_guid):
494
- """List specifications related to the given Element"""
519
+ def show_relationship_types(ctx, rel_type):
520
+ """Show information about the specified relationship type"""
495
521
  c = ctx.obj
496
- display_related_specification(
497
- element_guid,
522
+ display_relationship_types(
523
+ rel_type,
524
+ c.view_server,
525
+ c.view_server_url,
526
+ c.userid,
527
+ c.password,
528
+ False,
529
+ c.jupyter,
530
+ c.width,
531
+ )
532
+
533
+
534
+ @show_elements.command("elements-by-classification")
535
+ @click.option(
536
+ "--om-type",
537
+ default="Project",
538
+ help="Open Metadata type to filter by",
539
+ )
540
+ @click.option(
541
+ "--classification",
542
+ default="GovernanceProject",
543
+ help="Classification to filter byt",
544
+ )
545
+ @click.pass_context
546
+ def show_elements_by_classification(ctx, om_type, classification):
547
+ """Show information about the specified relationship type"""
548
+ c = ctx.obj
549
+ list_classified_elements(
550
+ om_type,
551
+ classification,
498
552
  c.view_server,
499
553
  c.view_server_url,
500
554
  c.userid,
@@ -504,29 +558,39 @@ def show_related_specifications(ctx, element_guid):
504
558
  )
505
559
 
506
560
 
507
- @show.command("relationship-types")
561
+ @show_elements.command("related-elements")
562
+ @click.option(
563
+ "--element-guid",
564
+ help="GUID of the Element to navigate from.",
565
+ )
566
+ @click.option(
567
+ "--om-type",
568
+ default="Project",
569
+ help="Open metadata type to filter by.",
570
+ )
508
571
  @click.option(
509
572
  "--rel-type",
510
- default="AssetOwner",
511
- help="Relationship type to get information about",
573
+ default="Certification",
574
+ help="Relationship type to follow.",
512
575
  )
513
576
  @click.pass_context
514
- def show_relationship_types(ctx, rel_type):
577
+ def show_relationship_types(ctx, element_guid, om_type, rel_type):
515
578
  """Show information about the specified relationship type"""
516
579
  c = ctx.obj
517
- display_relationship_types(
580
+ list_related_elements(
581
+ element_guid,
582
+ om_type,
518
583
  rel_type,
519
584
  c.view_server,
520
585
  c.view_server_url,
521
586
  c.userid,
522
587
  c.password,
523
- False,
524
588
  c.jupyter,
525
589
  c.width,
526
590
  )
527
591
 
528
592
 
529
- @show.command("tech-templates")
593
+ @show_tech_type.command("tech-templates")
530
594
  @click.pass_context
531
595
  @click.option(
532
596
  "--search-string", default="*", help="Technology type to get information about"
@@ -545,7 +609,7 @@ def tech_templates(ctx, search_string):
545
609
  )
546
610
 
547
611
 
548
- @show.command("tech-template-spec")
612
+ @show_tech_type.command("tech-template-spec")
549
613
  @click.pass_context
550
614
  @click.option(
551
615
  "--search-string", default="*", help="Technology type to get information about"
@@ -564,7 +628,7 @@ def tech_template_spec(ctx, search_string):
564
628
  )
565
629
 
566
630
 
567
- @show.command("gov-action-processes")
631
+ @show_tech_info.command("gov-action-processes")
568
632
  @click.pass_context
569
633
  @click.option("--search-string", default="*", help="Search string")
570
634
  def gov_action_processes(ctx, search_string):
@@ -581,7 +645,29 @@ def gov_action_processes(ctx, search_string):
581
645
  )
582
646
 
583
647
 
584
- @show.command("valid-metadata-values")
648
+ @show_tech_info.command("relationships")
649
+ @click.option(
650
+ "--relationship",
651
+ default="Certification",
652
+ help="Relationship type name to search for.",
653
+ )
654
+ @click.pass_context
655
+ def show_relationships(ctx, relationship):
656
+ """Show the structure of the project starting from a root project"""
657
+ c = ctx.obj
658
+ list_relationships(
659
+ relationship,
660
+ c.view_server,
661
+ c.view_server_url,
662
+ c.userid,
663
+ c.password,
664
+ c.timeout,
665
+ c.jupyter,
666
+ c.width,
667
+ )
668
+
669
+
670
+ @show_tech_info.command("valid-metadata-values")
585
671
  @click.pass_context
586
672
  @click.option("--property", default="projectHealth", help="Metadata property to query")
587
673
  @click.option("--type-name", default="Project", help="Metadata type to query")
@@ -601,16 +687,54 @@ def valid_metadata_values(ctx, property, type_name):
601
687
  )
602
688
 
603
689
 
604
- #
605
- # tech Users: Tell
606
- #
690
+ @show_elements.command("elements")
691
+ @click.pass_context
692
+ @click.option("--om_type", default="Organization", help="Metadata type to query")
693
+ def list_element_info(ctx, om_type):
694
+ """Display the valid metadata values for a property and type"""
695
+ c = ctx.obj
696
+ list_elements(
697
+ om_type,
698
+ c.view_server,
699
+ c.view_server_url,
700
+ c.userid,
701
+ c.password,
702
+ c.jupyter,
703
+ c.width,
704
+ )
607
705
 
608
706
 
609
- @tech.group("tell")
707
+ @show_tech_info.command("processes")
610
708
  @click.pass_context
611
- def tell(ctx):
612
- """Perform actions an Egeria Objects"""
613
- pass
709
+ def list_element_info(ctx):
710
+ """Display the valid metadata values for a property and type"""
711
+ c = ctx.obj
712
+ list_elements(
713
+ "GovernanceActionProcess",
714
+ c.view_server,
715
+ c.view_server_url,
716
+ c.userid,
717
+ c.password,
718
+ c.jupyter,
719
+ c.width,
720
+ )
721
+
722
+
723
+ @show_elements.command("get-elements")
724
+ @click.pass_context
725
+ @click.option("--om_type", default="Project", help="Metadata type to query")
726
+ def get_element_info(ctx, om_type):
727
+ """Display the elements for an Open Metadata Type"""
728
+ c = ctx.obj
729
+ display_elements(
730
+ om_type,
731
+ c.view_server,
732
+ c.view_server_url,
733
+ c.userid,
734
+ c.password,
735
+ c.jupyter,
736
+ c.width,
737
+ )
614
738
 
615
739
 
616
740
  #
@@ -625,14 +749,21 @@ def cat(ctx):
625
749
  pass
626
750
 
627
751
 
628
- @cat.group("show")
752
+ @cat.group("show_cat")
629
753
  @click.pass_context
630
- def show(ctx):
754
+ def show_cat(ctx):
631
755
  """Display an Egeria Object"""
632
756
  pass
633
757
 
634
758
 
635
- @show.command("tech-types")
759
+ @show_cat.group("info")
760
+ @click.pass_context
761
+ def show_cat_info(ctx):
762
+ """Group of commands to show information about various Egeria objects"""
763
+ pass
764
+
765
+
766
+ @show_cat_info.command("tech-types")
636
767
  @click.option("--tech_type", default="*", help="Tech type to search for")
637
768
  @click.pass_context
638
769
  def show_tech_types(ctx, tech_type):
@@ -643,7 +774,14 @@ def show_tech_types(ctx, tech_type):
643
774
  )
644
775
 
645
776
 
646
- @show.command("tech-type-elements")
777
+ @show_cat.group("assets")
778
+ @click.pass_context
779
+ def asset_group(ctx):
780
+ """Show assets known to Egerias"""
781
+ pass
782
+
783
+
784
+ @asset_group.command("tech-type-elements")
647
785
  @click.option(
648
786
  "--tech_type",
649
787
  default="PostgreSQL Server",
@@ -656,79 +794,207 @@ def show_tech_type_elements(ctx, tech_type):
656
794
  tech_viewer(tech_type, c.view_server, c.view_server_url, c.userid, c.password)
657
795
 
658
796
 
659
- @show.command("tech-type-templates")
660
- @click.option(
661
- "--tech-type",
662
- default="PostgreSQL Server",
663
- help="Specific tech type to get elements for",
664
- )
797
+ @asset_group.command("assets")
798
+ @click.argument("search-string")
665
799
  @click.pass_context
666
- def show_tech_type_templates(ctx, tech_type):
667
- """List technology type templates"""
668
- c = ctx.obj
669
- template_viewer(
670
- tech_type,
671
- c.view_server,
672
- c.view_server_url,
673
- c.userid,
674
- c.password,
675
- c.jupyter,
676
- c.width,
677
- )
800
+ def show_assets(ctx, search_string):
801
+ """Find and display assets
678
802
 
803
+ Usage: show assets <search-string>
679
804
 
680
- @show.command("certification-types")
681
- @click.option("--search-string", default="CertificationType", help="")
682
- @click.pass_context
683
- def show_certification_types(ctx, search_string):
684
- """Show certification types
685
- - generally stay with the default..
805
+ search-string must be greater than four characters.
686
806
  """
687
807
  c = ctx.obj
688
- display_certifications(
808
+ display_assets(
689
809
  search_string,
690
810
  c.view_server,
691
811
  c.view_server_url,
692
812
  c.userid,
693
813
  c.password,
694
- c.timeout,
814
+ 60,
695
815
  c.jupyter,
696
816
  c.width,
697
817
  )
698
818
 
699
819
 
700
- @show.command("project-structure")
701
- @click.option(
702
- "--project",
703
- default="Clinical Trials Management",
704
- help="Enter the root project to start from",
705
- )
820
+ @asset_group.command("asset-graph")
821
+ @click.argument("asset_guid", nargs=1)
706
822
  @click.pass_context
707
- def show_project_structure(ctx, project):
708
- """Show the organization structure of the project starting from a root project"""
823
+ def show_asset_graph(ctx, asset_guid):
824
+ """Display a tree graph of information about an asset
825
+
826
+ Usage: show asset-graph <asset-guid>
827
+
828
+ asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
829
+
830
+ """
709
831
  c = ctx.obj
710
- project_structure_viewer(
711
- project,
832
+ asset_viewer(
833
+ asset_guid,
712
834
  c.view_server,
713
835
  c.view_server_url,
714
836
  c.userid,
715
837
  c.password,
716
838
  c.jupyter,
717
839
  c.width,
718
- c.timeout,
719
840
  )
720
841
 
721
842
 
722
- @show.command("project-dependencies")
723
- @click.option(
724
- "--project",
725
- default="Clinical Trials Management",
726
- help="Enter the root project to start from",
727
- )
843
+ @show_cat.group("glossary")
728
844
  @click.pass_context
729
- def show_project_dependencies(ctx, project):
730
- """Show the dependencies of a project starting from a root project"""
731
- c = ctx.obj
845
+ def glossary_group(ctx):
846
+ """Show glossary information"""
847
+ pass
848
+
849
+
850
+ @glossary_group.command("glossary-terms")
851
+ @click.option(
852
+ "--search-string",
853
+ default="*",
854
+ help="List glossary terms similar to search string - minimum of 4 characters",
855
+ )
856
+ @click.option(
857
+ "--glossary-guid",
858
+ default=None,
859
+ help="Optionally restrict search to glossary with the specified guid",
860
+ )
861
+ @click.option(
862
+ "--glossary-name",
863
+ default="*",
864
+ help="Optionally restrict search to a specific named glossary",
865
+ )
866
+ @click.pass_context
867
+ def show_terms(ctx, search_string, glossary_guid, glossary_name):
868
+ """Find and display glossary terms"""
869
+ c = ctx.obj
870
+ display_glossary_terms(
871
+ search_string,
872
+ glossary_guid,
873
+ glossary_name,
874
+ c.view_server,
875
+ c.view_server_url,
876
+ c.userid,
877
+ c.password,
878
+ c.jupyter,
879
+ c.width,
880
+ )
881
+
882
+
883
+ @glossary_group.command("glossaries")
884
+ @click.option("--search_string", default="*", help="Name to search for glossaries")
885
+ @click.pass_context
886
+ def glossaries(ctx, search_string):
887
+ """Display a tree graph of information about an asset"""
888
+ c = ctx.obj
889
+ display_glossaries(
890
+ search_string,
891
+ c.view_server,
892
+ c.view_server_url,
893
+ c.userid,
894
+ c.password,
895
+ c.jupyter,
896
+ c.width,
897
+ )
898
+
899
+
900
+ @show_cat_info.command("collection")
901
+ @click.option(
902
+ "--root_collection",
903
+ default="Root Sustainability Collection",
904
+ help="View of tree of collections from a given root",
905
+ )
906
+ @click.pass_context
907
+ def show_asset_graph(ctx, root_collection):
908
+ """Display a tree graph of information about an asset"""
909
+ c = ctx.obj
910
+ collection_viewer(
911
+ root_collection,
912
+ c.view_server,
913
+ c.view_server_url,
914
+ c.userid,
915
+ c.password,
916
+ c.jupyter,
917
+ c.width,
918
+ )
919
+
920
+
921
+ @show_cat.group("projects")
922
+ @click.pass_context
923
+ def show_project_group(ctx):
924
+ """Show project information in Egeria"""
925
+ pass
926
+
927
+
928
+ @show_project_group.command("projects")
929
+ @click.option("--search-string", default="*", help="List Projects by Search String")
930
+ @click.pass_context
931
+ def show_projects(ctx, search_string):
932
+ """Display a list of Egeria projects"""
933
+ c = ctx.obj
934
+ display_project_list(
935
+ search_string,
936
+ c.view_server,
937
+ c.view_server_url,
938
+ c.userid,
939
+ c.password,
940
+ False,
941
+ c.jupyter,
942
+ c.width,
943
+ )
944
+
945
+
946
+ @show_cat_info.command("certification-types")
947
+ @click.option("--search-string", default="CertificationType", help="")
948
+ @click.pass_context
949
+ def show_certification_types(ctx, search_string):
950
+ """Show certification types
951
+ - generally stay with the default.
952
+ """
953
+ c = ctx.obj
954
+ display_certifications(
955
+ search_string,
956
+ c.view_server,
957
+ c.view_server_url,
958
+ c.userid,
959
+ c.password,
960
+ c.timeout,
961
+ c.jupyter,
962
+ c.width,
963
+ )
964
+
965
+
966
+ @show_project_group.command("project-structure")
967
+ @click.option(
968
+ "--project",
969
+ default="Clinical Trials Management",
970
+ help="Enter the root project to start from",
971
+ )
972
+ @click.pass_context
973
+ def show_project_structure(ctx, project):
974
+ """Show the organization structure of the project starting from a root project"""
975
+ c = ctx.obj
976
+ project_structure_viewer(
977
+ project,
978
+ c.view_server,
979
+ c.view_server_url,
980
+ c.userid,
981
+ c.password,
982
+ c.jupyter,
983
+ c.width,
984
+ c.timeout,
985
+ )
986
+
987
+
988
+ @show_project_group.command("project-dependencies")
989
+ @click.option(
990
+ "--project",
991
+ default="Clinical Trials Management",
992
+ help="Enter the root project to start from",
993
+ )
994
+ @click.pass_context
995
+ def show_project_dependencies(ctx, project):
996
+ """Show the dependencies of a project starting from a root project"""
997
+ c = ctx.obj
732
998
  project_dependency_viewer(
733
999
  project,
734
1000
  c.view_server,
@@ -741,18 +1007,176 @@ def show_project_dependencies(ctx, project):
741
1007
  )
742
1008
 
743
1009
 
744
- @show.command("relationships")
1010
+ @show_cat_info.command("to-dos")
1011
+ @click.option("--search-string", default="*", help="View the list of To-Do items")
745
1012
  @click.option(
746
- "--relationship",
747
- default="Certification",
748
- help="Relationship type name to search for.",
1013
+ "--status",
1014
+ type=click.Choice(
1015
+ ["OPEN", "IN_PROGRESS", "WAITING", "COMPLETE", "ABANDONED", "None"],
1016
+ case_sensitive=False,
1017
+ ),
1018
+ help="Enter an optional status filter",
1019
+ required=False,
1020
+ default="NONE",
749
1021
  )
750
1022
  @click.pass_context
751
- def show_relationships(ctx, relationship):
752
- """Show the structure of the project starting from a root project"""
1023
+ def show_todos(ctx, search_string, status):
1024
+ """Display a tree graph of information about an asset"""
753
1025
  c = ctx.obj
754
- list_relationships(
755
- relationship,
1026
+ list_todos(
1027
+ search_string,
1028
+ status,
1029
+ c.view_server,
1030
+ c.view_server_url,
1031
+ c.userid,
1032
+ c.password,
1033
+ c.jupyter,
1034
+ c.width,
1035
+ )
1036
+
1037
+
1038
+ @show_cat_info.command("user-ids")
1039
+ @click.pass_context
1040
+ def show_todos(ctx):
1041
+ """Display a tree graph of information about an asset"""
1042
+ c = ctx.obj
1043
+ list_user_ids(
1044
+ c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
1045
+ )
1046
+
1047
+
1048
+ @show_cat.group("deployed-data")
1049
+ @click.pass_context
1050
+ def deployed_data(ctx):
1051
+ """Show deployed data resources known to Egeria"""
1052
+ pass
1053
+
1054
+
1055
+ @deployed_data.command("deployed-servers")
1056
+ @click.option(
1057
+ "--search-string",
1058
+ default="*",
1059
+ help="Filter deployed for deployed implementation type by search string",
1060
+ )
1061
+ @click.pass_context
1062
+ def show_deployed_servers(ctx, search_string):
1063
+ c = ctx.obj
1064
+ display_servers_by_dep_imp(
1065
+ search_string,
1066
+ c.view_server,
1067
+ c.view_server_url,
1068
+ c.userid,
1069
+ c.password,
1070
+ c.jupyter,
1071
+ c.width,
1072
+ )
1073
+
1074
+
1075
+ @deployed_data.command("deployed-schemas")
1076
+ @click.option("--catalog", default="*", help="What database or catalog to search")
1077
+ @click.pass_context
1078
+ def deployed_schemas(ctx, catalog):
1079
+ """Display a tree graph of information about an asset"""
1080
+ c = ctx.obj
1081
+ list_deployed_database_schemas(
1082
+ catalog,
1083
+ c.view_server,
1084
+ c.view_server_url,
1085
+ c.userid,
1086
+ c.password,
1087
+ c.jupyter,
1088
+ c.width,
1089
+ )
1090
+
1091
+
1092
+ @deployed_data.command("catalogs")
1093
+ @click.option("--search_server", default="*", help="Server to search for catalogs")
1094
+ @click.pass_context
1095
+ def list_catalogs(ctx, search_server):
1096
+ """Display a tree graph of information about an asset"""
1097
+ c = ctx.obj
1098
+ list_deployed_catalogs(
1099
+ search_server,
1100
+ c.view_server,
1101
+ c.view_server_url,
1102
+ c.userid,
1103
+ c.password,
1104
+ c.jupyter,
1105
+ c.width,
1106
+ )
1107
+
1108
+
1109
+ @deployed_data.command("databases")
1110
+ @click.pass_context
1111
+ def list_databases(ctx):
1112
+ """Display a tree graph of information about an asset"""
1113
+ c = ctx.obj
1114
+ list_deployed_databases(
1115
+ c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width
1116
+ )
1117
+
1118
+
1119
+ #
1120
+ # Tell-cat
1121
+ #
1122
+
1123
+
1124
+ @cat.group("tell-cat")
1125
+ @click.pass_context
1126
+ def tell_cat(ctx):
1127
+ """Perform actions an Egeria Objects"""
1128
+ pass
1129
+
1130
+
1131
+ @tell_cat.group("glossary")
1132
+ @click.pass_context
1133
+ def tell_glossary(ctx):
1134
+ """Perform glossary actions"""
1135
+ pass
1136
+
1137
+
1138
+ tell_glossary.add_command(create_glossary)
1139
+ tell_glossary.add_command(delete_glossary)
1140
+ tell_glossary.add_command(create_term)
1141
+ tell_glossary.add_command(import_terms)
1142
+ tell_glossary.add_command(export_terms)
1143
+
1144
+
1145
+ @tell_cat.group("todo")
1146
+ @click.pass_context
1147
+ def tell_cat_todo(ctx):
1148
+ """Perform todo actions"""
1149
+ pass
1150
+
1151
+
1152
+ tell_cat_todo.add_command(mark_todo_complete)
1153
+ tell_cat_todo.add_command(reassign_todo)
1154
+ tell_cat_todo.add_command(delete_todo)
1155
+ tell_cat_todo.add_command(create_todo)
1156
+ tell_cat_todo.add_command(delete_term)
1157
+
1158
+
1159
+ @show_cat_info.command("tech-types")
1160
+ @click.option("--tech_type", default="*", help="Tech type to search for")
1161
+ @click.pass_context
1162
+ def show_tech_types(ctx, tech_type):
1163
+ """List deployed technology types"""
1164
+ c = ctx.obj
1165
+ display_tech_types(
1166
+ tech_type, c.view_server, c.view_server_url, c.userid, c.password
1167
+ )
1168
+
1169
+
1170
+ @show_cat_info.command("certification-types")
1171
+ @click.option("--search-string", default="CertificationType", help="")
1172
+ @click.pass_context
1173
+ def show_certification_types(ctx, search_string):
1174
+ """Show certification types
1175
+ - generally stay with the default..
1176
+ """
1177
+ c = ctx.obj
1178
+ display_certifications(
1179
+ search_string,
756
1180
  c.view_server,
757
1181
  c.view_server_url,
758
1182
  c.userid,
@@ -763,10 +1187,54 @@ def show_relationships(ctx, relationship):
763
1187
  )
764
1188
 
765
1189
 
766
- @show.command("assets")
1190
+ @show_project_group.command("project-structure")
1191
+ @click.option(
1192
+ "--project",
1193
+ default="Clinical Trials Management",
1194
+ help="Enter the root project to start from",
1195
+ )
1196
+ @click.pass_context
1197
+ def show_project_structure(ctx, project):
1198
+ """Show the organization structure of the project starting from a root project"""
1199
+ c = ctx.obj
1200
+ project_structure_viewer(
1201
+ project,
1202
+ c.view_server,
1203
+ c.view_server_url,
1204
+ c.userid,
1205
+ c.password,
1206
+ c.jupyter,
1207
+ c.width,
1208
+ c.timeout,
1209
+ )
1210
+
1211
+
1212
+ @show_project_group.command("project-dependencies")
1213
+ @click.option(
1214
+ "--project",
1215
+ default="Clinical Trials Management",
1216
+ help="Enter the root project to start from",
1217
+ )
1218
+ @click.pass_context
1219
+ def show_project_dependencies(ctx, project):
1220
+ """Show the dependencies of a project starting from a root project"""
1221
+ c = ctx.obj
1222
+ project_dependency_viewer(
1223
+ project,
1224
+ c.view_server,
1225
+ c.view_server_url,
1226
+ c.userid,
1227
+ c.password,
1228
+ c.jupyter,
1229
+ c.width,
1230
+ c.timeout,
1231
+ )
1232
+
1233
+
1234
+ @asset_group.command("assets")
767
1235
  @click.argument("search-string")
768
1236
  @click.pass_context
769
- def show_assets(ctx, search_string):
1237
+ def show_assets_group(ctx, search_string):
770
1238
  """Find and display assets
771
1239
 
772
1240
  Usage: show assets <search-string>
@@ -786,7 +1254,7 @@ def show_assets(ctx, search_string):
786
1254
  )
787
1255
 
788
1256
 
789
- @show.command("glossary-terms")
1257
+ @glossary_group.command("glossary-terms")
790
1258
  @click.option(
791
1259
  "--search-string",
792
1260
  default="*",
@@ -819,7 +1287,7 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name):
819
1287
  )
820
1288
 
821
1289
 
822
- @show.command("asset-graph")
1290
+ @asset_group.command("asset-graph")
823
1291
  @click.argument("asset_guid", nargs=1)
824
1292
  @click.pass_context
825
1293
  def show_asset_graph(ctx, asset_guid):
@@ -842,7 +1310,20 @@ def show_asset_graph(ctx, asset_guid):
842
1310
  )
843
1311
 
844
1312
 
845
- @show.command("collection")
1313
+ @asset_group.command("tech-type-elements")
1314
+ @click.option(
1315
+ "--tech_type",
1316
+ default="PostgreSQL Server",
1317
+ help="Specific tech type to get elements for",
1318
+ )
1319
+ @click.pass_context
1320
+ def show_tech_type_elements(ctx, tech_type):
1321
+ """List technology type elements"""
1322
+ c = ctx.obj
1323
+ tech_viewer(tech_type, c.view_server, c.view_server_url, c.userid, c.password)
1324
+
1325
+
1326
+ @show_cat_info.command("collection")
846
1327
  @click.option(
847
1328
  "--root_collection",
848
1329
  default="Root Sustainability Collection",
@@ -863,7 +1344,7 @@ def show_asset_graph(ctx, root_collection):
863
1344
  )
864
1345
 
865
1346
 
866
- @show.command("projects")
1347
+ @show_project_group.command("projects")
867
1348
  @click.option("--search-string", default="*", help="List Projects by Search String")
868
1349
  @click.pass_context
869
1350
  def show_projects(ctx, search_string):
@@ -881,7 +1362,7 @@ def show_projects(ctx, search_string):
881
1362
  )
882
1363
 
883
1364
 
884
- @show.command("to-dos")
1365
+ @show_cat_info.command("to-dos")
885
1366
  @click.option("--search-string", default="*", help="View the list of To-Do items")
886
1367
  @click.option(
887
1368
  "--status",
@@ -909,7 +1390,7 @@ def show_todos(ctx, search_string, status):
909
1390
  )
910
1391
 
911
1392
 
912
- @show.command("user-ids")
1393
+ @show_cat_info.command("user-ids")
913
1394
  @click.pass_context
914
1395
  def show_todos(ctx):
915
1396
  """Display a tree graph of information about an asset"""
@@ -919,7 +1400,7 @@ def show_todos(ctx):
919
1400
  )
920
1401
 
921
1402
 
922
- @show.command("archives")
1403
+ @show_server.command("archives")
923
1404
  @click.pass_context
924
1405
  def archives(ctx):
925
1406
  """Display a tree graph of information about an asset"""
@@ -935,7 +1416,7 @@ def archives(ctx):
935
1416
  )
936
1417
 
937
1418
 
938
- @show.command("deployed-servers")
1419
+ @deployed_data.command("deployed-servers")
939
1420
  @click.option(
940
1421
  "--search-string",
941
1422
  default="*",
@@ -955,7 +1436,7 @@ def show_deployed_servers(ctx, search_string):
955
1436
  )
956
1437
 
957
1438
 
958
- @show.command("deployed-schemas")
1439
+ @deployed_data.command("deployed-schemas")
959
1440
  @click.option(
960
1441
  "--search_catalog", default="*", help="What database or catalog to search"
961
1442
  )
@@ -974,7 +1455,7 @@ def deployed_schemas(ctx, search_catalog):
974
1455
  )
975
1456
 
976
1457
 
977
- @show.command("catalogs")
1458
+ @deployed_data.command("catalogs")
978
1459
  @click.option("--search_server", default="*", help="Server to search for catalogs")
979
1460
  @click.pass_context
980
1461
  def catalogs(ctx, search_server):
@@ -991,7 +1472,7 @@ def catalogs(ctx, search_server):
991
1472
  )
992
1473
 
993
1474
 
994
- @show.command("databases")
1475
+ @deployed_data.command("databases")
995
1476
  @click.pass_context
996
1477
  def databases(ctx):
997
1478
  """Display a tree graph of information about an asset"""
@@ -1001,7 +1482,7 @@ def databases(ctx):
1001
1482
  )
1002
1483
 
1003
1484
 
1004
- @show.command("glossaries")
1485
+ @glossary_group.command("glossaries")
1005
1486
  @click.option("--search_string", default="*", help="Name to search for glossaries")
1006
1487
  @click.pass_context
1007
1488
  def glossaries(ctx, search_string):
@@ -1023,46 +1504,46 @@ def glossaries(ctx, search_string):
1023
1504
  #
1024
1505
 
1025
1506
 
1026
- @cat.group("tell")
1507
+ @cat.group("tell-cat")
1027
1508
  @click.pass_context
1028
- def tell(ctx):
1509
+ def tell_cat(ctx):
1029
1510
  """Perform actions an Egeria Objects"""
1030
1511
  pass
1031
1512
 
1032
1513
 
1033
- tell.add_command(create_glossary)
1034
- tell.add_command(delete_glossary)
1035
- tell.add_command(create_term)
1036
- tell.add_command(mark_todo_complete)
1037
- tell.add_command(reassign_todo)
1038
- tell.add_command(delete_todo)
1039
- tell.add_command(create_todo)
1040
- tell.add_command(import_terms)
1041
- tell.add_command(delete_term)
1042
- tell.add_command(export_terms)
1043
-
1044
-
1045
- @tell.group("survey")
1046
- @click.pass_context
1047
- def survey(ctx):
1048
- """Refresh the specified integration connector or ALL connectors if not specified"""
1049
- c = ctx.obj
1050
- pass
1051
-
1052
-
1053
- @survey.command("survey-uc-server")
1054
- @click.pass_context
1055
- @click.option(
1056
- "--uc_endpoint",
1057
- default="https://localhost:8080",
1058
- help="Endpoint of the Unity Catalog Server to Survey",
1059
- )
1060
- def survey_uc_server(ctx, uc_endpoint):
1061
- """Survey the Unity Catalog server at the given endpoint"""
1062
- c = ctx.obj
1063
- pass
1064
- # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
1065
- # c.userid, c.password)
1514
+ tell_cat.add_command(create_glossary)
1515
+ tell_cat.add_command(delete_glossary)
1516
+ tell_cat.add_command(create_term)
1517
+ tell_cat.add_command(mark_todo_complete)
1518
+ tell_cat.add_command(reassign_todo)
1519
+ tell_cat.add_command(delete_todo)
1520
+ tell_cat.add_command(create_todo)
1521
+ tell_cat.add_command(import_terms)
1522
+ tell_cat.add_command(delete_term)
1523
+ tell_cat.add_command(export_terms)
1524
+
1525
+
1526
+ # @tell_cat.group("survey")
1527
+ # @click.pass_context
1528
+ # def survey(ctx):
1529
+ # """Refresh the specified integration connector or ALL connectors if not specified"""
1530
+ # c = ctx.obj
1531
+ # pass
1532
+ #
1533
+ #
1534
+ # @survey.command("survey-uc-server")
1535
+ # @click.pass_context
1536
+ # @click.option(
1537
+ # "--uc_endpoint",
1538
+ # default="https://localhost:8080",
1539
+ # help="Endpoint of the Unity Catalog Server to Survey",
1540
+ # )
1541
+ # def survey_uc_server(ctx, uc_endpoint):
1542
+ # """Survey the Unity Catalog server at the given endpoint"""
1543
+ # c = ctx.obj
1544
+ # pass
1545
+ # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
1546
+ # c.userid, c.password)
1066
1547
 
1067
1548
 
1068
1549
  #
@@ -1077,14 +1558,14 @@ def ops(ctx):
1077
1558
  pass
1078
1559
 
1079
1560
 
1080
- @ops.group("show")
1561
+ @ops.group("show-ops")
1081
1562
  @click.pass_context
1082
- def show(ctx):
1563
+ def show_ops(ctx):
1083
1564
  """Display an Egeria Object"""
1084
1565
  pass
1085
1566
 
1086
1567
 
1087
- @show.group("platforms")
1568
+ @show_ops.group("platforms")
1088
1569
  @click.pass_context
1089
1570
  def show_platform(ctx):
1090
1571
  """Group of commands to show information about Egeria platforms"""
@@ -1101,7 +1582,7 @@ def show_platform_status(ctx):
1101
1582
  )
1102
1583
 
1103
1584
 
1104
- @show.group("servers")
1585
+ @show_ops.group("servers")
1105
1586
  @click.pass_context
1106
1587
  def show_server(ctx):
1107
1588
  """Group of commands to show information about Egeria servers"""
@@ -1145,7 +1626,7 @@ def show_startup_status(ctx):
1145
1626
  )
1146
1627
 
1147
1628
 
1148
- @show.group("engines")
1629
+ @show_ops.group("engines")
1149
1630
  @click.pass_context
1150
1631
  def engine_host(ctx):
1151
1632
  """Group of commands to show information about Egeria engines"""
@@ -1229,7 +1710,7 @@ def eng_activity_status(ctx, rowlimit: int, list: bool, compressed: bool):
1229
1710
  )
1230
1711
 
1231
1712
 
1232
- @show.group("integrations")
1713
+ @show_ops.group("integrations")
1233
1714
  @click.pass_context
1234
1715
  def integrations(ctx):
1235
1716
  """Group of commands to show information about Egeria integrations"""
@@ -1289,21 +1770,21 @@ def integrations_status(ctx, connector):
1289
1770
  #
1290
1771
 
1291
1772
 
1292
- @ops.group("tell")
1773
+ @ops.group("tell-ops")
1293
1774
  @click.pass_context
1294
- def tell(ctx):
1775
+ def tell_ops(ctx):
1295
1776
  """Perform actions an Egeria Objects"""
1296
1777
  pass
1297
1778
 
1298
1779
 
1299
- @tell.group("integration-daemon")
1780
+ @tell_ops.group("integration-daemon")
1300
1781
  @click.pass_context
1301
- def integration_daemon(ctx):
1782
+ def tell_integration_daemon(ctx):
1302
1783
  """Group of commands to an integration-daemon"""
1303
1784
  pass
1304
1785
 
1305
1786
 
1306
- @integration_daemon.command("refresh")
1787
+ @tell_integration_daemon.command("refresh")
1307
1788
  @click.pass_context
1308
1789
  @click.option(
1309
1790
  "--connector",
@@ -1323,7 +1804,7 @@ def refresh_connectors(ctx, server, connector):
1323
1804
  )
1324
1805
 
1325
1806
 
1326
- @integration_daemon.command("restart")
1807
+ @tell_integration_daemon.command("restart")
1327
1808
  @click.pass_context
1328
1809
  @click.option(
1329
1810
  "--connector",
@@ -1343,14 +1824,14 @@ def restart_connectors(ctx, server, connector):
1343
1824
  )
1344
1825
 
1345
1826
 
1346
- integration_daemon.add_command(add_catalog_target)
1347
- integration_daemon.add_command(remove_catalog_target)
1348
- integration_daemon.add_command(update_catalog_target)
1349
- integration_daemon.add_command(stop_server)
1350
- integration_daemon.add_command(start_server)
1827
+ tell_integration_daemon.add_command(add_catalog_target)
1828
+ tell_integration_daemon.add_command(remove_catalog_target)
1829
+ tell_integration_daemon.add_command(update_catalog_target)
1830
+ tell_integration_daemon.add_command(stop_server)
1831
+ tell_integration_daemon.add_command(start_server)
1351
1832
 
1352
1833
 
1353
- @tell.group("engine-host")
1834
+ @tell_ops.group("engine-host")
1354
1835
  @click.pass_context
1355
1836
  def engine_host(ctx):
1356
1837
  """Group of commands to an engine-host"""
@@ -1362,7 +1843,7 @@ engine_host.add_command(stop_server)
1362
1843
  engine_host.add_command(refresh_gov_eng_config)
1363
1844
 
1364
1845
 
1365
- @tell.group("repository")
1846
+ @tell_ops.group("repository")
1366
1847
  @click.pass_context
1367
1848
  def repository(ctx):
1368
1849
  """Group of commands to a repository"""