-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add storage route (MAPCO-2932) #60
Conversation
shimoncohen
commented
Mar 19, 2023
Question | Answer |
---|---|
Bug fix | ✖ |
New feature | ✔ |
Breaking change | ✖ |
Deprecations | ✖ |
Documentation | ✖ |
Tests added | ✔ |
Chore | ✔ |
|
||
describe('GetStorage', () => { | ||
/** | ||
* @deprecated GetMap API - will be deprecated on future |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why deprecated notation? if it was accidently copies from reference tests, remove the notation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
import { StorageManager } from '../models/storageManager'; | ||
import { IStorageStatusResponse } from '../../common/interfaces' | ||
|
||
type GetTaskByJobIdHandler = RequestHandler<{ jobId: string }, IStorageStatusResponse, string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the name of the type is confusing, mabye i missing something but I think the name should be relative to the issue of storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, renamed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 good job Maestro
* @deprecated GetMap API - will be deprecated on future | ||
*/ | ||
describe('#getStorage', () => { | ||
it.only('should return storage status', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.