[x] After receiving the request , before processing the callbacks , a request-id shall be generated and sent to the requestor as a response.
[x] This generated request-id and the requestor details shall be stored in a temporary data store to send the final result as a callback to the requestor
For example , a map shall be included to temporarily maintained in a global datastore, and the generated request-id and the requestor details shall be stored,
parallelLinksStatusRequestMap // to store and map the generated request-id to the requestor details
parallelLinksStatusRequestMap.set(“main request-id” , {“requestor-ip”,”port”,”callback url”}}
After responding with the request-id to the requestor , process the following callbacks,
Get Parallel Links from MicrowaveDeviceInventory Application
[ ] Perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi.GetParallelLinks
In the received response
If the length of the parallel-link-list is less than or equal to 1
then
respond to the requestor in the callback url(AIPS:// /v1/receive-transmitter-status-of-parallel-links) with empty transmitter-status-list
else
proceed to "Find the uuids of the air-interfaces involved in the link"
Find the uuids of the air-interfaces involved in the link
[x] Perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi. DetermineLinkEndpoints
Note : the uuid of the air-interface ltp received from the control-construct will also have the node-id as prefix. So , that prefix needs to be removed while processing the following callbacks directly to the MWDG
If the uuids of the air-interfaces are found then
proceed to "Get the air-interface-status , transmission-mode-max and transmission-mode-cur "
else
Get air-interface-status , transmission-mode-max and transmission-mode-cur
[x] perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi.GetAirInterfaceConfigFromCache to get the configured transmission-mode-max value
[x] perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi.GetAirInterfaceStatusFromLive
to get the air-interface-status and transmission-mode-cur from live
Send the response back to the requestor in the callback url.
:exclamation: :exclamation: After processing the request , clear the requestor information from the
For example , a map shall be included to temporarily maintained in a global datastore, and the generated request-id and the requestor details shall be stored,
After responding with the request-id to the requestor , process the following callbacks,
Get Parallel Links from MicrowaveDeviceInventory Application
Find the uuids of the air-interfaces involved in the link
Get air-interface-status , transmission-mode-max and transmission-mode-cur
[x] perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi.GetAirInterfaceConfigFromCache to get the configured transmission-mode-max value
[x] perform the callback RequestForProvidingTransmitterStatusOfParallelLinksCausesReadingTransmitterStatusFromMwdi.GetAirInterfaceStatusFromLive to get the air-interface-status and transmission-mode-cur from live
Send the response back to the requestor in the callback url.