pyegeria 0.8.4.24__tar.gz → 0.8.4.25__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.24 → pyegeria-0.8.4.25}/PKG-INFO +1 -1
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/egeria.py +5 -7
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/egeria_ops.py +10 -6
- pyegeria-0.8.4.24/commands/ops/integration_daemon_actions.py → pyegeria-0.8.4.25/commands/ops/gov_server_actions.py +4 -63
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyproject.toml +1 -1
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/LICENSE +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/README.md +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/README.md +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_collection.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_project_structure.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/get_tech_type_template.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_archives.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_assets.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_cert_types.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_glossary.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_projects.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_relationships.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_tech_types.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_todos.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cat/list_user_ids.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/egeria_cat.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/egeria_my.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/egeria_tech.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/cli/ops_config.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/README.md +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/list_my_profile.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/list_my_roles.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/my_profile_actions.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/my/todo_actions.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/README.md +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/engine_actions.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/load_archive.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_coco_status.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_server_list.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/README.md +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/get_element_info.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/get_guid_info.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/get_tech_details.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_asset_types.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_elements.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_elements_x.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_registered_services.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_related_specification.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/__init__.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/_globals.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/_validators.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/egeria_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/utils.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-0.8.4.24 → pyegeria-0.8.4.25}/pyegeria/x_action_author_omvs.py +0 -0
@@ -32,14 +32,12 @@ from commands.my.list_my_profile import display_my_profile
|
|
32
32
|
from commands.my.list_my_roles import display_my_roles
|
33
33
|
from commands.my.monitor_my_todos import display_my_todos
|
34
34
|
from commands.my.monitor_open_todos import display_todos
|
35
|
-
|
36
|
-
|
37
|
-
stop_daemon as stop_engine_host,
|
38
|
-
)
|
39
|
-
from commands.ops.integration_daemon_actions import (
|
35
|
+
|
36
|
+
from commands.ops.gov_server_actions import (
|
40
37
|
add_catalog_target,
|
41
38
|
remove_catalog_target,
|
42
39
|
update_catalog_target,
|
40
|
+
refresh_gov_eng_config,
|
43
41
|
stop_server,
|
44
42
|
start_server,
|
45
43
|
)
|
@@ -1161,8 +1159,8 @@ def engine_host(ctx):
|
|
1161
1159
|
pass
|
1162
1160
|
|
1163
1161
|
|
1164
|
-
engine_host.add_command(
|
1165
|
-
engine_host.add_command(
|
1162
|
+
engine_host.add_command(start_server)
|
1163
|
+
engine_host.add_command(stop_server)
|
1166
1164
|
|
1167
1165
|
|
1168
1166
|
@tell.group("repository")
|
@@ -14,15 +14,14 @@ from trogon import tui
|
|
14
14
|
|
15
15
|
# from pyegeria import ServerOps
|
16
16
|
from commands.cli.ops_config import Config
|
17
|
-
|
18
|
-
|
19
|
-
stop_server,
|
20
|
-
refresh_gov_eng_config,
|
21
|
-
)
|
22
|
-
from commands.ops.integration_daemon_actions import (
|
17
|
+
|
18
|
+
from commands.ops.gov_server_actions import (
|
23
19
|
add_catalog_target,
|
24
20
|
remove_catalog_target,
|
25
21
|
update_catalog_target,
|
22
|
+
refresh_gov_eng_config,
|
23
|
+
start_server,
|
24
|
+
stop_server,
|
26
25
|
)
|
27
26
|
from commands.ops.list_catalog_targets import display_catalog_targets
|
28
27
|
from commands.ops.load_archive import load_archive
|
@@ -387,6 +386,9 @@ def servers(ctx):
|
|
387
386
|
|
388
387
|
servers.add_command(start_server)
|
389
388
|
servers.add_command(stop_server)
|
389
|
+
servers.add_command(refresh_gov_eng_config)
|
390
|
+
|
391
|
+
CONTEXT_SETTINGS = dict(default_map={"runserver": {"port": 5000}})
|
390
392
|
|
391
393
|
|
392
394
|
@tell.group("integration-daemon")
|
@@ -429,6 +431,8 @@ def restart_connectors(ctx, connector):
|
|
429
431
|
integration_daemon.add_command(add_catalog_target)
|
430
432
|
integration_daemon.add_command(remove_catalog_target)
|
431
433
|
integration_daemon.add_command(update_catalog_target)
|
434
|
+
integration_daemon.add_command(start_server)
|
435
|
+
integration_daemon.add_command(stop_server)
|
432
436
|
|
433
437
|
|
434
438
|
@tell.group("engine-host")
|
@@ -104,57 +104,8 @@ def update_catalog_target(ctx, relationship_guid: str, catalog_target_name: str)
|
|
104
104
|
print_exception_response(e)
|
105
105
|
|
106
106
|
|
107
|
-
# @click.command("stop")
|
108
|
-
# @click.pass_context
|
109
|
-
# def stop_server(ctx):
|
110
|
-
# """Stop an integration daemon"""
|
111
|
-
# try:
|
112
|
-
# c = ctx.obj
|
113
|
-
# p_client = Platform(
|
114
|
-
# c.integration_daemon, c.integration_daemon_url, c.userid, c.password
|
115
|
-
# )
|
116
|
-
#
|
117
|
-
# p_client.shutdown_server()
|
118
|
-
#
|
119
|
-
# click.echo(f"Stopped server {c.integration_daemon}")
|
120
|
-
# except (InvalidParameterException, PropertyServerException) as e:
|
121
|
-
# print_exception_response(e)
|
122
|
-
#
|
123
|
-
#
|
124
|
-
# @click.command("start")
|
125
|
-
# @click.pass_context
|
126
|
-
# def start_server(ctx):
|
127
|
-
# """Start or restart an integration daemon from its known configuration"""
|
128
|
-
# try:
|
129
|
-
# c = ctx.obj
|
130
|
-
# p_client = Platform(
|
131
|
-
# c.integration_daemon, c.integration_daemon_url, c.userid, c.password
|
132
|
-
# )
|
133
|
-
#
|
134
|
-
# p_client.activate_server_stored_config()
|
135
|
-
#
|
136
|
-
# click.echo(f"Started server {c.integration_daemon}")
|
137
|
-
#
|
138
|
-
# except (InvalidParameterException, PropertyServerException) as e:
|
139
|
-
# print_exception_response(e)
|
140
107
|
@click.command("refresh-gov-eng-config")
|
141
108
|
@click.pass_context
|
142
|
-
# @click.option(
|
143
|
-
# "--engine-host", default=EGERIA_ENGINE_HOST, help="Engine Host to refresh"
|
144
|
-
# )
|
145
|
-
# @click.option(
|
146
|
-
# "--view-server", default=EGERIA_VIEW_SERVER, help="View Server to communicate with"
|
147
|
-
# )
|
148
|
-
# @click.option(
|
149
|
-
# "--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
150
|
-
# )
|
151
|
-
# @click.option("--userid", default="garygeeke", envvar="EGERIA_USER", help="Egeria user")
|
152
|
-
# @click.option(
|
153
|
-
# "--password",
|
154
|
-
# default="secret",
|
155
|
-
# envvar="EGERIA_PASSWORD",
|
156
|
-
# help="Egeria user password",
|
157
|
-
# )
|
158
109
|
def refresh_gov_eng_config(ctx):
|
159
110
|
"""Start or restart an engine-host from its known configuration"""
|
160
111
|
c = ctx.obj
|
@@ -174,23 +125,13 @@ def refresh_gov_eng_config(ctx):
|
|
174
125
|
|
175
126
|
@click.command("start")
|
176
127
|
@click.pass_context
|
177
|
-
@click.option("--server", help="OMAG Server to start")
|
178
|
-
# @click.option(
|
179
|
-
# "--view-server", default=EGERIA_VIEW_SERVER, help="View Server to communicate with"
|
180
|
-
# )
|
181
|
-
# @click.option(
|
182
|
-
# "--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
183
|
-
# )
|
184
|
-
# @click.option("--userid", default="garygeeke", envvar="EGERIA_USER", help="Egeria user")
|
185
|
-
# @click.option(
|
186
|
-
# "--password",
|
187
|
-
# default="secret",
|
188
|
-
# envvar="EGERIA_USER_PASSWORD",
|
189
|
-
# help="Egeria user password",
|
190
|
-
# )
|
128
|
+
@click.option("--server", default=None, help="OMAG Server to start")
|
191
129
|
def start_server(ctx, server):
|
192
130
|
"""Start or restart an engine-host from its known configuration"""
|
193
131
|
c = ctx.obj
|
132
|
+
if server is None:
|
133
|
+
click.echo(c.parent.info_name)
|
134
|
+
server = "simple-metadata-store"
|
194
135
|
p_client = EgeriaTech(c.view_server, c.view_server_url, c.userid, c.password)
|
195
136
|
token = p_client.create_egeria_bearer_token()
|
196
137
|
try:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|