const {ServiceApi} = require( './service');
const express = require('express');
const app = express();
const xsenv = require('@sap/xsenv');
const fs = require('fs');
const base64 = require('base64topdf');
xsenv.loadEnv();
const services = xsenv.getServices({
uaa: { label: 'xsuaa' }
});
const xssec = require('@sap/xssec');
const passport = require('passport');
passport.use('JWT', new xssec.JWTStrategy(services.uaa));
app.use(passport.initialize());
app.use(passport.authenticate('JWT', {
session: false
}));
app.use(express.urlencoded({ extended: true }));
app.use(express.json());
app.get('/srv', function (req, res) {
if (req.authInfo.checkScope('$XSAPPNAME.User')) {
res.status(200).send('adsUnify');
} else {
res.status(403).send('Forbidden');
}
});
app.post('/srv/pdfplatform', function (req, res) {
ServiceApi.render(req.body.render).then( pdf=>{
if(req.body.sign){
req.body.sign.pdf = pdf;
ServiceApi.sign(req.body.sign).then(spdf=>{
base64.base64Decode(spdf,'render.pdf');
const content = fs.readFileSync('render.pdf');
const blob = new Blob([content], {type: 'application/pdf'});
if(req.body.email){
ServiceApi.semail(content,req.body.email.attachname,req.body.email.sendto,req.body.email.subject,req.body.email.ebody).then((info=>{
console.log('email sent successfully');
})).catch(err=>{console.log(err)});
};
if(req.body.cmis){
ServiceApi.createDoc(blob,req.body.cmis.name,req.body.cmis.path).then(cmisresp=>{
console.log(cmisresp.succinctProperties);
}).catch(err=>{
console.log(err);
});
};
if(req.body.print){
// fs.close();
ServiceApi.print(content, req.body.print).then(result=>{
console.log('uploaded into print queue ' + req.body.print.qname)
}).catch(err=>{
console.log(err);
});
};
let raw = fs.createReadStream('render.pdf');
res.writeHead(200, 'ok');
raw.pipe(res);
fs.rm('render.pdf',()=>{
console.log('file deleted successfully');
});
}).catch(err=>{
console.log(err);
res.status(500).send(err);
});
}else{
base64.base64Decode(pdf,'render.pdf');
const content = fs.readFileSync('render.pdf');
if(req.body.print){
ServiceApi.print(content, req.body.print).then(result=>{
console.log('uploaded into print queue ' + req.body.print.qname)
}).catch(err=>{
console.log(err);
});
}
if(req.body.cmis){
const blob = new Blob([content], {type: 'application/pdf'});
ServiceApi.createDoc(blob,req.body.cmis.name,req.body.cmis.path).then(cmisresp=>{
console.log(cmisresp.succinctProperties);
}).catch(err=>{
console.log(err);
})
};
if(req.body.email){
ServiceApi.semail(content,req.body.email.attachname,req.body.email.sendto,req.body.email.subject,req.body.email.ebody).then((info=>{
console.log('email sent successfully');
})).catch(err=>{console.log(err)});
};
let raw = fs.createReadStream('render.pdf');
res.writeHead(200, 'ok');
raw.pipe(res);
fs.rm('render.pdf',()=>{
console.log('file deleted successfully');
});
}
}).catch(err=>{
console.log(err);
res.status(500).send(err);
});
});
app.get('/srv/user', function (req, res) {
if (req.authInfo.checkScope('$XSAPPNAME.User')) {
res.status(200).json(req.user);
} else {
res.status(403).send('Forbidden');
}
});
const port = process.env.PORT || 5001;
app.listen(port, function () {
console.info('Listening on http://localhost:' + port);
});
{"render":{
"embedFont": 0,
"formLocale": "en_US",
"formType": "interactive",
"taggedPdf": 1,
"xdpTemplate": "labelprint3/labelprint3",
"xmlData": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGZvcm0xPgogICA8TGFiZWxGb3JtPgogICAgICA8RGVsaXZlcnlJZD44MDAwMzExPC9EZWxpdmVyeUlkPgogICAgICA8UG9zaXRpb24+MDAxMDwvUG9zaXRpb24+CiAgICAgIDxNYXRlcmlhbE5vPk0xMDAwMDE8L01hdGVyaWFsTm8+CiAgICAgIDxRdWFudGl0eT4xMjM0NTYuMzIxPC9RdWFudGl0eT4KICAgICAgPFBhY2thZ2U+UDExMTExMTwvUGFja2FnZT4KICAgICAgPFFSQ29kZT4wMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA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U2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTwvUVJDb2RlPgogPC9MYWJlbEZvcm0+CjwvZm9ybTE+"
} ,
"sign":{"credentialAlias": "jackysignature",
"signatureFieldName": "signature",
"reasonInfo": "approval",
"locationInfo": "Shanghai",
"contactInfo": "email@sap.com",
"pdf":""}
,
"print":{
"numberOfCopies": 1,
"username": "test user",
"qname": "plant2",
"metadata": {
"business_metadata": {
"business_user": "user1",
"object_node_type": "object_node_1"
},
"version": 1.2
},
"printContents": [
{
"objectKey": "",
"documentName": "dn80000095"
}
]
},
"cmis": {
"name": "dn80000095",
"path": "adobeservice"
},
"email":{
"sendto": "email@sap.com",
"subject": "Digital Document Platform",
"ebody": "Digital Document Platform body",
"attachname": "dn80000095.pdf"
}
}
{"render":{
"embedFont": 0,
"formLocale": "en_US",
"formType": "interactive",
"taggedPdf": 1,
"xdpTemplate": "labelprint3/labelprint3",
"xmlData": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGZvcm0xPgogICA8TGFiZWxGb3JtPgogICAgICA8RGVsaXZlcnlJZD44MDAwMzExPC9EZWxpdmVyeUlkPgogICAgICA8UG9zaXRpb24+MDAxMDwvUG9zaXRpb24+CiAgICAgIDxNYXRlcmlhbE5vPk0xMDAwMDE8L01hdGVyaWFsTm8+CiAgICAgID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Qb3NpdGlvbj4KICAgIDxNYXRlcmlhbE5vPk0xMDAwMDM8L01hdGVyaWFsTm8+CiAgICA8UXVhbnRpdHk+MTIzNDU4LjMyMTwvUXVhbnRpdHk+CiAgICA8UGFja2FnZT5QMTExMTEzPC9QYWNrYWdlPgogICAgPFFSQ29kZT4wMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTwvUVJDb2RlPgogPC9MYWJlbEZvcm0+CjwvZm9ybTE+"
} ,
"sign":{"credentialAlias": "jackysignature",
"signatureFieldName": "signature",
"reasonInfo": "approval",
"locationInfo": "Shanghai",
"contactInfo": "email@sap.com",
"pdf":""},
"email":{
"sendto": "email@sap.com",
"subject": "Digital Document Platform",
"ebody": "Digital Document Platform body",
"attachname": "dn80000095.pdf"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
30 | |
19 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
7 | |
6 |