Fix A1 simulator extensions
[sim/a1-interface.git] / near-rt-ric-simulator / test / EXT_SRV / src / main.py
old mode 100644 (file)
new mode 100755 (executable)
index 4323d10..834aa62
@@ -1,5 +1,6 @@
 #  ============LICENSE_START===============================================
 #  Copyright (C) 2022 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2023-2024 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.
@@ -70,7 +71,7 @@ def forcedelay():
   else:
     return Response("Force delay: " + str(forced_settings['delay']) + " sec set for all external server responses until it is resetted ", 200, mimetype=TEXT_PLAIN)
 
-port_number = 2222
+port_number = 3333
 if len(sys.argv) >= 2:
   if isinstance(sys.argv[1], int):
     port_number = sys.argv[1]
@@ -79,4 +80,4 @@ if len(sys.argv) >= 2:
 app.add_api('EXT_SRV_api.yaml')
 
 if __name__ == '__main__':
-  app.run(port=port_number, host="127.0.0.1", threaded=False)
+  app.run(port=port_number, host="127.0.0.1")