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

Commit

Permalink
Release v2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
CDS Agent committed Nov 15, 2017
1 parent 7681e53 commit f1d73cc
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ovh-api-services",
"description": "Contains all angular $resource for OVH API.",
"version": "2.1.7",
"version": "2.1.8",
"main": "./dist/ovh-api-services.min.js",
"repository": {
"type": "git",
Expand Down
44 changes: 44 additions & 0 deletions dist/ovh-api-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,50 @@ angular.module("ovh-api-services").service("OvhApiCloudProjectIpFailover", ["$in

}]);

angular.module("ovh-api-services").service("OvhApiCloudProjectIplbLexi", ["$resource", "$cacheFactory", function ($resource, $cacheFactory) {
"use strict";

var queryCache = $cacheFactory("OvhApiCloudProjectIplbLexiQuery");
var cache = $cacheFactory("OvhApiCloudProjectIplbLexi");

var loadbalancers = $resource("/cloud/project/:serviceName/ipLoadbalancing/:id", {
serviceName: "@serviceName",
id: "@id"
}, {
get: { method: "GET", cache: cache },
post: { method: "POST" },
validate: { method: "POST", url: "/cloud/project/:serviceName/ipLoadbalancing/:id/validate" },
query: {
method: "GET",
cache: queryCache,
isArray: true
}
});

loadbalancers.resetCache = function () {
cache.removeAll();
};

loadbalancers.resetQueryCache = function () {
queryCache.removeAll();
};

return loadbalancers;

}]);

angular.module("ovh-api-services").service("OvhApiCloudProjectIplb", ["$injector", function ($injector) {

"use strict";

return {
Lexi: function () {
return $injector.get("OvhApiCloudProjectIplbLexi");
}
};

}]);

angular.module("ovh-api-services").service("OvhApiCloudProjectMigrationLexi", ["$resource", "$cacheFactory", function ($resource, $cacheFactory) {
"use strict";

Expand Down
26 changes: 15 additions & 11 deletions dist/ovh-api-services.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ovh-api-services",
"version": "2.1.7",
"version": "2.1.8",
"description": "Contains all angular $resource for OVH API.",
"main": "./dist/ovh-api-services.min.js",
"repository": "ovh-ux/ovh-api-services",
Expand Down

0 comments on commit f1d73cc

Please sign in to comment.