Details
-
Task
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
Some demo configurations should be aligned with the latest rest-client properties.
Examples I've quickly found:
- class vs method
- eg: class: info.magnolia.rest.client.call.GetRestCall
(https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/browse/declarative-rest-demo/restClients/countries.yaml#6)
- eg: class: info.magnolia.rest.client.call.GetRestCall
- <method> vs '<METHOD>' vs <METHOD>
./restClients/errors.yaml:7: method: 'GET' ./restClients/errors.yaml:13: method: 'GET' ./restClients/read-timeout.yaml:8: method: 'GET' ./restClients/contentful.yaml:4: method: get ./restClients/cache-fallback.yaml:11: method: GET ./restClients/restfn-posts.yaml:8: method: get ./restClients/restfn-posts.yaml:15: method: get ./restClients/cache.yaml:10: method: 'GET' ./restClients/connect-timeout.yaml:6: method: GET ./restClients/magnolia-stuff.yaml:10: method: GET ./restClients/posts.yaml:4: method: get ./restClients/posts.yaml:8: method: get ./restClients/posts.yaml:12: method: post ./restClients/books.yaml:4: method: get
- some values are unquoted vs quoted, example - entityClass:
- ./countries.yaml
- ./cache.yaml
- the default ConfiguredRestClientDefinition (+factory) class is either declared or missing:
- ./countries.yaml
- ./cache-fallback.yaml
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
MGNLRESTUI-75 Broken REST Client and REST Client UI demo projects
-
- Accepted
-
- is cloned by
-
MGNLRESTUI-23 Lint the configurations in declarative-rest-ui-demo
-
- Open
-