Skip to content

Commit 64f39e8

Browse files
authored
Update README.md
1 parent 171480a commit 64f39e8

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TaskOverflow
2-
Grails project at ISIMA by Benoit Garçon
2+
Grails project at ISIMA by Benoît Garçon
33

44
## Configuration server
55

@@ -14,5 +14,24 @@ By default the server will be reachable on [http://localhost:666](http://localho
1414
java "-Dgrails.env=dev" -jar .\build\libs\conf-0.1.war
1515
```
1616

17-
## Health check
18-
Health check is available at [http://localhost:666/health](http://localhost:666/health).
17+
## Configuration server Health Check
18+
Health check is available at [http://localhost:666/health](http://localhost:666/health).
19+
20+
## Stateless application
21+
This application is totally stateless.
22+
23+
## Authentification mechanism
24+
This application is secured through spring-security-rest.
25+
26+
## Feature Flipping
27+
The Feature Flipping is implemented: it use the [configuration server](http://github.com/TaskOverflow/conf) of this project. To test the feature flipping on a feature, you just need to switch between 'ok' and 'ko' in the corresponding file in [conf/data/](http://github.com/TaskOverflow/conf/data). Warning: it is important to run the configuration server from root (like it is said in the corresponding README). Every five seconds the client ping each features to know if the feature is activated.
28+
29+
## Health check
30+
The complete Health Check is available at [http://localhost:8080/health](http://localhost:8080/health).
31+
Some simplified Health Check are available for each features (user, badge, tag, question) at http://localhost:8080/featureName/healthcheck, it is used in Circuit Breaker feature.
32+
33+
## Circuit Breaker
34+
The Circuit Breaker is implemented with the help of previously described feature healthcheck. Every five seconds the client ping each features to know if they respond 200 or an error. In the opened mode the circuit waits 20 seconds. If you want to play with the circuit breaker, you have to launch the server with `grails run-app` and modify the code returned by healthcheck() action of the desired controller. Or you can just break the server.
35+
36+
## Graceful Degradation
37+
If there is a problem, some features are simply deleted from the UI (badge, tag), other features are replaced by new third party service : when user feature is down a list of random people is displayed, when question feature is down random gif of cats are displayed instead.

0 commit comments

Comments
 (0)