localstack-spring-boot-autoconfigure

Spring Boot AutoConfiguration for using AtlassianLabs' Localstack

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Auto Библиотеки уровня приложения Code Generators config Configuration
Группа

Группа

io.smartup.localstack
Идентификатор

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

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

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

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

localstack-spring-boot-autoconfigure
Spring Boot AutoConfiguration for using AtlassianLabs' Localstack
Система контроля версий

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

https://github.com/smartupio/localstack-spring-boot

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

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

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

Зависимости

compile (16)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework.boot : spring-boot-configuration-processor Необязательный jar
com.amazonaws : aws-java-sdk-api-gateway Необязательный jar
com.amazonaws : aws-java-sdk-kinesis Необязательный jar
com.amazonaws : aws-java-sdk-dynamodb Необязательный jar
com.amazonaws : aws-java-sdk-elasticsearch Необязательный jar
com.amazonaws : aws-java-sdk-s3 Необязательный jar
com.amazonaws : aws-java-sdk-lambda Необязательный jar
com.amazonaws : aws-java-sdk-sns Необязательный jar
com.amazonaws : aws-java-sdk-sqs Необязательный jar
com.amazonaws : aws-java-sdk-redshift Необязательный jar
com.amazonaws : aws-java-sdk-route53 Необязательный jar
com.amazonaws : aws-java-sdk-ses Необязательный jar
com.amazonaws : aws-java-sdk-ssm Необязательный jar 1.11.307
com.amazonaws : amazon-sqs-java-messaging-lib Необязательный jar 1.0.4
org.slf4j : slf4j-api jar

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

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

Smartup LocalStack Spring Boot AutoConfiguration

Introduction

The scope of this AutoConfiguration library is to provide a simple way for configuring AWS clients with localstack.

Requirements

To use this AutoConfiguration you need JDK8.

Usage

  • First you have to include localstack-spring-boot-starter dependency in your project
  • Next you'll need to annotate your SpringBootApplication class with @EnableLocalStack
  • Then you can configure the AutoConfiguration from your application.properties, or application.yml file

Configuration

You need to make sure that the profile you want to use LocalStack in includes the following configuration:

    localstack:
      enabled: true
      api-gateway:
        enabled: true
      kinesis:
        enabled: true
      dynamodb:
        enabled: true
      dynamodb-streams:
        enabled: true
      elasticsearch:
        enabled: true
      s3:
        enabled: true
      firehose:
        enabled: true
      lambda:
        enabled: true
      sns:
        enabled: true
      sqs:
        enabled: true
      redshift:
        enabled: true
      ssm:
        enabled: true
      lambda:
        enabled: true

The AutoConfiguration now supports SSL, in order to use it set the localstack.use-ssl flag to true.

The localstack.enabled config is mandatory, you must specify this.

The services that are going to be used must be specified, otherwise they won't be enabled.

How it works

The configuration of the AmazonWebServiceClients' present in your project will be overwritten if the configuration is enabled.

io.smartup.localstack

SmartUp Pte Ltd

Market-leading learning experience platform and consultancy, helping organisations create a highly engaged, interactive learning culture.

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

Версия
1.1.1
1.1.0
1.0.0