For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:

Configuration Details

Access MDMS Configurations

Action test: URL actions adding

actions-test.json

Access to role-based actions

roleaction.json

Persister Configs

Attendance YAML

Indexer Configs

Attendance YAML

Database Schema

Postman Collections

Link

Was this helpful?