Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2037

Remove the Quarkus property "quarkus.http.auth.form.redirect-after-login"

XMLWordPrintable

      We're seeing the following trace in the Swatch Contract service:

      2023-12-14 06:35:16,964 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) {} The 'quarkus.http.auth.form.redirect-after-login' config property is deprecated and should not be used anymore
      

      There is no new property or replacement, but if the property 'quarkus.http.auth.form.landing-page' is set, then it will be redirected. Otherwise, it will not.

      Acceptance Criteria

      • The Clowder config source causes this problem. This source is copying all properties coming from the rest of the sources: default, system properties, etc... (for example: in the Swatch Metrics, there are more than 500 entries that are being duplicated). Some of these properties are coming from the default config source which Quarkus excludes from the deprecated checkĀ here.
        But what is worse is that the config source is responding for all the application properties, not only the clowder properties. I think this behavior is intentional because the config source wants to overwrite some properties to the configured provided by the clowder config file (even when the clowder config file does not exist).
        From my point of view, the clowder config source should:

      – Only copy the properties that need/or are intended to replace, not all.
      – If no clowder config file is present, do nothing.

            jcarvaja@redhat.com Jose Carvajal Hilario
            jcarvaja@redhat.com Jose Carvajal Hilario
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: