Skip to content

Conversation

@rtisma
Copy link
Contributor

@rtisma rtisma commented Dec 3, 2019

No description provided.

@rtisma rtisma added this to the Code Monkeys - Sprint 19 milestone Dec 3, 2019
@rtisma rtisma requested a review from KevinFHartmann December 3, 2019 13:28
@rtisma rtisma self-assigned this Dec 3, 2019
studyService.checkStudyExist(studyId);

val result = idService.getFileId(analysisId, file.getFileName());
val result = idService.getObjectId(analysisId, file.getFileName());
Copy link
Contributor

Choose a reason for hiding this comment

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

What kinds of objects can an objectId identify?

If it's only "files and index files", we should keep the name as FileId.

If it's "potentially anything", then we should drop the word "object" -- it's just a generic id.

If it's something else, we should try to identify what that something else is, and name it that?

Just a thought...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yea it should be FileId, but was trying to conform to the icgc notion of objectId. ill change it back to FileId, and possibly in the future change the objectId field in the File entity to fileId.

@rtisma rtisma merged commit 2aaa9e7 into develop Dec 3, 2019
@rtisma rtisma deleted the song-539-generate-object-ids branch December 3, 2019 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants