xapp-frame go imrpovements 22/10922/1
authorJuha Hyttinen <juha.hyttinen@nokia.com>
Tue, 31 Jan 2023 11:03:36 +0000 (13:03 +0200)
committerJuha Hyttinen <juha.hyttinen@nokia.com>
Mon, 15 May 2023 05:58:49 +0000 (08:58 +0300)
commit2fe100b35c1586dba1d7e9856fdec68091c22df0
tree2f985d313c90b9ae0c865f9860184c2316c6e1b3
parentbf9db4d8dab5fa3c6ac66680b8ea8640e9bb5858
xapp-frame go imrpovements

xapp registration error handling won't work fully
as it won't return error when status code in response
is wrong. This will stop app registeration retries.

Config file get rest functionality tries to read
config file from hard coded path, which is wrong assumtion.
xapp-frame reads config file given as argument "-f" or
from CFG_FILE env variable. Thou config file rest api
should try read file that is really used.

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: Ib5f4cce4cbad3a84c0c412c9b9b03f2cd69605ca
pkg/xapp/restapi.go
pkg/xapp/xapp.go