-
Story
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Yes
-
DevX 22
-
1
As a developer I want to define a Norsu endpoint without referring to any Java classes.
Last time I checked, to define a Norsu delivery endpoint, the definition required 2 different Java classes. We cannot use Java classes in any SaaS configuration.Â
Also do not provide a default class, as we want developers to specify a specific endpoint implementation so that their projects wil continue to work even if we introduced a new version of the endpoint with non-backwards compatible aspects.
Standard magnolia way would be to provide at `$type` mapping for the main class.
But consider if want to pursue a different pattern, such as specifying a 'version' and in that case their could be a default class or implementation.
See: https://jira.magnolia-cms.com/browse/MGNLREST-517
Â
Sample yaml config for norsuÂ
$type: deliveryEndpoint_v2
- relates to
-
MGNLREST-517 Specify delivery endpoint version in clean way
- Closed
-
MGNLREST-529 DOC: How to collectively refer to Delivery API in v 3.x of REST module
- Closed
-
MGNLREST-684 Support annotation for DeliveryEndpoint
- Closed
- to be documented by
-
MGNLREST-543 DOC: Specify endpoint types without Java classes (for DXCore and SaaS)
- Closed
1.
|
Implement | Completed | Canh Nguyen | |||||||||
2.
|
Review | Completed | Oanh Thai Hoang |
|
||||||||
3.
|
piQA | Completed | Oanh Thai Hoang | |||||||||
4.
|
QA | Completed | Phong Le Quoc |