Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-9669

DO328-18: Source code broken as the way it is presented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DO328 - SM1.1
    • DO328 - Early Access
    • DO328
    • None
    • ILT, ROLE, VT
    • en-US (English)

      URL:
      Reporter RHNID: rhn-gls-rtaniguchi
      Section: - GE: Collecting Service Metrics
      Language: en-US (English)
      Workaround: the code is presented as:

      @Counted(name = "order_svc:spl50_orders_placed", description = "count of spl50
      orders placed")

      Does not work. The correct way is:

      @Counted(name = "order_svc:spl50_orders_placed", description = "count of spl50"+
      "orders placed")

      Description: On step 3.3 Edit the src/main/java/com/redhat/training/order/
      OrderService.java file. The complete source code changes for this file can be
      copied from the /home/student/DO328/solutions/observe-metrics/
      order/src/main/java/com/redhat/training/order/OrderService.java
      file. 

      the code is presented as:

      @Counted(name = "order_svc:spl50_orders_placed", description = "count of spl50
      orders placed")

       

      Does not work. The correct way is:

      @Counted(name = "order_svc:spl50_orders_placed", description = "count of spl50"+
      "orders placed")

            rht-jramirez Jaime Ramirez
            rhn-gls-rtaniguchi Ricardo Taniguchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: