buildlabs's People
buildlabs's Issues
Try Issue Mgmt
Description
Authentication Service must log Service Start, End, and Heartbeat events to Service Health Logs Repository
Notes:
- Service Errors logged to separate log store.
- Service must have a configurable value to turn infomation logs on/off
- Service must have a configurable value to turn set HeartbeatDuration in seconds ( zero value means off, default value is 90sec)
Service Start Event:
- Start a new runtime session
- Assign a unique id to to runtime session
- Collect hosting server info
- Log Service Starting (Info) event
- Load Service required resources
- Log Service Started (Info) event
Exception: Service raises Authentication Service System Error
- Id: 100
- Error Category: Error
- Description: Error starting authentication service
- Severity: Critical 0
- Include general log info items
Service Stop Event:
- Log Service Stoping (Info) event
- Gracifully end current requests
- Disopse system resources
- Close Service runtime session
- Log Service Stopped (Info) event
- Shutdown service host
Exception: Service raises Authentication Service System Error
- Id: 100
- Error Category: Error
- Description: Error stopping authentication service
- Severity: Critical 0
- Include general log info items
Service Heartbeat Event:
- If
HeartbeatDuration
flag is set to 0 service will not log heartbeat events - If
HeartbeatDuration
flag is greater than 0, service will log Heartbeat event with log detailed info periodically based on the duration configured in seconds
Exception: Service raises Authentication Service System Error
- Id: 100
- Error Cateogy: Error
- Description: Error logging heartbeat for authentication service
- Severity: Critical 0
- Include general log info items
Information must be present at log:
- Service Runtime Session Unique Identifier
- Server IP or hosting App Id
- Server Timestamp in UTC
- Event Id
- Event Description
- Event Category
- Service Unique Id
Acceptance Criteria
- Start Authentication Service with ServiceLogsFlag on, Verify Service Starting and Service Started Events with details are logged
- Stop Authentication Service with ServiceLogsFlag on, Verify Service Stopping and Service Stopped Events with details are logged
- Start Authentication Service with ServiceLogsFlag off, Verify No Service Starting and Service Started Events with details are logged.
- Start Authentication Service with ServiceLogsFlag on and invalid db connection, Verify only Service Starting Event with details is logged, and Authenitcation Service Error (100) Severity (0) was logged
- Start Authentication Service with ServiceLogsFlag on and HeartbeatDuration set to 120Sec, Verify service log Hearbeat with details every 120Sec
- Start Authentication Service with ServiceLogsFlag off and HeartbeatDuration set to 120Sec, Verify service doesn't log Hearbeat with details every 120Sec
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.