diff --git a/src/api/cloud/project/ai/capabilities/serving/cloud-project-ai-capabilities-serving.service.js b/src/api/cloud/project/ai/capabilities/serving/cloud-project-ai-capabilities-serving.service.js index 2063cf0d..babcf9a2 100644 --- a/src/api/cloud/project/ai/capabilities/serving/cloud-project-ai-capabilities-serving.service.js +++ b/src/api/cloud/project/ai/capabilities/serving/cloud-project-ai-capabilities-serving.service.js @@ -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'), })); diff --git a/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.service.js b/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.service.js new file mode 100644 index 00000000..3f2e1273 --- /dev/null +++ b/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.service.js @@ -0,0 +1,5 @@ +angular + .module('ovh-api-services') + .service('OvhApiCloudProjectAiCapabilitiesServingFramework', ($injector) => ({ + v6: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFrameworkV6'), + })); diff --git a/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.v6.service.js b/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.v6.service.js new file mode 100644 index 00000000..95e887d1 --- /dev/null +++ b/src/api/cloud/project/ai/capabilities/serving/framework/cloud-project-ai-capabilities-serving-framework.v6.service.js @@ -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; + });