pyegeria 0.7.24__tar.gz → 0.7.25__tar.gz
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-0.7.24 → pyegeria-0.7.25}/PKG-INFO +1 -1
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_user_ids.py +13 -4
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/todo_actions.py +3 -1
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/automated_curation_omvs.py +18 -16
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyproject.toml +1 -1
- {pyegeria-0.7.24 → pyegeria-0.7.25}/LICENSE +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/README.md +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/doc_samples/Create_Collection_Sample.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/README.md +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_asset_graph.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_collection.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_project_dependencies.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_project_structure.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_tech_type_elements.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/get_tech_type_template.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_assets.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_cert_types.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_glossary.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_projects.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_relationships.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_tech_types.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cat/list_todos.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/egeria.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/egeria_cat.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/egeria_my.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/egeria_ops.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/egeria_tech.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/cli/ops_config.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/README.md +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/list_my_profile.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/list_my_roles.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/monitor_my_todos.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/monitor_open_todos.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/my/my_profile_actions.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/README.md +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/engine_actions.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/integration_daemon_actions.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/list_catalog_targets.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/load_archive.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_asset_events.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_coco_status.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_engine_activity.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_platform_status.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_server_list.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/monitor_server_status.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/ops/restart_integration_daemon.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/README.md +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/get_element_info.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/get_guid_info.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/get_tech_details.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_asset_types.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_elements.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_elements_x.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_registered_services.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_related_specification.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_relationship_types.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_tech_templates.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/examples/widgets/tech/x_list_related_elements.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/Xloaded_resources_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/__init__.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/_client.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/_globals.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/_validators.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/action_author_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/utils.py +0 -0
- {pyegeria-0.7.24 → pyegeria-0.7.25}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -57,11 +57,12 @@ def list_user_ids(server: str,
|
|
57
57
|
expand=True,
|
58
58
|
# width=500
|
59
59
|
)
|
60
|
-
|
61
|
-
table.add_column("
|
60
|
+
table.add_column("Name")
|
61
|
+
table.add_column("Job Title")
|
62
|
+
table.add_column("UserId")
|
62
63
|
table.add_column("Created")
|
63
64
|
table.add_column("GUID", width = 38,no_wrap=True)
|
64
|
-
table.add_column("
|
65
|
+
table.add_column("Qualified Name")
|
65
66
|
|
66
67
|
|
67
68
|
if type(elements) is list:
|
@@ -71,8 +72,16 @@ def list_user_ids(server: str,
|
|
71
72
|
el_create_time = header['versions']['createTime'][:-10]
|
72
73
|
el_guid = header['guid']
|
73
74
|
el_user_id = element['properties'].get('userId',"---")
|
75
|
+
full_name = ''
|
76
|
+
job = ''
|
77
|
+
|
78
|
+
profile = c_client.get_related_elements(el_guid, 'ProfileIdentity')
|
79
|
+
if type(profile) is list:
|
80
|
+
for rel in profile:
|
81
|
+
full_name = rel['relatedElement']['properties'].get('fullName','---')
|
82
|
+
job = rel['relatedElement']['properties'].get('jobTitle','---')
|
74
83
|
|
75
|
-
table.add_row(
|
84
|
+
table.add_row(full_name, job, el_user_id, el_create_time, el_guid, el_q_name,)
|
76
85
|
|
77
86
|
return table
|
78
87
|
else:
|
@@ -9,6 +9,7 @@ Execute ToDo actions.
|
|
9
9
|
"""
|
10
10
|
import os
|
11
11
|
import time
|
12
|
+
from datetime import datetime
|
12
13
|
|
13
14
|
import click
|
14
15
|
|
@@ -47,7 +48,8 @@ EGERIA_USER_PASSWORD = os.environ.get('EGERIA_USER_PASSWORD', 'secret')
|
|
47
48
|
@click.option('--description', prompt='Description', help='Brief description of To Do item', required=True)
|
48
49
|
@click.option('--type', prompt='Todo Type', help='Type of Todo', required=True, default='forMe')
|
49
50
|
@click.option('--priority', prompt='Todo Priority', type=int, help='Priority of Todo', required=True, default=0)
|
50
|
-
@click.option('--due', prompt='Due Date', help='Due date of Todo (yyyy-mm-dd)',
|
51
|
+
@click.option('--due', prompt='Due Date', help='Due date of Todo (yyyy-mm-dd)',
|
52
|
+
default = datetime.now().strftime("%Y-%m-%d"), required=True)
|
51
53
|
@click.option('--assigned-to', prompt='Assigned to', help='Party the Todo is assigned to', required=True,
|
52
54
|
default=peter_guid)
|
53
55
|
def create_todo(server, url, userid, password, timeout, name, description, type, priority, due, assigned_to):
|
@@ -317,7 +317,8 @@ class AutomatedCuration(Client):
|
|
317
317
|
"""
|
318
318
|
body = {"templateGUID": TEMPLATE_GUIDS['FileFolder'], "isOwnAnchor": 'true',
|
319
319
|
"placeholderPropertyValues": {"directoryPathName": path_name, "directoryName": folder_name,
|
320
|
-
|
320
|
+
"versionIdentifier": version, "fileSystemName": file_system,
|
321
|
+
"description": description, }}
|
321
322
|
body_s = body_slimmer(body)
|
322
323
|
response = await self._async_create_element_from_template(body_s, server)
|
323
324
|
return str(response)
|
@@ -390,7 +391,8 @@ class AutomatedCuration(Client):
|
|
390
391
|
"""
|
391
392
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Server'], "isOwnAnchor": 'true',
|
392
393
|
"placeholderPropertyValues": {"serverName": server_name, "hostURL": host_url,
|
393
|
-
|
394
|
+
"versionIdentifier": version, "portNumber": port,
|
395
|
+
"description": description, }}
|
394
396
|
body_s = body_slimmer(body)
|
395
397
|
response = await self._async_create_element_from_template(body_s, server)
|
396
398
|
return str(response)
|
@@ -459,7 +461,7 @@ class AutomatedCuration(Client):
|
|
459
461
|
"""
|
460
462
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Catalog'], "isOwnAnchor": 'true',
|
461
463
|
"placeholderPropertyValues": {"ucCatalogName": uc_catalog, "serverNetworkAddress": network_address,
|
462
|
-
|
464
|
+
"versionIdentifier": version, "description": description, }}
|
463
465
|
body_s = body_slimmer(body)
|
464
466
|
response = await self._async_create_element_from_template(body_s, server)
|
465
467
|
return str(response)
|
@@ -528,8 +530,8 @@ class AutomatedCuration(Client):
|
|
528
530
|
"""
|
529
531
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Schema'], "isOwnAnchor": 'true',
|
530
532
|
"placeholderPropertyValues": {"ucCatalogName": uc_catalog, "ucSchemaName": uc_schema,
|
531
|
-
|
532
|
-
|
533
|
+
"serverNetworkAddress": network_address, "versionIdentifier": version,
|
534
|
+
"description": description, }}
|
533
535
|
body_s = body_slimmer(body)
|
534
536
|
response = await self._async_create_element_from_template(body_s, server)
|
535
537
|
return str(response)
|
@@ -612,9 +614,11 @@ class AutomatedCuration(Client):
|
|
612
614
|
"""
|
613
615
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Table'], "isOwnAnchor": 'true',
|
614
616
|
"placeholderPropertyValues": {"ucCatalogName": uc_catalog, "ucSchemaName": uc_schema,
|
615
|
-
|
616
|
-
|
617
|
-
|
617
|
+
"ucTableName": uc_table, "ucTableType": uc_table_type,
|
618
|
+
"ucStorageLocation": uc_storage_loc,
|
619
|
+
"ucDataSourceFormat": uc_data_source_format,
|
620
|
+
"serverNetworkAddress": network_address,
|
621
|
+
"versionIdentifier": version, "description": description, }}
|
618
622
|
body_s = body_slimmer(body)
|
619
623
|
response = await self._async_create_element_from_template(body_s, server)
|
620
624
|
return str(response)
|
@@ -700,8 +704,8 @@ class AutomatedCuration(Client):
|
|
700
704
|
"""
|
701
705
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Function'], "isOwnAnchor": 'true',
|
702
706
|
"placeholderPropertyValues": {"ucCatalogName": uc_catalog, "ucSchemaName": uc_schema,
|
703
|
-
|
704
|
-
|
707
|
+
"ucFunctionName": uc_function, "serverNetworkAddress": network_address,
|
708
|
+
"versionIdentifier": version, "description": description, }}
|
705
709
|
body_s = body_slimmer(body)
|
706
710
|
response = await self._async_create_element_from_template(body_s, server)
|
707
711
|
return str(response)
|
@@ -786,9 +790,10 @@ class AutomatedCuration(Client):
|
|
786
790
|
"""
|
787
791
|
body = {"templateGUID": TEMPLATE_GUIDS['Unity Catalog Volume'], "isOwnAnchor": 'true',
|
788
792
|
"placeholderPropertyValues": {"ucCatalogName": uc_catalog, "ucSchemaName": uc_schema,
|
789
|
-
|
790
|
-
|
791
|
-
|
793
|
+
"ucVolumeName": uc_volume, "ucVolumeType": uc_vol_type,
|
794
|
+
"ucStorageLocation": uc_storage_loc,
|
795
|
+
"serverNetworkAddress": network_address, "versionIdentifier": version,
|
796
|
+
"description": description, }}
|
792
797
|
body_s = body_slimmer(body)
|
793
798
|
response = await self._async_create_element_from_template(body_s, server)
|
794
799
|
return str(response)
|
@@ -2398,9 +2403,6 @@ class AutomatedCuration(Client):
|
|
2398
2403
|
# response = loop.run_until_complete(self._async_initiate_uc_server_survey(uc_server_guid, server))
|
2399
2404
|
# return response
|
2400
2405
|
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2404
2406
|
#
|
2405
2407
|
# Initiate general engine action
|
2406
2408
|
#
|
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.7.24 → pyegeria-0.7.25}/examples/doc_samples/Create_Sustainability_Collection_Sample.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|