Link to operation mapping
See original GitHub issueLink stands for a relationship from one resource to the other, not an action between them, for example, from a book store resource
to a book collection resource
. With the relationship, the client actually can do more than one operations, i.e., get books (GET), add a book (POST), etc. Thus, link to operation is not one-one mapping, but one-to-many mapping.
In OAI’s Link Object, I see operationRef
or operationId
is a singular attribute. This seems like not fully comply with the link relation’s original intention.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Preconfiguring Mapping Programs with Operation Mappings
Operation mappings register your mapping program for a pair of operations in the Enterprise Services Repository (ES Repository). If you require a mapping...
Read more >Move Operation Mapping to SAP Integration Suite - YouTube
This video covers importing operation mapping from SAP Process Orchestration to SAP Integration Suite. Here you will learn complete set of ...
Read more >Operation and Message Mappings for SAP ERP PI Integration ...
Operation and Message Mappings for SAP ERP PI Integration with Service Edge ... This page includes figures that describe the messages used in...
Read more >Dual-write mapping reference - Dynamics 365 - Microsoft Learn
This template synchronizes data between finance and operations apps and Dataverse. Finance and operations field, Map type, Customer engagement ...
Read more >The operation mapping [xxxx] did not generate a SOAP ...
The operation mapping [xxxx] did not generate a SOAP response. . This issue might occur when the Operation Mapping contains broken links ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@darrelmiller , thanks for your answering. It’s nice to define links independently and late bound to operations as link instances. The other use case that shall get benefits from this is, in a resource response, there could be multiple links with the same rel name. Some popular media types support this scenario. For instance, in HAL (hypertext application language), a link object’s key is the rel, and its value could either be a link object or an array of link objects. We would love to see this flexibility in OAI.
JSON Hyper-Schema allows multiple links with the same
rel
(it may be one of the few that does, apparently?) Our assumption is that, in terms ofrel
driving the semantics of the link, if you have multiple links with the samerel
then they should be treated the same. There’s no clear mechanism of distinction that makes a lot of sense, or at least not that we’ve found so far.You may end up using the target and/or context URI to distinguish them (or even target attributes like
title
, although I’d advise against using human-oriented fields for machine processing), but that doesn’t change the information imparted byrel
.Note that in draft-04, people used this to repeat links separately for each HTTP method. This was not the intended model and not the use case for the feature.