@agilita/sap-cf-destconn

NodeJS Library that wraps the calls for the destination and connectivity service

Usage no npm install needed!

<script type="module">
  import agilitaSapCfDestconn from 'https://cdn.skypack.dev/@agilita/sap-cf-destconn';
</script>

README

sap-cf-destconn

NodeJS Library that wraps the calls for the destination and connectivity service

Installation

using npm:

$ npm install -s sap-cf-destconn

Example

Read the destination configuration

    const {readDestination} = require('sap-cf-destconn');
    const destinationConfig = await readDestination("destinationName", "<JWT Token if you use Oauth2SAML or Oauth2USerToken>")

Read the connectivity configuration

    const {readConnectivity} = require('sap-cf-destconn');
    const connectivityConfig = await readConnectivity("<locationID>", "<JWT Token if you use principal propagation>")