Uploaded image for project: 'Magnolia REST Client UI'
  1. Magnolia REST Client UI
  2. MGNLRESTUI-23

Lint the configurations in declarative-rest-ui-demo

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mdrapela Martin Drápela
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR