Details

    • Type: Bug Bug
    • Status: Rejected Rejected (View Workflow)
    • Priority: Normal Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SRD
    • Labels:
    • Customer:
      OMAN-Tel
    • Product:
      NEP

      Description

      Review SRD API getSubscriberCurrentNetwork
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.internal.api.srd.nep.mobinets.com/">
      <soapenv:Header/>
      <soapenv:Body>
      <ser:getSubscriberCurrentNetwork>
      <!-Optional:->
      <requestNo>12082088</requestNo>
      <!-Optional:->
      <subscriberNo>24220910</subscriberNo>
      <!-Optional:->
      <serviceType>Route_Check</serviceType>
      <!-Optional:->
      <bandwidth>100.0</bandwidth>
      </ser:getSubscriberCurrentNetwork>
      </soapenv:Body>
      </soapenv:Envelope>

        Activity

        Hide
        Zein Trabelsi added a comment -

        SELECT m.SUBSCRIBER_NUMBER, m.CE_NE_TYPE, m.CE_ID
        FROM SRD_MPLS_DETAILS_VIEW m
        WHERE NOT EXISTS (
        SELECT 1 FROM SRD_NE_RELATION_VIEW r
        WHERE r.SUBSCRIBER_NUMBER = m.SUBSCRIBER_NUMBER
        )
        FETCH FIRST 5 ROWS ONLY;

        Show
        Zein Trabelsi added a comment - SELECT m.SUBSCRIBER_NUMBER, m.CE_NE_TYPE, m.CE_ID FROM SRD_MPLS_DETAILS_VIEW m WHERE NOT EXISTS ( SELECT 1 FROM SRD_NE_RELATION_VIEW r WHERE r.SUBSCRIBER_NUMBER = m.SUBSCRIBER_NUMBER ) FETCH FIRST 5 ROWS ONLY;
        Hide
        Zein Trabelsi added a comment -

        find attached exaple from 84 server it should return same data in staging platform

        Show
        Zein Trabelsi added a comment - find attached exaple from 84 server it should return same data in staging platform
        Hide
        Mbaye Lo added a comment -

        I have been fetching for a subscriber numer with a trail and active status, but when I go to the Customer report to find the requestID, I can't find any. I tried several subscriber numbers during around 20 minutes.
        Better to proceed with SQL Code

        Show
        Mbaye Lo added a comment - I have been fetching for a subscriber numer with a trail and active status, but when I go to the Customer report to find the requestID, I can't find any. I tried several subscriber numbers during around 20 minutes. Better to proceed with SQL Code
        Hide
        Zein Trabelsi added a comment -

        What it does: Returns the current network info for a subscriber — access node ID/category, CE type, ..

        Bugs fixed:
        NullPointerException in ServiceTrailService.getTransferredOspConnection() when a trail hop references a node/port not found in inventory — null checks added.
        ORA-01400 in saveRequestLog when requestNo is empty — guard added.

        How to test:

        Find a valid subscriber from SRD UI -> Subscriber report — pick one with Active status and trails visible.
        Call the API with that subscriber number : requestNo must not be empty
        Expected response: accessNodeId, accessNodeCategory, ceType, distanceToExchange
        Verify in SRD UI: open the subscriber -> trail panel should show the same access node returned by the API
        Note: serviceType and bandwidth parameters are accepted but not used by the current implementation.

        fix available with version 4.0.0.5

        Show
        Zein Trabelsi added a comment - What it does: Returns the current network info for a subscriber — access node ID/category, CE type, .. Bugs fixed: NullPointerException in ServiceTrailService.getTransferredOspConnection() when a trail hop references a node/port not found in inventory — null checks added. ORA-01400 in saveRequestLog when requestNo is empty — guard added. How to test: Find a valid subscriber from SRD UI -> Subscriber report — pick one with Active status and trails visible. Call the API with that subscriber number : requestNo must not be empty Expected response: accessNodeId, accessNodeCategory, ceType, distanceToExchange Verify in SRD UI: open the subscriber -> trail panel should show the same access node returned by the API Note: serviceType and bandwidth parameters are accepted but not used by the current implementation. fix available with version 4.0.0.5
        Hide
        Mbaye Lo added a comment - - edited

        Please provide a sample in Omantel platforms 179 and 84

        I retried to test this API, but I can't find in SRD UI where to get the Request ID matching with the subscriber, Service Type and the Bandwidth

        Show
        Mbaye Lo added a comment - - edited Please provide a sample in Omantel platforms 179 and 84 I retried to test this API, but I can't find in SRD UI where to get the Request ID matching with the subscriber, Service Type and the Bandwidth
        Hide
        Ayed Bada added a comment -

        No exception was found in the logs.

        To get the details, a subscriber number with an existing trail should be provided.

        Show
        Ayed Bada added a comment - No exception was found in the logs. To get the details, a subscriber number with an existing trail should be provided.

          People

          • Assignee:
            Mbaye Lo
            Reporter:
            Mbaye Lo
            Rejected By:
            Zein Trabelsi
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:
              Planned Start:
              Planned End:

              Drag and Drop