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

Status: Open
Project: Magnolia REST Client UI
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-10-45-50-679.png    
Issue Links:
Cloners
clones MGNLRESTCL-149 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

 Description   

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

Examples I've quickly found:

  • class vs method
    • eg:
      countries.yaml:6: class: info.magnolia.rest.client.call.GetRestCall
      failcountries.yaml:6: class: info.magnolia.rest.client.call.GetRestCall
  • <method> vs <METHOD>
bitbucket.yaml:4:    method: get
bitbucket.yaml:11:    method: get
bitbucket.yaml:18:    method: get
bitbucket.yaml:22:    method: get
failnba.yaml:4:    method: get
nba.yaml:4:    method: get
transportation.yaml:6:    method: GET
transportation.yaml:15:    method: GET
  • some values are unquoted vs quoted, example - path:
    • failcountries.yaml
    • transportation.yaml

 

  • the default ConfiguredRestClientDefinition (+factory) class is either declared or missing:
    • countries.yaml
    • bitbucket.yaml


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

Do this one first https://jira.magnolia-cms.com/browse/MGNLRESTUI-75

Then see if there is more to do here.

Generated at Mon Feb 12 06:51:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.