Implement lab3 grade 4: balanced API replicas, shared idempotency and failure tests
This commit is contained in:
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"before": [
|
||||
{
|
||||
"id": "0700f348645b5bd3a8b3f4a68230f6fb02ad423271cc7397039d3adae960252f",
|
||||
"name": "mtusi-lab3-osokin-api-1",
|
||||
"service": "api",
|
||||
"number": 1,
|
||||
"hostname": "0700f348645b",
|
||||
"pid": 25766,
|
||||
"started_at": "2026-11-02T13:35:13.89817575Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "e91ca53a67f8494106c6d014999693c2cbb3f4ec79db94d9a019668fdb24634a",
|
||||
"name": "mtusi-lab3-osokin-api-2",
|
||||
"service": "api",
|
||||
"number": 2,
|
||||
"hostname": "e91ca53a67f8",
|
||||
"pid": 27229,
|
||||
"started_at": "2026-11-02T13:35:53.034956399Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
],
|
||||
"replacements": [
|
||||
{
|
||||
"old": {
|
||||
"id": "0700f348645b5bd3a8b3f4a68230f6fb02ad423271cc7397039d3adae960252f",
|
||||
"name": "mtusi-lab3-osokin-api-1",
|
||||
"service": "api",
|
||||
"number": 1,
|
||||
"hostname": "0700f348645b",
|
||||
"pid": 25766,
|
||||
"started_at": "2026-11-02T13:35:13.89817575Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
"after": [
|
||||
{
|
||||
"id": "e91ca53a67f8494106c6d014999693c2cbb3f4ec79db94d9a019668fdb24634a",
|
||||
"name": "mtusi-lab3-osokin-api-2",
|
||||
"service": "api",
|
||||
"number": 2,
|
||||
"hostname": "e91ca53a67f8",
|
||||
"pid": 27229,
|
||||
"started_at": "2026-11-02T13:35:53.034956399Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "e77746bad0b9b0b63ea6e1f91df2108906611b4af7a98f19f734f1339b540e0d",
|
||||
"name": "mtusi-lab3-osokin-api-3",
|
||||
"service": "api",
|
||||
"number": 3,
|
||||
"hostname": "e77746bad0b9",
|
||||
"pid": 28336,
|
||||
"started_at": "2026-11-02T13:36:21.512813258Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"old": {
|
||||
"id": "e91ca53a67f8494106c6d014999693c2cbb3f4ec79db94d9a019668fdb24634a",
|
||||
"name": "mtusi-lab3-osokin-api-2",
|
||||
"service": "api",
|
||||
"number": 2,
|
||||
"hostname": "e91ca53a67f8",
|
||||
"pid": 27229,
|
||||
"started_at": "2026-11-02T13:35:53.034956399Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
"after": [
|
||||
{
|
||||
"id": "e77746bad0b9b0b63ea6e1f91df2108906611b4af7a98f19f734f1339b540e0d",
|
||||
"name": "mtusi-lab3-osokin-api-3",
|
||||
"service": "api",
|
||||
"number": 3,
|
||||
"hostname": "e77746bad0b9",
|
||||
"pid": 28336,
|
||||
"started_at": "2026-11-02T13:36:21.512813258Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "bace794949d524e5daf3b1feb390cee1ed39e13f5d793157b692d3b71559b8bf",
|
||||
"name": "mtusi-lab3-osokin-api-4",
|
||||
"service": "api",
|
||||
"number": 4,
|
||||
"hostname": "bace794949d5",
|
||||
"pid": 28914,
|
||||
"started_at": "2026-11-02T13:36:35.917178941Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"id": "e77746bad0b9b0b63ea6e1f91df2108906611b4af7a98f19f734f1339b540e0d",
|
||||
"name": "mtusi-lab3-osokin-api-3",
|
||||
"service": "api",
|
||||
"number": 3,
|
||||
"hostname": "e77746bad0b9",
|
||||
"pid": 28336,
|
||||
"started_at": "2026-11-02T13:36:21.512813258Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "bace794949d524e5daf3b1feb390cee1ed39e13f5d793157b692d3b71559b8bf",
|
||||
"name": "mtusi-lab3-osokin-api-4",
|
||||
"service": "api",
|
||||
"number": 4,
|
||||
"hostname": "bace794949d5",
|
||||
"pid": 28914,
|
||||
"started_at": "2026-11-02T13:36:35.917178941Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user