Details

    • Type: Bug Bug
    • Status: Ready for QA Ready for QA (View Workflow)
    • Priority: Normal Normal
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SRD
    • Labels:
    • Customer:
      OMAN-Tel

      Description

      Review SRD API checkGponTrailFeasibility :

      <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:checkGponTrailFeasibility>
      <!-Optional:->
      <requestId>12082052</requestId>
      <!-Optional:->
      <siteLat>23.55626893321905</siteLat>
      <!-Optional:->
      <siteLong>58.21754375406719</siteLong>
      <!-Optional:->
      <maxApDistanceInMeters>100</maxApDistanceInMeters>
      <!-Optional:->
      <coordinateFormat>geo_wgs84</coordinateFormat>
      <!-Optional:->
      <serviceTypeName>New</serviceTypeName>
      <!-Optional:->
      <nbLines>100.0</nbLines>
      <!-Optional:->
      <nbChannels>100.0</nbChannels>
      </ser:checkGponTrailFeasibility>
      </soapenv:Body>
      </soapenv:Envelope>

        Activity

        Hide
        Ayed Bada added a comment - - edited

        -The API returns <responseMessage>No APs found</responseMessage>.
        This occurs because the SRD backend reads from a materialized view instead of the correct view.

        • Fixed the HttpClientErrorException issue.
          These issues will be resolved in patch 4.0.0.5
        Show
        Ayed Bada added a comment - - edited -The API returns <responseMessage>No APs found</responseMessage>. This occurs because the SRD backend reads from a materialized view instead of the correct view. Fixed the HttpClientErrorException issue. These issues will be resolved in patch 4.0.0.5
        Hide
        Mbaye Lo added a comment -

        Please provide a sample with a trail we will get the details as output

        Show
        Mbaye Lo added a comment - Please provide a sample with a trail we will get the details as output
        Hide
        Zein Trabelsi added a comment -

        What the API does:
        checkGponTrailFeasibility checks if a GPON fiber connection can be provided to a customer site. Given the customer's GPS coordinates, it searches for nearby Access Points (APs) in the network inventory and verifies whether a complete fiber path exists from that AP back to the Exchange.

        Business flow:
        Customer requests GPON service at a specific address (lat/long)
        The API searches for APs within the given radius
        For each AP found, it checks if a complete GPON path exists:
        AP → FDH (must have free ports)
        FDH → OLT (active connection to Exchange must exist)
        If a complete path is available → returns exchange, FDH, AP and distance
        If not → returns "No Trail found"
        To get a valid response from NEP, the tester needs:

        In NEP inventory, find an AP that satisfies ALL of the following:
        Has GPS coordinates (GLONG / GLAT) configured on the AP object
        Has a parent FDH assigned
        The FDH has free ONT ports (not all used)
        There is an OSP connection between the FDH and the AP
        There is an active OLT path from the FDH to the Exchange
        Then use that AP's coordinates as siteLat / siteLong in the request with a small maxApDistanceInMeters.

        Show
        Zein Trabelsi added a comment - What the API does: checkGponTrailFeasibility checks if a GPON fiber connection can be provided to a customer site. Given the customer's GPS coordinates, it searches for nearby Access Points (APs) in the network inventory and verifies whether a complete fiber path exists from that AP back to the Exchange. Business flow: Customer requests GPON service at a specific address (lat/long) The API searches for APs within the given radius For each AP found, it checks if a complete GPON path exists: AP → FDH (must have free ports) FDH → OLT (active connection to Exchange must exist) If a complete path is available → returns exchange, FDH, AP and distance If not → returns "No Trail found" To get a valid response from NEP, the tester needs: In NEP inventory, find an AP that satisfies ALL of the following: Has GPS coordinates (GLONG / GLAT) configured on the AP object Has a parent FDH assigned The FDH has free ONT ports (not all used) There is an OSP connection between the FDH and the AP There is an active OLT path from the FDH to the Exchange Then use that AP's coordinates as siteLat / siteLong in the request with a small maxApDistanceInMeters.
        Hide
        Mbaye Lo added a comment -

        The output is fine now, however, there is a performance issue : 01s on OLD versus 5s on NEW

        Show
        Mbaye Lo added a comment - The output is fine now, however, there is a performance issue : 01s on OLD versus 5s on NEW
        Hide
        Ayed Bada added a comment -

        The issue was related to a SELECT query taking between 1 and 3 seconds.

        A database index has been added on the concerned table, which improved the query performance and reduced the response time to approximately 1 second.

        The SQL script has been successfully applied.

        Show
        Ayed Bada added a comment - The issue was related to a SELECT query taking between 1 and 3 seconds. A database index has been added on the concerned table, which improved the query performance and reduced the response time to approximately 1 second. The SQL script has been successfully applied.

          People

          • Assignee:
            Mbaye Lo
            Reporter:
            Mbaye Lo
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

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

              Drag and Drop