Last active
August 29, 2015 14:25
-
-
Save kailashbadu/e8f76a7f9ea9ca9f34dd to your computer and use it in GitHub Desktop.
Compstak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function transform(unit) { | |
var url = unit.input.url; | |
var doc_extensions = line.settings.extensions['doc']; | |
var image_extensions = line.settings.extensions['image']; | |
var spreadsheet_extensions = line.settings.extensions['spreadsheet']; | |
return {"document_extension" : url.split('.').pop()}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"input" : { | |
"url" : "https://cfexternals.s3.amazonaws.com/testing/Sudip/compStak/inputs/BAY.1163.041715.16.Original.docx", | |
}, | |
"output" : { | |
} | |
"stations" : { | |
"data_transformation_#01" : { | |
"output" : { | |
"document_extension" : ".docx" | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"url" : "https://cfexternals.s3.amazonaws.com/testing/Sudip/compStak/inputs/BAY.1163.041715.16.Original.docx" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment