Pip.Services MongoDb

MongoDB persistence for Pip.Services in Java

License

License

MIT
Categories

Categories

MongoDB Data Databases
GroupId

GroupId

org.pipservices
ArtifactId

ArtifactId

pip-services-mongodb
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Pip.Services MongoDb
MongoDB persistence for Pip.Services in Java
Project URL

Project URL

http://www.github.com/pip-services/pip-services
Source Code Management

Source Code Management

https://github.com/pip-services-java/pip-services-mongodb-java

Download pip-services-mongodb

How to add to project

<!-- https://jarcasting.com/artifacts/org.pipservices/pip-services-mongodb/ -->
<dependency>
    <groupId>org.pipservices</groupId>
    <artifactId>pip-services-mongodb</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.pipservices/pip-services-mongodb/
implementation 'org.pipservices:pip-services-mongodb:3.0.0'
// https://jarcasting.com/artifacts/org.pipservices/pip-services-mongodb/
implementation ("org.pipservices:pip-services-mongodb:3.0.0")
'org.pipservices:pip-services-mongodb:jar:3.0.0'
<dependency org="org.pipservices" name="pip-services-mongodb" rev="3.0.0">
  <artifact name="pip-services-mongodb" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.pipservices', module='pip-services-mongodb', version='3.0.0')
)
libraryDependencies += "org.pipservices" % "pip-services-mongodb" % "3.0.0"
[org.pipservices/pip-services-mongodb "3.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.pipservices : pip-services-commons jar 3.0.0
org.pipservices : pip-services-components jar 3.0.0
org.pipservices : pip-services-data jar 3.0.0
org.mongodb : mongodb-driver jar 3.6.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Pip.Services Logo
MongoDB components for Java

This module is a part of the Pip.Services polyglot microservices toolkit. It provides a set of components to implement MongoDB persistence.

The module contains the following packages:

  • Codecs - contains all the default BSON codecs.
  • Connect - Connection component to configure MongoDB connection to database.
  • Persistence - abstract persistence components to perform basic CRUD operations.

Quick links:

Use

Go to the pom.xml file in Maven project and add dependencies::

<dependency>
  <groupId>org.pipservices3</groupId>
  <artifactId>pip-services3-mongodb</artifactId>
  <version>3.0.0</version>
</dependency>

Develop

For development you shall install the following prerequisites:

  • Java SE Development Kit 8+
  • Eclipse Java Photon or another IDE of your choice
  • Docker
  • Apache Maven

Build the project:

mvn install

Run automated tests:

mvn test

Generate API documentation:

./docgen.ps1

Before committing changes run dockerized build and test as:

./build.ps1
./test.ps1
./clear.ps1

Contacts

The initial implementation is done by Sergey Seroukhov. Pip.Services team is looking for volunteers to take ownership over Java implementation in the project.

Versions

Version
3.0.0