0.0.11 • Published 3 years ago

scp-connector v0.0.11

Weekly downloads
230
License
-
Repository
-
Last release
3 years ago

scp-connector

This is a module that facilitates the connection from the SAP cloud to an on-premise system via the SAP Cloud Connector.

Alt text

In general the following steps are taken during a call to an on-premise system. These are also depicted in the proces flow figure. 1. User calls an application through the AppRouter, which provides a central point of entry to business applications. 2. The request is redirected to XSUAA and the user needs to login. Then a JWT1 (JSON Web Token) is created and sent to the AppRouter. 3. The AppRouter forwards the request to the relevant application URL which is defined as destination, it also passes the JWT1 token with credentials.

Then the following steps are relevant for the SCP connector module:

  1. Connectivity and destination instance
    1. (a) The module requests a JWT2 to access the destination instance.
    2. (b) The module requests a JWT3 to access the connectivity instance.
  2. The module requests the destination configuration by sending JWT2. Including an Authorization header.
  3. The module sends request to the connectivity instance with JWT3 and the Authorization header.
  4. SAP Cloud Platform Connectivity forwards request to the Cloud Connector.
  5. Cloud Connector sends request to the on-premise system.

*Batch requests: Batch requests can be sent by reading the options object with function createSCPOptionsOpbject. The formatted request can then be added as 'body' in the options object. The request can be sent by passing the options object to the npm request module.

Example: options: { "Content-Type": "multipart/mixed; boundary=batch", "body": "" }

0.0.11

3 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago