onex-cli 1.9.2__tar.gz → 1.9.3__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.
- {onex_cli-1.9.2/onex_cli.egg-info → onex_cli-1.9.3}/PKG-INFO +1 -1
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/__init__.py +1 -1
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/status.py +26 -6
- {onex_cli-1.9.2 → onex_cli-1.9.3/onex_cli.egg-info}/PKG-INFO +1 -1
- {onex_cli-1.9.2 → onex_cli-1.9.3}/CHANGELOG.md +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/LICENSE +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/MANIFEST.in +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/README.md +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/__main__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/create.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/create_e2e.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/debug.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/deploy.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/dev.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/env.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/es.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/init.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/invoke.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/login.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/logout.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/logs.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/mcp.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/platform.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/provision.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/replay.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/switch.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/test.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/trace.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/undeploy.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/validate.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/commands/vpn.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/config.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/mcp/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/mcp/server.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/mcp/tools/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/runtime/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/runtime/local_runtime.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/schema/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/schema/service_descriptor.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/schema/validator.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/README.md.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/service.yml.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/apis/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/models/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/models/schemas.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/repositories/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/services/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/e2e/data_service.yml.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/e2e/test_service_e2e.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/README.md.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/service.yml.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/src/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/src/triggers/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/src/triggers/events.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/event-driven/src/triggers/schedules.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/README.md.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/service.yml.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/src/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/src/apis/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/minimal/src/apis/hello.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/README.md.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/service.yml.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/src/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/src/apis/__init__.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/rest-api/src/apis/handlers.py.j2 +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/utils/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/utils/auth.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/utils/crypto.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/utils/email.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/utils/helpers.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/vpn/__init__.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/vpn/platform_detector.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/vpn/setup_vpn.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex/vpn/wireguard_manager.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex_cli.egg-info/SOURCES.txt +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex_cli.egg-info/dependency_links.txt +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex_cli.egg-info/entry_points.txt +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex_cli.egg-info/requires.txt +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/onex_cli.egg-info/top_level.txt +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/setup.cfg +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/setup.py +0 -0
- {onex_cli-1.9.2 → onex_cli-1.9.3}/tests/test_mcp_logs_e2e.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# OneXEOS Services CLI
|
|
2
|
-
__version__ = "1.9.
|
|
2
|
+
__version__ = "1.9.3"
|
|
@@ -150,13 +150,14 @@ def status(service_name, env, platform_url):
|
|
|
150
150
|
click.echo()
|
|
151
151
|
|
|
152
152
|
# Table header
|
|
153
|
-
click.echo(f"{'Service':<20} {'Version':<10} {'Mode':<12} {'Status':<10} {'Routes':<8}")
|
|
154
|
-
click.echo("-" *
|
|
153
|
+
click.echo(f"{'Service':<20} {'Version':<10} {'Mode':<12} {'Status':<10} {'Health':<12} {'Routes':<8}")
|
|
154
|
+
click.echo("-" * 82)
|
|
155
155
|
|
|
156
156
|
for svc_name, svc_data in services.items():
|
|
157
157
|
version = svc_data.get('version', 'N/A')
|
|
158
158
|
mode = svc_data.get('mode', 'shared')
|
|
159
159
|
status_val = svc_data.get('status', 'unknown')
|
|
160
|
+
health_val = svc_data.get('health_status', 'unknown')
|
|
160
161
|
route_count = len(svc_data.get('apis', []))
|
|
161
162
|
|
|
162
163
|
# Color code status
|
|
@@ -167,7 +168,17 @@ def status(service_name, env, platform_url):
|
|
|
167
168
|
else:
|
|
168
169
|
status_colored = status_val
|
|
169
170
|
|
|
170
|
-
|
|
171
|
+
# Color code health
|
|
172
|
+
if health_val == 'healthy':
|
|
173
|
+
health_colored = click.style(health_val, fg='green')
|
|
174
|
+
elif health_val == 'unhealthy':
|
|
175
|
+
health_colored = click.style(health_val, fg='red')
|
|
176
|
+
elif health_val == 'degraded':
|
|
177
|
+
health_colored = click.style(health_val, fg='yellow')
|
|
178
|
+
else:
|
|
179
|
+
health_colored = click.style(health_val, fg='yellow')
|
|
180
|
+
|
|
181
|
+
click.echo(f"{svc_name:<20} {version:<10} {mode:<12} {status_colored:<19} {health_colored:<21} {route_count:<8}")
|
|
171
182
|
|
|
172
183
|
click.echo()
|
|
173
184
|
print_info(f"Platform: {platform_base_url}")
|
|
@@ -187,12 +198,13 @@ def status(service_name, env, platform_url):
|
|
|
187
198
|
return
|
|
188
199
|
click.echo(f"Found {len(services)} service(s):")
|
|
189
200
|
click.echo()
|
|
190
|
-
click.echo(f"{'Service':<20} {'Version':<10} {'Mode':<12} {'Status':<10} {'Routes':<8}")
|
|
191
|
-
click.echo("-" *
|
|
201
|
+
click.echo(f"{'Service':<20} {'Version':<10} {'Mode':<12} {'Status':<10} {'Health':<12} {'Routes':<8}")
|
|
202
|
+
click.echo("-" * 82)
|
|
192
203
|
for svc_name, svc_data in services.items():
|
|
193
204
|
version = svc_data.get('version', 'N/A')
|
|
194
205
|
mode = svc_data.get('mode', 'shared')
|
|
195
206
|
status_val = svc_data.get('status', 'unknown')
|
|
207
|
+
health_val = svc_data.get('health_status', 'unknown')
|
|
196
208
|
route_count = len(svc_data.get('apis', []))
|
|
197
209
|
if status_val == 'running':
|
|
198
210
|
status_colored = click.style(status_val, fg='green')
|
|
@@ -200,7 +212,15 @@ def status(service_name, env, platform_url):
|
|
|
200
212
|
status_colored = click.style(status_val, fg='red')
|
|
201
213
|
else:
|
|
202
214
|
status_colored = status_val
|
|
203
|
-
|
|
215
|
+
if health_val == 'healthy':
|
|
216
|
+
health_colored = click.style(health_val, fg='green')
|
|
217
|
+
elif health_val == 'unhealthy':
|
|
218
|
+
health_colored = click.style(health_val, fg='red')
|
|
219
|
+
elif health_val == 'degraded':
|
|
220
|
+
health_colored = click.style(health_val, fg='yellow')
|
|
221
|
+
else:
|
|
222
|
+
health_colored = click.style(health_val, fg='yellow')
|
|
223
|
+
click.echo(f"{svc_name:<20} {version:<10} {mode:<12} {status_colored:<19} {health_colored:<21} {route_count:<8}")
|
|
204
224
|
click.echo()
|
|
205
225
|
print_info(f"Platform: {platform_base_url}")
|
|
206
226
|
print_info("Use 'onex status <service_name>' for detailed info")
|
|
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
|
{onex_cli-1.9.2 → onex_cli-1.9.3}/onex/templates/crud-service/src/repositories/__init__.py.j2
RENAMED
|
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
|