glassfish
  1. glassfish
  2. GLASSFISH-16906

Required values for last changes applied and last exported in v3

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2_b02, 4.0
    • Component/s: load_balancer
    • Labels:
      None

      Description

      In v2.1.1 when we select to edit a load balancer in the export tab we get the following two information

      Last Changes Applied
      Last Exported

      In v3 we do not have provision to get these values. we need support for this.

        Issue Links

          Activity

          Hide
          kshitiz_saxena added a comment -

          Fix ported to 3.1.2 as well.

          Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java
          Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties
          Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ApplyHttpLbChanges.java
          Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ExportHttpLbConfig.java
          Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/api/LoadbalancerReader.java
          Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/LoadbalancerReaderImpl.java
          Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/PropertyReaderImpl.java
          Transmitting file data .......
          Committed revision 48597.

          Closing this issue as resolved.

          Show
          kshitiz_saxena added a comment - Fix ported to 3.1.2 as well. Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java Sending admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ApplyHttpLbChanges.java Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ExportHttpLbConfig.java Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/api/LoadbalancerReader.java Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/LoadbalancerReaderImpl.java Sending load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/PropertyReaderImpl.java Transmitting file data ....... Committed revision 48597. Closing this issue as resolved.
          Hide
          srinik76 added a comment -

          The fix needs to be ported to 3.1.2 branch. This needs before tuesday as there is a qa hand off planned on that day.

          Show
          srinik76 added a comment - The fix needs to be ported to 3.1.2 branch. This needs before tuesday as there is a qa hand off planned on that day.
          Hide
          srinik76 added a comment -

          data need to exposed via REST API

          Show
          srinik76 added a comment - data need to exposed via REST API
          Hide
          kshitiz_saxena added a comment -

          Added property to store time when last export-http-lb-config/apply-http-lb-changes operation was performed.

          The following API can be used to access this information:
          LbConfig.getLastExported() : To get Date object corresponding to time when last export-http-lb-config operation was performed.
          LbConfig.getLastApplied() : To get Date object corresponding to time when last apply-http-lb-changes operation was performed.

          Fixed in trunk :
          Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ApplyHttpLbChanges.java
          Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ExportHttpLbConfig.java
          Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/api/LoadbalancerReader.java
          Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/LoadbalancerReaderImpl.java
          Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/PropertyReaderImpl.java
          Sending nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java
          Sending nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties
          Transmitting file data .......
          Committed revision 48141.

          Show
          kshitiz_saxena added a comment - Added property to store time when last export-http-lb-config/apply-http-lb-changes operation was performed. The following API can be used to access this information: LbConfig.getLastExported() : To get Date object corresponding to time when last export-http-lb-config operation was performed. LbConfig.getLastApplied() : To get Date object corresponding to time when last apply-http-lb-changes operation was performed. Fixed in trunk : Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ApplyHttpLbChanges.java Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ExportHttpLbConfig.java Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/api/LoadbalancerReader.java Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/LoadbalancerReaderImpl.java Sending appserver/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/PropertyReaderImpl.java Sending nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java Sending nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LocalStrings.properties Transmitting file data ....... Committed revision 48141.
          Hide
          kshitiz_saxena added a comment -

          Admin console is not supporting LB in 3.1.1, so fix is not needed in 3.1.1.

          Show
          kshitiz_saxena added a comment - Admin console is not supporting LB in 3.1.1, so fix is not needed in 3.1.1.
          Hide
          srinik76 added a comment -

          This issue blocks the porting of lb admin console pages from v2.1.1 to v3.2

          Show
          srinik76 added a comment - This issue blocks the porting of lb admin console pages from v2.1.1 to v3.2

            People

            • Assignee:
              kshitiz_saxena
              Reporter:
              srinik76
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: