org.illyasviel.elide:elide-spring-boot-autoconfigure

Spring Boot Starter for Elide

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки Spring Boot Контейнер Микросервисы Auto Библиотеки уровня приложения Code Generators config Configuration Elide Межпрограммное взаимодействие REST Frameworks
Группа

Группа

org.illyasviel.elide
Идентификатор

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

elide-spring-boot-autoconfigure
Последняя версия

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

1.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Boot Starter for Elide
Организация-разработчик

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

illyasviel

Скачать elide-spring-boot-autoconfigure

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

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

Зависимости

compile (8)

Идентификатор библиотеки Тип Версия
org.atteo.classindex : classindex jar 3.4
org.springframework.boot : spring-boot-starter-data-jpa Необязательный jar
org.springframework.boot : spring-boot-starter-web Необязательный jar
org.springframework.boot : spring-boot-configuration-processor Необязательный jar
com.yahoo.elide : elide-core Необязательный jar 4.2.3
com.yahoo.elide : elide-datastore-hibernate5 Необязательный jar 4.2.3
com.yahoo.elide : elide-graphql Необязательный jar 4.2.3
org.projectlombok : lombok Необязательный jar 1.18.0

test (7)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar
com.h2database : h2 jar
org.hibernate : hibernate-envers jar
javax.xml.bind : jaxb-api jar 2.3.0
com.sun.xml.bind : jaxb-core jar 2.3.0
com.sun.xml.bind : jaxb-impl jar 2.3.0
javax.activation : activation jar 1.1.1

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

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

Elide integration with Spring Boot

Build Status Coverage Status License Maven Central

🎉 Now, Elide has official support for Spring, please check out Elide Spring Artifacts. 🎉

Elide Spring-Boot-Starter will help you use Elide with Spring Boot

  • Automatically configure elide and json:api/GraphQL controller.
  • Integrated Spring Transaction.
  • Integrated Spring Dependency Injection (optional).
  • A convenience annotation, @ElideCheck("expression"), help you register elide check.
  • A convenience annotation, @ElideHook(lifeCycle = OnXXX.class), help you register elide function hook.
  • Catch org.hibernate.exception.ConstraintViolationException return HTTP 422.

Usage

<dependency>
  <groupId>org.illyasviel.elide</groupId>
  <artifactId>elide-spring-boot-starter</artifactId>
  <version>1.4.0</version>
</dependency>

The GraphQL auto configuration takes effect when elide-graphql on the classpath.

<dependency>
  <groupId>com.yahoo.elide</groupId>
  <artifactId>elide-graphql</artifactId>
  <version>${elide.version}</version>
</dependency>

Example

Check out the elide-spring-boot-sample.

Configuration

The following shows all the default properties.

elide:
  prefix: "/api"
  default-page-size: 20
  max-page-size: 100
  spring-dependency-injection: true
  return-error-objects: false
  mvc:
    enable: true
    get: true
    post: true
    patch: true
    delete: true
    graphql: true
org.illyasviel.elide

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

Версия
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0