Skip to content

MongoDB Support

William Cai edited this page Jun 14, 2020 · 4 revisions

Overview

Currently SP (Speedle+) project supports two kinds of policy store OOTB, i.e. file based policy store for demo/dev environment and etcd based policy store. Both of them are simple and fast. But they make things a little hard to support advanced policy management functions, for example, query out all policies based a certain criteria. Some users also asked for database support. So let's do it now. MongoDB support will be added to SP project soon.

Requirement

Support Matrix

MongoDB Community Server: 4.2.7 and greater
MongoDB Enterprise Server: 4.2.7 and greater
MongoDB Atlas (Cloud Deployment)

Functionalities

a. all MongoDB versions mentioned in above section should be supported
b. One should be able to create, query, update, delete SP policies and other required information with MongoDB
c. ADS module should be notified when policy data changed in MongoDB
d. Performance: with one million policies in MongoDB based store, all PMS operations should be able to complete in reasonable time.

Reference

MongoDB website: https://www.mongodb.com/
MongoDB Go driver: https://github.com/mongodb/mongo-go-driver

Clone this wiki locally