Qpid
  1. Qpid
  2. QPID-3999

[Java Broker] Implement Web based management tool for the Java Broker

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Implement a web front end which uses the RESTful HTTP management API

        Issue Links

          Activity

          Rob Godfrey created issue -
          Hide
          Alex Rudyy added a comment -

          Attached a patch adding default constructors to management servlets and making all links in web UI relative to the web application context

          Show
          Alex Rudyy added a comment - Attached a patch adding default constructors to management servlets and making all links in web UI relative to the web application context
          Alex Rudyy made changes -
          Field Original Value New Value
          Attachment 0001-QPID-3999-Add-default-constructors-to-servlets-make-.patch [ 12532080 ]
          Hide
          Alex Rudyy added a comment -

          Attached a patch with a special module to build qpid war to deploy and run Qpid in servlet container.

          Show
          Alex Rudyy added a comment - Attached a patch with a special module to build qpid war to deploy and run Qpid in servlet container.
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Attached a patch changing web console to use anonymous subject for non-authenticated requests

          Show
          Alex Rudyy added a comment - Attached a patch changing web console to use anonymous subject for non-authenticated requests
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Attached a patch adding temporary authorization checks for message copy/delete/move in management web console

          Show
          Alex Rudyy added a comment - Attached a patch adding temporary authorization checks for message copy/delete/move in management web console
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Attached a patch adding RequestHeaderPreAuthenticatedCredentialsFilter into broker-web to allow set principal/subject from the specified request header. This filter can be used to set request credentials with Single Sign-On systems like Siteminder SS0.

          Possibly, the better place for the filter could be inside of management plugin, so, it could be used with stand-alone brokers. However, I am not sure about it as the filter adds the potential security hole into the web console. That's why this functionality is implemented as a filter instead of adding the code directly into AbstractServlet.

          Show
          Alex Rudyy added a comment - Attached a patch adding RequestHeaderPreAuthenticatedCredentialsFilter into broker-web to allow set principal/subject from the specified request header. This filter can be used to set request credentials with Single Sign-On systems like Siteminder SS0. Possibly, the better place for the filter could be inside of management plugin, so, it could be used with stand-alone brokers. However, I am not sure about it as the filter adds the potential security hole into the web console. That's why this functionality is implemented as a filter instead of adding the code directly into AbstractServlet.
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Added patch changing management web layer to allow execution of DELETE and PUT methods functionality with POST requests. Change management UI to use POST requests for resource deletion.

          Show
          Alex Rudyy added a comment - Added patch changing management web layer to allow execution of DELETE and PUT methods functionality with POST requests. Change management UI to use POST requests for resource deletion.
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Attached patch with system tests for REST API

          Show
          Alex Rudyy added a comment - Attached patch with system tests for REST API
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-System-tests-for-Rest-API.patch [ 12535223 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-System-tests-for-Rest-API.patch [ 12535223 ]
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Attached a patch with changes in SaslServlet allowing to get username from HttpServletRequest#getRemoteUser()

          Show
          Alex Rudyy added a comment - Attached a patch with changes in SaslServlet allowing to get username from HttpServletRequest#getRemoteUser()
          Alex Rudyy made changes -
          Alex Rudyy made changes -
          Attachment 0001-QPID-3998-QPID-3999-System-tests-for-Rest-API-small-.patch [ 12535843 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3998-QPID-3999-System-tests-for-Rest-API-small-.patch [ 12535843 ]
          Alex Rudyy made changes -
          Hide
          Alex Rudyy added a comment -

          Robbie,
          I uploaded a newer version of a patch with REST API tests.
          Could you please review and commit it?

          Show
          Alex Rudyy added a comment - Robbie, I uploaded a newer version of a patch with REST API tests. Could you please review and commit it?
          Hide
          Robbie Gemmell added a comment - - edited

          0001-QPID-3999-Java-Broker-Get-the-user-name-from-HttpSer.patch (9th July) and 0001-QPID-3998-QPID-3999-System-tests-for-Rest-API-small-.patch (10 July) applied to trunk, after the branch for 0.18 was created.

          Commits were http://svn.apache.org/viewvc?view=revision&revision=1360120 and http://svn.apache.org/viewvc?view=revision&revision=1360121 respectively.

          Show
          Robbie Gemmell added a comment - - edited 0001-QPID-3999-Java-Broker-Get-the-user-name-from-HttpSer.patch (9th July) and 0001-QPID-3998-QPID-3999-System-tests-for-Rest-API-small-.patch (10 July) applied to trunk, after the branch for 0.18 was created. Commits were http://svn.apache.org/viewvc?view=revision&revision=1360120 and http://svn.apache.org/viewvc?view=revision&revision=1360121 respectively.
          Hide
          Robbie Gemmell added a comment -

          The above commits were approved by Justin on the dev list, and have now been merged to the 0.18 branch.

          Show
          Robbie Gemmell added a comment - The above commits were approved by Justin on the dev list, and have now been merged to the 0.18 branch.
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536425 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536425 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536624 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-Display-the-name-of-queue-type-key-sortKet.patch [ 12536646 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-Display-the-name-of-queue-type-key-sortKet.patch [ 12536646 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-Display-the-name-of-queue-type-key-sortKet.patch [ 12536685 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536624 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536999 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-Display-the-name-of-queue-type-key-sortKet.patch [ 12536685 ]
          Alex Rudyy made changes -
          Attachment 0001-QPID-3999-QPID-3998-Add-REST-functionality-to-delete.patch [ 12536999 ]
          Robbie Gemmell made changes -
          Comment [ Attached patch adding functionality to delete queues and exchanges in REST interfaces and web management UI ]
          Robbie Gemmell made changes -
          Comment [ Attached a patch changing queue UI to display the name of the key and its value for supported queue types (sorted,LVQ, priorities)" ]
          Robbie Gemmell made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Philip Harvey made changes -
          Link This issue is related to QPID-4255 [ QPID-4255 ]
          Rob Godfrey made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development