Details

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

      Description

      Review SRD API getHQ
      <SOAP-ENV:Envelope
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Header/>
      <SOAP-ENV:Body>
      <ns3:getHQ
      xmlns:ns3="http://server.internal.api.srd.nep.mobinets.com/"
      xmlns="">
      <hqLat>23.620425499929308</hqLat>
      <hqLong>58.21212000047893</hqLong>
      <requestId>02102024</requestId>
      <serviceName>1094301_FBB</serviceName>
      </ns3:getHQ>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

      Issue Links

        Activity

        Abdulrahman Dabboussi made changes -
        Field Original Value New Value
        Gantt Options Milestone (set to milestone: having a due date but zero effort)
        Planned Start 2026-03-17 24:00 (milestone: set planned start date to due date)
        Planned End 2026-03-17 24:00 (milestone: set planned end date to due date)
        Zein Trabelsi made changes -
        Assignee Zein Trabelsi [ ztrabelsi ] Ayed Bada [ abada ]
        Hide
        added a comment -

        The API is currently returning an empty response.

        To retrieve data, please run the following SQL query to get valid request_id and service_name values:

        SELECT
        scd.request_id,
        ssd.SERVICE_NAME,
        scd.ACCOUNT_NAME
        FROM
        SRD_CUSTOMER_DETAILS scd
        INNER JOIN
        SRD_SERVICE_DETAILS ssd
        ON scd.id = ssd.CUSTOMER_ID
        INNER JOIN
        SRD_HQ_NE_DETAILS_V shqnd
        ON scd.ACCOUNT_NAME = shqnd.customer_name;

        This query will help you identify valid data to use when testing the API.

        Note: I attempted to test this on my local environment, but no valid data was available.

        Show
        added a comment - The API is currently returning an empty response. To retrieve data, please run the following SQL query to get valid request_id and service_name values: SELECT scd.request_id, ssd.SERVICE_NAME, scd.ACCOUNT_NAME FROM SRD_CUSTOMER_DETAILS scd INNER JOIN SRD_SERVICE_DETAILS ssd ON scd.id = ssd.CUSTOMER_ID INNER JOIN SRD_HQ_NE_DETAILS_V shqnd ON scd.ACCOUNT_NAME = shqnd.customer_name; This query will help you identify valid data to use when testing the API. Note: I attempted to test this on my local environment, but no valid data was available.
        Ayed Bada made changes -
        Status Open Bug [ 10108 ] Rejected [ 10100 ]
        Assignee Ayed Bada [ abada ] Mbaye Lo [ mbayel ]
        Resolution Cancelled [ 10100 ]
        Mbaye Lo made changes -
        Assignee Mbaye Lo [ mbayel ] Zein Trabelsi [ ztrabelsi ]
        Hide
        Mbaye Lo added a comment -

        Please provide a sample in Omantel platforms 179 and 84 and to be demoed in SRD UI

        Show
        Mbaye Lo added a comment - Please provide a sample in Omantel platforms 179 and 84 and to be demoed in SRD UI
        Mbaye Lo made changes -
        Resolution Cancelled [ 10100 ] Not Fixed [ 10200 ]
        Status Rejected [ 10100 ] Reopened [ 4 ]
        Zein Trabelsi made changes -
        Status Reopened [ 4 ] Dev Scheduled [ 10014 ]
        Hide
        Zein Trabelsi added a comment -

        What it does: Returns the HQ network element details for a customer associated with an SRD service request. It resolves the customer name from the SRD request using the serviceName, then looks up that customer's HQ NE from db.
        Note: hqLat and hqLong parameters are accepted but not used in the current implementation.

        How to construct a valid request:

        Pick an SRD request that has customer details with a serviceName — use REQUEST_ID as requestId and the service name as serviceName
        The customer name resolved from that request must exist in vue SRD_HQ_NE_DETAILS_V
        Example structure:

        <ns3:getHQ>
        <requestId>214312</requestId>
        <serviceName>1319442_FBB</serviceName>
        <hqLat>0</hqLat>
        <hqLong>0</hqLong>
        </ns3:getHQ>

        How to verify from SRD UI:
        Open the request in SRD -> Customer Details tab -W the customer name shown there is what the API uses to look up the HQ NE. The returned objectId and type correspond to that customer's headquarters node in NEP inventory.

        Show
        Zein Trabelsi added a comment - What it does: Returns the HQ network element details for a customer associated with an SRD service request. It resolves the customer name from the SRD request using the serviceName, then looks up that customer's HQ NE from db. Note: hqLat and hqLong parameters are accepted but not used in the current implementation. How to construct a valid request: Pick an SRD request that has customer details with a serviceName — use REQUEST_ID as requestId and the service name as serviceName The customer name resolved from that request must exist in vue SRD_HQ_NE_DETAILS_V Example structure: <ns3:getHQ> <requestId>214312</requestId> <serviceName>1319442_FBB</serviceName> <hqLat>0</hqLat> <hqLong>0</hqLong> </ns3:getHQ> How to verify from SRD UI: Open the request in SRD -> Customer Details tab -W the customer name shown there is what the API uses to look up the HQ NE. The returned objectId and type correspond to that customer's headquarters node in NEP inventory.
        Zein Trabelsi made changes -
        Status Dev Scheduled [ 10014 ] Rejected [ 10100 ]
        Assignee Zein Trabelsi [ ztrabelsi ] Mbaye Lo [ mbayel ]
        Hide
        Zein Trabelsi added a comment -

        How to construct the request:

        Step 1 — Find a valid requestId + serviceName from DB:
        SELECT sr.REQUEST_ID, sd.SERVICE_NAME, cd.ACCOUNT_NAME
        FROM SRD_CUSTOMER_DETAILS cd
        JOIN SRD_SERVICE_REQUEST sr ON sr.ID = cd.REQUEST_ID
        JOIN SRD_SERVICE_DETAILS sd ON sd.CUSTOMER_ID = cd.ID
        WHERE cd.ACCOUNT_NAME IN (SELECT CUSTOMER_NAME FROM SRD_HQ_NE_DETAILS_V)
        FETCH FIRST 5 ROWS ONLY;

        Step 2 — Use the result in the SOAP call:
        <ser:getHQ>
        <hqLat>0</hqLat>
        <hqLong>0</hqLong>
        <requestId>REQUEST_ID_FROM_STEP1</requestId>
        <serviceName>SERVICE_NAME_FROM_STEP1</serviceName>
        </ser:getHQ>

        How to verify the result:
        DB confirm the HQ exists in the view:
        SELECT * FROM SRD_HQ_NE_DETAILS_V
        WHERE CUSTOMER_NAME = 'ACCOUNT_NAME_FROM_STEP1';

        The API response (name, objectId, type) must match
        HQ_NAME, OBJECT_ID, TYPE columns from that view row.

        Show
        Zein Trabelsi added a comment - How to construct the request: Step 1 — Find a valid requestId + serviceName from DB: SELECT sr.REQUEST_ID, sd.SERVICE_NAME, cd.ACCOUNT_NAME FROM SRD_CUSTOMER_DETAILS cd JOIN SRD_SERVICE_REQUEST sr ON sr.ID = cd.REQUEST_ID JOIN SRD_SERVICE_DETAILS sd ON sd.CUSTOMER_ID = cd.ID WHERE cd.ACCOUNT_NAME IN (SELECT CUSTOMER_NAME FROM SRD_HQ_NE_DETAILS_V) FETCH FIRST 5 ROWS ONLY; Step 2 — Use the result in the SOAP call: <ser:getHQ> <hqLat>0</hqLat> <hqLong>0</hqLong> <requestId>REQUEST_ID_FROM_STEP1</requestId> <serviceName>SERVICE_NAME_FROM_STEP1</serviceName> </ser:getHQ> How to verify the result: DB confirm the HQ exists in the view: SELECT * FROM SRD_HQ_NE_DETAILS_V WHERE CUSTOMER_NAME = 'ACCOUNT_NAME_FROM_STEP1'; The API response (name, objectId, type) must match HQ_NAME, OBJECT_ID, TYPE columns from that view row.
        Hide
        Mbaye Lo added a comment -

        It worked fine on .84 

         

        <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:getHQ>
        <!-Optional:->
        <hqLat>0</hqLat>
        <!-Optional:->
        <hqLong>0</hqLong>
        <!-Optional:->
        <requestId>383</requestId>
        <!-Optional:->
        <serviceName>1083481_FBB</serviceName>
        </ser:getHQ>
        </soapenv:Body>
        </soapenv:Envelope>

         

        <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
        <ns2:getHQResponse xmlns:ns2="http://server.internal.api.srd.nep.mobinets.com/">
        <return>
        <name>CARILLION ALAWI LLC</name>
        </return>
        </ns2:getHQResponse>
        </soap:Body>
        </soap:Envelope>

         

        BUT I'M GETTING ERROR ON THE STAGING .179

        DO YOU HAVE THE CREDENTIALS OF THE  DB .80 TO VERIFY THAT THE SAME DATA ARE THERE FOR THE INPUT?

        Show
        Mbaye Lo added a comment - It worked fine on .84    <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:getHQ> <!- Optional: -> <hqLat>0</hqLat> <!- Optional: -> <hqLong>0</hqLong> <!- Optional: -> <requestId>383</requestId> <!- Optional: -> <serviceName>1083481_FBB</serviceName> </ser:getHQ> </soapenv:Body> </soapenv:Envelope>   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getHQResponse xmlns:ns2="http://server.internal.api.srd.nep.mobinets.com/"> <return> <name>CARILLION ALAWI LLC</name> </return> </ns2:getHQResponse> </soap:Body> </soap:Envelope>   BUT I'M GETTING ERROR ON THE STAGING .179 DO YOU HAVE THE CREDENTIALS OF THE  DB .80 TO VERIFY THAT THE SAME DATA ARE THERE FOR THE INPUT?
        Mbaye Lo made changes -
        Status Rejected [ 10100 ] Reopened [ 4 ]
        Mbaye Lo made changes -
        Assignee Mbaye Lo [ mbayel ] Zein Trabelsi [ ztrabelsi ]
        Zein Trabelsi made changes -
        Status Reopened [ 4 ] Dev Scheduled [ 10014 ]
        Hide
        Zein Trabelsi added a comment -

        Hostname : wat-sf-db01t-p.omantel.om
        username : NEP_80
        password : qfHslnbOlQpYilHHdISY
        service name : WFMSTG19C

        Show
        Zein Trabelsi added a comment - Hostname : wat-sf-db01t-p.omantel.om username : NEP_80 password : qfHslnbOlQpYilHHdISY service name : WFMSTG19C
        Zein Trabelsi made changes -
        Status Dev Scheduled [ 10014 ] Rejected [ 10100 ]
        Assignee Zein Trabelsi [ ztrabelsi ] Mbaye Lo [ mbayel ]
        Resolution Not Fixed [ 10200 ] Done [ 10000 ]
        Mbaye Lo made changes -
        Resolution Done [ 10000 ] Not Fixed [ 10200 ]
        Status Rejected [ 10100 ] Reopened [ 4 ]
        Mbaye Lo made changes -
        Assignee Mbaye Lo [ mbayel ] Zein Trabelsi [ ztrabelsi ]
        Hide
        Mbaye Lo added a comment -

        Getting this error when fetching test data on the old platform DB .179:

        ORA-00942: table or view does not exist
        00942. 00000 - "table or view does not exist"
        *Cause:
        *Action:
        Error at Line: 6 Column: 53

        Show
        Mbaye Lo added a comment - Getting this error when fetching test data on the old platform DB .179: ORA-00942: table or view does not exist 00942. 00000 - "table or view does not exist" *Cause: *Action: Error at Line: 6 Column: 53
        Mbaye Lo made changes -
        Comment [ Getting error when fetching data on the OLD ]
        Zein Trabelsi made changes -
        Assignee Zein Trabelsi [ ztrabelsi ] Ayed Bada [ abada ]
        Hide
        added a comment -

        The new SQL script has been applied on the main trunk and cloud database, so the ORA-00942 issue is resolved there.

        For the cloud environment, we need to deploy the new patch 4.0.0.8.

        For staging, I have requested the integration team to refresh the server.

        Show
        added a comment - The new SQL script has been applied on the main trunk and cloud database, so the ORA-00942 issue is resolved there. For the cloud environment, we need to deploy the new patch 4.0.0.8. For staging, I have requested the integration team to refresh the server.
        Ayed Bada made changes -
        Status Reopened [ 4 ] Dev Scheduled [ 10014 ]
        Ayed Bada made changes -
        Status Dev Scheduled [ 10014 ] Implementation in progress [ 10016 ]
        Ayed Bada made changes -
        Status Implementation in progress [ 10016 ] To Be Released [ 10400 ]
        Khaled Khalil made changes -
        Status To Be Released [ 10400 ] Ready for QA [ 10023 ]
        Assignee Ayed Bada [ abada ] Mbaye Lo [ mbayel ]
        Mbaye Lo made changes -
        Link This issue is cloned by ACE-955 [ ACE-955 ]
        Mbaye Lo made changes -
        Link This issue is cloned by ACE-955 [ ACE-955 ]
        made changes -
        Link This issue is cloned by ACE-972 [ ACE-972 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Bug Open Bug Rejected Rejected
        20d 23h 20m 1 Ayed Bada 31/Mar/26 8:58 AM
        Dev Scheduled Dev Scheduled Rejected Rejected
        25s 2 Zein Trabelsi 22/May/26 7:29 AM
        Rejected Rejected Reopened Reopened
        47d 57m 3 Mbaye Lo 25/May/26 7:32 AM
        Reopened Reopened Dev Scheduled Dev Scheduled
        16d 22m 3 Ayed Bada 02/Jun/26 10:18 AM
        Dev Scheduled Dev Scheduled Implementation in progress Implementation in progress
        6s 1 Ayed Bada 02/Jun/26 10:18 AM
        Implementation in progress Implementation in progress To Be Released To Be Released
        42m 48s 1 Ayed Bada 02/Jun/26 11:00 AM
        To Be Released To Be Released Ready for QA Ready for QA
        1h 17m 1 Khaled Khalil 02/Jun/26 12:18 PM
        Subversion JIRA

        Links Hierarchy

         Documentation

        Invalid license: EXPIRED

          People

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

            Dates

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

              Drag and Drop