X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fcore%2Fapi_utils%2Fconstants.js;h=b27e7da30af43682b85c48664c701bb9161ceea1;hp=0aac7d2d0a0de4bc787af22035ffc2980b8ca72f;hb=refs%2Ftags%2Fv3.0.0rc2;hpb=f2dc2462571800e62cba969964de621dca09299c diff --git a/skyquake/framework/core/api_utils/constants.js b/skyquake/framework/core/api_utils/constants.js index 0aac7d2d0..b27e7da30 100644 --- a/skyquake/framework/core/api_utils/constants.js +++ b/skyquake/framework/core/api_utils/constants.js @@ -73,11 +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/packages/'; +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