spring-data-tarantool

spring-data for tarantool

Лицензия

Лицензия

MIT
Категории

Категории

Ant Компиляция и сборка Данные
Группа

Группа

ru.shadam
Идентификатор

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

spring-data-tarantool
Последняя версия

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

spring-data-tarantool
spring-data for tarantool
Ссылка на сайт

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

https://github.com/saladinkzn/spring-data-tarantool
Система контроля версий

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

https://github.com/saladinkzn/spring-data-tarantool

Скачать spring-data-tarantool

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

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

Зависимости

runtime (2)

Идентификатор библиотеки Тип Версия
org.springframework.data : spring-data-keyvalue jar 1.1.6.RELEASE
org.tarantool : connector jar 1.7.0

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

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

spring-data-tarantool

Build Status Coverage Status Maintenance Status License

Spring data repositories support for Tarantool

Usage:

Add following snippet to your project:

repositories {
  jcenter()
}

dependencies {
  compile 'ru.shadam:spring-data-tarantool:0.3.0'
}

and enable tarantool repositories:

@EnableTarantoolRepositories 
public class ApplicationConfiguration {
    @Bean
    public TarantoolClientOps<Integer, List<?>, Object, List<?>> tarantoolSyncOps(
        TarantoolClient tarantoolClient
    ) {
        return tarantoolClient.syncOps();
    }

    @Bean(destroyMethod = "close")
    public TarantoolClient tarantoolClient(
        SocketChannelProvider socketChannelProvider,
        TarantoolClientConfig config
    ) {
        return new TarantoolClientImpl(socketChannelProvider, config);
    }

    @Bean
    public TarantoolClientConfig tarantoolClientConfig() {
        final TarantoolClientConfig config = new TarantoolClientConfig();
        config.username = "guest";
        return config;
    }

    @Bean
    public SocketChannelProvider socketChannelProvider() {
        return new SimpleSocketChannelProvider("localhost", 3301);
    }
}

Copyright and License

Copyright 2017 (c) Timur Shakurov.

All versions, present and past, of spring-data-tarantool are licensed under MIT license.

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

Версия
0.1.0