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

Commit

Permalink
feat(cloud.project.serving): add serving framework capability
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Regal authored and antleblanc committed Aug 12, 2020
1 parent 6f3907d commit 3c87f1b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ angular
Region: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingRegion'),
PresetImage: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingPresetImage'),
Flavor: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFlavor'),
Framework: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFramework'),
Backend: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingBackend'),
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesServingFramework', ($injector) => ({
v6: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFrameworkV6'),
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesServingFrameworkV6', ($resource) => {
const resource = $resource('/cloud/project/:serviceName/ai/capabilities/serving/framework', {
serviceName: '@serviceName',
});

return resource;
});

0 comments on commit 3c87f1b

Please sign in to comment.