Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

fixed errors in log, activity, nodes, deploy #171

Merged
merged 1 commit into from
May 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions src/analytics/platforms/platforms.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
});

Expand Down