summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/infra/db/mongo_test.go
AgeCommit message (Collapse)AuthorFilesLines
2020-03-05Adding Remove function to MongoRitu Sood1-0/+5
Adding remove function to remove a document only if no child refrences exist. Issue-ID: MULTICLOUD-922 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I7d199502635170a65f7029360c7436ac0389f2a9
2020-03-03Implemented AppIntents and GenPlaceIntentsRajamohan Raj1-2/+1
Implemented the routes for creating, getting, and deleting generic placement intents and App intents. Issue-ID: MULTICLOUD-875 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Iecb11c442958a43a517772e066de45213e3d7030
2020-02-27Update MongoDb to add new methodsRitu Sood1-141/+10
This patch adds new functions Insert, Find and Delete. These functions embeds fields in documents rather than storing as seprate documents. Issue-ID: MULTICLOUD-1001 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Idda2893b5459bbeb441f8f0ea6141ad1f3a0aba2
2020-02-14Restructure code and create module libraryRitu Sood1-0/+597
Restructures and moves code to make it aligned with the current design. https://wiki.onap.org/display/DW/Multi+Cluster+Application+Scheduler examples/example_module.go shows how to import and use modules from this package. Patch#2 Updated example Issue-ID: MULTICLOUD-871 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Ia1e9802a946a07dcca8f79f0e2250933ab3efa66