@sap/cds-dk
Version:
Command line client and development toolkit for the SAP Cloud Application Programming Model
14 lines (12 loc) • 424 B
JavaScript
exports.deploy = (model, serviceName, options) => {
const hanaDeployer = require('../../lib/deploy/to-hana/hana');
return hanaDeployer.deploy({
...options,
model,
serviceName,
tunnelAddress: options['tunnel-address'],
vcapFile: options['vcap-file'],
hdiOptions: { autoUndeploy: options['auto-undeploy'] },
storeCredentials: options['store-credentials'] // TODO: Remove with cds-dk 8
});
}