Skip to content

Commit c7cf2f0

Browse files
committed
Update
1 parent 007b76b commit c7cf2f0

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

from-kyma-to-on-premise/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ The provided sample Function calls the on-premise sample application by proxying
139139
140140
## Related Information
141141
142-
For more information on principal propagation, see the [VeridisQuo. Reaching SAP LOB destinations with connectivity proxy and principal propagation](https://blogs.sap.com/2022/04/07/veridisquo.-reaching-sap-lob-destinations-with-connectivity-proxy-and-principal-propagation./) blog post and [this sample](../principal-prop-on-prem).
142+
For more information on principal propagation, see the [VeridisQuo. Reaching SAP LOB destinations with connectivity proxy and principal propagation](https://blogs.sap.com/2022/04/07/veridisquo.-reaching-sap-lob-destinations-with-connectivity-proxy-and-principal-propagation./) blog post and [this sample](../principal-prop-on-premise).

principal-prop-on-premise/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ You can use either XSUAA or SAP Identity Authentication Service (IAS) as an exte
1010

1111
The following diagram presents a flow in which a logged-in user fetches their sales data from the on-premise system. Using a standalone SAP application router, an API `sap/com/onprem/mysales` is hosted in the Kyma runtime. This API calls the on-premise system using the Connectivity Proxy module.
1212

13-
![flow](assets/pp-on-prem.svg)
13+
![flow](assets/pp-on-prem.drawio.svg)
1414

1515
## Prerequisites
1616

1717
* [SAP BTP, Kyma runtime instance](../prerequisites/README.md#kyma)
1818
* [Kubernetes tooling](../prerequisites/README.md#kubernetes)
1919
* [Cloud Connector on your laptop or test system](../prerequisites/README.md#sap-cloud-connector)
20-
* [Node.js](https://nodejs.org/en/download/) | The Node.js runtime, including the node package manager NPM. Install the **LTS** version.
20+
* [Node.js](https://nodejs.org/en/download/) - the Node.js runtime, including the node package manager NPM. Install the **LTS** version.
2121
* [OpenSSL](https://www.openssl.org/) or another similar tool to generate certificates
2222

2323
## Procedure
@@ -27,20 +27,21 @@ The following diagram presents a flow in which a logged-in user fetches their sa
2727
> ### Note:
2828
> This section uses the official SAP BTP Connectivity service documentation on [Configuring Principal Propagation](https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/c84d4d0b12d34890b334998185f49e88.html).
2929
30-
1. [Configure Trusted Entities in the Cloud Connector](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/set-up-trust-for-principal-propagation?version=Cloud#loioa4ee70f0274248f8bbc7594179ef948d__configure_trust)
30+
1. [Configure Trusted Entities in the Cloud Connector](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/set-up-trust-for-principal-propagation?version=Cloud#loioa4ee70f0274248f8bbc7594179ef948d__configure_trust).
3131
> ### Note:
32-
> Make sure you synchronize by using the **Synchronize** button.
32+
> Make sure you synchronize the list with your Cloud Connector by using the **Synchronize** button.
3333
> ![trust](./assets/trust.png)
3434
35-
2. [Configure a CA Certificate](https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/d0c4d5675d4f4bc78a5b7a7b8687c841.html) for principal propagation. Use Option 3: (As of version 2.10) Generate a self-signed certificate from the [Install a local CA Cerificate](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/configure-ca-certificate-for-principal-propagation?version=Cloud#install-a-local-ca-certificate) section.
35+
2. [Configure a CA Certificate](https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/d0c4d5675d4f4bc78a5b7a7b8687c841.html) for principal propagation.
36+
* Use Option 3 (as of version 2.10): Generate a self-signed certificate from the [Install a local CA Cerificate](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/configure-ca-certificate-for-principal-propagation?version=Cloud#install-a-local-ca-certificate) section.
3637

3738
![ca](assets/ca.png)
3839

3940
3. Ensure that for Principal Propagation, the **Subject Pattern** is `CN=${name}`.
4041

4142
![subject-pattern](assets/subject-pattern.png)
4243

43-
4. [Setup a System Certificate](https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/3f974eae3cba4dafa274ec59f69daba6.html). Use the third option - generating a self-signed certificate.
44+
4. [Install a System Certificate for Mutual Authentication](https://help.sap.com/docs/CP_CONNECTIVITY/cca91383641e40ffbe03bdc78f00f681/3f974eae3cba4dafa274ec59f69daba6.html). Use the third option - generating a self-signed certificate.
4445

4546
### Configuring the On-Premise Backend
4647

@@ -69,7 +70,7 @@ You can run the on-premise backend on your laptop or in a test system. For simpl
6970

7071
4. Update the mock sales data in [on-prem-backend/sales.json](on-prem-backend/sales.json) to provide your `{logged-in-user-email}`.
7172

72-
5. Run the app locally.
73+
5. Run the application locally.
7374

7475
```shell script
7576
# go to the nodejs project
@@ -86,7 +87,7 @@ You can run the on-premise backend on your laptop or in a test system. For simpl
8687

8788
![cc-1](assets/cc-1.png)
8889

89-
7. Configure the resources to path and all sub-paths
90+
7. Configure the resources to **Path And All Sub-Paths**.
9091

9192
![cc-2](assets/cc-2.png)
9293

@@ -102,7 +103,7 @@ You can run the on-premise backend on your laptop or in a test system. For simpl
102103

103104
2. Enable the Connectivity Proxy module in the Kyma runtime. For more information, see [Kyma Modules](https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules) and [Adding and Deleting a Kyma Module](https://help.sap.com/docs/btp/sap-business-technology-platform/enable-and-disable-kyma-module).
104105

105-
3. Create a destination Configuration in BTP Cockpit.
106+
3. Create a Destination Configuration in the SAP BTP cockpit.
106107
![destination-config](assets/destination-config.png)
107108

108109
4. Create an XSUAA instance. Update the [app-router/k8s/xsuaa-instance.yaml](app-router/k8s/xsuaa-instance.yaml) to provide `{your-cluster-domain}`.
@@ -130,7 +131,7 @@ You can run the on-premise backend on your laptop or in a test system. For simpl
130131
kubectl -n $NS apply -f app-router/k8s/config.yaml
131132
```
132133

133-
8. Deploy the application router. Update the [app-router/k8s/deployment.yaml](app-router/k8s/deployment.yaml) to provide `{your-cluster-domain}`
134+
8. Deploy the application router. Update the [app-router/k8s/deployment.yaml](app-router/k8s/deployment.yaml) to provide `{your-cluster-domain}`.
134135

135136
```shell script
136137
kubectl -n $NS apply -f app-router/k8s/deployment.yaml
@@ -144,7 +145,7 @@ You can run the on-premise backend on your laptop or in a test system. For simpl
144145

145146
## Testing
146147

147-
Access the sales data for the logged-in user <https://principal-prop-on-prem.{your-cluster-domain}/sap/com/onprem/mysales>.
148+
Access the sales data for the logged-in user by adjusting the URL: <https://principal-prop-on-prem.{your-cluster-domain}/sap/com/onprem/mysales>.
148149

149150
## Troubleshooting
150151

principal-prop-on-premise/assets/pp-on-prem.drawio.svg

Lines changed: 1 addition & 0 deletions
Loading

principal-prop-on-premise/assets/pp-on-prem.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)