Commit 99bc3080 authored by tiven wang's avatar tiven wang 🤞

add grunt and debugging

parent 6bcf116d
destinations=[{"name": "Sandbox", "url": "https://sandbox.api.sap.com/s4hanacloud/", "properties":[{"key":"ApiKey", "value":"9OLeNbRsXlZ3U2faS6bD1TnsBCYaU6gn"}]},{"name": "my300033", "url": "https://my300033-api.saps4hanacloud.cn/", "username": "Z_HG_TEST", "password": "Aa12345678901234567890!"}]
node_modules
.env
.tscache
\ No newline at end of file
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"type": "node",
"request": "launch",
"name": "Launch Program",
"runtimeArgs": [
"-r",
"ts-node/register"
],
"args": [
"${workspaceFolder}/src/index.ts"
]
}]
}
\ No newline at end of file
module.exports = function(grunt) {
grunt.initConfig({
ts: {
default : {
tsconfig: './tsconfig.json',
src: ["**/*.ts", "!node_modules/**/*.ts"],
outDir: "dist"
},
options: {
}
}
});
grunt.loadNpmTasks("grunt-ts");
grunt.registerTask("default", ["ts"]);
};
......@@ -36,6 +36,8 @@
"devDependencies": {
"@types/express": "^4.16.1",
"dotenv": "^8.0.0",
"grunt": "^1.0.4",
"grunt-ts": "^6.0.0-beta.22",
"nodemon": "^1.19.0",
"ts-node": "^8.1.0",
"typescript": "^3.4.5"
......
......@@ -25,7 +25,7 @@ function getAllBusinessPartners(): Promise<BusinessPartner[]> {
// 'APIKey': '9OLeNbRsXlZ3U2faS6bD1TnsBCYaU6gn'
// })
.execute({
destinationName: 'my300033'
destinationName: 'Sandbox'
});
}
......
Getting key local_test for service instance my-xsuaa as [email protected]
{
"clientid": "sb-my-cloud-sdk-demo!t15122",
"clientsecret": "v53Bda2gKxFst1RO8LVsJ+La3CU=",
"identityzone": "p2001285375trial",
"identityzoneid": "0e78f0ec-997e-424c-9a71-f60d3b37b338",
"sburl": "https://internal-xsuaa.authentication.eu10.hana.ondemand.com",
"tenantid": "0e78f0ec-997e-424c-9a71-f60d3b37b338",
"tenantmode": "dedicated",
"uaadomain": "authentication.eu10.hana.ondemand.com",
"url": "https://p2001285375trial.authentication.eu10.hana.ondemand.com",
"verificationkey": "-----BEGIN PUBLIC KEY-----MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwThn6OO9kj0bchkOGkqYBnV1dQ3zU/xtj7Kj7nDd8nyRMcEWCtVzrzjzhiisRhlrzlRIEY82wRAZNGKMnw7cvCwNixcfcDJnjzgr2pJ+5/yDZUc0IXXyIWPZD+XdL+0EogC3d4+fqyvg/BF/F0t2hKHWr/UTXE6zrGhBKaL0d8rKfYd6olGWigFd+3+24CKI14zWVxUBtC+P9Fhngc9DRzkXqhxOK/EKn0HzSgotf5duq6Tmk9DCNM4sLW4+ERc6xzrgbeEexakabvax/Az9WZ4qhwgw+fwIhKIC7WLwCEJaRsW4m7NKkv+eJR2LKYesuQ9SVAJ3EXV86RwdnH4uAv7lQHsKURPVAQBlranSqyQu0EXs2N9OlWTxe+FyNkIvyZvoLrZl/CdlYc8AKxRm5rn2/88nkrYQ0XZSrnICM5FRWgVF2hn5KfZGwtBN85/D4Yck6B3ocMfyX7e4URUm9lRPQFUJGTXaZnEIge0R159HUwhTN1HvyXrs6uT1ZZmW+c3p47dw1+LmUf/hIf8zd+uvHQjIeHEJqxjqfyA8yqAFKRHKVFrwnwdMHIsRap2EKBhHMfeVf0P2th5C9MggYoGCvdIaIUgMBX3TtCdvGrcWML7hnyS2zkrlA8SoKJnRcRF2KxWKs355FhpHpzqyZflO5l98+O8wOsFjGpL9d0ECAwEAAQ==-----END PUBLIC KEY-----",
"xsappname": "my-cloud-sdk-demo!t15122"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment