/GET /topology/grenml results in a 500 internal server error, with this message:
{
"detail": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.",
"status": 500,
"title": "Internal Server Error",
"type": "about:blank"
}
Backtrace:
sdx-controller-sdx-controller-1 | ERROR:__main__:Exception on /SDX-Controller/1.0.0/topology/grenml [GET]
sdx-controller-sdx-controller-1 | Traceback (most recent call last):
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
sdx-controller-sdx-controller-1 | response = self.full_dispatch_request()
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
sdx-controller-sdx-controller-1 | rv = self.handle_user_exception(e)
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
sdx-controller-sdx-controller-1 | rv = self.dispatch_request()
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
sdx-controller-sdx-controller-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/connexion/decorators/decorator.py", line 68, in wrapper
sdx-controller-sdx-controller-1 | response = function(request)
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/connexion/decorators/uri_parsing.py", line 149, in wrapper
sdx-controller-sdx-controller-1 | response = function(request)
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/connexion/decorators/produces.py", line 41, in wrapper
sdx-controller-sdx-controller-1 | response = function(request)
sdx-controller-sdx-controller-1 | File "/usr/local/lib/python3.9/site-packages/connexion/decorators/parameter.py", line 120, in wrapper
sdx-controller-sdx-controller-1 | return function(**kwargs)
sdx-controller-sdx-controller-1 | File "/usr/src/app/swagger_server/controllers/topology_controller.py", line 56, in get_topologyby_grenml
sdx-controller-sdx-controller-1 | for i in range(1, int(num_domain_topos) + 1):
sdx-controller-sdx-controller-1 | TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
sdx-controller-sdx-controller-1 | INFO:werkzeug:174.170.111.107 - - [11/May/2023 01:06:34] "GET /SDX-Controller/1.0.0/topology/grenml HTTP/1.1" 500 -
/GET /topology/grenml
results in a 500 internal server error, with this message:Backtrace: