summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/api/app_intent_handler.go
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2020-04-10 05:02:58 +0000
committerRajamohan Raj <rajamohan.raj@intel.com>2020-04-13 20:47:18 +0000
commitf853b30cdc2655f6889f24214ba21791351c0787 (patch)
treee9b51952b48f6889526084acba7ccd622af213d3 /src/orchestrator/api/app_intent_handler.go
parent7945fcd8ed65792eeb174d999138b99dbc936a6f (diff)
Added query routes for deploymentIntentGroup
In this patch added a route which can query allIntents belonging to a DeploymentIntentGroup and another route for querying all intents under an intent in a deploymentIntentGroup Issue-ID: MULTICLOUD-1049 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I06ec4d2ee8dae2aeca77e4db3ca690863014cc62
Diffstat (limited to 'src/orchestrator/api/app_intent_handler.go')
-rw-r--r--src/orchestrator/api/app_intent_handler.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/orchestrator/api/app_intent_handler.go b/src/orchestrator/api/app_intent_handler.go
index 4b3282ef..56811d2d 100644
--- a/src/orchestrator/api/app_intent_handler.go
+++ b/src/orchestrator/api/app_intent_handler.go
@@ -160,7 +160,8 @@ func (h appIntentHandler) getAllIntentsByAppHandler(w http.ResponseWriter, r *ht
}
-/* getAllAppIntentsHandler handles the URL:
+/*
+getAllAppIntentsHandler handles the URL:
/v2/project/{project-name}/composite-apps/{composite-app-name}/{version}/generic-placement-intent/{intent-name}/app-intents
*/
func (h appIntentHandler) getAllAppIntentsHandler(w http.ResponseWriter, r *http.Request) {