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.ai.training): remove data and add registryId param…
Browse files Browse the repository at this point in the history
…eter (#314)

Co-authored-by: Adrien Carreira <[email protected]>

BREAKING CHANGE: remove `OvhApiCloudProjectAiTrainingData` service
  remove `Data` property from `OvhApiCloudProjectAiTraining` service
  • Loading branch information
XciD authored Oct 16, 2020
1 parent e03b2dc commit 25d1aed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiTraining', ($injector) => ({
Job: () => $injector.get('OvhApiCloudProjectAiTrainingJob'),
Data: () => $injector.get('OvhApiCloudProjectAiTrainingData'),
Registry: () => $injector.get('OvhApiCloudProjectAiTrainingRegistry'),
Authorization: () => $injector.get('OvhApiCloudProjectAiTrainingAuthorization'),
}));

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiTrainingRegistryV6', ($resource) => {
const resource = $resource('/cloud/project/:serviceName/ai/training/registry', {
serviceName: '@serviceName',
});
return resource;
});
.service('OvhApiCloudProjectAiTrainingRegistryV6', ($resource) => $resource('/cloud/project/:serviceName/ai/training/registry/:registryId', {
serviceName: '@serviceName',
registryId: '@registryId',
}));

0 comments on commit 25d1aed

Please sign in to comment.