[ACE-718]  Review SRD API checkGponTrailFeasibility Created: 10/Mar/26  Updated: 02/Jun/26  Due: 10/Mar/26  Resolved: 11/May/26

Status: Ready for QA
Project: ACE
Component/s: SRD
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Mbaye Lo Assignee: Mbaye Lo
Resolution: Incomplete Votes: 0
Labels: Milestone2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Customer:
OMAN-Tel
Planned Start:
Planned End:

 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>



 Comments   
Comment by Ayed Bada [ 01/Apr/26 ]

-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
Comment by Mbaye Lo [ 11/May/26 ]

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

Comment by Zein Trabelsi [ 14/May/26 ]

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.

Comment by Mbaye Lo [ 25/May/26 ]

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

Comment by Ayed Bada [ 02/Jun/26 ]

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.

Generated at Mon Jun 15 15:58:57 EEST 2026 using JIRA 6.1.4#6159-sha1:44eaedef2e4a625c6c7183698b2468d4719c20dc.