Implemented AppIntents and GenPlaceIntents 66/102266/6
authorRajamohan Raj <rajamohan.raj@intel.com>
Mon, 24 Feb 2020 21:59:44 +0000 (21:59 +0000)
committerRajamohan Raj <rajamohan.raj@intel.com>
Tue, 3 Mar 2020 23:08:13 +0000 (23:08 +0000)
commit37aed9b7a0db62b9931d89c614ff6291cc4608cc
tree51021b0776978d77c4a1cad455be582a4dafa894
parent7b566f2875230e15f79a6549b17240e767cc98f1
Implemented AppIntents and GenPlaceIntents

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
14 files changed:
src/orchestrator/api/api.go
src/orchestrator/api/app_intent_handler.go [new file with mode: 0644]
src/orchestrator/api/clusterhandler_test.go
src/orchestrator/api/controllerhandler_test.go
src/orchestrator/api/generic_placement_intent_handler.go [new file with mode: 0644]
src/orchestrator/api/projecthandler_test.go
src/orchestrator/cmd/main.go
src/orchestrator/pkg/infra/db/mock.go
src/orchestrator/pkg/infra/db/mongo_test.go
src/orchestrator/pkg/module/app_intent.go [new file with mode: 0644]
src/orchestrator/pkg/module/app_intent_test.go [new file with mode: 0644]
src/orchestrator/pkg/module/generic_placement_intent.go [new file with mode: 0644]
src/orchestrator/pkg/module/generic_placement_intent_test.go [new file with mode: 0644]
src/orchestrator/pkg/module/module.go