Uploaded image for project: 'REST Client'
  1. REST Client
  2. MGNLRESTCL-149

Lint the configurations in declarative-rest-demo

    XMLWordPrintable

Details

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

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR