pyegeria 5.2.0.20__py3-none-any.whl → 5.2.0.42.2__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/commands/README.md +2 -1
- pyegeria/commands/cat/__init__.py +1 -5
- 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 +2 -2
- pyegeria/commands/cat/glossary_actions.py +9 -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 +5 -3
- pyegeria/commands/cat/list_deployed_database_schemas.py +1 -1
- pyegeria/commands/cat/list_deployed_databases.py +3 -4
- 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 +190 -0
- pyegeria/commands/cat/list_tech_types.py +36 -24
- pyegeria/commands/cat/list_terms.py +5 -3
- pyegeria/commands/cat/list_todos.py +1 -1
- pyegeria/commands/cat/list_user_ids.py +1 -1
- pyegeria/commands/cli/egeria.py +71 -63
- pyegeria/commands/cli/egeria_cat.py +44 -44
- pyegeria/commands/cli/egeria_login_tui.py +1 -1
- pyegeria/commands/cli/egeria_my.py +24 -28
- pyegeria/commands/cli/egeria_ops.py +37 -39
- pyegeria/commands/cli/egeria_tech.py +49 -35
- pyegeria/commands/cli/ops_config.py +3 -1
- pyegeria/commands/doc/{command-overview.md → README.md} +50 -5
- pyegeria/commands/doc/Visual Command Reference/README.md +511 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/CleanShot 2024-12-19 at 13.23.11.mov +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/CleanShot 2024-12-19 at 19.56.26.mp4 +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
- pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/{hey_egeria: overview.md → README.md } +1 -1
- 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 +18 -6
- pyegeria/commands/my/monitor_open_todos.py +2 -2
- 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 +27 -22
- pyegeria/commands/ops/monitor_engine_activity.py +1 -1
- pyegeria/commands/ops/monitor_engine_activity_c.py +1 -1
- pyegeria/commands/ops/monitor_gov_eng_status.py +31 -4
- pyegeria/commands/ops/monitor_integ_daemon_status.py +11 -8
- pyegeria/commands/ops/monitor_platform_status.py +2 -2
- 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 +36 -21
- pyegeria/commands/ops/refresh_integration_daemon.py +2 -2
- pyegeria/commands/ops/restart_integration_daemon.py +2 -2
- 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 +79 -42
- pyegeria/commands/tech/get_tech_type_template.py +69 -53
- pyegeria/commands/tech/list_anchored_elements.py +19 -16
- 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 +8 -5
- pyegeria/commands/tech/list_gov_action_processes.py +1 -1
- pyegeria/commands/tech/list_registered_services.py +2 -2
- 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 +20 -22
- pyegeria/commands/tech/list_relationships.py +8 -4
- 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/create_tech_guid_lists.py +2 -2
- pyegeria/glossary_manager_omvs.py +64 -1
- pyegeria/mermaid_utilities.py +1 -1
- pyegeria/metadata_explorer_omvs.py +94 -45
- pyegeria/server_operations.py +4 -4
- {pyegeria-5.2.0.20.dist-info → pyegeria-5.2.0.42.2.dist-info}/METADATA +1 -1
- pyegeria-5.2.0.42.2.dist-info/RECORD +234 -0
- {pyegeria-5.2.0.20.dist-info → pyegeria-5.2.0.42.2.dist-info}/entry_points.txt +1 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/info/get-Collection 2024-12-12 at 09.29.25.png +0 -0
- pyegeria-5.2.0.20.dist-info/RECORD +0 -190
- /pyegeria/commands/doc/Visual Command Reference/cat/show/assets/{Asset-graph 2024-11-20 at 15.56.42.png → asset-graph 2024-11-20 at 15.56.42.png} +0 -0
- /pyegeria/commands/doc/Visual Command Reference/cat/show/assets/{Assets-in-domain 2024-11-20 at 15.49.55@2x.png → assets-in-domain 2024-11-20 at 15.49.55@2x.png} +0 -0
- {pyegeria-5.2.0.20.dist-info → pyegeria-5.2.0.42.2.dist-info}/LICENSE +0 -0
- {pyegeria-5.2.0.20.dist-info → pyegeria-5.2.0.42.2.dist-info}/WHEEL +0 -0
@@ -36,7 +36,7 @@ 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("INTEGRATION_DAEMON", "
|
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
|
)
|
@@ -33,7 +33,7 @@ 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
|
)
|
36
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
36
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
37
37
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
38
38
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -14,6 +14,7 @@ import time
|
|
14
14
|
|
15
15
|
from rich import box
|
16
16
|
from rich.live import Live
|
17
|
+
from rich.markdown import Markdown
|
17
18
|
from rich.table import Table
|
18
19
|
from rich.console import Console
|
19
20
|
|
@@ -32,7 +33,7 @@ EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
|
32
33
|
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
33
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
34
35
|
)
|
35
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
36
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
36
37
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
37
38
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
38
39
|
)
|
@@ -65,7 +66,7 @@ def display_my_todos(
|
|
65
66
|
return
|
66
67
|
|
67
68
|
for item in todo_items:
|
68
|
-
assigned_actors =
|
69
|
+
assigned_actors = ''
|
69
70
|
if todo_items is None:
|
70
71
|
name = " "
|
71
72
|
type_name = " "
|
@@ -88,7 +89,8 @@ def display_my_todos(
|
|
88
89
|
status = props.get("toDoStatus")
|
89
90
|
|
90
91
|
for actor in item["assignedActors"]:
|
91
|
-
assigned_actors
|
92
|
+
assigned_actors+=f"{actor.get("uniqueName", "NoOne")}\n"
|
93
|
+
assigned_actors_out = Markdown(assigned_actors)
|
92
94
|
if status in ("WAITING", "OPEN"):
|
93
95
|
status = f"[yellow]{status}"
|
94
96
|
elif status in ("INPROGRESS", "COMPLETE"):
|
@@ -106,7 +108,7 @@ def display_my_todos(
|
|
106
108
|
due,
|
107
109
|
completed,
|
108
110
|
status,
|
109
|
-
|
111
|
+
assigned_actors_out,
|
110
112
|
)
|
111
113
|
|
112
114
|
def generate_table() -> Table:
|
@@ -137,9 +139,19 @@ def display_my_todos(
|
|
137
139
|
my_title = my_profile["profileProperties"].get("jobTitle", "No Title")
|
138
140
|
user_ids = []
|
139
141
|
for id in my_ids:
|
140
|
-
user_ids.append(id["userIdentity"]["properties"].get("
|
142
|
+
user_ids.append(id["userIdentity"]["properties"].get("userid", "NoOne"))
|
143
|
+
add_rows(
|
144
|
+
table,
|
145
|
+
id["userIdentity"]["elementHeader"]["guid"],
|
146
|
+
id["userIdentity"]["properties"]["userId"],
|
147
|
+
)
|
148
|
+
|
141
149
|
add_rows(table, my_guid, user_ids)
|
142
150
|
|
151
|
+
# user_id_guid = my_profile["userIdentity"]["guid"]
|
152
|
+
# user_id_name = my_profile["userIdentity"]["properties"]["userid"]
|
153
|
+
# add_rows(table, user_id_guid, user_id_name)
|
154
|
+
|
143
155
|
my_roles = my_profile["roles"]
|
144
156
|
if type(my_roles) is list:
|
145
157
|
for role in my_roles:
|
@@ -179,7 +191,7 @@ def main():
|
|
179
191
|
|
180
192
|
server = args.server if args.server is not None else EGERIA_VIEW_SERVER
|
181
193
|
url = args.url if args.url is not None else EGERIA_PLATFORM_URL
|
182
|
-
userid = args.userid if args.userid is not None else
|
194
|
+
userid = args.userid if args.userid is not None else "peterprofile"
|
183
195
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
184
196
|
|
185
197
|
try:
|
@@ -37,7 +37,7 @@ 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
|
)
|
40
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
40
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
41
41
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
42
42
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
43
43
|
)
|
@@ -114,7 +114,7 @@ def display_todos(
|
|
114
114
|
if type(assigned_actors) is list:
|
115
115
|
for actor in assigned_actors:
|
116
116
|
actor_guid = actor["guid"]
|
117
|
-
assigned += f"
|
117
|
+
assigned += f"{m_client.get_actor_for_guid(actor_guid)} \n ({actor_guid}"
|
118
118
|
assigned_out = Markdown(assigned)
|
119
119
|
|
120
120
|
if status in ("WAITING", "OPEN"):
|
@@ -31,7 +31,7 @@ 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
|
)
|
34
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
34
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
35
35
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
36
36
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
37
37
|
)
|
@@ -35,7 +35,7 @@ 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
|
)
|
38
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
38
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
39
39
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
40
40
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
41
41
|
)
|
@@ -34,7 +34,7 @@ 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
|
)
|
37
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
37
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
38
38
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
39
39
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
40
40
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -25,7 +25,7 @@ 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
|
)
|
28
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
28
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
29
29
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
30
30
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
31
31
|
)
|
@@ -18,20 +18,22 @@ from rich.markdown import Markdown
|
|
18
18
|
from confluent_kafka import Consumer, KafkaException
|
19
19
|
|
20
20
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
21
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get(
|
22
|
-
EGERIA_PLATFORM_URL = os.environ.get(
|
23
|
-
EGERIA_VIEW_SERVER = os.environ.get(
|
24
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
21
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9192")
|
22
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
23
|
+
EGERIA_VIEW_SERVER = os.environ.get("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("INTEGRATION_DAEMON", "integration_daemon")
|
28
|
+
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
29
|
+
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
30
|
+
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
31
|
+
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
32
|
+
EGERIA_JUPYTER = os.environ.get("EGERIA_JUPYTER", False)
|
33
|
+
EGERIA_WIDTH = os.environ.get("EGERIA_WIDTH", 200)
|
32
34
|
|
33
|
-
def main(ep: str = EGERIA_KAFKA_ENDPOINT):
|
34
35
|
|
36
|
+
def main(ep: str = EGERIA_KAFKA_ENDPOINT):
|
35
37
|
disable_ssl_warnings = True
|
36
38
|
console = Console(width=200)
|
37
39
|
now = datetime.now()
|
@@ -41,16 +43,18 @@ def main(ep: str = EGERIA_KAFKA_ENDPOINT):
|
|
41
43
|
|
42
44
|
# Define the Kafka consumer configuration.
|
43
45
|
config = {
|
44
|
-
|
45
|
-
|
46
|
-
|
46
|
+
"bootstrap.servers": ep, # replace with your Kafka broker(s)
|
47
|
+
"group.id": f"view_asset_events:{current_time}", # replace with your consumer group
|
48
|
+
"auto.offset.reset": earliest_latest, # can be set to 'earliest' or 'latest'
|
47
49
|
}
|
48
50
|
print(f"Kafka config is {json.dumps(config)}")
|
49
51
|
# Initialize a Kafka consumer.
|
50
52
|
consumer = Consumer(config)
|
51
53
|
|
52
54
|
# Subscribe to a Kafka topic.
|
53
|
-
consumer.subscribe(
|
55
|
+
consumer.subscribe(
|
56
|
+
["egeria.omag.server.active-metadata-store.omas.assetconsumer.outTopic"]
|
57
|
+
) # replace with your Kafka topic
|
54
58
|
|
55
59
|
try:
|
56
60
|
while True:
|
@@ -75,11 +79,11 @@ def main(ep: str = EGERIA_KAFKA_ENDPOINT):
|
|
75
79
|
for key in element_properties_keys:
|
76
80
|
value = element_properties[key]
|
77
81
|
props += f"* {key}: {value}\n"
|
78
|
-
console.rule(style=
|
79
|
-
console.rule(
|
80
|
-
|
81
|
-
|
82
|
-
|
82
|
+
console.rule(style="[bold red]")
|
83
|
+
console.rule(
|
84
|
+
f"\tMessage TimeStamp: {event_time}\t eventType: {event_type}\t typeName: {type_name}\t guid: {guid}"
|
85
|
+
)
|
86
|
+
msg = f"properties: \n[bright white on black]{props}\n\n"
|
83
87
|
msg = Markdown(msg)
|
84
88
|
|
85
89
|
console.print(msg)
|
@@ -91,6 +95,7 @@ def main(ep: str = EGERIA_KAFKA_ENDPOINT):
|
|
91
95
|
# Close down consumer to commit final offsets.
|
92
96
|
consumer.close()
|
93
97
|
|
98
|
+
|
94
99
|
if __name__ == "__main__":
|
95
100
|
parser = argparse.ArgumentParser()
|
96
101
|
|
@@ -99,4 +104,4 @@ if __name__ == "__main__":
|
|
99
104
|
|
100
105
|
ep = args.ep if args.ep is not None else EGERIA_KAFKA_ENDPOINT
|
101
106
|
|
102
|
-
main(ep)
|
107
|
+
main(ep)
|
@@ -39,7 +39,7 @@ EGERIA_ENGINE_HOST = os.environ.get("INTEGRATION_ENGINE_HOST", "engine-host")
|
|
39
39
|
EGERIA_ENGINE_HOST_URL = os.environ.get(
|
40
40
|
"INTEGRATION_ENGINE_HOST_URL", "https://localhost:9443"
|
41
41
|
)
|
42
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
42
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
43
43
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
44
44
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
45
45
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -41,7 +41,7 @@ EGERIA_ENGINE_HOST_URL = os.environ.get(
|
|
41
41
|
"EGERIA_ENGINE_HOST_URL", "https://localhost:9443"
|
42
42
|
)
|
43
43
|
EGERIA_INTEGRATION_DAEMON = os.environ.get(
|
44
|
-
"EGERIA_INTEGRATION_DAEMON", "
|
44
|
+
"EGERIA_INTEGRATION_DAEMON", "integration_daemon"
|
45
45
|
)
|
46
46
|
EGERIA_ADMIN_USER = os.environ.get("EGERIA_ADMIN_USER", "garygeeke")
|
47
47
|
EGERIA_ADMIN_PASSWORD = os.environ.get("EGERIA_ADMIN_PASSWORD", "secret")
|
@@ -34,7 +34,7 @@ EGERIA_VIEW_SERVER_URL = os.environ.get(
|
|
34
34
|
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
35
35
|
)
|
36
36
|
EGERIA_INTEGRATION_DAEMON = os.environ.get(
|
37
|
-
"EGERIA_INTEGRATION_DAEMON", "
|
37
|
+
"EGERIA_INTEGRATION_DAEMON", "integration_daemon"
|
38
38
|
)
|
39
39
|
EGERIA_ENGINE_HOST = os.environ.get("EGERIA_ENGINE_HOST", "engine-host")
|
40
40
|
EGERIA_ENGINE_HOST_URL = os.environ.get(
|
@@ -53,6 +53,7 @@ disable_ssl_warnings = True
|
|
53
53
|
|
54
54
|
def display_gov_eng_status(
|
55
55
|
search_list: list[str] = ["*"],
|
56
|
+
status_filter=["*"],
|
56
57
|
engine_host: str = EGERIA_ENGINE_HOST,
|
57
58
|
view_server: str = EGERIA_VIEW_SERVER,
|
58
59
|
url: str = EGERIA_VIEW_SERVER_URL,
|
@@ -67,8 +68,11 @@ def display_gov_eng_status(
|
|
67
68
|
|
68
69
|
Parameters
|
69
70
|
----------
|
71
|
+
|
70
72
|
search_list : list of str
|
71
73
|
List of governance engine names to search for. Defaults to ["*"] which returns all governance engines.
|
74
|
+
status_filter: list of str, default is all
|
75
|
+
List of status values to filter by.
|
72
76
|
engine_host : str
|
73
77
|
The host name of the governance engine.
|
74
78
|
view_server : str
|
@@ -150,6 +154,8 @@ def display_gov_eng_status(
|
|
150
154
|
else:
|
151
155
|
eng_req_type_out = " "
|
152
156
|
status = engine["governanceEngineStatus"]
|
157
|
+
if (status not in status_filter) and (status_filter != ["*"]):
|
158
|
+
continue
|
153
159
|
if status in ("RUNNING"):
|
154
160
|
eng_status = f"[green]{status}"
|
155
161
|
elif status in ("FAILED"):
|
@@ -218,8 +224,19 @@ def main_live():
|
|
218
224
|
"Enter the list of engines you are interested in or ['*'] for all",
|
219
225
|
default=["*"],
|
220
226
|
)
|
227
|
+
status_filter = Prompt.ask(
|
228
|
+
"Enter a list of status values to filter for or ['*'] for all",
|
229
|
+
default=["*"],
|
230
|
+
)
|
221
231
|
display_gov_eng_status(
|
222
|
-
search_list,
|
232
|
+
search_list,
|
233
|
+
engine_host=engine_host,
|
234
|
+
view_server=view_server,
|
235
|
+
url=url,
|
236
|
+
username=userid,
|
237
|
+
user_pass=user_pass,
|
238
|
+
paging=paging,
|
239
|
+
status_filter=status_filter,
|
223
240
|
)
|
224
241
|
|
225
242
|
|
@@ -248,9 +265,19 @@ def main_paging():
|
|
248
265
|
"Enter the list of engines you are interested in or ['*'] for all",
|
249
266
|
default=["*"],
|
250
267
|
)
|
251
|
-
|
268
|
+
status_filter = Prompt.ask(
|
269
|
+
"Enter a list of status values to filter for or ['*'] for all",
|
270
|
+
default=["*"],
|
271
|
+
)
|
252
272
|
display_gov_eng_status(
|
253
|
-
search_list,
|
273
|
+
search_list,
|
274
|
+
engine_host=engine_host,
|
275
|
+
view_server=view_server,
|
276
|
+
url=url,
|
277
|
+
username=userid,
|
278
|
+
user_pass=user_pass,
|
279
|
+
paging=paging,
|
280
|
+
status_filter=status_filter,
|
254
281
|
)
|
255
282
|
|
256
283
|
|
@@ -36,7 +36,7 @@ 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("INTEGRATION_DAEMON", "
|
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
|
)
|
@@ -56,7 +56,7 @@ def display_integration_daemon_status(
|
|
56
56
|
view_url: str = EGERIA_VIEW_SERVER_URL,
|
57
57
|
user: str = EGERIA_USER,
|
58
58
|
user_pass: str = EGERIA_USER_PASSWORD,
|
59
|
-
paging: bool =
|
59
|
+
paging: bool = False,
|
60
60
|
jupyter: bool = EGERIA_JUPYTER,
|
61
61
|
width: int = EGERIA_WIDTH,
|
62
62
|
sort: bool = True,
|
@@ -225,7 +225,7 @@ def display_integration_daemon_status(
|
|
225
225
|
s_client.close_session()
|
226
226
|
|
227
227
|
|
228
|
-
def main_live():
|
228
|
+
def main_live(paging: bool = False) -> None:
|
229
229
|
parser = argparse.ArgumentParser()
|
230
230
|
parser.add_argument(
|
231
231
|
"--integ_server", help="Name of the integration server to display status for"
|
@@ -235,6 +235,7 @@ def main_live():
|
|
235
235
|
parser.add_argument("--view_url", help="view server URL Platform to connect to")
|
236
236
|
parser.add_argument("--userid", help="User Id")
|
237
237
|
parser.add_argument("--password", help="User Password")
|
238
|
+
|
238
239
|
args = parser.parse_args()
|
239
240
|
|
240
241
|
integ_server = (
|
@@ -251,6 +252,7 @@ def main_live():
|
|
251
252
|
view_url = args.view_url if args.view_url is not None else EGERIA_VIEW_SERVER_URL
|
252
253
|
userid = args.userid if args.userid is not None else EGERIA_USER
|
253
254
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
255
|
+
|
254
256
|
search_list = Prompt.ask(
|
255
257
|
"Enter the list of connectors you are interested in or ['*'] for all",
|
256
258
|
default=["*"],
|
@@ -263,11 +265,11 @@ def main_live():
|
|
263
265
|
view_url=view_url,
|
264
266
|
user=userid,
|
265
267
|
user_pass=user_pass,
|
266
|
-
paging=
|
268
|
+
paging=paging,
|
267
269
|
)
|
268
270
|
|
269
271
|
|
270
|
-
def main_paging():
|
272
|
+
def main_paging(paging: bool = True) -> None:
|
271
273
|
parser = argparse.ArgumentParser()
|
272
274
|
parser.add_argument(
|
273
275
|
"--integ_server", help="Name of the integration server to display status for"
|
@@ -277,6 +279,7 @@ def main_paging():
|
|
277
279
|
parser.add_argument("--view_url", help="view server URL Platform to connect to")
|
278
280
|
parser.add_argument("--userid", help="User Id")
|
279
281
|
parser.add_argument("--password", help="User Password")
|
282
|
+
|
280
283
|
args = parser.parse_args()
|
281
284
|
|
282
285
|
integ_server = (
|
@@ -295,7 +298,7 @@ def main_paging():
|
|
295
298
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
296
299
|
search_list = Prompt.ask(
|
297
300
|
"Enter the list of connectors you are interested in or ['*'] for all",
|
298
|
-
default="
|
301
|
+
default=["*"],
|
299
302
|
)
|
300
303
|
display_integration_daemon_status(
|
301
304
|
search_list=search_list,
|
@@ -310,7 +313,7 @@ def main_paging():
|
|
310
313
|
|
311
314
|
|
312
315
|
if __name__ == "__main__":
|
313
|
-
main_live()
|
316
|
+
main_live(paging=False)
|
314
317
|
|
315
318
|
if __name__ == "__main_paging__":
|
316
|
-
main_paging()
|
319
|
+
main_paging(paging=True)
|
@@ -30,7 +30,7 @@ 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
|
)
|
33
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
33
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
34
34
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
35
35
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
36
36
|
)
|
@@ -42,7 +42,7 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
|
42
42
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
43
43
|
|
44
44
|
disable_ssl_warnings = True
|
45
|
-
console = Console(width=
|
45
|
+
console = Console(width=EGERIA_WIDTH)
|
46
46
|
|
47
47
|
|
48
48
|
def display_status(
|
@@ -30,7 +30,7 @@ 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
|
)
|
33
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
33
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
34
34
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
35
35
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
36
36
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -36,7 +36,7 @@ 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("INTEGRATION_DAEMON", "
|
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
|
)
|
@@ -33,7 +33,7 @@ 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
|
)
|
36
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
36
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
37
37
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
38
38
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
39
39
|
)
|
@@ -20,26 +20,36 @@ from pyegeria import (
|
|
20
20
|
PropertyServerException,
|
21
21
|
UserNotAuthorizedException,
|
22
22
|
print_exception_response,
|
23
|
-
ServerOps
|
23
|
+
ServerOps,
|
24
24
|
)
|
25
25
|
|
26
26
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
27
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get(
|
28
|
-
EGERIA_PLATFORM_URL = os.environ.get(
|
29
|
-
EGERIA_VIEW_SERVER = os.environ.get(
|
30
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
27
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
28
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
29
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
30
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
31
|
+
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
32
|
+
)
|
33
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
34
|
+
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
35
|
+
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
36
|
+
)
|
37
|
+
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
38
|
+
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
39
|
+
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
40
|
+
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
41
|
+
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
42
|
+
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
43
|
+
|
44
|
+
|
45
|
+
def display_status(
|
46
|
+
server: str,
|
47
|
+
url: str,
|
48
|
+
username: str,
|
49
|
+
user_pass: str,
|
50
|
+
jupyter: bool = EGERIA_JUPYTER,
|
51
|
+
width: int = EGERIA_WIDTH,
|
52
|
+
):
|
43
53
|
p_client = ServerOps(server, url, username, user_pass)
|
44
54
|
|
45
55
|
def generate_table() -> Table:
|
@@ -69,9 +79,10 @@ def display_status(server: str, url: str, username: str, user_pass: str, jupyter
|
|
69
79
|
else:
|
70
80
|
status = "Inactive"
|
71
81
|
|
72
|
-
table.add_row(
|
73
|
-
|
74
|
-
|
82
|
+
table.add_row(
|
83
|
+
server,
|
84
|
+
"[red]Inactive" if status == "Inactive" else "[green]Active",
|
85
|
+
)
|
75
86
|
# p_client.close_session()
|
76
87
|
return table
|
77
88
|
|
@@ -81,7 +92,11 @@ def display_status(server: str, url: str, username: str, user_pass: str, jupyter
|
|
81
92
|
time.sleep(2)
|
82
93
|
live.update(generate_table())
|
83
94
|
|
84
|
-
except (
|
95
|
+
except (
|
96
|
+
InvalidParameterException,
|
97
|
+
PropertyServerException,
|
98
|
+
UserNotAuthorizedException,
|
99
|
+
) as e:
|
85
100
|
print_exception_response(e)
|
86
101
|
except KeyboardInterrupt:
|
87
102
|
pass
|
@@ -25,7 +25,7 @@ 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
|
)
|
28
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
28
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
29
29
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
30
30
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
31
31
|
)
|
@@ -44,7 +44,7 @@ def refresh_connector(
|
|
44
44
|
statement = "ALL connectors"
|
45
45
|
else:
|
46
46
|
statement = f"the {connector} "
|
47
|
-
server = "
|
47
|
+
server = "integration_daemon" if server is None else server
|
48
48
|
|
49
49
|
s_client.refresh_integration_connectors(
|
50
50
|
connector_name=connector, server_guid=None, display_name=server
|
@@ -25,7 +25,7 @@ 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
|
)
|
28
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
28
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
29
29
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
30
30
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
31
31
|
)
|
@@ -45,7 +45,7 @@ def restart_connector(
|
|
45
45
|
statement = "ALL connectors"
|
46
46
|
else:
|
47
47
|
statement = f"the {connector} "
|
48
|
-
server = "
|
48
|
+
server = "integration_daemon" if server is None else server
|
49
49
|
|
50
50
|
s_client.restart_integration_connectors(connector, None, server)
|
51
51
|
|
@@ -32,7 +32,7 @@ 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
|
)
|
35
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
35
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
36
36
|
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
37
37
|
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
38
38
|
)
|
@@ -37,7 +37,7 @@ 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
|
)
|
40
|
-
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "
|
40
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
41
41
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
42
42
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
43
43
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
@@ -36,7 +36,7 @@ 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("INTEGRATION_DAEMON", "
|
39
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration_daemon")
|
40
40
|
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
41
41
|
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
42
42
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|