Implement lab3 grade 4: balanced API replicas, shared idempotency and failure tests
This commit is contained in:
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"before": [
|
||||
{
|
||||
"id": "32ed9304362f418c78806b66482ea7b642b83fff81dbed6f33b66174f5c14a59",
|
||||
"name": "mtusi-lab3-osokin-api-3",
|
||||
"service": "api",
|
||||
"number": 3,
|
||||
"hostname": "32ed9304362f",
|
||||
"pid": 39964,
|
||||
"started_at": "2026-11-02T17:37:03.681246278Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "6a9d2dc65303943669653bdaa5c660593d0e8760c1ccadd2fbad2d0571112a7a",
|
||||
"name": "mtusi-lab3-osokin-api-4",
|
||||
"service": "api",
|
||||
"number": 4,
|
||||
"hostname": "6a9d2dc65303",
|
||||
"pid": 40009,
|
||||
"started_at": "2026-11-02T17:37:03.736590611Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
],
|
||||
"replacements": [
|
||||
{
|
||||
"old": {
|
||||
"id": "32ed9304362f418c78806b66482ea7b642b83fff81dbed6f33b66174f5c14a59",
|
||||
"name": "mtusi-lab3-osokin-api-3",
|
||||
"service": "api",
|
||||
"number": 3,
|
||||
"hostname": "32ed9304362f",
|
||||
"pid": 39964,
|
||||
"started_at": "2026-11-02T17:37:03.681246278Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
"after": [
|
||||
{
|
||||
"id": "6a9d2dc65303943669653bdaa5c660593d0e8760c1ccadd2fbad2d0571112a7a",
|
||||
"name": "mtusi-lab3-osokin-api-4",
|
||||
"service": "api",
|
||||
"number": 4,
|
||||
"hostname": "6a9d2dc65303",
|
||||
"pid": 40009,
|
||||
"started_at": "2026-11-02T17:37:03.736590611Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "43b4dbfa36eb4a10834498e26b20b2860e942f833cd44d1572d299415539a7cf",
|
||||
"name": "mtusi-lab3-osokin-api-5",
|
||||
"service": "api",
|
||||
"number": 5,
|
||||
"hostname": "43b4dbfa36eb",
|
||||
"pid": 42435,
|
||||
"started_at": "2026-11-02T17:37:57.758591108Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"old": {
|
||||
"id": "6a9d2dc65303943669653bdaa5c660593d0e8760c1ccadd2fbad2d0571112a7a",
|
||||
"name": "mtusi-lab3-osokin-api-4",
|
||||
"service": "api",
|
||||
"number": 4,
|
||||
"hostname": "6a9d2dc65303",
|
||||
"pid": 40009,
|
||||
"started_at": "2026-11-02T17:37:03.736590611Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
"after": [
|
||||
{
|
||||
"id": "43b4dbfa36eb4a10834498e26b20b2860e942f833cd44d1572d299415539a7cf",
|
||||
"name": "mtusi-lab3-osokin-api-5",
|
||||
"service": "api",
|
||||
"number": 5,
|
||||
"hostname": "43b4dbfa36eb",
|
||||
"pid": 42435,
|
||||
"started_at": "2026-11-02T17:37:57.758591108Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "dcf5930418702b4ecc629d16661e4f616d7c2a4caa5290517d203fa7a493e728",
|
||||
"name": "mtusi-lab3-osokin-api-6",
|
||||
"service": "api",
|
||||
"number": 6,
|
||||
"hostname": "dcf593041870",
|
||||
"pid": 42989,
|
||||
"started_at": "2026-11-02T17:38:10.934268194Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"id": "43b4dbfa36eb4a10834498e26b20b2860e942f833cd44d1572d299415539a7cf",
|
||||
"name": "mtusi-lab3-osokin-api-5",
|
||||
"service": "api",
|
||||
"number": 5,
|
||||
"hostname": "43b4dbfa36eb",
|
||||
"pid": 42435,
|
||||
"started_at": "2026-11-02T17:37:57.758591108Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "dcf5930418702b4ecc629d16661e4f616d7c2a4caa5290517d203fa7a493e728",
|
||||
"name": "mtusi-lab3-osokin-api-6",
|
||||
"service": "api",
|
||||
"number": 6,
|
||||
"hostname": "dcf593041870",
|
||||
"pid": 42989,
|
||||
"started_at": "2026-11-02T17:38:10.934268194Z",
|
||||
"status": "running",
|
||||
"health": "healthy",
|
||||
"image": "sha256:60edae93ffe5cfb7aa028391005ca54aaa1b3f5ca75ae2db56820930297bc593",
|
||||
"memory_limit": 268435456,
|
||||
"cpu_limit": 1.0,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
},
|
||||
"mounts": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user