pyegeria 5.3.1.dev1__py3-none-any.whl → 5.3.3__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/_client.py +1 -1
- pyegeria/automated_curation_omvs.py +1 -1
- pyegeria/classification_manager_omvs.py +4 -4
- pyegeria/commands/.DS_Store +0 -0
- pyegeria/commands/cat/exp_list_glossaries.py +1 -1
- pyegeria/commands/cat/get_asset_graph.py +1 -1
- pyegeria/commands/cat/get_collection.py +1 -1
- pyegeria/commands/cat/get_project_dependencies.py +1 -1
- pyegeria/commands/cat/get_project_structure.py +1 -1
- pyegeria/commands/cat/get_tech_type_elements.py +1 -1
- pyegeria/commands/cat/glossary_actions.py +3 -4
- pyegeria/commands/cat/list_assets.py +1 -1
- pyegeria/commands/cat/list_cert_types.py +1 -1
- pyegeria/commands/cat/list_collections.py +1 -1
- pyegeria/commands/cat/list_deployed_catalogs.py +1 -1
- pyegeria/commands/cat/list_deployed_database_schemas.py +1 -1
- pyegeria/commands/cat/list_deployed_databases.py +1 -1
- pyegeria/commands/cat/list_glossaries.py +1 -1
- pyegeria/commands/cat/list_projects.py +1 -1
- pyegeria/commands/cat/list_servers_deployed_imp.py +1 -1
- pyegeria/commands/cat/list_tech_type_elements.py +1 -1
- pyegeria/commands/cat/list_tech_types.py +1 -1
- pyegeria/commands/cat/list_terms.py +1 -1
- pyegeria/commands/cat/list_todos.py +1 -1
- pyegeria/commands/cat/list_user_ids.py +1 -1
- pyegeria/commands/cli/egeria.py +221 -85
- pyegeria/commands/cli/egeria_cat.py +3 -21
- pyegeria/commands/cli/egeria_login_tui.py +1 -1
- pyegeria/commands/cli/egeria_my.py +10 -0
- pyegeria/commands/cli/egeria_ops.py +19 -9
- pyegeria/commands/cli/egeria_tech.py +258 -139
- pyegeria/commands/cli/ops_config.py +0 -1
- pyegeria/commands/doc/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/images/.DS_Store +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/images/.DS_Store +0 -0
- pyegeria/commands/my/list_my_profile.py +1 -1
- pyegeria/commands/my/list_my_roles.py +1 -1
- pyegeria/commands/my/monitor_my_todos.py +1 -1
- pyegeria/commands/my/monitor_open_todos.py +1 -1
- pyegeria/commands/my/todo_actions.py +1 -1
- pyegeria/commands/ops/list_archives.py +1 -1
- pyegeria/commands/ops/list_catalog_targets.py +1 -1
- pyegeria/commands/ops/load_archive.py +1 -1
- pyegeria/commands/ops/monitor_asset_events.py +1 -1
- pyegeria/commands/ops/monitor_engine_activity.py +1 -1
- pyegeria/commands/ops/monitor_gov_eng_status.py +1 -1
- pyegeria/commands/ops/monitor_integ_daemon_status.py +10 -10
- pyegeria/commands/ops/monitor_platform_status.py +1 -1
- pyegeria/commands/ops/monitor_server_startup.py +1 -1
- pyegeria/commands/ops/monitor_server_status.py +1 -1
- pyegeria/commands/ops/orig_monitor_server_list.py +1 -1
- pyegeria/commands/ops/orig_monitor_server_status.py +1 -1
- pyegeria/commands/ops/refresh_integration_daemon.py +1 -1
- pyegeria/commands/ops/restart_integration_daemon.py +1 -1
- pyegeria/commands/ops/table_integ_daemon_status.py +1 -1
- pyegeria/commands/tech/get_element_info.py +1 -1
- pyegeria/commands/tech/get_guid_info.py +1 -1
- pyegeria/commands/tech/get_tech_details.py +1 -1
- pyegeria/commands/tech/get_tech_type_template.py +1 -1
- pyegeria/commands/tech/{list_elements.py → list_all_om_type_elements.py} +2 -2
- pyegeria/commands/tech/{list_elements_x.py → list_all_om_type_elements_x.py} +2 -2
- pyegeria/commands/tech/{list_related_elements.py → list_all_related_elements.py} +1 -1
- pyegeria/commands/tech/list_anchored_elements.py +1 -1
- pyegeria/commands/tech/list_asset_types.py +1 -1
- pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +186 -0
- pyegeria/commands/tech/list_elements_by_property_value.py +175 -0
- pyegeria/commands/tech/list_elements_by_property_value_x.py +196 -0
- pyegeria/commands/tech/list_elements_for_classification.py +1 -1
- pyegeria/commands/tech/list_gov_action_processes.py +1 -1
- pyegeria/commands/tech/list_registered_services.py +1 -1
- pyegeria/commands/tech/list_related_elements_with_prop_value.py +207 -0
- pyegeria/commands/tech/list_related_specification.py +1 -1
- pyegeria/commands/tech/list_relationship_types.py +1 -1
- pyegeria/commands/tech/list_relationships.py +1 -1
- pyegeria/commands/tech/list_tech_templates.py +1 -1
- pyegeria/commands/tech/list_valid_metadata_values.py +1 -1
- pyegeria/commands/tech/table_tech_templates.py +1 -1
- pyegeria/commands/tech/x_list_related_elements.py +1 -1
- pyegeria/mermaid_utilities.py +1 -1
- pyegeria/valid_metadata_omvs.py +1 -1
- {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/METADATA +10 -10
- {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/RECORD +92 -77
- {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/entry_points.txt +7 -2
- {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.1.dev1.dist-info → pyegeria-5.3.3.dist-info}/WHEEL +0 -0
@@ -20,45 +20,29 @@ from pyegeria.commands.cli.ops_config import Config
|
|
20
20
|
from pyegeria.commands.tech.get_guid_info import display_guid
|
21
21
|
from pyegeria.commands.tech.get_tech_details import tech_details_viewer
|
22
22
|
from pyegeria.commands.tech.list_asset_types import display_asset_types
|
23
|
-
from pyegeria.commands.tech.list_elements_x import list_elements_x
|
24
23
|
from pyegeria.commands.tech.list_registered_services import display_registered_svcs
|
25
24
|
from pyegeria.commands.tech.list_relationship_types import display_relationship_types
|
26
25
|
from pyegeria.commands.tech.list_tech_templates import display_templates_spec
|
27
26
|
from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_values
|
28
|
-
from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
29
27
|
from pyegeria.commands.tech.list_anchored_elements import display_anchored_elements
|
30
|
-
from pyegeria.commands.tech.
|
28
|
+
from pyegeria.commands.tech.list_all_om_type_elements import list_elements
|
29
|
+
from pyegeria.commands.tech.list_all_om_type_elements_x import list_elements_x
|
30
|
+
from pyegeria.commands.tech.list_elements_by_classification_by_property_value import find_elements_by_classification_by_prop_value
|
31
|
+
from pyegeria.commands.tech.list_elements_by_property_value import find_elements_by_prop_value
|
32
|
+
from pyegeria.commands.tech.list_elements_by_property_value_x import find_elements_by_prop_value_x
|
33
|
+
from pyegeria.commands.tech.list_related_elements_with_prop_value import list_related_elements_with_prop_value
|
31
34
|
|
32
35
|
from pyegeria.commands.tech.get_element_info import display_elements
|
33
36
|
from pyegeria.commands.tech.list_related_specification import (
|
34
37
|
display_related_specification,
|
35
38
|
)
|
36
|
-
from pyegeria.commands.tech.
|
39
|
+
from pyegeria.commands.tech.list_all_related_elements import list_related_elements
|
37
40
|
from pyegeria.commands.tech.list_elements_for_classification import (
|
38
41
|
list_classified_elements,
|
39
42
|
)
|
40
43
|
from pyegeria.commands.tech.list_gov_action_processes import display_gov_processes
|
41
44
|
from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
42
45
|
|
43
|
-
# from pyegeria import ServerOps
|
44
|
-
|
45
|
-
|
46
|
-
# class Config(object):
|
47
|
-
# def __init__(self, server: str = None, url: str = None, userid:str = None, password:str = None,
|
48
|
-
# timeout:int = 30, paging: bool = False):
|
49
|
-
# self.server = server
|
50
|
-
# self.url = url
|
51
|
-
# self.userid = userid
|
52
|
-
# self.password = password
|
53
|
-
# self.timeout = timeout
|
54
|
-
# self.paging = paging
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# pass_config = click.make_pass_decorator(Config)
|
58
|
-
|
59
|
-
|
60
|
-
# @tui
|
61
|
-
# @tui('menu', 'menu', 'A textual command line interface')
|
62
46
|
@tui()
|
63
47
|
@click.version_option("0.0.1", prog_name="egeria_ops")
|
64
48
|
@click.group()
|
@@ -139,6 +123,11 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
139
123
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
140
124
|
help="Glossary guid to use as the home glossary",
|
141
125
|
)
|
126
|
+
@click.option(
|
127
|
+
"--glossary_path",
|
128
|
+
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
129
|
+
help="Path to glossary import/export files",
|
130
|
+
)
|
142
131
|
@click.pass_context
|
143
132
|
def cli(
|
144
133
|
ctx,
|
@@ -157,6 +146,8 @@ def cli(
|
|
157
146
|
timeout,
|
158
147
|
jupyter,
|
159
148
|
width,
|
149
|
+
home_glossary_guid,
|
150
|
+
home_glossary_path,
|
160
151
|
):
|
161
152
|
"""An Egeria Command Line interface for Operations"""
|
162
153
|
ctx.obj = Config(
|
@@ -175,6 +166,8 @@ def cli(
|
|
175
166
|
timeout,
|
176
167
|
jupyter,
|
177
168
|
width,
|
169
|
+
home_glossary_guid,
|
170
|
+
home_glossary_path,
|
178
171
|
)
|
179
172
|
ctx.max_content_width = 200
|
180
173
|
ctx.ensure_object(Config)
|
@@ -220,39 +213,21 @@ def show_guid_info(ctx, guid):
|
|
220
213
|
display_guid(guid, c.server, c.url, c.userid, c.password, c.jupyter, c.width)
|
221
214
|
|
222
215
|
|
223
|
-
@show_elements.command("
|
224
|
-
@click.pass_context
|
225
|
-
@click.argument("element-guid")
|
226
|
-
def show_related_specifications(ctx, element_guid):
|
227
|
-
"""List specifications related to the given Element"""
|
228
|
-
c = ctx.obj
|
229
|
-
display_related_specification(
|
230
|
-
element_guid,
|
231
|
-
c.view_server,
|
232
|
-
c.view_server_url,
|
233
|
-
c.userid,
|
234
|
-
c.password,
|
235
|
-
c.jupyter,
|
236
|
-
c.width,
|
237
|
-
)
|
238
|
-
|
239
|
-
|
240
|
-
@show_elements.command("anchored-elements")
|
216
|
+
@show_elements.command("anchored_elements")
|
241
217
|
@click.pass_context
|
242
218
|
@click.option(
|
243
|
-
"--
|
244
|
-
default="
|
219
|
+
"--property_value",
|
220
|
+
default="DeployedDatabaseSchema",
|
245
221
|
help="value we are searching for",
|
246
222
|
)
|
247
223
|
@click.option(
|
248
224
|
"--prop-list",
|
249
|
-
default="
|
225
|
+
default="anchorTypeName",
|
250
226
|
help="List of properties we are searching",
|
251
227
|
)
|
252
228
|
def list_anchored_elements(ctx, search_string: str, prop_list: str):
|
253
|
-
"""List elements with the specified properties"""
|
229
|
+
"""List anchored elements with the specified properties"""
|
254
230
|
c = ctx.obj
|
255
|
-
# put guards around this to make it a list?
|
256
231
|
if type(prop_list) is str:
|
257
232
|
property_names = prop_list.split(",")
|
258
233
|
elif type(prop_list) is list:
|
@@ -261,10 +236,9 @@ def list_anchored_elements(ctx, search_string: str, prop_list: str):
|
|
261
236
|
property_names = []
|
262
237
|
print(f"\nError --> Invalid property list - must be a string or list")
|
263
238
|
sys.exit(4)
|
264
|
-
|
265
239
|
display_anchored_elements(
|
266
240
|
search_string,
|
267
|
-
|
241
|
+
[prop_list],
|
268
242
|
c.view_server,
|
269
243
|
c.view_server_url,
|
270
244
|
c.userid,
|
@@ -274,6 +248,208 @@ def list_anchored_elements(ctx, search_string: str, prop_list: str):
|
|
274
248
|
c.width,
|
275
249
|
)
|
276
250
|
|
251
|
+
@show_elements.command("elements-by-classification")
|
252
|
+
@click.option(
|
253
|
+
"--om-type",
|
254
|
+
default="Project",
|
255
|
+
help="Open Metadata type to filter by",
|
256
|
+
)
|
257
|
+
@click.option(
|
258
|
+
"--classification",
|
259
|
+
default="GovernanceProject",
|
260
|
+
help="Classification to filter byt",
|
261
|
+
)
|
262
|
+
@click.pass_context
|
263
|
+
def show_elements_by_classification(ctx, om_type, classification):
|
264
|
+
"""Show elements by classification"""
|
265
|
+
c = ctx.obj
|
266
|
+
list_classified_elements(
|
267
|
+
om_type,
|
268
|
+
classification,
|
269
|
+
c.view_server,
|
270
|
+
c.view_server_url,
|
271
|
+
c.userid,
|
272
|
+
c.password,
|
273
|
+
c.jupyter,
|
274
|
+
c.width,
|
275
|
+
)
|
276
|
+
|
277
|
+
@show_elements.command("elements-by-classification-by-prop-value")
|
278
|
+
@click.option(
|
279
|
+
"--classification",
|
280
|
+
default="GovernanceProject",
|
281
|
+
help="Classification to filter by",
|
282
|
+
)
|
283
|
+
@click.option(
|
284
|
+
"--property_value",
|
285
|
+
help="Property value to filter by",
|
286
|
+
)
|
287
|
+
@click.option(
|
288
|
+
"--property_names",
|
289
|
+
help="List of properties to search by",
|
290
|
+
)
|
291
|
+
@click.option(
|
292
|
+
"--om-type",
|
293
|
+
default="Project",
|
294
|
+
help="Open Metadata type to filter by",
|
295
|
+
)
|
296
|
+
@click.pass_context
|
297
|
+
def show_elements_by_classification_by_prop(ctx, classification, property_value, property_names, om_type):
|
298
|
+
"""Show elements by classification and property value"""
|
299
|
+
c = ctx.obj
|
300
|
+
find_elements_by_classification_by_prop_value(
|
301
|
+
om_type,
|
302
|
+
classification,
|
303
|
+
property_value,
|
304
|
+
[property_names],
|
305
|
+
c.view_server,
|
306
|
+
c.view_server_url,
|
307
|
+
c.userid,
|
308
|
+
c.password,
|
309
|
+
c.jupyter,
|
310
|
+
c.width,
|
311
|
+
)
|
312
|
+
|
313
|
+
@show_elements.command("elements-by-prop-value")
|
314
|
+
@click.option(
|
315
|
+
"--property_value",
|
316
|
+
help="Property value to filter by",
|
317
|
+
)
|
318
|
+
@click.option(
|
319
|
+
"--property_names",
|
320
|
+
help="List of properties to search by",
|
321
|
+
)
|
322
|
+
@click.option(
|
323
|
+
"--om-type",
|
324
|
+
default="Project",
|
325
|
+
help="Open Metadata type to filter by",
|
326
|
+
)
|
327
|
+
@click.option(
|
328
|
+
"--extended",
|
329
|
+
is_flag=True,
|
330
|
+
default=False,
|
331
|
+
help="If True, feedback information is displayed",
|
332
|
+
)
|
333
|
+
@click.pass_context
|
334
|
+
def show_elements_by_classification_by_prop(ctx,property_value, property_names, om_type, extended):
|
335
|
+
"""Show elements by classification and property value"""
|
336
|
+
c = ctx.obj
|
337
|
+
if extended:
|
338
|
+
find_elements_by_prop_value_x(
|
339
|
+
om_type,
|
340
|
+
property_value,
|
341
|
+
[property_names],
|
342
|
+
c.view_server,
|
343
|
+
c.view_server_url,
|
344
|
+
c.userid,
|
345
|
+
c.password,
|
346
|
+
c.jupyter,
|
347
|
+
c.width,
|
348
|
+
)
|
349
|
+
else:
|
350
|
+
find_elements_by_prop_value(
|
351
|
+
om_type,
|
352
|
+
property_value,
|
353
|
+
[property_names],
|
354
|
+
c.view_server,
|
355
|
+
c.view_server_url,
|
356
|
+
c.userid,
|
357
|
+
c.password,
|
358
|
+
c.jupyter,
|
359
|
+
c.width,
|
360
|
+
)
|
361
|
+
|
362
|
+
@show_elements.command("related-elements")
|
363
|
+
@click.option(
|
364
|
+
"--element-guid",
|
365
|
+
help="GUID of the Element to navigate from.",
|
366
|
+
)
|
367
|
+
@click.option(
|
368
|
+
"--om-type",
|
369
|
+
default="Project",
|
370
|
+
help="Open metadata type to filter by.",
|
371
|
+
)
|
372
|
+
@click.option(
|
373
|
+
"--rel-type",
|
374
|
+
default="Certification",
|
375
|
+
help="Relationship type to follow.",
|
376
|
+
)
|
377
|
+
@click.pass_context
|
378
|
+
def show_related_elements(ctx, element_guid, om_type, rel_type):
|
379
|
+
"""Show all elements related to specified guid"""
|
380
|
+
c = ctx.obj
|
381
|
+
list_related_elements(
|
382
|
+
element_guid,
|
383
|
+
om_type,
|
384
|
+
rel_type,
|
385
|
+
c.view_server,
|
386
|
+
c.view_server_url,
|
387
|
+
c.userid,
|
388
|
+
c.password,
|
389
|
+
c.jupyter,
|
390
|
+
c.width,
|
391
|
+
)
|
392
|
+
|
393
|
+
|
394
|
+
@show_elements.command("related-elements_by_prop")
|
395
|
+
@click.option(
|
396
|
+
"--element-guid",
|
397
|
+
help="GUID of the Element to navigate from.",
|
398
|
+
)
|
399
|
+
@click.option(
|
400
|
+
"--rel-type",
|
401
|
+
default="Certification",
|
402
|
+
help="Relationship type to follow.",
|
403
|
+
)
|
404
|
+
@click.option(
|
405
|
+
"--property_value",
|
406
|
+
help="Property value to filter by",
|
407
|
+
)
|
408
|
+
@click.option(
|
409
|
+
"--property_names",
|
410
|
+
help="List of properties to search by",
|
411
|
+
)
|
412
|
+
@click.option(
|
413
|
+
"--om-type",
|
414
|
+
default="Project",
|
415
|
+
help="Open metadata type to filter by.",
|
416
|
+
)
|
417
|
+
|
418
|
+
@click.pass_context
|
419
|
+
def show_related_elements(ctx, element_guid, rel_type, property_value, property_names, om_type):
|
420
|
+
"""Show elements related to specified guid and property value"""
|
421
|
+
c = ctx.obj
|
422
|
+
list_related_elements_with_prop_value(
|
423
|
+
element_guid,
|
424
|
+
rel_type,
|
425
|
+
property_value,
|
426
|
+
[property_names],
|
427
|
+
om_type,
|
428
|
+
c.view_server,
|
429
|
+
c.view_server_url,
|
430
|
+
c.userid,
|
431
|
+
c.password,
|
432
|
+
c.jupyter,
|
433
|
+
c.width,
|
434
|
+
)
|
435
|
+
|
436
|
+
|
437
|
+
@show_elements.command("related-specifications")
|
438
|
+
@click.pass_context
|
439
|
+
@click.argument("element-guid")
|
440
|
+
def show_related_specifications(ctx, element_guid):
|
441
|
+
"""List specifications related to the given Element"""
|
442
|
+
c = ctx.obj
|
443
|
+
display_related_specification(
|
444
|
+
element_guid,
|
445
|
+
c.view_server,
|
446
|
+
c.view_server_url,
|
447
|
+
c.userid,
|
448
|
+
c.password,
|
449
|
+
c.jupyter,
|
450
|
+
c.width,
|
451
|
+
)
|
452
|
+
|
277
453
|
|
278
454
|
@show_tech.command("tech-types")
|
279
455
|
@click.option("--search-string", default="*", help="Tech type to search for")
|
@@ -401,63 +577,6 @@ def show_relationship_types(ctx, rel_type):
|
|
401
577
|
)
|
402
578
|
|
403
579
|
|
404
|
-
@show_elements.command("elements-by-classification")
|
405
|
-
@click.option(
|
406
|
-
"--om-type",
|
407
|
-
default="Project",
|
408
|
-
help="Open Metadata type to filter by",
|
409
|
-
)
|
410
|
-
@click.option(
|
411
|
-
"--classification",
|
412
|
-
default="GovernanceProject",
|
413
|
-
help="Classification to filter byt",
|
414
|
-
)
|
415
|
-
@click.pass_context
|
416
|
-
def show_elements_by_classification(ctx, om_type, classification):
|
417
|
-
"""Show elements by classification"""
|
418
|
-
c = ctx.obj
|
419
|
-
list_classified_elements(
|
420
|
-
om_type,
|
421
|
-
classification,
|
422
|
-
c.view_server,
|
423
|
-
c.view_server_url,
|
424
|
-
c.userid,
|
425
|
-
c.password,
|
426
|
-
c.jupyter,
|
427
|
-
c.width,
|
428
|
-
)
|
429
|
-
|
430
|
-
|
431
|
-
@show_elements.command("related-elements")
|
432
|
-
@click.option(
|
433
|
-
"--element-guid",
|
434
|
-
help="GUID of the Element to navigate from.",
|
435
|
-
)
|
436
|
-
@click.option(
|
437
|
-
"--om-type",
|
438
|
-
default="Project",
|
439
|
-
help="Open metadata type to filter by.",
|
440
|
-
)
|
441
|
-
@click.option(
|
442
|
-
"--rel-type",
|
443
|
-
default="Certification",
|
444
|
-
help="Relationship type to follow.",
|
445
|
-
)
|
446
|
-
@click.pass_context
|
447
|
-
def show_related_elements(ctx, element_guid, om_type, rel_type):
|
448
|
-
"""Show information about related elements"""
|
449
|
-
c = ctx.obj
|
450
|
-
list_related_elements(
|
451
|
-
element_guid,
|
452
|
-
om_type,
|
453
|
-
rel_type,
|
454
|
-
c.view_server,
|
455
|
-
c.view_server_url,
|
456
|
-
c.userid,
|
457
|
-
c.password,
|
458
|
-
c.jupyter,
|
459
|
-
c.width,
|
460
|
-
)
|
461
580
|
|
462
581
|
|
463
582
|
@show_tech.command("tech-templates")
|
@@ -535,44 +654,12 @@ def valid_metadata_values(ctx, property, type_name):
|
|
535
654
|
)
|
536
655
|
|
537
656
|
|
538
|
-
@show_elements.command("elements")
|
539
|
-
@click.pass_context
|
540
|
-
@click.option(
|
541
|
-
"--extended",
|
542
|
-
is_flag=True,
|
543
|
-
default=False,
|
544
|
-
help="If True, feedback information is displayed",
|
545
|
-
)
|
546
|
-
@click.option("--om_type", default="Organization", help="Metadata type to query")
|
547
|
-
def list_element_info(ctx, om_type, extended):
|
548
|
-
"""Display elements of a specific Open Metadata Type"""
|
549
|
-
c = ctx.obj
|
550
|
-
if extended:
|
551
|
-
list_elements_x(
|
552
|
-
om_type,
|
553
|
-
c.view_server,
|
554
|
-
c.view_server_url,
|
555
|
-
c.userid,
|
556
|
-
c.password,
|
557
|
-
c.jupyter,
|
558
|
-
c.width,
|
559
|
-
)
|
560
|
-
else:
|
561
|
-
list_elements(
|
562
|
-
om_type,
|
563
|
-
c.view_server,
|
564
|
-
c.view_server_url,
|
565
|
-
c.userid,
|
566
|
-
c.password,
|
567
|
-
c.jupyter,
|
568
|
-
c.width,
|
569
|
-
)
|
570
657
|
|
571
658
|
|
572
659
|
@show_info.command("processes")
|
573
660
|
@click.pass_context
|
574
661
|
def list_element_info(ctx):
|
575
|
-
"""Display
|
662
|
+
"""Display processes"""
|
576
663
|
c = ctx.obj
|
577
664
|
list_elements(
|
578
665
|
"GovernanceActionProcess",
|
@@ -589,7 +676,7 @@ def list_element_info(ctx):
|
|
589
676
|
@click.pass_context
|
590
677
|
@click.option("--om_type", default="Project", help="Metadata type to query")
|
591
678
|
def get_element_info(ctx, om_type):
|
592
|
-
"""Display
|
679
|
+
"""Display graph of elements for an Open Metadata Type"""
|
593
680
|
c = ctx.obj
|
594
681
|
display_elements(
|
595
682
|
om_type,
|
@@ -601,6 +688,38 @@ def get_element_info(ctx, om_type):
|
|
601
688
|
c.width,
|
602
689
|
)
|
603
690
|
|
691
|
+
@show_elements.command("elements")
|
692
|
+
@click.pass_context
|
693
|
+
@click.option(
|
694
|
+
"--extended",
|
695
|
+
is_flag=True,
|
696
|
+
default=False,
|
697
|
+
help="If True, feedback information is displayed",
|
698
|
+
)
|
699
|
+
@click.option("--om_type", default="Organization", help="Metadata type to query")
|
700
|
+
def list_all_om_type_elements(ctx, om_type, extended):
|
701
|
+
"""Display all elements of a specific Open Metadata Type"""
|
702
|
+
c = ctx.obj
|
703
|
+
if extended:
|
704
|
+
list_elements_x(
|
705
|
+
om_type,
|
706
|
+
c.view_server,
|
707
|
+
c.view_server_url,
|
708
|
+
c.userid,
|
709
|
+
c.password,
|
710
|
+
c.jupyter,
|
711
|
+
c.width
|
712
|
+
)
|
713
|
+
else:
|
714
|
+
list_elements(
|
715
|
+
om_type,
|
716
|
+
c.view_server,
|
717
|
+
c.view_server_url,
|
718
|
+
c.userid,
|
719
|
+
c.password,
|
720
|
+
c.jupyter,
|
721
|
+
c.width
|
722
|
+
)
|
604
723
|
|
605
724
|
#
|
606
725
|
# Tell
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -32,7 +32,7 @@ disable_ssl_warnings = True
|
|
32
32
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
33
33
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
34
34
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
35
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
35
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
36
36
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
37
37
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
38
38
|
)
|
@@ -29,7 +29,7 @@ disable_ssl_warnings = True
|
|
29
29
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
30
30
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
31
31
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
32
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
32
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -29,7 +29,7 @@ from pyegeria.my_profile_omvs import MyProfile
|
|
29
29
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
30
30
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
31
31
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
32
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
32
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -33,7 +33,7 @@ disable_ssl_warnings = True
|
|
33
33
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
34
34
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
35
35
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
36
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
36
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
37
37
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
38
38
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -27,7 +27,7 @@ tanya_guid = "a987c2d2-c8b6-4882-b344-c47956d2de97"
|
|
27
27
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
28
28
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
29
29
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
30
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
30
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
31
31
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
32
32
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
33
33
|
)
|
@@ -31,7 +31,7 @@ from pyegeria import ProjectManager, ClassificationManager
|
|
31
31
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
32
32
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
33
33
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
34
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
34
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
35
35
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
36
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -30,7 +30,7 @@ from pyegeria import (
|
|
30
30
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
31
31
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
32
32
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
33
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
33
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
34
34
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
35
35
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
36
36
|
)
|
@@ -21,7 +21,7 @@ from pyegeria._exceptions import (
|
|
21
21
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
22
22
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
23
23
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
24
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
24
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
25
25
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
26
26
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
27
27
|
)
|
@@ -20,7 +20,7 @@ from confluent_kafka import Consumer, KafkaException
|
|
20
20
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
21
21
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9192")
|
22
22
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
23
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
23
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
24
24
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
25
25
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
26
26
|
)
|
@@ -31,7 +31,7 @@ from pyegeria import (
|
|
31
31
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
32
32
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
33
33
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
34
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
34
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
35
35
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
36
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -29,7 +29,7 @@ from pyegeria import (
|
|
29
29
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
30
30
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
31
31
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
32
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
32
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|