Add DeploymentIntentGroup APIs 55/102355/6
authorRajamohan Raj <rajamohan.raj@intel.com>
Wed, 26 Feb 2020 02:07:34 +0000 (02:07 +0000)
committerRajamohan Raj <rajamohan.raj@intel.com>
Wed, 4 Mar 2020 23:43:43 +0000 (23:43 +0000)
commitff03456548dac309461f402738ac344046de8057
tree479b113227ba2d67636aa68a165cb5e484071d72
parent37aed9b7a0db62b9931d89c614ff6291cc4608cc
Add DeploymentIntentGroup APIs

Implemented the routes for creation,
deletion and getting DeploymentIntentGroup.

Added routes for adding, getting and deleting intents.

Issue-ID: MULTICLOUD-1002
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I07ba3744107bcf30aa30ed89caa21bf474c0d92a
16 files changed:
src/orchestrator/api/add_intents_handler.go [new file with mode: 0644]
src/orchestrator/api/api.go
src/orchestrator/api/clusterhandler.go
src/orchestrator/api/clusterhandler_test.go
src/orchestrator/api/controllerhandler_test.go
src/orchestrator/api/deployment_intent_groups_handler.go [new file with mode: 0644]
src/orchestrator/api/projecthandler_test.go
src/orchestrator/cmd/main.go
src/orchestrator/go.mod
src/orchestrator/go.sum
src/orchestrator/pkg/module/add_intents.go [new file with mode: 0644]
src/orchestrator/pkg/module/deployment_intent_groups.go [new file with mode: 0644]
src/orchestrator/pkg/module/deployment_intent_groups_test.go [new file with mode: 0644]
src/orchestrator/pkg/module/generic_placement_intent.go
src/orchestrator/pkg/module/generic_placement_intent_test.go
src/orchestrator/pkg/module/module.go