aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/infra/db/mock.go
AgeCommit message (Collapse)AuthorFilesLines
2020-10-02Remove unused mongo db methods from emco codeEric Multanen1-27/+0
Remove the set of unused (legacy from v1) mongo db methods so that they are not used in the emco code base. Issue-ID: MULTICLOUD-1227 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Ibe94892e5b1d0f33192be7ea3db5c55b3f8cbf60
2020-03-12Add apps under composite app APISrivahni Chivukula1-0/+4
Implemented create, get and delete handlers for the apps under composite app. Added unit tests Added remove function to mockdb Handled multipart POST request to upload file along with app data. Issue-ID: MULTICLOUD-998 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com> Change-Id: I25c1faba1212c0cc881c2cd599e8e66a7b93033e
2020-03-03Implemented AppIntents and GenPlaceIntentsRajamohan Raj1-1/+20
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-28Remove String functionRitu Sood1-1/+3
Removing String from interface as this is not required anymore Issue-ID: MULTICLOUD-1001 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I40a950bb343f4cfcc5d51e52e44d0f788fc5e303
2020-02-27Update MongoDb to add new methodsRitu Sood1-17/+0
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/+94
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