[MGNLRESTCL-149] Lint the configurations in declarative-rest-demo Created: 12/Mar/20  Updated: 08/Sep/23

Status: Open
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Martin Drápela Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-03-17-09-58-14-039.png    
Issue Links:
Cloners
is cloned by MGNLRESTUI-23 Lint the configurations in declarativ... Open
dependency
depends upon MGNLRESTUI-75 Broken REST Client and REST Client UI... Accepted
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: RESTClient 2024
Team: DeveloperX

 Description   

Some demo configurations should be aligned with the latest rest-client properties.

Examples I've quickly found:

  • <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


 Comments   
Comment by Christopher Zimmermann [ 08/Sep/23 ]

Do this one first - then see if this needs impl as well: https://jira.magnolia-cms.com/browse/MGNLRESTUI-75

Generated at Mon Feb 12 10:43:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.