Projects tigase _server server-core Issues #187
MongoDB support (#187)
Closed
Artur Hefczyc opened 1 decade ago
Due Date
2014-08-15

A MongoDB implementation for UserRepository and AuthRepository

Artur Hefczyc commented 1 decade ago

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

Andrzej Wójcik (Tigase) commented 1 decade ago

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

Artur Hefczyc commented 1 decade ago

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

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
RedmineID
1057
Version
tigase-server-7.0.0
Estimation
40h
Spent time
117h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#187
Please wait...
Page is in error, reload to recover