|
1 |
| -# Springy Store μServices  [](https://github.com/mohamed-taman/Springy-Store-Microservices/releases) |
| 1 | +# Springy Store μServices  [](https://github.com/mohamed-taman/Springy-Store-Microservices/releases) |
2 | 2 | [](https://twitter.com/_tamanm)
|
3 | 3 |
|
4 | 4 | - This project is a development of a small set of **Spring Boot** and **Cloud** based Microservices projects that implement cloud-native intuitive, Reactive Programming, Event-driven, Microservices design patterns, and coding best practices.
|
@@ -281,7 +281,7 @@ The result will look like this:
|
281 | 281 | ```bash
|
282 | 282 | Starting 'Springy Store μServices' for [Blackbox] testing...
|
283 | 283 |
|
284 |
| -Start Tests: Fri, May 8, 2020 12:26:28 PM |
| 284 | +Start Tests: Tue, May 26, 2020 2:09:36 AM |
285 | 285 | HOST=localhost
|
286 | 286 | PORT=8443
|
287 | 287 | Restarting the test environment...
|
@@ -311,7 +311,33 @@ Test OK (actual value: "Type mismatch.")
|
311 | 311 | Test OK (HTTP Code: 401, )
|
312 | 312 | Test OK (HTTP Code: 200)
|
313 | 313 | Test OK (HTTP Code: 403, )
|
314 |
| -End, all tests OK: Fri, May 8, 2020 12:29:21 PM |
| 314 | +Start Circuit Breaker tests! |
| 315 | +Test OK (actual value: CLOSED) |
| 316 | +Test OK (HTTP Code: 500, {"timestamp":"2020-05-26T00:09:48.784+00:00","path":"/store/api/v1/products/2","status":500,"error":"Internal Server Error","message":"Did not observe any item or terminal signal within 2000ms in 'onErrorResume' (and no fallback has been configured)","requestId":"4aa9f5e8-119"}) |
| 317 | +Test OK (actual value: Did not observe any item or terminal signal within 2000ms) |
| 318 | +Test OK (HTTP Code: 500, {"timestamp":"2020-05-26T00:09:51.033+00:00","path":"/store/api/v1/products/2","status":500,"error":"Internal Server Error","message":"Did not observe any item or terminal signal within 2000ms in 'onErrorResume' (and no fallback has been configured)","requestId":"4aa9f5e8-120"}) |
| 319 | +Test OK (actual value: Did not observe any item or terminal signal within 2000ms) |
| 320 | +Test OK (HTTP Code: 500, {"timestamp":"2020-05-26T00:09:53.276+00:00","path":"/store/api/v1/products/2","status":500,"error":"Internal Server Error","message":"Did not observe any item or terminal signal within 2000ms in 'onErrorResume' (and no fallback has been configured)","requestId":"4aa9f5e8-121"}) |
| 321 | +Test OK (actual value: Did not observe any item or terminal signal within 2000ms) |
| 322 | +Test OK (HTTP Code: 200) |
| 323 | +Test OK (actual value: Fallback product2) |
| 324 | +Test OK (HTTP Code: 200) |
| 325 | +Test OK (actual value: Fallback product2) |
| 326 | +Test OK (HTTP Code: 404, {"httpStatus":"NOT_FOUND","message":"Product Id: 14 not found in fallback cache!","path":"/store/api/v1/products/14","timestamp":"2020-05-26@00:09:53.998+0000"}) |
| 327 | +Test OK (actual value: Product Id: 14 not found in fallback cache!) |
| 328 | +Will sleep for 10 sec waiting for the CB to go Half Open... |
| 329 | +Test OK (actual value: HALF_OPEN) |
| 330 | +Test OK (HTTP Code: 200) |
| 331 | +Test OK (actual value: product name C) |
| 332 | +Test OK (HTTP Code: 200) |
| 333 | +Test OK (actual value: product name C) |
| 334 | +Test OK (HTTP Code: 200) |
| 335 | +Test OK (actual value: product name C) |
| 336 | +Test OK (actual value: CLOSED) |
| 337 | +Test OK (actual value: CLOSED_TO_OPEN) |
| 338 | +Test OK (actual value: OPEN_TO_HALF_OPEN) |
| 339 | +Test OK (actual value: HALF_OPEN_TO_CLOSED) |
| 340 | +End, all tests OK: Tue, May 26, 2020 2:10:09 AM |
315 | 341 | ```
|
316 | 342 | ### Closing The Story
|
317 | 343 |
|
|
0 commit comments