Jetspeed 2
  1. Jetspeed 2
  2. JS2-1091

Admin to set some portlets to out-of-service state at runtime.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.3, 2.1.4, 2.2.1
    • Component/s: Admin Portlets
    • Labels:
      None

      Description

      The PortletTrackingManager renders "Portlet is not responding and has been taken out of service." when a portlet window is timed-out.
      I think we can imporove this with the following features:

      • Administrator can mark a portlet or a portlet application as "out-of-service" in a UI.
      • PortletTrackingManager read the above information as well to decide if the portlet window is out-of-service.
      • The message for the out-of-service portlets can be configured.

        Activity

        Hide
        Woonsan Ko added a comment -

        If administrator set a metadata, named "service.out", with value of "true" for a portlet definition, then the portlet will be displayed as "out-of-service".
        The out-of-service message can be customized in the spring assembly configuration, "aggregation.xml", for the bean of "PortletRendererImpl" by adding the 'outOfServiceMessage' property like the following example:

        <property name="outOfServiceMessage">
        <value><![CDATA[
        <em>Sorry, this portlet is available now.</em>
        ]]></value>
        </property>

        Show
        Woonsan Ko added a comment - If administrator set a metadata, named "service.out", with value of "true" for a portlet definition, then the portlet will be displayed as "out-of-service". The out-of-service message can be customized in the spring assembly configuration, "aggregation.xml", for the bean of "PortletRendererImpl" by adding the 'outOfServiceMessage' property like the following example: <property name="outOfServiceMessage"> <value><![CDATA[ <em>Sorry, this portlet is available now.</em> ]]></value> </property>
        Hide
        Woonsan Ko added a comment -

        In Jetspeed-2.2, a portlet window displays the title by using the fragment name when the portlet window is out-of-service. I think it should pick up the portlet display name.
        In Jetspeed-2.1.x, it displays nothing in the title bar. This should be fixed.

        Show
        Woonsan Ko added a comment - In Jetspeed-2.2, a portlet window displays the title by using the fragment name when the portlet window is out-of-service. I think it should pick up the portlet display name. In Jetspeed-2.1.x, it displays nothing in the title bar. This should be fixed.

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development