-
Notifications
You must be signed in to change notification settings - Fork 25
Conversation
@sdelatorrep Great - looks good at a first pass. Two points, related:
Is "note" a term we (will) use throughout, for free-text comments? |
@mbaudis Good points! I'll update this PR with your suggestions. |
@sdelatorrep Thanks for the note about |
@mbaudis could you review that PR and approved it if fine?. Thx |
+1 |
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.
See note in the discussion. The ontology examples aren't fitting very well; but I support getting the structure in & update the documentation later.
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.
A few questions/comments:
url
should be a required field.- It seems there's some redundancy with
id
,label
, andnote
fields. Why not have just one of them as a general description? - I'm not familiar with the ontology, but 3 use cases I have for handover are handover to a different beacon (e.g. controlled access), to a DOS/DRS service, and to a 3rd party portal (not a standard API). How would these be captured with the given ontology/handover object?
- There's probably a better name for this field than
datasetHandover
, maybe something likeexternalLink
.
Hi @mcupak. I'll try to answer your questions:
(maybe in this specific context
|
Mostly concur w/ @sdelatorrep . However, still not sure about the An ontology term would point to a definition of a data structure in an external reference:
So I would go with:
|
|
Hi! I've applied the proposal by @mbaudis (I renamed
|
Please, review this and request changes if necessary. Thanks!
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.
Re: Handover: Looks good to me now! I'm not sure that naming the handover "type" => "handoverType" is strictly necessary - the confusion of parameters and parameter attributes is anyway there (description: description: ...); but sure; taken by itself it makes the code here more readable.
@sdelatorrep I've implemented this now in Beacon+:
|
@juhtornr could you review, and hopefully approve, this PR, please? |
beacon.yaml
Outdated
properties: | ||
handoverType: | ||
$ref: '#/components/schemas/HandoverType' | ||
description: |
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.
Let's go back to "notes" instead of "description". The aim of this property is to provide insights or considerations on the handover URL returned, not to describe it. Additionally, using "notes" avoids the naming collision with OpenAPI.
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.
@jrambla Fine with that if that's better fitting to the OpenAPI style.
beacon.yaml
Outdated
$ref: '#/components/schemas/HandoverType' | ||
description: | ||
type: string | ||
description: An optional text describing the handover action. |
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.
"An optional text including considerations on the handover link provided"
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.
+1
beacon.yaml
Outdated
description: | ||
type: string | ||
description: An optional text describing the handover action. | ||
example: "VCF file containing structural variants of the samples matched by the Beacon query." |
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 text in example isn't specific enough. Replace by "This handover link provides access to a summarized VCF. To access the VCF containing the details for each sample filling an application is required. See Beacon contact information details"
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.
See comments about "description" and its example
I did the changes requested. Please, review it again and approve the PR. Thanks! |
Hi @garysaunders ! This PR is stalled waiting for Michael and others to review it. Please, could you help to chase them? Thanks! |
Not sure if worth opening an issue because it is just a question, It is just me but there seems to be a relationship between handover and HATEOAS and HAL ? |
Proposal for implementing the handover (#114). It follows the structure presented here.