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

updated federatedIdService to locally generate objectids #548

Merged
merged 2 commits into from
Dec 3, 2019

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 self-assigned this Dec 3, 2019
@@ -52,13 +53,13 @@ public String create(
@NonNull String analysisId, @NonNull String studyId, @NonNull FileEntity file) {
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.

2 participants