simter-mongo-ext

Simter Dependencies

Лицензия

Лицензия

MIT
Группа

Группа

tech.simter
Идентификатор

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

simter-mongo-ext
Последняя версия

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

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

simter-mongo-ext
Simter Dependencies
Ссылка на сайт

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

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

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

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

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

https://github.com/simter/simter-mongo-ext.git

Скачать simter-mongo-ext

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

<!-- https://jarcasting.com/artifacts/tech.simter/simter-mongo-ext/ -->
<dependency>
    <groupId>tech.simter</groupId>
    <artifactId>simter-mongo-ext</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/tech.simter/simter-mongo-ext/
implementation 'tech.simter:simter-mongo-ext:1.1.0'
// https://jarcasting.com/artifacts/tech.simter/simter-mongo-ext/
implementation ("tech.simter:simter-mongo-ext:1.1.0")
'tech.simter:simter-mongo-ext:jar:1.1.0'
<dependency org="tech.simter" name="simter-mongo-ext" rev="1.1.0">
  <artifact name="simter-mongo-ext" type="jar" />
</dependency>
@Grapes(
@Grab(group='tech.simter', module='simter-mongo-ext', version='1.1.0')
)
libraryDependencies += "tech.simter" % "simter-mongo-ext" % "1.1.0"
[tech.simter/simter-mongo-ext "1.1.0"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.springframework.data : spring-data-mongodb jar
org.springframework.boot : spring-boot-autoconfigure jar
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.40
org.jetbrains.kotlin : kotlin-reflect jar 1.3.40
org.slf4j : slf4j-api jar

test (4)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter jar
io.mockk : mockk jar 1.9.3
ch.qos.logback : logback-classic jar
org.springframework.boot : spring-boot-starter-test jar 2.1.6.RELEASE

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

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

Simter MongoDB Extensions

Maven Usage :

<dependency>
  <groupId>tech.simter</groupId>
  <artifactId>simter-mongo-ext</artifactId>
  <version>${the-version}</version>
</dependency>

Converters

Name Read from / Write to
OffsetDateTimeReadConverter {"dateTime": ISODate("2018-04-25T10:30:27.181Z"), "offset" : "+08:00"}
OffsetDateTimeWriteConverter {"dateTime": ISODate("2018-04-25T10:30:27.181Z"), "offset" : "+08:00"}
ZonedDateTimeReadConverter {"dateTime": ISODate("2018-04-25T10:30:27.181Z"), "offset" : "+08:00", "zone": "Asia/Shanghai"}
ZonedDateTimeWriteConverter {"dateTime": ISODate("2018-04-25T10:30:27.181Z"), "offset" : "+08:00", "zone": "Asia/Shanghai"}

Usage by any one of bellows :

  1. @Import(tech.simter.mongo.ModuleConfiguration::class)
  2. @ComponentScan("tech.simter.mongo.ModuleConfiguration")
  3. Manual register MongoCustomConversions :
    @Bean
    fun customConversions(): MongoCustomConversions {
      return MongoCustomConversions(listOf(
        OffsetDateTimeReadConverter.INSTANCE, 
        OffsetDateTimeWriteConverter.INSTANCE,
        ZonedDateTimeReadConverter.INSTANCE, 
        ZonedDateTimeWriteConverter.INSTANCE
      ))
    }
    
tech.simter

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

Версия
1.1.0
1.0.0