Attendance
Overview
The attendance module allows creation of an attendance register, enrolment of staff and attendees and capture of attendance records with entry/exit times. To compute attendance based on the logs, a calculator service should be built with specific business logic.
Pre-requisites
DIGIT backbone services
IDGen
Persister
Project Service
Functionalities
Allows creation/updation/search of an attendance register
Allows mapping of staff and attendees to a register and enforces permissions.
Logs entry and exit timestamps in epoch time for a referenced entity
Setup Details
The source code for Attendance is present in the DIGIT-Works Git repo. The spring boot application needs the Lombok* extension added to the IDE to load it. Once the application is up and running, the API requests can be posted to the URL and the IDs can be generated.
*In the case of IntelliJ, the plugin can be installed directly. For eclipse, the Lombok jar location has to be added in the eclipse.ini file in this format javaagent:lombok.jar.
API Details
Refer to the Swagger API for YAML file details.
Application.properties file information:
Kafka topics persister configs for eGov persister:
URLs for the external API references:
eGvo mdms :-> egov.mdms.host = https://unified-dev.digit.org/
eGov -idGen :-> egov.idgen.host = https://unified-dev.digit.org/
localization service :-> egov.localization.host = https://unified-dev.digit.org/
Project Service :->
Configuration Details
Access MDMS Configurations
Action test: URL actions adding
Access to role-based actions
Persister Configs
Indexer Configs
Attendance YAML
Database Schema

Postman Collections
Was this helpful?