This project provides a web-based dashboard for managing Flyway database migrations and Quartz job scheduling. It includes the following components:
- Flyway Dashboard: Manage and monitor Flyway database migrations.
- Quartz Scheduler Dashboard: Manage and monitor Quartz job scheduling.
- Health Dashboard: Display the health of application components.
- User-friendly interface for database migration and job scheduling.
- Centralized navigation through a unified dashboard.
- Real-time health monitoring of application components.
- Frontend: HTML, CSS (Bootstrap 4.3.1), JavaScript (jQuery)
- Backend: Spring Framework
- Build Tool: Maven
- Java: Version 17 or higher
- Maven: Version 3.6.0 or higher
- Spring Boot: Version 3.0 or higher
Add the following dependency to your pom.xml
file:
<dependency>
<groupId>io.github.arefbehboudi</groupId>
<artifactId>ui-tools</artifactId>
<version>0.2.6</version>
</dependency>
Run the following command from the root directory of the project:
mvn install
Add the following configuration to your Spring application:
@Configuration
public class WebMvcConfiguration extends WebMvcConfigurationSupport {
@Override
protected void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/dashboard-ui/**")
.addResourceLocations("classpath:/META-INF/resources/WEB-INF/views/")
.setCachePeriod(0)
.resourceChain(false)
.addResolver(new DashboardResourceSolver());
}
}
Once the application is running, open your web browser and navigate to:
http://localhost:<port>/dashboard-ui/dashboard.html
Replace <port>
with your application's running port.
Currently, we only support Slack for sending alerts. To configure it, use the following settings:
io.github.ui-tools.message.channel=SLACK_CHANNEL
io.github.ui-tools.message.slack.key=SLACK_API
io.github.ui-tools.message.type=SLACK