X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fcore%2Fapi_utils%2Fconstants.js;h=b27e7da30af43682b85c48664c701bb9161ceea1;hb=HEAD;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..b27e7da30 100644 --- a/skyquake/framework/core/api_utils/constants.js +++ b/skyquake/framework/core/api_utils/constants.js @@ -73,5 +73,21 @@ 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'; +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 + +constants.REFRESH_WINDOW = 10; //Time in seconds to perform a token refresh before it expires +constants.LAUNCHPAD_ADDRESS = 'localhost'; +constants.LAUNCHPAD_PORT = 8008; +constants.IDP_SERVER_PROTOCOL = 'https'; +constants.IDP_PORT_NUMBER = 8009; +constants.CALLBACK_SERVER_PROTOCOL = 'https'; +constants.CALLBACK_PORT_NUMBER = 8443; +constants.CALLBACK_ADDRESS = 'localhost'; +constants.END_SESSION_PATH = 'end_session'; module.exports = constants; \ No newline at end of file