projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added editconfigparametermap.scss
[osm/UI.git]
/
skyquake
/
plugins
/
composer
/
api
/
composer.js
diff --git
a/skyquake/plugins/composer/api/composer.js
b/skyquake/plugins/composer/api/composer.js
index
ce12860
..
b0684bf
100644
(file)
--- a/
skyquake/plugins/composer/api/composer.js
+++ b/
skyquake/plugins/composer/api/composer.js
@@
-341,7
+341,7
@@
Composer.upload = function(req) {
// Add a status checker on the transaction and then to delete the file later
PackageFileHandler.checkCreatePackageStatusAndHandleFile(req, data['transaction_id']);
// Add a status checker on the transaction and then to delete the file later
PackageFileHandler.checkCreatePackageStatusAndHandleFile(req, data['transaction_id']);
-
+
// Return status to composer UI to update the status.
resolve({
statusCode: constants.HTTP_RESPONSE_CODES.SUCCESS.OK,
// Return status to composer UI to update the status.
resolve({
statusCode: constants.HTTP_RESPONSE_CODES.SUCCESS.OK,
@@
-574,7
+574,7
@@
FileManager.job = function(req) {
forever: constants.FOREVER_ON,
rejectUnauthorized: false,
}, function(error, response, body) {
forever: constants.FOREVER_ON,
rejectUnauthorized: false,
}, function(error, response, body) {
- if (utils.validateResponse('
restconfAPI.streams
', error, response, body, resolve, reject)) {
+ if (utils.validateResponse('
FileManager.job
', error, response, body, resolve, reject)) {
var data = JSON.parse(response.body)['rw-pkg-mgmt:download-jobs'];
var returnData = [];
data && data.job.map(function(d) {
var data = JSON.parse(response.body)['rw-pkg-mgmt:download-jobs'];
var returnData = [];
data && data.job.map(function(d) {