Spring Morphia

A Commons Library to provide moprhia configuration

Лицензия

Лицензия

MIT
Группа

Группа

uk.co.caeldev
Идентификатор

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

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

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

0.1.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Morphia
A Commons Library to provide moprhia configuration
Ссылка на сайт

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

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

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

Pivotal Software, Inc.
Система контроля версий

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

https://github.com/caelwinner/spring-morphia.git

Скачать spring-morphia

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

<!-- https://jarcasting.com/artifacts/uk.co.caeldev/spring-morphia/ -->
<dependency>
    <groupId>uk.co.caeldev</groupId>
    <artifactId>spring-morphia</artifactId>
    <version>0.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/uk.co.caeldev/spring-morphia/
implementation 'uk.co.caeldev:spring-morphia:0.1.5'
// https://jarcasting.com/artifacts/uk.co.caeldev/spring-morphia/
implementation ("uk.co.caeldev:spring-morphia:0.1.5")
'uk.co.caeldev:spring-morphia:jar:0.1.5'
<dependency org="uk.co.caeldev" name="spring-morphia" rev="0.1.5">
  <artifact name="spring-morphia" type="jar" />
</dependency>
@Grapes(
@Grab(group='uk.co.caeldev', module='spring-morphia', version='0.1.5')
)
libraryDependencies += "uk.co.caeldev" % "spring-morphia" % "0.1.5"
[uk.co.caeldev/spring-morphia "0.1.5"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-web jar 1.5.9.RELEASE
org.springframework.data : spring-data-commons jar
com.google.guava : guava jar 23.0
org.mongodb.morphia : morphia jar 1.3.2

test (6)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 1.5.9.RELEASE
org.assertj : assertj-core jar 3.5.2
uk.org.fyodor : fyodor-core jar 1.0.0
uk.org.fyodor : fyodor-junit jar 1.0.0
com.github.fakemongo : fongo jar 2.1.0
org.apache.commons : commons-lang3 jar 3.7

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

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

#Spring Morphia

Build Status Maven Central

Spring Mophia provides a simple way to add to your project all the beans that configuration that your project will need to have everything setup with one annotation.

##How to use it

Add as dependency to your project and then Add the following annotation to start using it.

Step 1

Add this annotation to your configuration class:

@Configuration
@EnableSpringMorphia
public class Application {

}

Having this annotation will define in your spring context all the necessary to use this library.

Step 2

define the following properties in your app:

mongo.servers[0].name=server
mongo.servers[0].port=2701
mongo.database=testdb
mongo.username=testuser
mongo.password=testpassword

morphia.entityPackage=your.entity.package

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

Версия
0.1.5
0.1.4
0.1.3
0.1.1
0.1.0