This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove unused routes (#328)
BREAKING CHANGE: Routes will no longer be available Signed-off-by: Marie JONES <[email protected]>
- Loading branch information
Showing
28 changed files
with
2 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
angular.module('ovh-api-services').service('OvhApiCloudAapi', ($resource, $cacheFactory) => { | ||
const queryCache = $cacheFactory('OvhApiCloudAapiQuery'); | ||
|
||
const instancesResource = $resource('/cloud/instances', {}, { | ||
query: { | ||
method: 'GET', | ||
isArray: true, | ||
serviceType: 'aapi', | ||
cache: queryCache, | ||
}, | ||
angular.module('ovh-api-services').service('OvhApiCloudAapi', ($resource) => { | ||
const instancesResource = $resource('/cloud/deals', {}, { | ||
getDeals: { | ||
method: 'GET', | ||
url: '/cloud/deals', | ||
serviceType: 'aapi', | ||
}, | ||
}); | ||
|
||
instancesResource.resetQueryCache = function () { | ||
queryCache.removeAll(); | ||
}; | ||
|
||
return instancesResource; | ||
}); |
23 changes: 0 additions & 23 deletions
23
src/api/cloud/project/aggregate/cloud-project-aggregate.aapi.service.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
src/api/cloud/project/aggregate/cloud-project-aggregate.service.js
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/api/cloud/project/credit/cloud-project-credit.aapi.service.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/api/cloud/project/instance/cloud-project-instance.aapi.service.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/api/cloud/project/kube/cloud-project-kube.aapi.service.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
src/api/telecom/preferences/telecom-preferences.aapi.services.js
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/api/telecom/preferences/telecom-preferences.service.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.