An open API service indexing awesome lists of open source software.

https://github.com/wilddev/spring-starter-core-ext

Core extension starter for Spring apps
https://github.com/wilddev/spring-starter-core-ext

Last synced: about 1 year ago
JSON representation

Core extension starter for Spring apps

Awesome Lists containing this project

README

          

### Description

Core extension starter for [Spring](https://spring.io) apps.

[![Java CI with Maven](https://github.com/WildDev/spring-starter-core-ext/actions/workflows/maven.yml/badge.svg)](https://github.com/WildDev/spring-starter-core-ext/actions/workflows/maven.yml)

### What it carries

* `FutureCalculator`, `PastCalculator` - beans to forward datetime values.
For example, `futureCalculator.calc(LocalDateTime.now(), "20s")` is equal to `LocalDateTime.now().plusSeconds(20)`
* `MessageService` - is a customized version of Spring's `MessageSource` with fewer parameters
* `ExpiredRecordsCollector` - an accumulative interface for expired data collection
* `Queue`, `Slicer`, `Task` - interfaces to implement custom queues, slicers and tasks respectively
* `PublishingPoller` - polling based abstraction to process large datasets
* `DefaultDurationConverter` - bean to convert duration values to a different time unit. For example, `durationConverter.convert(new DurationValue(1200, TimeUnit.SECONDS), TimeUnit.MINUTES)` produces the converted value `DurationValue(value=20, timeUnit=MINUTES)`

### Get started

Build requirements:
* latest JDK and Maven

Also available in Maven central:

```xml

fun.wilddev.lib
spring-starter-core-ext
1.0.2.RELEASE

```