---
applications:
- name: rfcapp
stack: cflinuxfs4
env:
SAPNWRFC_HOME_CLOUD: /tmp/app/nwrfcsdk
LD_LIBRARY_PATH: /home/vcap/app/nwrfcsdk/lib
$ cd buildpack/app
$ export SAPNWRFC_HOME=`pwd`/nwrfcsdk
$ export LD_LIBRARY_PATH=$SAPNWRFC_HOME/lib
$ npm install
$ node .
node .
HOME
/home/www-admin
SAPNWRFC_HOME
/home/www-admin/src/sap/node-rfc-samples/integration/noderfc_with_nwrfcsdk/buildpack/app/nwrfcsdk
SAPNWRFC_HOME files:
["include","lib","package.json"]
LD_LIBRARY_PATH
node-rfc
{
"platform": {
"name": "linux",
"arch": "x64",
"release": "6.4.16-linuxkit"
},
"env": {
"SAPNWRFC_HOME": "/home/www-admin/src/sap/node-rfc-samples/integration/noderfc_with_nwrfcsdk/buildpack/app/nwrfcsdk",
"RFC_INI": ""
},
"versions": {
"node": "18.18.2",
"acorn": "8.10.0",
"ada": "2.6.0",
"ares": "1.19.1",
"brotli": "1.0.9",
"cldr": "43.1",
"icu": "73.2",
"llhttp": "6.0.11",
"modules": "108",
"napi": "9",
"nghttp2": "1.57.0",
"nghttp3": "0.7.0",
"ngtcp2": "0.8.1",
"openssl": "3.0.10+quic",
"simdutf": "3.2.14",
"tz": "2023c",
"undici": "5.26.3",
"unicode": "15.0",
"uv": "1.44.2",
"uvwasi": "0.0.18",
"v8": "10.2.154.26-node.26",
"zlib": "1.2.13.1-motley"
},
"noderfc": {
"version": "3.3.0",
"nwrfcsdk": {
"major": 7500,
"minor": 0,
"patchLevel": 12
}
}
}
$ cd buildpack
$ cf push
Pushing app rfcapp to ...
Uploading files...
Instances starting....
Instances starting...
name: rfcapp
requested state: started
routes: rfcapp.cfapps.eu10.hana.ondemand.com
last uploaded: Thu 26 Oct 15:46:54 CEST 2023
stack: cflinuxfs4
buildpacks:
name version detect output buildpack name
https://github.com/cloudfoundry/nodejs-buildpack#v1.8.18 1.8.18 nodejs nodejs
type: web
sidecars:
instances: 1/1
memory usage: 128M
start command: npm run start:btp
state since cpu memory disk logging details
#0 running 2023-10-26T13:47:09Z 0.0% 54.9M of 128M 231.8M of 1G 0/s of unlimited
HOME /home/vcap/app SAPNWRFC_HOME /home/vcap/app/node_modules/nwrfcsdk
SAPNWRFC_HOME files: ["include","lib","package.json"]
LD_LIBRARY_PATH /home/vcap/app/node_modules/nwrfcsdk/lib
node-rfc { "platform": { "name": "linux", "arch": "x64", "release": "6.2.0-33-generic" }, "env": { "SAPNWRFC_HOME": "/home/vcap/app/node_modules/nwrfcsdk", "RFC_INI": "" }, "versions": { "node": "18.18.2", "acorn": "8.10.0", "ada": "2.6.0", "ares": "1.19.1", "brotli": "1.0.9", "cldr": "43.1", "icu": "73.2", "llhttp": "6.0.11", "modules": "108", "napi": "9", "nghttp2": "1.57.0", "nghttp3": "0.7.0", "ngtcp2": "0.8.1", "openssl": "3.0.10+quic", "simdutf": "3.2.14", "tz": "2023c", "undici": "5.26.3", "unicode": "15.0", "uv": "1.44.2", "uvwasi": "0.0.18", "v8": "10.2.154.26-node.26", "zlib": "1.2.13.1-motley" }, "noderfc": { "version": "3.3.0", "nwrfcsdk": { "major": 7500, "minor": 0, "patchLevel": 12 } } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
13 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |