pyegeria 5.3.0.dev8__py3-none-any.whl → 5.3.1.dev1__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/_client.py +1 -1
- 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 +4 -3
- 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 +15 -20
- pyegeria/commands/cli/egeria_cat.py +21 -3
- pyegeria/commands/cli/egeria_login_tui.py +1 -1
- pyegeria/commands/cli/egeria_my.py +0 -10
- pyegeria/commands/cli/egeria_ops.py +4 -18
- pyegeria/commands/cli/egeria_tech.py +0 -9
- pyegeria/commands/cli/ops_config.py +1 -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_anchored_elements.py +1 -1
- pyegeria/commands/tech/list_asset_types.py +1 -1
- pyegeria/commands/tech/list_elements.py +1 -1
- pyegeria/commands/tech/list_elements_for_classification.py +1 -1
- pyegeria/commands/tech/list_elements_x.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.py +1 -1
- 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-5.3.0.dev8.dist-info → pyegeria-5.3.1.dev1.dist-info}/METADATA +10 -10
- {pyegeria-5.3.0.dev8.dist-info → pyegeria-5.3.1.dev1.dist-info}/RECORD +74 -74
- {pyegeria-5.3.0.dev8.dist-info → pyegeria-5.3.1.dev1.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.0.dev8.dist-info → pyegeria-5.3.1.dev1.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.0.dev8.dist-info → pyegeria-5.3.1.dev1.dist-info}/entry_points.txt +0 -0
pyegeria/_client.py
CHANGED
@@ -696,7 +696,7 @@ class Client:
|
|
696
696
|
try:
|
697
697
|
view_server = self.view_server
|
698
698
|
except AttributeError:
|
699
|
-
view_server = os.environ.get("
|
699
|
+
view_server = os.environ.get("VIEW_SERVER", "view-server")
|
700
700
|
|
701
701
|
if (not qualified_name) and display_name:
|
702
702
|
if (tech_type) and (property_name == "qualifiedName"):
|
@@ -35,7 +35,7 @@ disable_ssl_warnings = True
|
|
35
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
36
36
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
37
37
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
38
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
38
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
39
39
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
40
40
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
41
41
|
)
|
@@ -26,7 +26,7 @@ from pyegeria import (
|
|
26
26
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
27
27
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
28
28
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
29
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
29
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
30
30
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
31
31
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
32
32
|
)
|
@@ -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("VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -31,7 +31,7 @@ disable_ssl_warnings = True
|
|
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("VIEW_SERVER", "view-server")
|
35
35
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
36
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -31,7 +31,7 @@ disable_ssl_warnings = True
|
|
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("VIEW_SERVER", "view-server")
|
35
35
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
36
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -33,7 +33,7 @@ from rich import print
|
|
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("VIEW_SERVER", "view-server")
|
37
37
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
38
38
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -33,7 +33,7 @@ from pyegeria._exceptions import (
|
|
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("VIEW_SERVER", "view-server")
|
37
37
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
38
38
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -127,7 +127,7 @@ def create_glossary(
|
|
127
127
|
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
128
128
|
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
129
129
|
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
130
|
-
@click.argument("glossary-guid")
|
130
|
+
@click.argument("glossary-guid", default=EGERIA_HOME_GLOSSARY_GUID)
|
131
131
|
def delete_glossary(server, url, userid, password, timeout, glossary_guid):
|
132
132
|
"""Delete the glossary specified"""
|
133
133
|
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
@@ -164,7 +164,7 @@ def delete_glossary(server, url, userid, password, timeout, glossary_guid):
|
|
164
164
|
"--status",
|
165
165
|
help="Status",
|
166
166
|
type=click.Choice(
|
167
|
-
["DRAFT", "ACTIVE", "
|
167
|
+
["DRAFT", "ACTIVE", "DEPRACATED", "OBSOLETE", "OTHER"], case_sensitive=False
|
168
168
|
),
|
169
169
|
default="DRAFT",
|
170
170
|
)
|
@@ -329,6 +329,7 @@ def import_terms(
|
|
329
329
|
@click.command("export-terms")
|
330
330
|
@click.option(
|
331
331
|
"--glossary_guid",
|
332
|
+
default=EGERIA_HOME_GLOSSARY_GUID,
|
332
333
|
help="GUID of Glossary to export",
|
333
334
|
required=True,
|
334
335
|
)
|
@@ -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("VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -32,7 +32,7 @@ from pyegeria import (
|
|
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("VIEW_SERVER", "view-server")
|
36
36
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
37
37
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
38
38
|
)
|
@@ -28,7 +28,7 @@ disable_ssl_warnings = True
|
|
28
28
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
29
29
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
30
30
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
31
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
31
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
32
32
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
33
33
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
34
34
|
)
|
@@ -22,7 +22,7 @@ console = Console()
|
|
22
22
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
23
23
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
24
24
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
25
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
25
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
26
26
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
27
27
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
28
28
|
)
|
@@ -22,7 +22,7 @@ console = Console()
|
|
22
22
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
23
23
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
24
24
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
25
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
25
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
26
26
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
27
27
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
28
28
|
)
|
@@ -22,7 +22,7 @@ console = Console()
|
|
22
22
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
23
23
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
24
24
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
25
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
25
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
26
26
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
27
27
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
28
28
|
)
|
@@ -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("VIEW_SERVER", "view-server")
|
36
36
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
37
37
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
38
38
|
)
|
@@ -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("VIEW_SERVER", "view-server")
|
35
35
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
36
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -33,7 +33,7 @@ from pyegeria import (
|
|
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("VIEW_SERVER", "view-server")
|
37
37
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
38
38
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -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("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 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("VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -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("VIEW_SERVER", "view-server")
|
36
36
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
37
37
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
38
38
|
)
|
@@ -30,7 +30,7 @@ from pyegeria.my_profile_omvs import MyProfile
|
|
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("VIEW_SERVER", "view-server")
|
34
34
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
35
35
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
36
36
|
)
|
@@ -22,7 +22,7 @@ console = Console()
|
|
22
22
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
23
23
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
24
24
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
25
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
25
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
26
26
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
27
27
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
28
28
|
)
|
pyegeria/commands/cli/egeria.py
CHANGED
@@ -1396,6 +1396,21 @@ def show_user_ids(ctx):
|
|
1396
1396
|
)
|
1397
1397
|
|
1398
1398
|
|
1399
|
+
@show_server.command("archives")
|
1400
|
+
@click.pass_context
|
1401
|
+
def archives(ctx):
|
1402
|
+
"""Display a list of archivest"""
|
1403
|
+
c = ctx.obj
|
1404
|
+
display_archive_list(
|
1405
|
+
c.view_server,
|
1406
|
+
c.view_server_url,
|
1407
|
+
c.userid,
|
1408
|
+
c.password,
|
1409
|
+
False,
|
1410
|
+
c.jupyter,
|
1411
|
+
c.width,
|
1412
|
+
)
|
1413
|
+
|
1399
1414
|
|
1400
1415
|
@deployed_data.command("deployed-servers")
|
1401
1416
|
@click.option(
|
@@ -1522,26 +1537,6 @@ def show_ops(ctx):
|
|
1522
1537
|
"""Display an Egeria Object"""
|
1523
1538
|
pass
|
1524
1539
|
|
1525
|
-
@show_ops.group("repository")
|
1526
|
-
@click.pass_context
|
1527
|
-
def show_repo(ctx):
|
1528
|
-
"""Group of commands to show repository information"""
|
1529
|
-
pass
|
1530
|
-
|
1531
|
-
|
1532
|
-
@show_repo.command("archives")
|
1533
|
-
@click.pass_context
|
1534
|
-
def show_archives(ctx):
|
1535
|
-
c= ctx.obj
|
1536
|
-
display_archive_list(
|
1537
|
-
c.view_server,
|
1538
|
-
c.view_server_url,
|
1539
|
-
c.userid,
|
1540
|
-
c.password,
|
1541
|
-
False,
|
1542
|
-
c.jupyter,
|
1543
|
-
c.width,
|
1544
|
-
)
|
1545
1540
|
|
1546
1541
|
@show_ops.group("platforms")
|
1547
1542
|
@click.pass_context
|
@@ -143,7 +143,6 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
|
|
143
143
|
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
144
144
|
help="Path to glossary import/export files",
|
145
145
|
)
|
146
|
-
|
147
146
|
@click.pass_context
|
148
147
|
def cli(
|
149
148
|
ctx,
|
@@ -164,7 +163,6 @@ def cli(
|
|
164
163
|
width,
|
165
164
|
home_glossary_guid,
|
166
165
|
glossary_path,
|
167
|
-
|
168
166
|
):
|
169
167
|
"""An Egeria Command Line interface for Operations"""
|
170
168
|
ctx.obj = Config(
|
@@ -631,7 +629,27 @@ tell_todo.add_command(delete_todo)
|
|
631
629
|
tell_todo.add_command(create_todo)
|
632
630
|
|
633
631
|
|
634
|
-
|
632
|
+
# @tell.group("survey")
|
633
|
+
# @click.pass_context
|
634
|
+
# def survey(ctx):
|
635
|
+
# """Refresh the specified integration connector or ALL connectors if not specified"""
|
636
|
+
# c = ctx.obj
|
637
|
+
# pass
|
638
|
+
|
639
|
+
|
640
|
+
# @survey.command("survey-uc-server")
|
641
|
+
# @click.pass_context
|
642
|
+
# @click.option(
|
643
|
+
# "--uc_endpoint",
|
644
|
+
# default="https://localhost:8080",
|
645
|
+
# help="Endpoint of the Unity Catalog Server to Survey",
|
646
|
+
# )
|
647
|
+
# def survey_uc_server(ctx, uc_endpoint):
|
648
|
+
# """Survey the Unity Catalog server at the given endpoint"""
|
649
|
+
# c = ctx.obj
|
650
|
+
# pass
|
651
|
+
# # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
|
652
|
+
# # c.userid, c.password)
|
635
653
|
|
636
654
|
|
637
655
|
if __name__ == "__main__":
|
@@ -40,7 +40,7 @@ from typing import Any
|
|
40
40
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
41
41
|
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
42
42
|
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
43
|
-
EGERIA_VIEW_SERVER = os.environ.get("
|
43
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
44
44
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
45
45
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
46
46
|
)
|
@@ -124,12 +124,6 @@ from pyegeria.commands.my.todo_actions import (
|
|
124
124
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
125
125
|
help="Glossary guid to use as the home glossary",
|
126
126
|
)
|
127
|
-
@click.option(
|
128
|
-
"--glossary_path",
|
129
|
-
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
130
|
-
help="Path to glossary import/export files",
|
131
|
-
)
|
132
|
-
|
133
127
|
@click.pass_context
|
134
128
|
def cli(
|
135
129
|
ctx,
|
@@ -148,8 +142,6 @@ def cli(
|
|
148
142
|
timeout,
|
149
143
|
jupyter,
|
150
144
|
width,
|
151
|
-
home_glossary_guid,
|
152
|
-
glossary_path,
|
153
145
|
):
|
154
146
|
"""An Egeria Command Line interface for Operations"""
|
155
147
|
ctx.obj = Config(
|
@@ -168,8 +160,6 @@ def cli(
|
|
168
160
|
timeout,
|
169
161
|
jupyter,
|
170
162
|
width,
|
171
|
-
home_glossary_guid,
|
172
|
-
glossary_path,
|
173
163
|
)
|
174
164
|
ctx.max_content_width = 200
|
175
165
|
ctx.ensure_object(Config)
|
@@ -140,11 +140,6 @@ from pyegeria.commands.ops.list_archives import display_archive_list
|
|
140
140
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
141
141
|
help="Glossary guid to use as the home glossary",
|
142
142
|
)
|
143
|
-
@click.option(
|
144
|
-
"--glossary_path",
|
145
|
-
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
146
|
-
help="Path to glossary import/export files",
|
147
|
-
)
|
148
143
|
@click.pass_context
|
149
144
|
def cli(
|
150
145
|
ctx,
|
@@ -163,8 +158,6 @@ def cli(
|
|
163
158
|
timeout,
|
164
159
|
jupyter,
|
165
160
|
width,
|
166
|
-
home_glossary_guid,
|
167
|
-
glossary_path,
|
168
161
|
):
|
169
162
|
"""An Egeria Command Line interface for Operations"""
|
170
163
|
ctx.obj = Config(
|
@@ -183,8 +176,6 @@ def cli(
|
|
183
176
|
timeout,
|
184
177
|
jupyter,
|
185
178
|
width,
|
186
|
-
home_glossary_guid,
|
187
|
-
glossary_path
|
188
179
|
)
|
189
180
|
ctx.max_content_width = 200
|
190
181
|
ctx.ensure_object(Config)
|
@@ -257,17 +248,12 @@ def show_startup_status(ctx):
|
|
257
248
|
c.width,
|
258
249
|
)
|
259
250
|
|
260
|
-
@show.group("repository")
|
261
|
-
@click.pass_context
|
262
|
-
def show_repo(ctx):
|
263
|
-
"""Group of commands to show repository information"""
|
264
|
-
pass
|
265
|
-
|
266
251
|
|
267
|
-
@
|
252
|
+
@show_server.command("archives")
|
268
253
|
@click.pass_context
|
269
|
-
def
|
270
|
-
|
254
|
+
def list_archives(ctx):
|
255
|
+
"""Display a list of archives"""
|
256
|
+
c = ctx.obj
|
271
257
|
display_archive_list(
|
272
258
|
c.view_server,
|
273
259
|
c.view_server_url,
|
@@ -139,11 +139,6 @@ from pyegeria.commands.tech.get_tech_type_template import template_viewer
|
|
139
139
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
140
140
|
help="Glossary guid to use as the home glossary",
|
141
141
|
)
|
142
|
-
@click.option(
|
143
|
-
"--glossary_path",
|
144
|
-
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
145
|
-
help="Path to glossary import/export files",
|
146
|
-
)
|
147
142
|
@click.pass_context
|
148
143
|
def cli(
|
149
144
|
ctx,
|
@@ -162,8 +157,6 @@ def cli(
|
|
162
157
|
timeout,
|
163
158
|
jupyter,
|
164
159
|
width,
|
165
|
-
home_glossary_guid,
|
166
|
-
home_glossary_path,
|
167
160
|
):
|
168
161
|
"""An Egeria Command Line interface for Operations"""
|
169
162
|
ctx.obj = Config(
|
@@ -182,8 +175,6 @@ def cli(
|
|
182
175
|
timeout,
|
183
176
|
jupyter,
|
184
177
|
width,
|
185
|
-
home_glossary_guid,
|
186
|
-
home_glossary_path,
|
187
178
|
)
|
188
179
|
ctx.max_content_width = 200
|
189
180
|
ctx.ensure_object(Config)
|
@@ -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("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("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("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("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("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("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("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("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("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("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("VIEW_SERVER", "view-server")
|
33
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
@@ -32,11 +32,11 @@ from pyegeria._exceptions import (
|
|
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("VIEW_SERVER", "view-server")
|
36
36
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
37
37
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
38
38
|
)
|
39
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("
|
39
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
|
40
40
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
41
41
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
42
42
|
)
|
@@ -50,15 +50,15 @@ disable_ssl_warnings = True
|
|
50
50
|
|
51
51
|
def display_integration_daemon_status(
|
52
52
|
search_list: list[str] = ["*"],
|
53
|
-
integ_server: str =
|
54
|
-
integ_url: str =
|
55
|
-
view_server: str =
|
56
|
-
view_url: str =
|
57
|
-
user: str =
|
58
|
-
user_pass: str =
|
53
|
+
integ_server: str = EGERIA_INTEGRATION_DAEMON,
|
54
|
+
integ_url: str = EGERIA_INTEGRATION_DAEMON_URL,
|
55
|
+
view_server: str = EGERIA_VIEW_SERVER,
|
56
|
+
view_url: str = EGERIA_VIEW_SERVER_URL,
|
57
|
+
user: str = EGERIA_USER,
|
58
|
+
user_pass: str = EGERIA_USER_PASSWORD,
|
59
59
|
paging: bool = False,
|
60
|
-
jupyter: bool =
|
61
|
-
width: int =
|
60
|
+
jupyter: bool = EGERIA_JUPYTER,
|
61
|
+
width: int = EGERIA_WIDTH,
|
62
62
|
sort: bool = True,
|
63
63
|
) -> None:
|
64
64
|
"""Display the status of connectors running on the specified Integration Daemon OMAG Server.
|