X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fsrc%2FSTD_1.1.3%2Fmain.py;h=df021d1dbb6741348a2cb8442f17004493141568;hb=d9b25321d9bce8a3db88102c127e2aa4436d81c8;hp=7db215a0225f5f48b4b94e755739b3e5544af281;hpb=24ee2701e54884c8fc2ed7e6cf522d71286a3b33;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/src/STD_1.1.3/main.py b/near-rt-ric-simulator/src/STD_1.1.3/main.py index 7db215a..df021d1 100644 --- a/near-rt-ric-simulator/src/STD_1.1.3/main.py +++ b/near-rt-ric-simulator/src/STD_1.1.3/main.py @@ -1,5 +1,6 @@ # ============LICENSE_START=============================================== -# Copyright (C) 2021 Nordix Foundation. All rights reserved. +# Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +24,7 @@ import requests from pathlib import Path -from flask import Flask, escape, request, Response +from flask import Flask, request, Response from jsonschema import validate from var_declaration import policy_instances, policy_status, callbacks, forced_settings, policy_fingerprint, hosts_set, app from maincommon import check_apipath, apipath, get_supported_interfaces_response, extract_host_name @@ -178,4 +179,4 @@ if len(sys.argv) >= 2: app.add_api('STD_A1.yaml') if __name__ == '__main__': - app.run(port=port_number, host="127.0.0.1", threaded=False) \ No newline at end of file + app.run(port=port_number, host="127.0.0.1") \ No newline at end of file