Bad merge fix 96/896/1
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 7 Dec 2016 14:28:13 +0000 (09:28 -0500)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Mon, 9 Jan 2017 16:48:27 +0000 (11:48 -0500)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/.gitignore
skyquake/framework/core/api_utils/constants.js
skyquake/framework/core/modules/routes/inactivity.js
skyquake/plugins/composer/src/src/libraries/CatalogPackageManagerUploadDropZone.js

index 111d0cd..07b0361 100644 (file)
@@ -3,3 +3,5 @@ npm-debug.log
 node_modules
 public
 dist
+yarn.lock
+upload/
index dccadb7..0aac7d2 100644 (file)
@@ -74,4 +74,10 @@ constants.SOCKET_POOL_LENGTH = 20;
 constants.SERVER_PORT = process.env.SERVER_PORT || 8000;
 constants.SECURE_SERVER_PORT = process.env.SECURE_SERVER_PORT || 8443;
 
+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
index 7c3c440..a90258d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * 
+ *
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
index 87afb6a..690118d 100644 (file)
@@ -49,7 +49,7 @@ function initializeDropZone(element = '#dropzone', button = false, action = ACTI
                        if (action === ACTIONS.update) {
                                return getCatalogPackageManagerServerOrigin() + '/api/update';
                        }
-                       return getCatalogPackageManagerServerOrigin() + '/composer/upload?api_server=' + Utils.getSearchParams(window.location).api_server + '&upload_server=' + Utils.getSearchParams(window.location).upload_server + ( dev_download_server ? '&dev_download_server=' + dev_download_server : '');
+                       return getCatalogPackageManagerServerOrigin() + '/composer/upload?api_server=' + Utils.getSearchParams(window.location).api_server + '&upload_server=' + Utils.getSearchParams(window.location).upload_server + '&dev_download_server=' + Utils.getSearchParams(window.location).dev_download_server;
                },
                headers: {
                        'Authorization': Auth