Use MongoDB

If your application uses an important set of values, you can choose to store them in MongoDB  :

  • create a database: use databaseName;
  • create a user on it: db.createUser({user :  "username" ,pwd : "password",roles :["readWrite"]}) ;

In the System Parameters, modify MongoHost, MongoPort, MongoDatabase, MongoUser and MongoPassword
Capturedecran2015-06-04a15.45.54.png

You have now to create a java class in order to make your bundle to listen to the service TimeSerieMongoClientService

Tags:
Created by Pierre Dubois on 2015/06/11 10:51
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation