spring-boot-examples's Issues
All examples need a way to run and test i.e. exact commands to be used
All examples are too simple to understand and self-explanatory.. however it is always good to have a readme with each example that says how to run and test the solution..
e.g. for resilence4j example, not sure how to test retry and bulkheads..
May be if you can write automated tests that make requests fail and the fallback response comes that would help much more too
https://github.com/lokeshgupta1981/Spring-Boot-Examples/tree/master/spring-boot-vuejs-jwt-auth login failed
application.properties has extra properties but there is no explanation of the same
Also the properties file
management.endpoints.web.exposure.include=*
#management.endpoint.health.show-details=always
#management.health.circuitbreakers.enabled=true
#management.health.ratelimiters.enabled=true
#resilience4j.circuitbreaker.configs.default.registerHealthIndicator=true
#resilience4j.ratelimiter.configs.instances.registerHealthIndicator=true
# 5 concurrent calls allowed
resilience4j.bulkhead.instances.courseBulkheadApi.maxConcurrentCalls=5
# Wait for 10ms before failing in case of limit breach
resilience4j.bulkhead.instances.courseBulkheadApi.maxWaitDuration=10ms
# Time window of 60 seconds
resilience4j.ratelimiter.instances.studentRateLimiterApi.limitRefreshPeriod=60s
# 5 calls allowed
resilience4j.ratelimiter.instances.studentRateLimiterApi.limitForPeriod=5
# Fail immediately without any delay
resilience4j.ratelimiter.instances.studentRateLimiterApi.timeoutDuration=0s
resilience4j.ratelimiter.instances.studentRateLimiterApi.registerHealthIndicator=true
resilience4j.ratelimiter.instances.studentRateLimiterApi.eventConsumerBufferSize=10
has extra properties
#management.endpoint.health.show-details=always
#management.health.circuitbreakers.enabled=true
#management.health.ratelimiters.enabled=true
#resilience4j.circuitbreaker.configs.default.registerHealthIndicator=true
#resilience4j.ratelimiter.configs.instances.registerHealthIndicator=true
though they are commented, I was expecting circuitbreaker example code too here.. always good to explain in readme what all examples can be expected
rateLimiterApi name needs to be changed to studentRateLimiterApi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.