This repository contains the Spring Boot application built for the Bajaj Finserv Health Qualifier round.
The application is designed to run locally and act as a webhook processor. Upon initialization, the application will:
- Connect via POST to the Bajaj Finserv Health API Gateway to generate a custom webhook URL and authentication JWT token.
- Read the assigned SQL problem based on the provided registration number.
- Send the parsed and solved final SQL query back to the generated webhook using the provided JWT token in the
Authorizationheader.
- Language: Java 17
- Framework: Spring Boot 3.1.5
- HTTP Client: Spring
RestTemplate - Dependency Management: Maven
The workflow runs automatically upon launching the application context via the CommandLineRunner interface.
There are no REST controllers or external endpoints exposed in this application to trigger the flow, per the requirements.
You can run the compiled package directly from the command line:
java -jar bfhl-qualifier-0.0.1-SNAPSHOT.jar