From f853b30cdc2655f6889f24214ba21791351c0787 Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Fri, 10 Apr 2020 05:02:58 +0000 Subject: 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 Change-Id: I06ec4d2ee8dae2aeca77e4db3ca690863014cc62 --- src/orchestrator/api/app_intent_handler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/orchestrator/api/app_intent_handler.go') 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) { -- cgit 1.2.3-korg