pyegeria 5.4.0.15__py3-none-any.whl → 5.4.0.17__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.
- commands/cat/.DS_Store +0 -0
- commands/cat/.env +8 -0
- commands/cat/debug_log +10 -0
- commands/cat/debug_log.log +0 -0
- commands/cat/dr_egeria_md.py +1 -1
- commands/cat/list_format_set.py +5 -3
- commands/cat/logs/pyegeria.log +27 -0
- commands/cli/debug_log.log +0 -0
- commands/ops/load_archive.py +26 -22
- commands/ops/logs/pyegeria.log +0 -0
- md_processing/.DS_Store +0 -0
- md_processing/dr_egeria_inbox/Derive-Dr-Gov-Defs.md +8 -0
- md_processing/dr_egeria_inbox/Dr.Egeria Templates.md +873 -0
- md_processing/dr_egeria_inbox/arch_test.md +57 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_more_terms.md +696 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part1.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part2.md +298 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part3.md +608 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part4.md +94 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro.md +284 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro_orig.md +275 -0
- md_processing/dr_egeria_inbox/archive/test-term.md +110 -0
- md_processing/dr_egeria_inbox/cat_test.md +100 -0
- md_processing/dr_egeria_inbox/collections.md +39 -0
- md_processing/dr_egeria_inbox/data_designer_debug.log +6 -0
- md_processing/dr_egeria_inbox/data_designer_out.md +60 -0
- md_processing/dr_egeria_inbox/data_designer_search_test.md +11 -0
- md_processing/dr_egeria_inbox/data_field.md +54 -0
- md_processing/dr_egeria_inbox/data_spec.md +77 -0
- md_processing/dr_egeria_inbox/data_spec_test.md +2406 -0
- md_processing/dr_egeria_inbox/data_test.md +179 -0
- md_processing/dr_egeria_inbox/data_test2.md +429 -0
- md_processing/dr_egeria_inbox/data_test3.md +462 -0
- md_processing/dr_egeria_inbox/dr_egeria_data_designer_1.md +124 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_categories.md +168 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part1.md +280 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part2.md +313 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part3.md +1073 -0
- md_processing/dr_egeria_inbox/dr_egeria_isc1.md +44 -0
- md_processing/dr_egeria_inbox/generated_help_report.md +9 -0
- md_processing/dr_egeria_inbox/glossary_list.md +5 -0
- md_processing/dr_egeria_inbox/glossary_search_test.md +40 -0
- md_processing/dr_egeria_inbox/glossary_test1.md +324 -0
- md_processing/dr_egeria_inbox/gov_def.md +424 -0
- md_processing/dr_egeria_inbox/gov_def2.md +447 -0
- md_processing/dr_egeria_inbox/product.md +50 -0
- md_processing/dr_egeria_inbox/rel.md +8 -0
- md_processing/dr_egeria_inbox/sb.md +119 -0
- md_processing/dr_egeria_inbox/solution-components.md +136 -0
- md_processing/dr_egeria_inbox/solution_blueprints.md +118 -0
- md_processing/dr_egeria_inbox/synonym_test.md +42 -0
- md_processing/dr_egeria_inbox/t2.md +268 -0
- md_processing/dr_egeria_outbox/.obsidian/app.json +1 -0
- md_processing/dr_egeria_outbox/.obsidian/appearance.json +1 -0
- md_processing/dr_egeria_outbox/.obsidian/community-plugins.json +6 -0
- md_processing/dr_egeria_outbox/.obsidian/core-plugins.json +31 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/data.json +10 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/main.js +4459 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/manifest.json +10 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/data.json +3 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/main.js +153 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/manifest.json +11 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/styles.css +1 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/main.js +500 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/manifest.json +12 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/styles.css +1 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/main.js +37 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/manifest.json +11 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/styles.css +220 -0
- md_processing/dr_egeria_outbox/.obsidian/types.json +28 -0
- md_processing/dr_egeria_outbox/.obsidian/workspace.json +220 -0
- md_processing/dr_egeria_outbox/Untitled.canvas +1 -0
- md_processing/dr_egeria_outbox/friday/processed-2025-07-18 15:00-product.md +62 -0
- md_processing/dr_egeria_outbox/friday/processed-2025-07-18 15:13-product.md +62 -0
- md_processing/dr_egeria_outbox/friday/processed-2025-07-20 13:23-product.md +47 -0
- md_processing/dr_egeria_outbox/friday/processed-2025-08-01 11:55-data_test3.md +503 -0
- md_processing/dr_egeria_outbox/monday/processed-2025-07-14 12:38-data_designer_out.md +663 -0
- md_processing/dr_egeria_outbox/monday/processed-2025-07-21 10:52-generated_help_report.md +2744 -0
- md_processing/dr_egeria_outbox/monday/processed-2025-07-21 18:38-collections.md +62 -0
- md_processing/dr_egeria_outbox/monday/processed-2025-08-01 11:34-gov_def.md +444 -0
- md_processing/dr_egeria_outbox/processed-2025-08-03 16:05-glossary_list.md +37 -0
- md_processing/dr_egeria_outbox/sunday/processed-2025-07-20 14:55-product.md +77 -0
- md_processing/dr_egeria_outbox/sunday/processed-2025-07-20 15:05-product.md +75 -0
- md_processing/dr_egeria_outbox/sunday/processed-2025-07-20 15:11-product.md +74 -0
- md_processing/dr_egeria_outbox/sunday/processed-2025-07-20 20:40-collections.md +49 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 15:00-Derive-Dr-Gov-Defs.md +719 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:13-Derive-Dr-Gov-Defs.md +41 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:14-Derive-Dr-Gov-Defs.md +33 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:50-Derive-Dr-Gov-Defs.md +192 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 22:08-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 22:10-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 08:53-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 08:54-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:03-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:06-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:10-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/tuesday/processed-2025-07-16 19:15-gov_def2.md +527 -0
- md_processing/dr_egeria_outbox/tuesday/processed-2025-07-17 12:08-gov_def2.md +527 -0
- md_processing/dr_egeria_outbox/tuesday/processed-2025-07-17 14:27-gov_def2.md +485 -0
- md_processing/md_processing_utils/debug_log.log +0 -0
- md_processing/md_processing_utils/solution_architect_log.log +0 -0
- pyegeria/.DS_Store +0 -0
- pyegeria/__init__.py +2 -2
- pyegeria/_client_new.py +31 -1
- pyegeria/_output_formats.py +23 -0
- pyegeria/glossary_browser_omvs.py +178 -65
- pyegeria/platform_services.py +3 -3
- pyegeria/runtime_manager_omvs.py +55 -55
- {pyegeria-5.4.0.15.dist-info → pyegeria-5.4.0.17.dist-info}/METADATA +1 -1
- {pyegeria-5.4.0.15.dist-info → pyegeria-5.4.0.17.dist-info}/RECORD +114 -15
- {pyegeria-5.4.0.15.dist-info → pyegeria-5.4.0.17.dist-info}/LICENSE +0 -0
- {pyegeria-5.4.0.15.dist-info → pyegeria-5.4.0.17.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.0.15.dist-info → pyegeria-5.4.0.17.dist-info}/entry_points.txt +0 -0
commands/cat/.DS_Store
ADDED
Binary file
|
commands/cat/.env
ADDED
commands/cat/debug_log
CHANGED
@@ -538,3 +538,13 @@ D [32m 2025-08-01T11:55:49.817943-0500 [0m | ERROR | parse_upsert_command | 23
|
|
538
538
|
| {}
|
539
539
|
D [32m 2025-08-01T11:55:49.818011-0500 [0m | ERROR | parse_upsert_command | 240 | Request is invalid, `Update Data Class` is not valid - see previous messages
|
540
540
|
| {}
|
541
|
+
D [32m 2025-08-03T16:05:33.497921-0500 [0m | INFO | process_markdown_file | 90 |
|
542
|
+
|
543
|
+
====================================================
|
544
|
+
|
545
|
+
| {}
|
546
|
+
D [32m 2025-08-03T16:05:33.498408-0500 [0m | INFO | process_markdown_file | 91 | Processing Markdown File: ../../md_processing/dr_egeria_inbox/glossary_list.md | {}
|
547
|
+
D [32m 2025-08-03T16:05:33.500280-0500 [0m | INFO | print_msg | 131 | INFO-Optional attribute with labels `['Search String', 'Filter']` missing | {}
|
548
|
+
D [32m 2025-08-03T16:05:33.548949-0500 [0m | INFO | print_msg | 131 | DEBUG-INFO->Found Glossary `Egeria-Markdown` with qualified name `Glossary::Egeria-Markdown` | {}
|
549
|
+
D [32m 2025-08-03T16:05:33.549047-0500 [0m | INFO | print_msg | 131 | INFO-Found glossary `Egeria-Markdown` with GUID 962c8c82-1148-49ec-b004-403900de31b5 | {}
|
550
|
+
D [32m 2025-08-03T16:05:33.549216-0500 [0m | INFO | print_msg | 131 | INFO-Optional attribute with labels `['Output', 'Output Format']` missing | {}
|
File without changes
|
commands/cat/dr_egeria_md.py
CHANGED
@@ -66,7 +66,7 @@ setup_log()
|
|
66
66
|
@click.command("process_markdown_file", help="Process a markdown file and return the output as a string.")
|
67
67
|
@click.option("--input-file", help="Markdown file to process.", default="dr_egeria_intro_part1.md", required=True,
|
68
68
|
prompt=False)
|
69
|
-
@click.option("--output-folder", help="Output folder.", default="
|
69
|
+
@click.option("--output-folder", help="Output folder.", default="", required=False)
|
70
70
|
@click.option("--directive", default="process", help="How to process the file",
|
71
71
|
type=click.Choice(["display", "validate", "process"], case_sensitive=False), prompt=False, )
|
72
72
|
@click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use.")
|
commands/cat/list_format_set.py
CHANGED
@@ -38,7 +38,7 @@ import argparse
|
|
38
38
|
import json
|
39
39
|
import os
|
40
40
|
import time
|
41
|
-
|
41
|
+
|
42
42
|
from loguru import logger
|
43
43
|
from rich import box
|
44
44
|
from rich.console import Console
|
@@ -51,9 +51,11 @@ import pydevd_pycharm
|
|
51
51
|
from pyegeria import (
|
52
52
|
EgeriaTech,
|
53
53
|
NO_ELEMENTS_FOUND,
|
54
|
-
config_logging,
|
55
|
-
get_app_config
|
54
|
+
# config_logging,
|
55
|
+
# get_app_config
|
56
56
|
)
|
57
|
+
from pyegeria.load_config import get_app_config
|
58
|
+
from pyegeria.logging_configuration import config_logging
|
57
59
|
from pyegeria._output_formats import select_output_format_set, get_output_format_set_heading, \
|
58
60
|
get_output_format_set_description
|
59
61
|
from pyegeria._exceptions_new import PyegeriaException, print_exception_response
|
@@ -0,0 +1,27 @@
|
|
1
|
+
2025-08-04 10:10:25 | INFO | main:394 - view server @ https://localhost:9443-{}
|
2
|
+
2025-08-04 10:10:26 | SUCCESS | get_platform_origin:357 - Got response from https://localhost:9443/open-metadata/platform-services/users/erinoverview/server-platform/origin
|
3
|
+
Response: Egeria OMAG Server Platform (version 5.4-SNAPSHOT)-{}
|
4
|
+
2025-08-04 10:10:26 | INFO | __init__:76 - CollectionManager initialized, platform origin is: True-{}
|
5
|
+
2025-08-04 10:10:27 | ERROR | __init__:235 -
|
6
|
+
|
7
|
+
=> SERVER_ERROR_500
|
8
|
+
=> Egeria detected error: `https://localhost:9443/servers/qs-view-server/api/open-metadata/collection-manager/collections/by-search-string?startFrom=0&pageSize=0&startsWith=true&endsWith=false&ignoreCase=false`.
|
9
|
+
* Context:
|
10
|
+
* class name=`Client2`
|
11
|
+
* caller method=`_async_find_collections_w_body`
|
12
|
+
* System Action: Server-side issue requires attention.
|
13
|
+
* User Action: Contact server support.
|
14
|
+
* HTTP Code: 200
|
15
|
+
|
16
|
+
Egeria detected error: `OPEN-METADATA-400-022`.
|
17
|
+
* class = OpenMetadataRootElementsResponse
|
18
|
+
* relatedHTTPCode = 400
|
19
|
+
* exceptionClassName = org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
|
20
|
+
* actionDescription = findCollections
|
21
|
+
* exceptionErrorMessage = OPEN-METADATA-400-022 The search string passed on the searchString parameter of the findCollections operation is null
|
22
|
+
* exceptionErrorMessageId = OPEN-METADATA-400-022
|
23
|
+
* exceptionErrorMessageParameters = ['searchString', 'findCollections']
|
24
|
+
* exceptionSystemAction = The system is unable to process the request without a search string.
|
25
|
+
* exceptionUserAction = Correct the code in the caller to provide the search string.
|
26
|
+
* exceptionProperties = `searchString`
|
27
|
+
-{'ip': URL('https://localhost:9443/servers/qs-view-server/api/open-metadata/collection-manager/collections/by-search-string?startFrom=0&pageSize=0&startsWith=true&endsWith=false&ignoreCase=false'), 'http_code': 200, 'pyegeria_code': 'SERVER_ERROR_500'}
|
File without changes
|
commands/ops/load_archive.py
CHANGED
@@ -11,29 +11,33 @@ This script refreshed an integration daemon.
|
|
11
11
|
import os
|
12
12
|
|
13
13
|
import click
|
14
|
-
|
15
|
-
from pyegeria import AutomatedCuration, EgeriaTech
|
16
|
-
from pyegeria.
|
17
|
-
|
18
|
-
PropertyServerException,
|
19
|
-
UserNotAuthorizedException,
|
20
|
-
print_exception_response,
|
14
|
+
from loguru import logger
|
15
|
+
from pyegeria import AutomatedCuration, EgeriaTech, config_logging, get_app_config
|
16
|
+
from pyegeria._exceptions_new import (
|
17
|
+
PyegeriaException, print_exception_response, print_basic_exception
|
21
18
|
)
|
22
19
|
|
23
|
-
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
24
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
25
|
-
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
26
|
-
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
27
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
28
|
-
|
29
|
-
)
|
30
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
|
31
|
-
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
32
|
-
|
33
|
-
)
|
20
|
+
# EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
21
|
+
# EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
22
|
+
# EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
23
|
+
# EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
24
|
+
# EGERIA_VIEW_SERVER_URL = os.environ.get(
|
25
|
+
# "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
26
|
+
# )
|
27
|
+
# EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
|
28
|
+
# EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
29
|
+
# "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
30
|
+
# )
|
31
|
+
|
32
|
+
|
33
|
+
|
34
34
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
35
35
|
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
36
|
+
app_settings = get_app_config()
|
37
|
+
app_config = app_settings.Environment
|
38
|
+
config_logging()
|
36
39
|
|
40
|
+
print(f"Console width is {app_config.console_width}")
|
37
41
|
|
38
42
|
@click.command("load-archive")
|
39
43
|
@click.option(
|
@@ -42,13 +46,13 @@ EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
|
42
46
|
help="Full path on the Metadata Server to the archive file to load",
|
43
47
|
)
|
44
48
|
@click.option(
|
45
|
-
"--server_name", default=
|
49
|
+
"--server_name", default=app_config.egeria_metadata_store, help="Egeria metadata store to load"
|
46
50
|
)
|
47
51
|
@click.option(
|
48
|
-
"--view-server", default=
|
52
|
+
"--view-server", default=app_config.egeria_view_server, help="Egeria view server to connect to"
|
49
53
|
)
|
50
54
|
@click.option(
|
51
|
-
"--url", default=
|
55
|
+
"--url", default=app_config.egeria_platform_url, help="URL of Egeria platform to connect to"
|
52
56
|
)
|
53
57
|
@click.option("--userid", default=EGERIA_USER, help="Egeria admin user")
|
54
58
|
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria admin password")
|
@@ -65,7 +69,7 @@ def load_archive(file_name, server_name, view_server, url, userid, password, tim
|
|
65
69
|
|
66
70
|
click.echo(f"Loaded archive: {file_name}")
|
67
71
|
|
68
|
-
except (
|
72
|
+
except (PyegeriaException) as e:
|
69
73
|
print(
|
70
74
|
f"Perhaps there was a timeout? If so, the command will complete despite the exception\n"
|
71
75
|
f"===> You can check by rerunning the command in a few minutes"
|
File without changes
|
md_processing/.DS_Store
ADDED
Binary file
|