You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, all the status messages are listed in a big ol' string. This makes scanning the information difficult both in the cli and in other interfaces that consume this data (i.e. wash ui).
I'd like to see the addition of a status_message_array property on the application status either as an array of strings, or an array of hashmaps with some extra info like time and priority.
Existing
{
"apps": [
{
"deployed_version": "v0.0.1",
"description": "...",
"name": "kvcounter-rust",
"status": "deployed",
"status_message": "Could not satisfy spread default for file:///Users/lheywood/Projects/wasmCloud/wasmCloud/examples/rust/actors/http-hello-world/build/http_hello_world_s.wasm, 0/1 eligible hosts found., Putting link definition between kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm and kvcounter_rust-ghcr_io_wasmcloud_keyvalue_redis_0_23_0, Putting link definition between kvcounter_rust-ghcr_io_wasmcloud_http_server_0_20_0 and kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm, Could not satisfy spread default for ghcr.io/wasmcloud/http-server:0.20.0, 0/1 eligible hosts found., Could not satisfy spread default for ghcr.io/wasmcloud/keyvalue-redis:0.23.0, 0/1 eligible hosts found.",
"version": "v0.0.1"
}
],
"success": true
}
Proposed
{
"apps": [
{
"deployed_version": "v0.0.1",
"description": "...",
"name": "kvcounter-rust",
"status": "deployed",
"status_message": "Could not satisfy spread default for file:///Users/lheywood/Projects/wasmCloud/wasmCloud/examples/rust/actors/http-hello-world/build/http_hello_world_s.wasm, 0/1 eligible hosts found., Putting link definition between kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm and kvcounter_rust-ghcr_io_wasmcloud_keyvalue_redis_0_23_0, Putting link definition between kvcounter_rust-ghcr_io_wasmcloud_http_server_0_20_0 and kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm, Could not satisfy spread default for ghcr.io/wasmcloud/http-server:0.20.0, 0/1 eligible hosts found., Could not satisfy spread default for ghcr.io/wasmcloud/keyvalue-redis:0.23.0, 0/1 eligible hosts found.",
"status_message_array": [
{
"message": "Could not satisfy spread default for file:///Users/lheywood/Projects/wasmCloud/wasmCloud/examples/rust/actors/http-hello-world/build/http_hello_world_s.wasm, 0/1 eligible hosts found.",
"time": "2021-09-01T12:00:00Z",
"level": "critical"
},
{
"message": "Putting link definition between kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm and kvcounter_rust-ghcr_io_wasmcloud_keyvalue_redis_0_23_0",
"time": "2021-09-01T12:00:00Z",
"level": "info"
},
{
"message": "Putting link definition between kvcounter_rust-ghcr_io_wasmcloud_http_server_0_20_0 and kvcounter_rust-file____users_lheywood_projects_wasmcloud_wasmcloud_examples_rust_actors_http_hello_world_build_http_hello_world_s_wasm",
"time": "2021-09-01T12:00:00Z",
"level": "info"
},
{
"message": "Could not satisfy spread default for ghcr.io/wasmcloud/http-server:0.20.0, 0/1 eligible hosts found.",
"time": "2021-09-01T12:00:00Z",
"level": "critical"
},
{
"message": "Could not satisfy spread default for ghcr.io/wasmcloud/keyvalue-redis:0.23.0, 0/1 eligible hosts found.",
"time": "2021-09-01T12:00:00Z",
"level": "critical"
}
]
"version": "v0.0.1"
}
],
"success": true
}
The text was updated successfully, but these errors were encountered:
At the moment, all the status messages are listed in a big ol' string. This makes scanning the information difficult both in the cli and in other interfaces that consume this data (i.e. wash ui).
I'd like to see the addition of a
status_message_array
property on the application status either as an array of strings, or an array of hashmaps with some extra info like time and priority.Existing
Proposed
The text was updated successfully, but these errors were encountered: