com.ineat-group.lab:ineat-spring-boot-starter

Provides a set of utilities configurations for spring-boot

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы
Группа

Группа

com.ineat-group.lab
Идентификатор

Идентификатор

ineat-spring-boot-starter
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Provides a set of utilities configurations for spring-boot
Ссылка на сайт

Ссылка на сайт

https://github.com/ineat
Организация-разработчик

Организация-разработчик

Ineat Group
Система контроля версий

Система контроля версий

https://github.com/ineat/ineat-spring-boot-starter

Скачать ineat-spring-boot-starter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.ineat-group.lab/ineat-spring-boot-starter/ -->
<dependency>
    <groupId>com.ineat-group.lab</groupId>
    <artifactId>ineat-spring-boot-starter</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.ineat-group.lab/ineat-spring-boot-starter/
implementation 'com.ineat-group.lab:ineat-spring-boot-starter:0.1.0'
// https://jarcasting.com/artifacts/com.ineat-group.lab/ineat-spring-boot-starter/
implementation ("com.ineat-group.lab:ineat-spring-boot-starter:0.1.0")
'com.ineat-group.lab:ineat-spring-boot-starter:jar:0.1.0'
<dependency org="com.ineat-group.lab" name="ineat-spring-boot-starter" rev="0.1.0">
  <artifact name="ineat-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.ineat-group.lab', module='ineat-spring-boot-starter', version='0.1.0')
)
libraryDependencies += "com.ineat-group.lab" % "ineat-spring-boot-starter" % "0.1.0"
[com.ineat-group.lab/ineat-spring-boot-starter "0.1.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-configuration-processor Необязательный jar 1.5.10.RELEASE
org.springframework.boot : spring-boot-starter-validation jar 1.5.10.RELEASE
org.springframework.boot : spring-boot-starter-aop jar 1.5.10.RELEASE
org.projectlombok : lombok Необязательный jar 1.16.20

runtime (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-devtools jar 1.5.10.RELEASE

test (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 1.5.10.RELEASE

Модули Проекта

Данный проект не имеет модулей.

react-router

Ineat Lab Spring Boot Starter

Set of AutoConfigurations for spring-boot

Maven Central quality

coverage bugs code_smells duplicated_lines_density ncloc vulnerabilities reliability_rating security_rating

Why ?

The main idea of this library is to provide a set of Spring Boot AutoConfigurations for commons needs in business applications developments.

How to use this starter

The Maven group ID is com.ineat-group.lab, and the artifact ID is ineat-spring-boot-starter.

To add a dependency using Maven, use the following:

<dependency>
  <groupId>com.ineat-group.lab</groupId>
  <artifactId>ineat-spring-boot-starter</artifactId>
  <version>LATEST</version>
</dependency>

To add a dependency using Gradle:

dependencies {
  compile 'com.ineat-group.lab:ineat-spring-boot-starter:+'
}

List of available auto-configurations

You can see all our available configurations in your favorite IDE by taping ineat. and using the auto-completion (ctrl + space) into your application.yaml/properties : configurations

Monitoring

Inspired by Baeldung spring-performance-logging article, this starter provides a fast way to register

IMPORTANT : Because of these interceptors logs at TRACE level, you need to set your spring logging.level property to TRACE :

logging:
  level:
    com.ineat.lab.sample: TRACE
logging:
  level:
    com.ineat.lab.sample: TRACE
      
ineat:
  monitoring:
    trace:
      enabled: true # easily use, or not the interceptor
      pointcut-expression: execution(* com.ineat.lab.sample.**(..)) # set the pointcut expression according to AspectJ pointcut pattern

Result on logs :

2018-02-01 15:37:46.882 TRACE 3480 --- [nio-8080-exec-1] c.i.l.s.DemoApplication$SampleController : Entering method 'test' of class [com.ineat.lab.sample.DemoApplication$SampleController]
2018-02-01 15:37:46.884 TRACE 3480 --- [nio-8080-exec-1] c.i.l.s.DemoApplication$SampleController : Exiting method 'test' of class [com.ineat.lab.sample.DemoApplication$SampleController]


PerformanceMonitorInterceptor

ineat:
  monitoring:
    performance:
      enabled: true # easily use, or not the interceptor
      pointcut-expression: execution(* com.ineat.lab.sample.*.*(..)) # set the pointcut expression according to AspectJ pointcut pattern

Result on logs :

2018-02-01 15:39:29.975 TRACE 3480 --- [nio-8080-exec-1] c.i.l.s.DemoApplication$SampleController : StopWatch 'com.ineat.lab.sample.DemoApplication$SampleController.test': running time (millis) = 3


Want to contribute ?

If you uses our starter-kit and you want to contribute by adding others commons use-cases/needs auto-configuration for spring-boot, send us a pull request with an explanation of your feature.

com.ineat-group.lab

Ineat Group

We design and develop web apps, train engineers at startups, and improve our clients products to Make Innovation Easy

Версии библиотеки

Версия
0.1.0