From 8b101f496c8338369bc8ec711f1111ede98b1a91 Mon Sep 17 00:00:00 2001 From: "Ravindra.Adireddy" Date: Mon, 27 May 2019 15:48:23 +0530 Subject: [PATCH] fixed errors in log, activity, nodes --- .../platforms/platforms.v6.service.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/analytics/platforms/platforms.v6.service.js b/src/analytics/platforms/platforms.v6.service.js index a6aade93..6d69604c 100644 --- a/src/analytics/platforms/platforms.v6.service.js +++ b/src/analytics/platforms/platforms.v6.service.js @@ -15,26 +15,34 @@ angular.module("ovh-api-services").service("OvhApiAnalyticsPlatformsV6", functio var adpResource = $resource("/analytics/platforms/:serviceName", { serviceName: "@serviceName" }, { - query: { method: "GET", isArray: true, cache: queryCache }, + query: { + method: "GET", + isArray: true, + cache: queryCache + }, get: { method: "GET", cache: cache }, deploy: { + url: "/analytics/platforms/:serviceName/deploy", method: "POST", interceptor: interceptor }, getActivity: { - url: "/analytics/platforms/{serviceName}/activity", + url: "/analytics/platforms/:serviceName/activity", method: "GET", + isArray: true, cache: cache }, getNodes: { - url: "/analytics/platforms/{serviceName}/nodes", + url: "/analytics/platforms/:serviceName/nodes", method: "GET", + isArray: true, cache: cache }, getStatus: { - url: "/analytics/platforms/{serviceName}/status", + url: "/analytics/platforms/:serviceName/status", method: "GET", - interceptor: interceptor + isArray: true, + cache: cache } });