Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1976

Rest client on Windows ignores properties in new format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • 2.7.5.ER1
    • rest-client
    • None
    • Hide

      1. ` git clone git@github.com:fedinskiy/quarkus-test-suite.git -b reproducer/windows-properties`
      2. `cd quarkus-test-suite/http/rest-client-reactive`
      3. `mvn clean verify -Dit.test=ClassicPropertiesIT#shouldGetBookFromRestClientJson` # this works, since it uses old-style `/mp-rest/url` property
      4. `mvn clean verify -Dit.test=ClientBookResourceIT#shouldGetBookFromRestClientJson` # this fails, since it uses new-style `quarkus.rest-client."MyClass".url` property

      Show
      1. ` git clone git@github.com:fedinskiy/quarkus-test-suite.git -b reproducer/windows-properties` 2. `cd quarkus-test-suite/http/rest-client-reactive` 3. `mvn clean verify -Dit.test=ClassicPropertiesIT#shouldGetBookFromRestClientJson` # this works, since it uses old-style `/mp-rest/url` property 4. `mvn clean verify -Dit.test=ClientBookResourceIT#shouldGetBookFromRestClientJson` # this fails, since it uses new-style `quarkus.rest-client."MyClass".url` property
    • Workaround Exists
    • Hide

      Use old-style properties

      Show
      Use old-style properties
    • ---

      There is a new format of properties for Rest Client, which was added in https://github.com/quarkusio/quarkus/pull/17220. Unfortunately, when running in Windows environment, properties in this format are ignored/misread by Rest Client, which leads to the `Unable to determine the proper baseUrl/baseUri` error on start-up.

            thofman Tomas Hofman
            rhn-support-fdudinsk Fedor Dudinskii
            Fedor Dudinskii Fedor Dudinskii
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: