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.
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.