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.
- pyegeria/.DS_Store +0 -0
- pyegeria/commands/.DS_Store +0 -0
- pyegeria/commands/cat/glossary_actions.py +16 -12
- pyegeria/commands/cli/egeria.py +689 -208
- pyegeria/commands/cli/egeria_cat.py +105 -116
- pyegeria/commands/cli/egeria_ops.py +19 -2
- pyegeria/commands/cli/egeria_tech.py +64 -22
- pyegeria/commands/doc/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/basic-glossary-tui.md +52 -33
- pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/hey_egeria: overview.md +164 -0
- 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
- 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
- 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
- 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
- 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
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- pyegeria/glossary_manager_omvs.py +85 -134
- {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/RECORD +62 -53
- {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/entry_points.txt +4 -3
- pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.02.16@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.03.24@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.06.32@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.29.18@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.34.41@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.51.57@2x.png +0 -0
- pyegeria/commands/doc/glossary/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- pyegeria/commands/doc/glossary/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- pyegeria/commands/doc/glossary/out-terms-export 2024-11-06 at 21.03.24.png +0 -0
- pyegeria/commands/doc/glossary/out_show-all-terms 2024-11-05 at 19.43.29@2x.png +0 -0
- pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 17.07.21@2x.png +0 -0
- pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 19.21.50@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-create-glossary 2024-11-05 at 19.18.19@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png +0 -0
- pyegeria/commands/doc/glossary/tui-display-terms-for-glossary 2024-11-06 at 20.49.51.png +0 -0
- pyegeria/commands/doc/glossary/tui-export-glossary 2024-11-06 at 21.02.16.png +0 -0
- pyegeria/commands/doc/glossary/tui-list-all-terms 2024-11-06 at 16.19.45@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-list-terms-from-glossary 2024-11-06 at 16.23.54.png +0 -0
- pyegeria/commands/doc/glossary/tui-load-terms 2024-11-05 at 20.44.20@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-show glossaries 2024-11-05 at 19.22.49@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-show-glossary-terms-sustainability 2024-11-05 at 19.46.13@2x.png +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /pyegeria/commands/{cat → ops}/list_archives.py +0 -0
- /pyegeria/commands/{cat → tech}/get_tech_type_template.py +0 -0
- /pyegeria/commands/{cat → tech}/list_relationships.py +0 -0
- {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/WHEEL +0 -0
@@ -17,7 +17,6 @@ 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
|
21
20
|
from pyegeria.commands.cat.glossary_actions import (
|
22
21
|
create_glossary,
|
23
22
|
delete_glossary,
|
@@ -28,7 +27,6 @@ from pyegeria.commands.cat.glossary_actions import (
|
|
28
27
|
)
|
29
28
|
from pyegeria.commands.cat.list_servers_deployed_imp import display_servers_by_dep_imp
|
30
29
|
from pyegeria.commands.cat.list_glossaries import display_glossaries
|
31
|
-
from pyegeria.commands.cat.list_archives import display_archive_list
|
32
30
|
from pyegeria.commands.cat.list_assets import display_assets
|
33
31
|
from pyegeria.commands.cat.list_cert_types import display_certifications
|
34
32
|
from pyegeria.commands.cat.list_deployed_catalogs import list_deployed_catalogs
|
@@ -38,7 +36,6 @@ from pyegeria.commands.cat.list_deployed_database_schemas import (
|
|
38
36
|
from pyegeria.commands.cat.list_deployed_databases import list_deployed_databases
|
39
37
|
from pyegeria.commands.cat.list_terms import display_glossary_terms
|
40
38
|
from pyegeria.commands.cat.list_projects import display_project_list
|
41
|
-
from pyegeria.commands.cat.list_relationships import list_relationships
|
42
39
|
from pyegeria.commands.cat.list_tech_types import display_tech_types
|
43
40
|
from pyegeria.commands.cat.list_todos import display_to_dos as list_todos
|
44
41
|
from pyegeria.commands.cat.list_user_ids import list_user_ids
|
@@ -211,11 +208,18 @@ def cli(
|
|
211
208
|
|
212
209
|
@cli.group("show")
|
213
210
|
def show():
|
214
|
-
"""Display
|
211
|
+
"""Display Egeria Objects"""
|
215
212
|
pass
|
216
213
|
|
217
214
|
|
218
|
-
@show.
|
215
|
+
@show.group("info")
|
216
|
+
@click.pass_context
|
217
|
+
def info(ctx):
|
218
|
+
"""Group of commands to show information about various Egeria objects"""
|
219
|
+
pass
|
220
|
+
|
221
|
+
|
222
|
+
@info.command("tech-types")
|
219
223
|
@click.option("--tech_type", default="*", help="Tech type to search for")
|
220
224
|
@click.pass_context
|
221
225
|
def show_tech_types(ctx, tech_type):
|
@@ -226,7 +230,14 @@ def show_tech_types(ctx, tech_type):
|
|
226
230
|
)
|
227
231
|
|
228
232
|
|
229
|
-
@show.
|
233
|
+
@show.group("assets")
|
234
|
+
@click.pass_context
|
235
|
+
def asset_group(ctx):
|
236
|
+
"""Show assets known to Egerias"""
|
237
|
+
pass
|
238
|
+
|
239
|
+
|
240
|
+
@asset_group.command("tech-type-elements")
|
230
241
|
@click.option(
|
231
242
|
"--tech_type",
|
232
243
|
default="PostgreSQL Server",
|
@@ -239,51 +250,60 @@ def show_tech_type_elements(ctx, tech_type):
|
|
239
250
|
tech_viewer(tech_type, c.view_server, c.view_server_url, c.userid, c.password)
|
240
251
|
|
241
252
|
|
242
|
-
@
|
243
|
-
@click.
|
244
|
-
"--tech-type",
|
245
|
-
default="PostgreSQL Server",
|
246
|
-
help="Specific tech type to get elements for",
|
247
|
-
)
|
253
|
+
@asset_group.command("assets")
|
254
|
+
@click.argument("search-string")
|
248
255
|
@click.pass_context
|
249
|
-
def
|
250
|
-
"""
|
256
|
+
def show_assets(ctx, search_string):
|
257
|
+
"""Find and display assets
|
258
|
+
|
259
|
+
Usage: show assets <search-string>
|
260
|
+
|
261
|
+
search-string must be greater than four characters.
|
262
|
+
"""
|
251
263
|
c = ctx.obj
|
252
|
-
|
253
|
-
|
264
|
+
display_assets(
|
265
|
+
search_string,
|
254
266
|
c.view_server,
|
255
267
|
c.view_server_url,
|
256
268
|
c.userid,
|
257
269
|
c.password,
|
270
|
+
60,
|
258
271
|
c.jupyter,
|
259
272
|
c.width,
|
260
273
|
)
|
261
274
|
|
262
275
|
|
263
|
-
@
|
264
|
-
@click.argument("
|
276
|
+
@asset_group.command("asset-graph")
|
277
|
+
@click.argument("asset_guid", nargs=1)
|
265
278
|
@click.pass_context
|
266
|
-
def
|
267
|
-
"""
|
279
|
+
def show_asset_graph(ctx, asset_guid):
|
280
|
+
"""Display a tree graph of information about an asset
|
268
281
|
|
269
|
-
Usage: show
|
282
|
+
Usage: show asset-graph <asset-guid>
|
283
|
+
|
284
|
+
asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
|
270
285
|
|
271
|
-
search-string must be greater than four characters.
|
272
286
|
"""
|
273
287
|
c = ctx.obj
|
274
|
-
|
275
|
-
|
288
|
+
asset_viewer(
|
289
|
+
asset_guid,
|
276
290
|
c.view_server,
|
277
291
|
c.view_server_url,
|
278
292
|
c.userid,
|
279
293
|
c.password,
|
280
|
-
60,
|
281
294
|
c.jupyter,
|
282
295
|
c.width,
|
283
296
|
)
|
284
297
|
|
285
298
|
|
286
|
-
@show.
|
299
|
+
@show.group("glossary")
|
300
|
+
@click.pass_context
|
301
|
+
def glossary_group(ctx):
|
302
|
+
"""Show glossary information"""
|
303
|
+
pass
|
304
|
+
|
305
|
+
|
306
|
+
@glossary_group.command("glossary-terms")
|
287
307
|
@click.option(
|
288
308
|
"--search-string",
|
289
309
|
default="*",
|
@@ -316,20 +336,14 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name):
|
|
316
336
|
)
|
317
337
|
|
318
338
|
|
319
|
-
@
|
320
|
-
@click.
|
339
|
+
@glossary_group.command("glossaries")
|
340
|
+
@click.option("--search_string", default="*", help="Name to search for glossaries")
|
321
341
|
@click.pass_context
|
322
|
-
def
|
323
|
-
"""Display a tree graph of information about an asset
|
324
|
-
|
325
|
-
Usage: show asset-graph <asset-guid>
|
326
|
-
|
327
|
-
asset-guid must be a valid asset guid. These can be found through other commands such as 'show tech-type-elements'
|
328
|
-
|
329
|
-
"""
|
342
|
+
def glossaries(ctx, search_string):
|
343
|
+
"""Display a tree graph of information about an asset"""
|
330
344
|
c = ctx.obj
|
331
|
-
|
332
|
-
|
345
|
+
display_glossaries(
|
346
|
+
search_string,
|
333
347
|
c.view_server,
|
334
348
|
c.view_server_url,
|
335
349
|
c.userid,
|
@@ -339,7 +353,7 @@ def show_asset_graph(ctx, asset_guid):
|
|
339
353
|
)
|
340
354
|
|
341
355
|
|
342
|
-
@
|
356
|
+
@info.command("collection")
|
343
357
|
@click.option(
|
344
358
|
"--root_collection",
|
345
359
|
default="Root Sustainability Collection",
|
@@ -360,7 +374,14 @@ def show_asset_graph(ctx, root_collection):
|
|
360
374
|
)
|
361
375
|
|
362
376
|
|
363
|
-
@show.
|
377
|
+
@show.group("projects")
|
378
|
+
@click.pass_context
|
379
|
+
def projects(ctx):
|
380
|
+
"""Show project information in Egeria"""
|
381
|
+
pass
|
382
|
+
|
383
|
+
|
384
|
+
@projects.command("projects")
|
364
385
|
@click.option("--search-string", default="*", help="List Projects by Search String")
|
365
386
|
@click.pass_context
|
366
387
|
def show_projects(ctx, search_string):
|
@@ -378,7 +399,7 @@ def show_projects(ctx, search_string):
|
|
378
399
|
)
|
379
400
|
|
380
401
|
|
381
|
-
@
|
402
|
+
@info.command("certification-types")
|
382
403
|
@click.option("--search-string", default="CertificationType", help="")
|
383
404
|
@click.pass_context
|
384
405
|
def show_certification_types(ctx, search_string):
|
@@ -398,7 +419,7 @@ def show_certification_types(ctx, search_string):
|
|
398
419
|
)
|
399
420
|
|
400
421
|
|
401
|
-
@
|
422
|
+
@projects.command("project-structure")
|
402
423
|
@click.option(
|
403
424
|
"--project",
|
404
425
|
default="Clinical Trials Management",
|
@@ -420,7 +441,7 @@ def show_project_structure(ctx, project):
|
|
420
441
|
)
|
421
442
|
|
422
443
|
|
423
|
-
@
|
444
|
+
@projects.command("project-dependencies")
|
424
445
|
@click.option(
|
425
446
|
"--project",
|
426
447
|
default="Clinical Trials Management",
|
@@ -442,29 +463,7 @@ def show_project_dependencies(ctx, project):
|
|
442
463
|
)
|
443
464
|
|
444
465
|
|
445
|
-
@
|
446
|
-
@click.option(
|
447
|
-
"--relationship",
|
448
|
-
default="Certification",
|
449
|
-
help="Relationship type name to search for.",
|
450
|
-
)
|
451
|
-
@click.pass_context
|
452
|
-
def show_relationships(ctx, relationship):
|
453
|
-
"""Show the structure of the project starting from a root project"""
|
454
|
-
c = ctx.obj
|
455
|
-
list_relationships(
|
456
|
-
relationship,
|
457
|
-
c.view_server,
|
458
|
-
c.view_server_url,
|
459
|
-
c.userid,
|
460
|
-
c.password,
|
461
|
-
c.timeout,
|
462
|
-
c.jupyter,
|
463
|
-
c.width,
|
464
|
-
)
|
465
|
-
|
466
|
-
|
467
|
-
@show.command("to-dos")
|
466
|
+
@info.command("to-dos")
|
468
467
|
@click.option("--search-string", default="*", help="View the list of To-Do items")
|
469
468
|
@click.option(
|
470
469
|
"--status",
|
@@ -474,7 +473,7 @@ def show_relationships(ctx, relationship):
|
|
474
473
|
),
|
475
474
|
help="Enter an optional status filter",
|
476
475
|
required=False,
|
477
|
-
default=
|
476
|
+
default="NONE",
|
478
477
|
)
|
479
478
|
@click.pass_context
|
480
479
|
def show_todos(ctx, search_string, status):
|
@@ -492,7 +491,7 @@ def show_todos(ctx, search_string, status):
|
|
492
491
|
)
|
493
492
|
|
494
493
|
|
495
|
-
@
|
494
|
+
@info.command("user-ids")
|
496
495
|
@click.pass_context
|
497
496
|
def show_todos(ctx):
|
498
497
|
"""Display a tree graph of information about an asset"""
|
@@ -502,23 +501,14 @@ def show_todos(ctx):
|
|
502
501
|
)
|
503
502
|
|
504
503
|
|
505
|
-
@show.
|
504
|
+
@show.group("deployed-data")
|
506
505
|
@click.pass_context
|
507
|
-
def
|
508
|
-
"""
|
509
|
-
|
510
|
-
display_archive_list(
|
511
|
-
c.view_server,
|
512
|
-
c.view_server_url,
|
513
|
-
c.userid,
|
514
|
-
c.password,
|
515
|
-
False,
|
516
|
-
c.jupyter,
|
517
|
-
c.width,
|
518
|
-
)
|
506
|
+
def deployed_data(ctx):
|
507
|
+
"""Show deployed data resources known to Egeria"""
|
508
|
+
pass
|
519
509
|
|
520
510
|
|
521
|
-
@
|
511
|
+
@deployed_data.command("deployed-servers")
|
522
512
|
@click.option(
|
523
513
|
"--search-string",
|
524
514
|
default="*",
|
@@ -538,7 +528,7 @@ def show_deployed_servers(ctx, search_string):
|
|
538
528
|
)
|
539
529
|
|
540
530
|
|
541
|
-
@
|
531
|
+
@deployed_data.command("deployed-schemas")
|
542
532
|
@click.option("--catalog", default="*", help="What database or catalog to search")
|
543
533
|
@click.pass_context
|
544
534
|
def deployed_schemas(ctx, catalog):
|
@@ -555,7 +545,7 @@ def deployed_schemas(ctx, catalog):
|
|
555
545
|
)
|
556
546
|
|
557
547
|
|
558
|
-
@
|
548
|
+
@deployed_data.command("catalogs")
|
559
549
|
@click.option("--search_server", default="*", help="Server to search for catalogs")
|
560
550
|
@click.pass_context
|
561
551
|
def list_catalogs(ctx, search_server):
|
@@ -572,24 +562,7 @@ def list_catalogs(ctx, search_server):
|
|
572
562
|
)
|
573
563
|
|
574
564
|
|
575
|
-
@
|
576
|
-
@click.option("--search_string", default="*", help="Name to search for glossaries")
|
577
|
-
@click.pass_context
|
578
|
-
def glossaries(ctx, search_string):
|
579
|
-
"""Display a tree graph of information about an asset"""
|
580
|
-
c = ctx.obj
|
581
|
-
display_glossaries(
|
582
|
-
search_string,
|
583
|
-
c.view_server,
|
584
|
-
c.view_server_url,
|
585
|
-
c.userid,
|
586
|
-
c.password,
|
587
|
-
c.jupyter,
|
588
|
-
c.width,
|
589
|
-
)
|
590
|
-
|
591
|
-
|
592
|
-
@show.command("databases")
|
565
|
+
@deployed_data.command("databases")
|
593
566
|
@click.pass_context
|
594
567
|
def list_databases(ctx):
|
595
568
|
"""Display a tree graph of information about an asset"""
|
@@ -611,26 +584,42 @@ def tell(ctx):
|
|
611
584
|
pass
|
612
585
|
|
613
586
|
|
614
|
-
tell.
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
tell.add_command(delete_todo)
|
620
|
-
tell.add_command(create_todo)
|
621
|
-
tell.add_command(delete_term)
|
622
|
-
tell.add_command(import_terms)
|
623
|
-
tell.add_command(export_terms)
|
587
|
+
@tell.group("glossary")
|
588
|
+
@click.pass_context
|
589
|
+
def tell_glossary(ctx):
|
590
|
+
"""Perform glossary actions"""
|
591
|
+
pass
|
624
592
|
|
625
593
|
|
626
|
-
|
594
|
+
tell_glossary.add_command(create_glossary)
|
595
|
+
tell_glossary.add_command(delete_glossary)
|
596
|
+
tell_glossary.add_command(create_term)
|
597
|
+
tell_glossary.add_command(import_terms)
|
598
|
+
tell_glossary.add_command(export_terms)
|
599
|
+
|
600
|
+
|
601
|
+
@tell.group("todo")
|
627
602
|
@click.pass_context
|
628
|
-
def
|
629
|
-
"""
|
630
|
-
c = ctx.obj
|
603
|
+
def tell_todo(ctx):
|
604
|
+
"""Perform todo actions"""
|
631
605
|
pass
|
632
606
|
|
633
607
|
|
608
|
+
tell_todo.add_command(mark_todo_complete)
|
609
|
+
tell_todo.add_command(reassign_todo)
|
610
|
+
tell_todo.add_command(delete_todo)
|
611
|
+
tell_todo.add_command(create_todo)
|
612
|
+
tell_todo.add_command(delete_term)
|
613
|
+
|
614
|
+
|
615
|
+
# @tell.group("survey")
|
616
|
+
# @click.pass_context
|
617
|
+
# def survey(ctx):
|
618
|
+
# """Refresh the specified integration connector or ALL connectors if not specified"""
|
619
|
+
# c = ctx.obj
|
620
|
+
# pass
|
621
|
+
|
622
|
+
|
634
623
|
# @survey.command("survey-uc-server")
|
635
624
|
# @click.pass_context
|
636
625
|
# @click.option(
|
@@ -40,6 +40,7 @@ from pyegeria.commands.ops.monitor_server_status import (
|
|
40
40
|
from pyegeria.commands.ops.refresh_integration_daemon import refresh_connector
|
41
41
|
from pyegeria.commands.ops.restart_integration_daemon import restart_connector
|
42
42
|
from pyegeria.commands.ops.monitor_server_startup import display_startup_status
|
43
|
+
from pyegeria.commands.ops.list_archives import display_archive_list
|
43
44
|
|
44
45
|
|
45
46
|
# class Config(object):
|
@@ -204,12 +205,12 @@ def show(ctx):
|
|
204
205
|
|
205
206
|
@show.group("platforms")
|
206
207
|
@click.pass_context
|
207
|
-
def
|
208
|
+
def show_platforms(ctx):
|
208
209
|
"""Group of commands to show information about Egeria platforms"""
|
209
210
|
pass
|
210
211
|
|
211
212
|
|
212
|
-
@
|
213
|
+
@show_platforms.command("status")
|
213
214
|
@click.pass_context
|
214
215
|
def show_platform_status(ctx):
|
215
216
|
"""Display a live status view of known platforms"""
|
@@ -263,6 +264,22 @@ def show_startup_status(ctx):
|
|
263
264
|
)
|
264
265
|
|
265
266
|
|
267
|
+
@show_server.command("archives")
|
268
|
+
@click.pass_context
|
269
|
+
def list_archives(ctx):
|
270
|
+
"""Display a tree graph of information about an asset"""
|
271
|
+
c = ctx.obj
|
272
|
+
display_archive_list(
|
273
|
+
c.view_server,
|
274
|
+
c.view_server_url,
|
275
|
+
c.userid,
|
276
|
+
c.password,
|
277
|
+
False,
|
278
|
+
c.jupyter,
|
279
|
+
c.width,
|
280
|
+
)
|
281
|
+
|
282
|
+
|
266
283
|
@show.group("engines")
|
267
284
|
@click.pass_context
|
268
285
|
def engine_host(ctx):
|
@@ -21,7 +21,7 @@ from pyegeria.commands.tech.list_registered_services import display_registered_s
|
|
21
21
|
from pyegeria.commands.tech.list_relationship_types import display_relationship_types
|
22
22
|
from pyegeria.commands.tech.list_tech_templates import display_templates_spec
|
23
23
|
from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_values
|
24
|
-
from pyegeria.commands.
|
24
|
+
from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
25
25
|
from pyegeria.commands.tech.list_elements import list_elements
|
26
26
|
from pyegeria.commands.tech.get_element_info import display_elements
|
27
27
|
from pyegeria.commands.tech.list_related_specification import (
|
@@ -32,6 +32,7 @@ from pyegeria.commands.tech.list_elements_for_classification import (
|
|
32
32
|
list_classified_elements,
|
33
33
|
)
|
34
34
|
from pyegeria.commands.tech.list_gov_action_processes import display_gov_processes
|
35
|
+
from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
35
36
|
|
36
37
|
# from pyegeria import ServerOps
|
37
38
|
|
@@ -199,7 +200,27 @@ def show(ctx):
|
|
199
200
|
pass
|
200
201
|
|
201
202
|
|
202
|
-
@show.
|
203
|
+
@show.group("info")
|
204
|
+
@click.pass_context
|
205
|
+
def show_info(ctx):
|
206
|
+
"""Show various Egeria information"""
|
207
|
+
pass
|
208
|
+
|
209
|
+
|
210
|
+
@show.group("tech-types")
|
211
|
+
@click.pass_context
|
212
|
+
def show_tech(ctx):
|
213
|
+
"""Show information about Egeria technology types"""
|
214
|
+
pass
|
215
|
+
|
216
|
+
|
217
|
+
@show.group("elements")
|
218
|
+
@click.pass_context
|
219
|
+
def show_elements(ctx):
|
220
|
+
"""Show information about Egeria elements"""
|
221
|
+
|
222
|
+
|
223
|
+
@show_elements.command("guid-info")
|
203
224
|
@click.argument("guid", nargs=1)
|
204
225
|
@click.pass_context
|
205
226
|
def show_guid_infos(ctx, guid):
|
@@ -212,7 +233,7 @@ def show_guid_infos(ctx, guid):
|
|
212
233
|
display_guid(guid, c.server, c.url, c.userid, c.password, c.jupyter, c.width)
|
213
234
|
|
214
235
|
|
215
|
-
@
|
236
|
+
@show_elements.command("related-specifications")
|
216
237
|
@click.pass_context
|
217
238
|
@click.argument("element-guid")
|
218
239
|
def show_related_specifications(ctx, element_guid):
|
@@ -229,7 +250,7 @@ def show_related_specifications(ctx, element_guid):
|
|
229
250
|
)
|
230
251
|
|
231
252
|
|
232
|
-
@
|
253
|
+
@show_tech.command("tech-types")
|
233
254
|
@click.option("--search-string", default="*", help="Tech type to search for")
|
234
255
|
@click.pass_context
|
235
256
|
def show_tech_types(ctx, search_string):
|
@@ -247,7 +268,7 @@ def show_tech_types(ctx, search_string):
|
|
247
268
|
)
|
248
269
|
|
249
270
|
|
250
|
-
@
|
271
|
+
@show_tech.command("tech-details")
|
251
272
|
@click.argument("tech-name")
|
252
273
|
@click.pass_context
|
253
274
|
def show_tech_details(ctx, tech_name):
|
@@ -269,7 +290,28 @@ def show_tech_details(ctx, tech_name):
|
|
269
290
|
)
|
270
291
|
|
271
292
|
|
272
|
-
@
|
293
|
+
@show_tech.command("tech-type-templates")
|
294
|
+
@click.option(
|
295
|
+
"--tech-type",
|
296
|
+
default="PostgreSQL Server",
|
297
|
+
help="Specific tech type to get elements for",
|
298
|
+
)
|
299
|
+
@click.pass_context
|
300
|
+
def show_tech_type_templates(ctx, tech_type):
|
301
|
+
"""List technology type templates"""
|
302
|
+
c = ctx.obj
|
303
|
+
template_viewer(
|
304
|
+
tech_type,
|
305
|
+
c.view_server,
|
306
|
+
c.view_server_url,
|
307
|
+
c.userid,
|
308
|
+
c.password,
|
309
|
+
c.jupyter,
|
310
|
+
c.width,
|
311
|
+
)
|
312
|
+
|
313
|
+
|
314
|
+
@show_info.command("asset-types")
|
273
315
|
@click.pass_context
|
274
316
|
def show_asset_types(ctx):
|
275
317
|
"""Display engine-host status information"""
|
@@ -279,7 +321,7 @@ def show_asset_types(ctx):
|
|
279
321
|
)
|
280
322
|
|
281
323
|
|
282
|
-
@
|
324
|
+
@show_info.command("registered-services")
|
283
325
|
@click.option(
|
284
326
|
"--services",
|
285
327
|
type=click.Choice(
|
@@ -312,7 +354,7 @@ def show_registered_services(ctx, services):
|
|
312
354
|
)
|
313
355
|
|
314
356
|
|
315
|
-
@
|
357
|
+
@show_info.command("relationship-types")
|
316
358
|
@click.option(
|
317
359
|
"--rel-type",
|
318
360
|
default="AssetOwner",
|
@@ -334,7 +376,7 @@ def show_relationship_types(ctx, rel_type):
|
|
334
376
|
)
|
335
377
|
|
336
378
|
|
337
|
-
@
|
379
|
+
@show_elements.command("elements-by-classification")
|
338
380
|
@click.option(
|
339
381
|
"--om-type",
|
340
382
|
default="Project",
|
@@ -361,7 +403,7 @@ def show_elements_by_classification(ctx, om_type, classification):
|
|
361
403
|
)
|
362
404
|
|
363
405
|
|
364
|
-
@
|
406
|
+
@show_elements.command("related-elements")
|
365
407
|
@click.option(
|
366
408
|
"--element-guid",
|
367
409
|
help="GUID of the Element to navigate from.",
|
@@ -393,7 +435,7 @@ def show_relationship_types(ctx, element_guid, om_type, rel_type):
|
|
393
435
|
)
|
394
436
|
|
395
437
|
|
396
|
-
@
|
438
|
+
@show_tech.command("tech-templates")
|
397
439
|
@click.pass_context
|
398
440
|
@click.option(
|
399
441
|
"--search-string", default="*", help="Technology type to get information about"
|
@@ -412,7 +454,7 @@ def tech_templates(ctx, search_string):
|
|
412
454
|
)
|
413
455
|
|
414
456
|
|
415
|
-
@
|
457
|
+
@show_tech.command("tech-template-spec")
|
416
458
|
@click.pass_context
|
417
459
|
@click.option(
|
418
460
|
"--search-string", default="*", help="Technology type to get information about"
|
@@ -431,7 +473,7 @@ def tech_template_spec(ctx, search_string):
|
|
431
473
|
)
|
432
474
|
|
433
475
|
|
434
|
-
@
|
476
|
+
@show_info.command("gov-action-processes")
|
435
477
|
@click.pass_context
|
436
478
|
@click.option("--search-string", default="*", help="Search string")
|
437
479
|
def gov_action_processes(ctx, search_string):
|
@@ -448,7 +490,7 @@ def gov_action_processes(ctx, search_string):
|
|
448
490
|
)
|
449
491
|
|
450
492
|
|
451
|
-
@
|
493
|
+
@show_info.command("valid-metadata-values")
|
452
494
|
@click.pass_context
|
453
495
|
@click.option("--property", default="projectHealth", help="Metadata property to query")
|
454
496
|
@click.option("--type-name", default="Project", help="Metadata type to query")
|
@@ -468,7 +510,7 @@ def valid_metadata_values(ctx, property, type_name):
|
|
468
510
|
)
|
469
511
|
|
470
512
|
|
471
|
-
@
|
513
|
+
@show_elements.command("elements")
|
472
514
|
@click.pass_context
|
473
515
|
@click.option("--om_type", default="Organization", help="Metadata type to query")
|
474
516
|
def list_element_info(ctx, om_type):
|
@@ -485,7 +527,7 @@ def list_element_info(ctx, om_type):
|
|
485
527
|
)
|
486
528
|
|
487
529
|
|
488
|
-
@
|
530
|
+
@show_info.command("processes")
|
489
531
|
@click.pass_context
|
490
532
|
def list_element_info(ctx):
|
491
533
|
"""Display the valid metadata values for a property and type"""
|
@@ -501,7 +543,7 @@ def list_element_info(ctx):
|
|
501
543
|
)
|
502
544
|
|
503
545
|
|
504
|
-
@
|
546
|
+
@show_elements.command("get-elements")
|
505
547
|
@click.pass_context
|
506
548
|
@click.option("--om_type", default="Project", help="Metadata type to query")
|
507
549
|
def get_element_info(ctx, om_type):
|
@@ -523,11 +565,11 @@ def get_element_info(ctx, om_type):
|
|
523
565
|
#
|
524
566
|
|
525
567
|
|
526
|
-
@cli.group("tell")
|
527
|
-
@click.pass_context
|
528
|
-
def tell(ctx):
|
529
|
-
|
530
|
-
|
568
|
+
# @cli.group("tell")
|
569
|
+
# @click.pass_context
|
570
|
+
# def tell(ctx):
|
571
|
+
# """Perform actions an Egeria Objects"""
|
572
|
+
# pass
|
531
573
|
|
532
574
|
|
533
575
|
if __name__ == "__main__":
|
Binary file
|
Binary file
|