X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fcore%2Fapi_utils%2Fconstants.js;h=7f54797f512ab620e699cb6dbfcd6dc6bfa74cfc;hb=5b780234242860acc1979bbdece817bcbfa918c8;hp=dccadb713488916d24fd66e67a743435f58ec5c9;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/framework/core/api_utils/constants.js b/skyquake/framework/core/api_utils/constants.js index dccadb713..7f54797f5 100644 --- a/skyquake/framework/core/api_utils/constants.js +++ b/skyquake/framework/core/api_utils/constants.js @@ -73,5 +73,12 @@ constants.SOCKET_BASE_PORT = 3500; constants.SOCKET_POOL_LENGTH = 20; constants.SERVER_PORT = process.env.SERVER_PORT || 8000; constants.SECURE_SERVER_PORT = process.env.SECURE_SERVER_PORT || 8443; +constants.REJECT_UNAUTHORIZED = false; + +constants.BASE_PACKAGE_UPLOAD_DESTINATION = 'upload/packages/'; +constants.PACKAGE_MANAGER_SERVER_PORT = 4567; +constants.PACKAGE_FILE_DELETE_DELAY_MILLISECONDS = 3 * 1000 * 60; //5 minutes +constants.PACKAGE_FILE_ONBOARD_TRANSACTION_STATUS_CHECK_DELAY_MILLISECONDS = 2 * 1000; //2 seconds + module.exports = constants; \ No newline at end of file