Skip to content
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

Merged
merged 11 commits into from
Mar 20, 2023
Merged

feat: add storage route (MAPCO-2932) #60

merged 11 commits into from
Mar 20, 2023

Conversation

shimoncohen
Copy link
Contributor

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

@shimoncohen shimoncohen added the enhancement New feature or request label Mar 19, 2023
@shimoncohen shimoncohen self-assigned this Mar 19, 2023

describe('GetStorage', () => {
/**
* @deprecated GetMap API - will be deprecated on future
Copy link
Contributor

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

Copy link
Contributor Author

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>;
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake, renamed.

openapi3.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@ronenkapelian ronenkapelian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good job Maestro

openapi3.yaml Outdated Show resolved Hide resolved
src/storage/models/storageManager.ts Outdated Show resolved Hide resolved
* @deprecated GetMap API - will be deprecated on future
*/
describe('#getStorage', () => {
it.only('should return storage status', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

openapi3.yaml Outdated Show resolved Hide resolved
src/storage/controllers/storageController.ts Outdated Show resolved Hide resolved
src/storage/controllers/storageController.ts Show resolved Hide resolved
src/storage/models/storageManager.ts Outdated Show resolved Hide resolved
@asafMasa asafMasa merged commit 921ef84 into master Mar 20, 2023
@asafMasa asafMasa deleted the add-storage-route branch March 20, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants