pyegeria 0.5.5.23__tar.gz → 0.5.5.24__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.5.5.23 → pyegeria-0.5.5.24}/PKG-INFO +1 -1
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/automated_curation_omvs.py +17 -21
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyproject.toml +1 -1
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/LICENSE +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/README.md +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/doc_samples/Create_Collection_Sample.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/README.md +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/__init__.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/list_assets.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/view_asset_graph.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/view_collection.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/catalog_user/view_glossary.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/README.md +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/__init__.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/get_guid_info.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/get_tech_details.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_asset_types.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_registered_services.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_relationship_types.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_tech_templates.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_tech_types.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_valid_metadata_values.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/README.md +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/__init__.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/get_tech_type_elements.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/get_tech_type_template.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/refresh_integration_daemon.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_asset_events.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_coco_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_eng_action_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_gov_eng_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_integ_daemon_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_platform_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_server_list.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_server_status.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/README.md +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/__init__.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/get_my_profile.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/list_projects.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/list_todos.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/view_my_todos.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/view_open_todos.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/Xfeedback_manager_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/Xloaded_resources_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/__init__.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/_client.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/_globals.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/_validators.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/action_author_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/core_guids.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/tech_guids_22-07-2024 13:22.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/utils.py +0 -0
- {pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -10,13 +10,9 @@ from datetime import datetime
|
|
10
10
|
|
11
11
|
from httpx import Response
|
12
12
|
|
13
|
-
from pyegeria import Client, max_paging_size, body_slimmer
|
13
|
+
from pyegeria import Client, max_paging_size, body_slimmer, INTEGRATION_GUIDS, TEMPLATE_GUIDS
|
14
14
|
from pyegeria._exceptions import (InvalidParameterException, PropertyServerException, UserNotAuthorizedException)
|
15
15
|
from ._validators import validate_name, validate_guid, validate_search_string
|
16
|
-
from .core_guids import (FILEFOLDER_TEMPLATE_GUID,
|
17
|
-
POSTGRESQL_SERVER_TEMPLATE_GUID,
|
18
|
-
APACHE_KAFKA_SERVER_TEMPLATE_GUID,
|
19
|
-
)
|
20
16
|
|
21
17
|
|
22
18
|
class AutomatedCuration(Client):
|
@@ -169,7 +165,7 @@ class AutomatedCuration(Client):
|
|
169
165
|
The GUID of the Kafka server element.
|
170
166
|
"""
|
171
167
|
|
172
|
-
body = {"templateGUID":
|
168
|
+
body = {"templateGUID":TEMPLATE_GUIDS['Apache Kafka Server template'], "isOwnAnchor": 'true',
|
173
169
|
"placeholderPropertyValues": {"serverName": kafka_server, "hostIdentifier": host_name,
|
174
170
|
"portNumber": port, "description": description}}
|
175
171
|
body_s = body_slimmer(body)
|
@@ -241,7 +237,7 @@ class AutomatedCuration(Client):
|
|
241
237
|
str
|
242
238
|
The GUID of the Postgres server element.
|
243
239
|
"""
|
244
|
-
body = {"templateGUID":
|
240
|
+
body = {"templateGUID":TEMPLATE_GUIDS['PostgreSQL Server template'], "isOwnAnchor": 'true',
|
245
241
|
"placeholderPropertyValues": {"serverName": postgres_server, "hostIdentifier": host_name,
|
246
242
|
"portNumber": port, "databaseUserId": db_user, "description": description,
|
247
243
|
"databasePassword": db_pwd}}
|
@@ -319,7 +315,7 @@ class AutomatedCuration(Client):
|
|
319
315
|
str
|
320
316
|
The GUID of the File Folder element.
|
321
317
|
"""
|
322
|
-
body = {"templateGUID":
|
318
|
+
body = {"templateGUID": TEMPLATE_GUIDS['FileFolder template'],
|
323
319
|
"isOwnAnchor": 'true',
|
324
320
|
"placeholderPropertyValues": {
|
325
321
|
"directoryPathName": path_name,
|
@@ -1429,8 +1425,8 @@ class AutomatedCuration(Client):
|
|
1429
1425
|
- request source elements for the resulting governance action service
|
1430
1426
|
action_targets: [str]
|
1431
1427
|
-list of action target names to GUIDs for the resulting governance action service
|
1432
|
-
start_time: datetime
|
1433
|
-
- time to start the process
|
1428
|
+
start_time: datetime, default = None
|
1429
|
+
- time to start the process, no earlier than start time. None means now.
|
1434
1430
|
request_parameters: [str]
|
1435
1431
|
- parameters passed into the process
|
1436
1432
|
orig_service_name: str
|
@@ -1465,8 +1461,8 @@ class AutomatedCuration(Client):
|
|
1465
1461
|
return response.json().get("guid", "Action not initiated")
|
1466
1462
|
|
1467
1463
|
def initiate_gov_action_type(self, action_type_qualified_name: str, request_source_guids: [str],
|
1468
|
-
action_targets: list, start_time: datetime, request_parameters: dict,
|
1469
|
-
orig_service_name: str, orig_engine_name: str, server: str = None) -> str:
|
1464
|
+
action_targets: list, start_time: datetime = None, request_parameters: dict = None,
|
1465
|
+
orig_service_name: str = None, orig_engine_name: str = None, server: str = None) -> str:
|
1470
1466
|
""" Using the named governance action type as a template, initiate an engine action.
|
1471
1467
|
|
1472
1468
|
Parameters
|
@@ -1477,8 +1473,8 @@ class AutomatedCuration(Client):
|
|
1477
1473
|
- request source elements for the resulting governance action service
|
1478
1474
|
action_targets: [str]
|
1479
1475
|
-list of action target names to GUIDs for the resulting governance action service
|
1480
|
-
start_time: datetime
|
1481
|
-
- time to start the process
|
1476
|
+
start_time: datetime, default = None
|
1477
|
+
- time to start the process, no earlier than start time. None means now.
|
1482
1478
|
request_parameters: [str]
|
1483
1479
|
- parameters passed into the process
|
1484
1480
|
orig_service_name: str
|
@@ -1513,7 +1509,7 @@ class AutomatedCuration(Client):
|
|
1513
1509
|
|
1514
1510
|
body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
1515
1511
|
"governanceActionTypeQualifiedName":
|
1516
|
-
"
|
1512
|
+
"AssetSurvey-postgres-database",
|
1517
1513
|
"actionTargets": [{"class": "NewActionTarget", "actionTargetName": "serverToSurvey",
|
1518
1514
|
"actionTargetGUID": postgres_database_guid}]}
|
1519
1515
|
response = await self._async_make_request("POST", url, body)
|
@@ -1532,7 +1528,7 @@ class AutomatedCuration(Client):
|
|
1532
1528
|
f"initiate")
|
1533
1529
|
|
1534
1530
|
body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
1535
|
-
"governanceActionTypeQualifiedName": "
|
1531
|
+
"governanceActionTypeQualifiedName": "AssetSurvey:survey-postgres-server",
|
1536
1532
|
"actionTargets": [{"class": "NewActionTarget", "actionTargetName": "serverToSurvey",
|
1537
1533
|
"actionTargetGUID": postgres_server_guid}]}
|
1538
1534
|
response = await self._async_make_request("POST", url, body)
|
@@ -1575,10 +1571,10 @@ class AutomatedCuration(Client):
|
|
1575
1571
|
in the Core Content Brain.
|
1576
1572
|
|
1577
1573
|
File Folder Survey Names currently include::
|
1578
|
-
-
|
1579
|
-
-
|
1580
|
-
-
|
1581
|
-
-
|
1574
|
+
- AssetSurvey:survey-folders
|
1575
|
+
- AssetSurvey:survey-folder-and-files
|
1576
|
+
- AssetSurvey:survey-all-folders
|
1577
|
+
- AssetSurvey:survey-all-folders-and-files
|
1582
1578
|
"""
|
1583
1579
|
server = self.server_name if server is None else server
|
1584
1580
|
url = (f"{self.platform_url}/servers/{server}/api/open-metadata/automated-curation/governance-action-types/"
|
@@ -1672,7 +1668,7 @@ class AutomatedCuration(Client):
|
|
1672
1668
|
f"initiate")
|
1673
1669
|
|
1674
1670
|
body = {"class": "InitiateGovernanceActionTypeRequestBody",
|
1675
|
-
"governanceActionTypeQualifiedName": "
|
1671
|
+
"governanceActionTypeQualifiedName": "AssetSurvey:survey-kafka-server",
|
1676
1672
|
"actionTargets": [{"class": "NewActionTarget", "actionTargetName": "serverToSurvey",
|
1677
1673
|
"actionTargetGUID": kafka_server_guid}]}
|
1678
1674
|
response = await self._async_make_request("POST", url, body)
|
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
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_registered_services.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_relationship_types.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/developer/list_valid_metadata_values.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/get_tech_type_elements.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/get_tech_type_template.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/refresh_integration_daemon.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_eng_action_status.py
RENAMED
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_integ_daemon_status.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/operational/view_platform_status.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/get_my_profile.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/list_projects.py
RENAMED
File without changes
|
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/view_my_todos.py
RENAMED
File without changes
|
{pyegeria-0.5.5.23 → pyegeria-0.5.5.24}/examples/widgets/personal_organizer/view_open_todos.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
|