diff --git a/guides/deployment/microservices.md b/guides/deployment/microservices.md index 0f7215502..d10e34ce2 100644 --- a/guides/deployment/microservices.md +++ b/guides/deployment/microservices.md @@ -573,7 +573,7 @@ npm i @sap-cloud-sdk/resilience --workspace bookstore ### Approuter -Add [approuter configuration](../deployment/to-cf#add-app-router) using the command: +Add approuter configuration using the command: ```shell cds add approuter diff --git a/guides/deployment/to-cf.md b/guides/deployment/to-cf.md index 9c4f408fb..e6e00c151 100644 --- a/guides/deployment/to-cf.md +++ b/guides/deployment/to-cf.md @@ -174,23 +174,7 @@ cds add mta [Learn more about MTA-based deployment.](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/d04fc0e2ad894545aebfd7126384307c.html?locale=en-US){.learn-more} -### 4. App Router as Gateway { #add-app-router} - -The _App Router_ acts as a single point-of-entry gateway to route requests to. In particular, it ensures user login and authentication in combination with XSUAA. - -Two deployment options are available: - -- **Managed App Router**: for SAP Build Work Zone, the Managed App Router provided by SAP Fiori Launchpad is available. -- **Custom App Router**: for custom scenarios without SAP Fiori Launchpad, the App Router needs to be deployed along with your application. - In this case, use the following command to enhance the application configuration: - - ```sh - cds add approuter - ``` - -[Learn more about the SAP BTP Application Router.](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/01c5f9ba7d6847aaaf069d153b981b51.html?locale=en-US){.learn-more} - -### 5. User Interfaces { #add-ui } +### 4. User Interfaces { #add-ui } #### Option A: SAP Cloud Portal @@ -208,7 +192,7 @@ For **single-tenant** applications, you can use the new [SAP BTP Application Fro cds add app-front ``` -### 6. Optional: Multitenancy { #add-multitenancy } +### 5. Optional: Multitenancy { #add-multitenancy } To enable multitenancy for production, run the following command: diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index 936353138..ed31cb840 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -726,7 +726,7 @@ Now, open or refresh again as _alice_ and In order to get your multitenant application deployed, follow this excerpt from the [deployment to CF](../deployment/to-cf) and [deployment to Kyma](../deployment/to-kyma) guides. -Once: Add SAP HANA Cloud, XSUAA, and [App Router](../deployment/to-cf#add-app-router) configuration. The App Router acts as a single point-of-entry gateway to route requests to. In particular, it ensures user login and authentication in combination with XSUAA. +Once: Add SAP HANA Cloud and XSUAA for authentications and authorization: ```sh cds add hana,xsuaa diff --git a/node.js/best-practices.md b/node.js/best-practices.md index 90687f812..0959ddab0 100644 --- a/node.js/best-practices.md +++ b/node.js/best-practices.md @@ -201,7 +201,7 @@ If a CSRF token is cached, it can potentially be reused in multiple requests, de #### Using App Router -The _App Router_ is configured to require a _CSRF_ token by default for all protected routes and all HTTP requests methods except _HEAD_ and _GET_. Thus, by adding the _App Router_ as described in the [Deployment Guide: Using App Router as Gateway](../guides/deployment/to-cf#add-app-router), endpoints are CSRF protected. +The _App Router_ is configured to require a _CSRF_ token by default for all protected routes and all HTTP requests methods except _HEAD_ and _GET_. Thus, the endpoints are CSRF protected. [Learn more about CSRF protection with the **App Router**](https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/c19f165084d742e096c5d1625cecd2d4.html?q=csrf#loioc19f165084d742e096c5d1625cecd2d4__section_xj4_pcg_2z){.learn-more} @@ -278,7 +278,7 @@ cds.on('bootstrap', app => app.use ((req, res, next) => { #### Configuring CORS in App Router -The _App Router_ has full support for CORS. Thus, by adding the _App Router_ as described in the [Deployment Guide: Using App Router as Gateway](../guides/deployment/to-cf#add-app-router), CORS can be configured in the _App Router_ configuration. +The _App Router_ has full support for CORS. Thus, CORS can be configured in the _App Router_ configuration. [Learn more about CORS handling with the **App Router**](https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/ba527058dc4d423a9e0a69ecc67f4593.html?q=allowedOrigin#loioba527058dc4d423a9e0a69ecc67f4593__section_nt3_t4k_sz){.learn-more} @@ -287,8 +287,6 @@ Configuring CORS in multiple places can lead to confusing debugging scenarios. C ::: - - ## Availability Checks To proactively identify problems, projects should set up availability monitoring for all the components involved in their solution.