Project

General

Profile

Feature #1057

Avatar?id=6023&size=50x50

MongoDB support

Added by Artur Hefczyc Tigase team member over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
2013-02-12
Due date:
2014-08-16
% Done:

100%

Estimated time:
40.00 h
Database:
n/a
Source Code Disclaimer:
Additional charges approved:
No

Description

A MongoDB implementation for UserRepository and AuthRepository


Related issues

Related to Tigase XMPP Server - Feature #1058: Cassandra supportNew

Related to Tigase XMPP Server - Task #2173: Improve Repository APIClosed2014-08-092014-08-16

Associated revisions

Revision 8a5bc492 (diff)
Added by Andrzej Wójcik Tigase team member almost 4 years ago

Initialization of project and inial version of UserRepository implementation for MongoDB

Revision ec2195ef (diff)
Added by Andrzej Wójcik Tigase team member almost 4 years ago

Issue #1057 - added support for loading repository implementations for external jars in OSGi

Revision 42db8db7 (diff)
Added by Andrzej Wójcik Tigase team member almost 4 years ago

Issue #1057 - iniital implementation of AuthRepository for MongoDB

Revision 0d327cf6 (diff)
Added by Andrzej Wójcik Tigase team member almost 4 years ago

Issue #2067 and #1057 - improvements to DB access layer to better fit non-SQL data stores

Revision d23f1f04 (diff)
Added by Andrzej Wójcik Tigase team member almost 4 years ago

Issue #1057 - separated common code of MsgRepositoryIfc implementations

History

#1 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member over 5 years ago

The website of the database project: http://www.mongodb.org

#2 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member about 5 years ago

  • Target version changed from tigase-server-5.2.0 to tigase-server-5.2.1

#3 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member about 4 years ago

  • Target version changed from tigase-server-5.2.1 to tigase-server-7.0.0

#4 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member about 4 years ago

  • Target version changed from tigase-server-7.0.0 to tigase-server-7.1.0

#5 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member almost 4 years ago

  • Assignee changed from Wojciech Kapcia to Andrzej Wójcik
  • Target version changed from tigase-server-7.1.0 to tigase-server-7.0.0

#6 Updated by Andrzej Wójcik Tigase team member almost 4 years ago

  • Related to Task #2173: Improve Repository API added

#7 Updated by Andrzej Wójcik Tigase team member almost 4 years ago

  • Due date changed from 2013-02-28 to 2014-08-16

#8 Updated by Andrzej Wójcik Tigase team member almost 4 years ago

  • % Done changed from 0 to 90

#9 Updated by Andrzej Wójcik Tigase team member almost 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

I created basic implementation of UserRepository and AuthRepository in separate project, see https://projects.tigase.org/projects/tigase-mongodb

This allows us to keep dependency to MongoDB drivers separate from main code base and we might be able to fix issues which may appear in this new code faster and release new versions of this support library also faster.

To use it you need to copy compiled jar of Tigase MongoDB project and add it to jars directory of Tigase XMPP Server installation.

It is also needed to set properly configuration to user MongoDB. Since newest version I changed repository API and implementation so --user-db property should not be required in etc/init.properties file. Adding following entry should configure Tigase XMPP Server to use MongoDB available at https://projects.tigase.org/projects/tigase-mongodb

--user-db-uri=mongodb://localhost/tigase_test

Also in this task MessageRepositoryIfc for MongoDB was created as it was needed to have working Tigase XMPP Server in default configuration (with AMP for storage of offline messages).

#10 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member almost 4 years ago

Excellent, good work. We need some basic documentation on the wiki for this: installation, configuration, anything else what might be useful.

#11 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc Tigase team member almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF