openBackhaul / MicroWaveDeviceInventory

Physical and logical inventory of the MW SDN Domain
Apache License 2.0
5 stars 1 forks source link

After every MWDI application restart, cycling process is not started #870

Closed Ziabatcha closed 6 months ago

Ziabatcha commented 8 months ago

Whenever we restart MWDI, cycling process is not started. User required to do embed-yourself for each time to start cyclic process.

tag:testv1.1.3


*******************************************************************************************************
*                             CYCLIC PROCESS PROCEDURE STARTED                                        *
*                                                                                                     *
*                                 ( 3/1/2024 9:15:45 AM )                                             *
*                                                                                                     *
* Colors Legend:    New Elements (Priority)    Common Elements    Elements To Drop                    *
*                                                                                                     *
*******************************************************************************************************

 callback : POST http://x.x.x.x:xxxx/v1/record-service-request header :{"user":"User Name","originator":"MicroWaveDeviceInventory","x-correlator":"9BF9a8f2-630F-0DBF-EAe3-5F558D2c5d6B","trace-indicator":1,"customer-journey":"unknown","operation-key":"xxxxxxxxxxxxxxxx","Content-Type":"application/json"}body :{"x-correlator":"550e8400-e29b-11d4-a716-446655440000","trace-indicator":"1.3.1","user":"User Name","originator":"Resolver","application-name":"MicroWaveDeviceInventory","release-number":"1.1.0","operation-name":"/v1/embed-yourself","response-code":204}response code:204

 callback : http://[xxx:xxx](x.x.x.x:xxxx)/rests/data/network-topology:network-topology/topology=topology-netconf?fields=node(node-id;netconf-node-topology:connection-status) header :{"xxxxxxxxxxxxxxxxxxxxx"}body :""response code:20
nardecchia-siae commented 8 months ago

The use of swagger or any other way to send a rest post to the embed-yourself api causes the start of the cyclic process. This means that the issue is not in the application but maybe in the configuration of the environment which involves other applications which should validate the and return the final rest call to MWDI embed yourself api.

image

This is the process that starts the application everytime that it is deployed or restarted. MWDI send a register request and wait for the response to start.

nardecchia-siae commented 7 months ago

To be tested in tag test_v1_1_4

Ziabatcha commented 6 months ago

Issue not observed with latest package test_v1.1.5. Hence closing the issue.