This is an automated email from the ASF dual-hosted git repository.

vavrtom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/main by this push:
     new 26d0d75e41 QPID-8728: [Broker-J] Add useLegacyUriCompliance to HTTP 
management plugin UI configuration (#354)
26d0d75e41 is described below

commit 26d0d75e414835463633a33e40a8d6b4a8a81d66
Author: Daniil Kirilyuk <[email protected]>
AuthorDate: Tue Dec 9 14:40:44 2025 +0100

    QPID-8728: [Broker-J] Add useLegacyUriCompliance to HTTP management plugin 
UI configuration (#354)
---
 .../resources/js/qpid/management/plugin/managementhttp.js  |  2 ++
 .../main/java/resources/plugin/managementhttp/edit.html    | 14 ++++++++++++++
 .../src/main/java/resources/plugin/showManagementHttp.html |  4 ++++
 3 files changed, 20 insertions(+)

diff --git 
a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/plugin/managementhttp.js
 
b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/plugin/managementhttp.js
index c9573e1713..ac9fdca707 100644
--- 
a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/plugin/managementhttp.js
+++ 
b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/plugin/managementhttp.js
@@ -112,6 +112,7 @@ define(["dojo/dom",
             this.httpsSaslAuthenticationEnabled = 
query(".httpsSaslAuthenticationEnabled", node)[0];
             this.httpSaslAuthenticationEnabled = 
query(".httpSaslAuthenticationEnabled", node)[0];
             this.compressResponses = query(".compressResponses", node)[0];
+            this.useLegacyUriCompliance = query(".useLegacyUriCompliance", 
node)[0];
             this.corsAllowOrigins = query(".corsAllowOrigins", node)[0];
             this.corsAllowMethods = query(".corsAllowMethods", node)[0];
             this.corsAllowHeaders = query(".corsAllowHeaders", node)[0];
@@ -146,6 +147,7 @@ define(["dojo/dom",
                     that.httpSaslAuthenticationEnabled.innerHTML =
                         
showBoolean(that.pluginData.httpSaslAuthenticationEnabled);
                     that.compressResponses.innerHTML = 
showBoolean(that.pluginData.compressResponses);
+                    that.useLegacyUriCompliance.innerHTML = 
showBoolean(that.pluginData.useLegacyUriCompliance);
                     that.sessionTimeout.innerHTML = 
that.pluginData.sessionTimeout;
                     that.httpSaslAuthenticationEnabled.innerHTML =
                         
showBoolean(that.pluginData.httpSaslAuthenticationEnabled);
diff --git 
a/broker-plugins/management-http/src/main/java/resources/plugin/managementhttp/edit.html
 
b/broker-plugins/management-http/src/main/java/resources/plugin/managementhttp/edit.html
index 5235327cc2..877246192c 100644
--- 
a/broker-plugins/management-http/src/main/java/resources/plugin/managementhttp/edit.html
+++ 
b/broker-plugins/management-http/src/main/java/resources/plugin/managementhttp/edit.html
@@ -121,6 +121,20 @@
                         </div>
                     </div>
 
+                    <div class="clear">
+                        <div class="formLabel-labelCell 
tableContainer-labelCell">Use legacy URI compliance:</div>
+                        <div class="tableContainer-valueCell 
formLabel-controlCell">
+                            <input type="checkbox" 
id="editHttpManagement.useLegacyUriCompliance"
+                                   data-dojo-type="dijit/form/CheckBox"
+                                   data-dojo-props="name: 
'useLegacyUriCompliance'">
+                            </input>
+                            <div data-dojo-type="dijit/Tooltip"
+                                 data-dojo-props="connectId: 
['editHttpManagement.useLegacyUriCompliance'],
+                                      label: 'If selected, enables legacy URI 
compliance'">
+                            </div>
+                        </div>
+                    </div>
+
                     <div class="clear formBox">
                       <fieldset>
                         <legend>Cross Origin Resource Sharing (CORS)</legend>
diff --git 
a/broker-plugins/management-http/src/main/java/resources/plugin/showManagementHttp.html
 
b/broker-plugins/management-http/src/main/java/resources/plugin/showManagementHttp.html
index 6c5356f198..1efda41316 100644
--- 
a/broker-plugins/management-http/src/main/java/resources/plugin/showManagementHttp.html
+++ 
b/broker-plugins/management-http/src/main/java/resources/plugin/showManagementHttp.html
@@ -44,6 +44,10 @@
             <div class="formLabel-labelCell">Compress content:</div>
             <div class="compressResponses"></div>
         </div>
+        <div class="clear">
+            <div class="formLabel-labelCell">Use legacy URI compliance:</div>
+            <div class="useLegacyUriCompliance"></div>
+        </div>
     </div>
     <div data-dojo-type="dijit.TitlePane" data-dojo-props="title: 'Cross 
Origin Resource Sharing (CORS) Settings',  open: false">
         <div class="clear">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to