pyegeria 0.8.4.36__tar.gz → 0.8.4.38__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.8.4.36 → pyegeria-0.8.4.38}/PKG-INFO +1 -1
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/load_archive.py +0 -2
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/asset_catalog_omvs.py +9 -9
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/automated_curation_omvs.py +5 -5
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/classification_manager_omvs.py +193 -407
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/collection_manager_omvs.py +160 -280
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/core_omag_server_config.py +77 -72
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/egeria_cat_client.py +11 -6
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/egeria_client.py +3 -2
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/egeria_config_client.py +5 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/egeria_my_client.py +9 -4
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/egeria_tech_client.py +1 -1
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/feedback_manager_omvs.py +92 -333
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/full_omag_server_config.py +54 -50
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/glossary_browser_omvs.py +128 -284
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/glossary_manager_omvs.py +132 -451
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/my_profile_omvs.py +57 -153
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/platform_services.py +1 -1
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/project_manager_omvs.py +110 -197
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/registered_info.py +13 -13
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/valid_metadata_omvs.py +75 -227
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/x_action_author_omvs.py +1 -1
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyproject.toml +1 -1
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/LICENSE +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/README.md +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/README.md +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_collection.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_project_structure.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/get_tech_type_template.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_archives.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_assets.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_cert_types.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_glossary.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_projects.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_relationships.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_tech_types.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_todos.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cat/list_user_ids.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/egeria.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/egeria_cat.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/egeria_my.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/egeria_ops.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/egeria_tech.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/cli/ops_config.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/README.md +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/list_my_profile.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/list_my_roles.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/my/todo_actions.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/README.md +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/engine_actions.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/README.md +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/get_element_info.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/get_guid_info.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/get_tech_details.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_asset_types.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_elements.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_elements_x.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_registered_services.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_related_specification.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/__init__.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/_client.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/_globals.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/_validators.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.8.4.36 → pyegeria-0.8.4.38}/pyegeria/utils.py +0 -0
@@ -36,7 +36,6 @@ EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
|
36
36
|
@click.command("load-archive")
|
37
37
|
@click.option(
|
38
38
|
"--file",
|
39
|
-
prompt="Path on the Metadata Server of the archive file to load",
|
40
39
|
default="content-packs/CocoComboArchive.omarchive",
|
41
40
|
help="Full path on the Metadata Server to the archive file to load",
|
42
41
|
)
|
@@ -58,7 +57,6 @@ def load_archive(file, server, view_server, url, userid, password, timeout):
|
|
58
57
|
try:
|
59
58
|
s_client = EgeriaTech(view_server, url, userid, password)
|
60
59
|
token = s_client.create_egeria_bearer_token()
|
61
|
-
# server_guid = s_client.get_guid_for_name(server)
|
62
60
|
server_guid = None
|
63
61
|
s_client.add_archive_file(
|
64
62
|
file, server_guid, EGERIA_METADATA_STORE, time_out=timeout
|
@@ -24,7 +24,7 @@ class AssetCatalog(Client):
|
|
24
24
|
"""Set up and maintain automation services in Egeria.
|
25
25
|
|
26
26
|
Attributes:
|
27
|
-
|
27
|
+
view_server : str
|
28
28
|
The name of the View Server to use.
|
29
29
|
platform_url : str
|
30
30
|
URL of the server platform to connect to
|
@@ -38,17 +38,17 @@ class AssetCatalog(Client):
|
|
38
38
|
|
39
39
|
def __init__(
|
40
40
|
self,
|
41
|
-
|
41
|
+
view_server: str,
|
42
42
|
platform_url: str,
|
43
43
|
user_id: str,
|
44
44
|
user_pwd: str = None,
|
45
45
|
token: str = None,
|
46
46
|
):
|
47
|
-
self.
|
47
|
+
self.view_server = view_server
|
48
48
|
self.platform_url = platform_url
|
49
49
|
self.user_id = user_id
|
50
50
|
self.user_pwd = user_pwd
|
51
|
-
Client.__init__(self,
|
51
|
+
Client.__init__(self, view_server, platform_url, user_id, user_pwd, token=token)
|
52
52
|
|
53
53
|
async def _async_create_element_from_template(self, body: dict) -> str:
|
54
54
|
"""Create a new metadata element from a template. Async version.
|
@@ -94,7 +94,7 @@ class AssetCatalog(Client):
|
|
94
94
|
}
|
95
95
|
"""
|
96
96
|
|
97
|
-
url = f"{self.platform_url}/servers/{self.
|
97
|
+
url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/automated-curation/catalog-templates/new-element"
|
98
98
|
response = await self._async_make_request("POST", url, body)
|
99
99
|
return response.json().get("guid", "GUID failed to be returned")
|
100
100
|
|
@@ -357,7 +357,7 @@ class AssetCatalog(Client):
|
|
357
357
|
ignore_case_s = str(ignore_case).lower()
|
358
358
|
|
359
359
|
url = (
|
360
|
-
f"{self.platform_url}/servers/{self.
|
360
|
+
f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/asset-catalog/assets/in-domain/"
|
361
361
|
f"by-search-string?startFrom={start_from}&pageSize={page_size}&startsWith={starts_with_s}&"
|
362
362
|
f"endWith={ends_with_s}&ignoreCase={ignore_case_s}"
|
363
363
|
)
|
@@ -459,7 +459,7 @@ class AssetCatalog(Client):
|
|
459
459
|
"""
|
460
460
|
|
461
461
|
url = (
|
462
|
-
f"{self.platform_url}/servers/{self.
|
462
|
+
f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/asset-catalog/assets/{asset_guid}/"
|
463
463
|
f"as-graph?startFrom={start_from}&pageSize={page_size}"
|
464
464
|
)
|
465
465
|
|
@@ -546,7 +546,7 @@ class AssetCatalog(Client):
|
|
546
546
|
"""
|
547
547
|
|
548
548
|
url = (
|
549
|
-
f"{self.platform_url}/servers/{self.
|
549
|
+
f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/asset-catalog/assets/by-metadata-collection-id/"
|
550
550
|
f"{metadata_collection_id}?startFrom={start_from}&pageSize={page_size}"
|
551
551
|
)
|
552
552
|
|
@@ -627,7 +627,7 @@ class AssetCatalog(Client):
|
|
627
627
|
|
628
628
|
"""
|
629
629
|
|
630
|
-
url = f"{self.platform_url}/servers/{self.
|
630
|
+
url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/asset-catalog/assets/types"
|
631
631
|
|
632
632
|
response = await self._async_make_request("GET", url)
|
633
633
|
|
@@ -23,7 +23,7 @@ class AutomatedCuration(Client):
|
|
23
23
|
"""Set up and maintain automation services in Egeria.
|
24
24
|
|
25
25
|
Attributes:
|
26
|
-
|
26
|
+
view_server : str
|
27
27
|
The name of the View Server to use.
|
28
28
|
platform_url : str
|
29
29
|
URL of the server platform to connect to
|
@@ -38,18 +38,18 @@ class AutomatedCuration(Client):
|
|
38
38
|
|
39
39
|
def __init__(
|
40
40
|
self,
|
41
|
-
|
41
|
+
view_server: str,
|
42
42
|
platform_url: str,
|
43
43
|
user_id: str,
|
44
44
|
user_pwd: str = None,
|
45
45
|
token: str = None,
|
46
46
|
):
|
47
|
-
self.
|
47
|
+
self.view_server = view_server
|
48
48
|
self.platform_url = platform_url
|
49
49
|
self.user_id = user_id
|
50
50
|
self.user_pwd = user_pwd
|
51
|
-
Client.__init__(self,
|
52
|
-
self.curation_command_root = f"{self.platform_url}/servers/{self.
|
51
|
+
Client.__init__(self, view_server, platform_url, user_id, user_pwd, token=token)
|
52
|
+
self.curation_command_root = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/automated-curation"
|
53
53
|
|
54
54
|
async def _async_create_element_from_template(self, body: dict) -> str:
|
55
55
|
"""Create a new metadata element from a template. Async version.
|