Skip to content

Commit dd8a098

Browse files
committed
Mac -> macOS, no 'WSL'
1 parent c59e2c5 commit dd8a098

7 files changed

Lines changed: 31 additions & 31 deletions

File tree

get-started/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ On macOS, Linux and WSL (Windows Subsystem for Linux), we recommend using [Homeb
1818
```shell [macOS]
1919
bash -c "$( curl https://raw.githubusercontent.com/homebrew/install/HEAD/install.sh )"
2020
```
21-
```shell [Linux / WSL]
21+
```shell [Linux]
2222
# install curl (required to get Homebrew) and git (required to run Homebrew)
2323
sudo apt install curl git -y
2424
bash -c "$( curl https://raw.githubusercontent.com/homebrew/install/HEAD/install.sh )"
@@ -34,7 +34,7 @@ bash -c "$( curl https://raw.githubusercontent.com/homebrew/install/HEAD/install
3434
### Node.js and _cds-dk_ {.required}
3535

3636
::: code-group
37-
```shell [macOS / Linux / WSL]
37+
```shell [macOS/Linux]
3838
brew install node # Node.js LTS
3939
npm i -g @sap/cds-dk # install CAP's cds-dk globally
4040
```
@@ -59,7 +59,7 @@ sqlite3 -version
5959
### Java and Maven {.optional}
6060

6161
::: code-group
62-
```shell [macOS / Linux / WSL]
62+
```shell [macOS/Linux]
6363
brew install sapmachine-jdk
6464
brew install maven
6565
```
@@ -92,7 +92,7 @@ brew install git # Git CLI
9292
brew install gh # GitHub CLI
9393
brew install github # GitHub Desktop App
9494
```
95-
```shell [Linux / WSL]
95+
```shell [Linux]
9696
brew install git # Git CLI
9797
brew install gh # GitHub CLI
9898

@@ -127,7 +127,7 @@ git -v # display Git cli version
127127
```shell [macOS]
128128
brew install --cask visual-studio-code # VS Code itself
129129
```
130-
```bash [Linux / WSL]
130+
```bash [Linux]
131131
# VS Code on Homebrew is only supported for macOS
132132
sudo snap install --classic code
133133
code -v # display VS Code's version

guides/extensibility/customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ In case something unexpected happens, set the variable `DEBUG=cli` in your shell
10391039
10401040
::: code-group
10411041
1042-
```sh [Mac/Linux]
1042+
```sh [macOS/Linux]
10431043
export DEBUG="cli"
10441044
```
10451045

guides/services/consuming-services.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The export-import cycle is the way to go for now. It is under investigation to i
103103

104104
::: code-group
105105

106-
```sh [Mac/Linux]
106+
```sh [macOS/Linux]
107107
cds compile srv -s OrdersService -2 edmx > OrdersService.edmx
108108
```
109109

@@ -750,7 +750,7 @@ service RiskService {
750750
}
751751
```
752752

753-
#### Extend a Remote by a Local Service
753+
#### Extend a Remote by a Local Service
754754

755755
You can augment a projection with a new association, if the required fields for the on condition are present in the remote service. The use of managed associations isn't possible, because this requires to create new fields in the remote service.
756756
<!--Does it matter if it's managed or unmanaged? In other section we say, that you shouldn't make it a managed assoc b/c that would lead to runtime errors. -->
@@ -864,7 +864,7 @@ Otherwise, you need to select the source item using that `where` block and take
864864
[See an example how to handle navigations in Java.](https://github.com/SAP-samples/cloud-cap-risk-management/blob/ext-service-s4hc-suppliers-ui-java/srv/src/main/java/com/sap/cap/riskmanagement/handler/RiskServiceHandler.java){.learn-more .java}
865865

866866
### Limitations and Feature Matrix
867-
#### Required Implementations for Mashups
867+
#### Required Implementations for Mashups
868868

869869
You need additional logic, if remote entities are in the game. The following table shows what is required. "Local" is a database entity or a projection on a database entity.
870870

@@ -1027,7 +1027,7 @@ cds:
10271027
:::
10281028
[Learn more about configuring destinations for Java.](../../java/cqn-services/remote-services){.learn-more}
10291029
1030-
#### Use Application Defined Destinations
1030+
#### Use Application Defined Destinations
10311031
10321032
If you don't want to use SAP BTP destinations, you can also define destinations, which means the URL, authentication type, and additional configuration properties, in your application configuration or code.
10331033
@@ -1064,9 +1064,9 @@ This is an example of a destination using basic authentication:
10641064
}
10651065
```
10661066

1067-
[Learn more about providing project configuration values.](./../../node.js/cds-env#project-specific-configurations){.learn-more}
1067+
[Learn more about providing project configuration values.](./../../node.js/cds-env#project-specific-configurations){.learn-more}
10681068

1069-
[See all the supported destination properties.](#destination-properties){.learn-more}
1069+
[See all the supported destination properties.](#destination-properties){.learn-more}
10701070

10711071
::: warning Warning: You should not put any sensitive information here!
10721072

@@ -1133,7 +1133,7 @@ For the _configuration path_, you **must** use the underscore ("`_`") character
11331133

11341134
There is no API to create a destination in Node.js programmatically. However, you can change the properties of a remote service before connecting to it, as shown in the previous example.
11351135

1136-
##### Configure Application Defined Destinations in Java
1136+
##### Configure Application Defined Destinations in Java
11371137

11381138
Destinations are configured in Spring Boot's _application.yaml_ file.
11391139

@@ -1239,7 +1239,7 @@ cds watch --profile hybrid
12391239
If you are developing in the Business Application Studio and want to connect to an on-premise system, you will need to do so via Business Application Studio's built-in proxy, for which you need to add configuration in an `.env` file. See [Connecting to External Systems From the Business Application Studio](https://sap.github.io/cloud-sdk/docs/js/guides/bas) for more details.
12401240
:::
12411241

1242-
#### Run a Java Application with a Destination
1242+
#### Run a Java Application with a Destination
12431243

12441244
Add a new profile `hybrid` to your _application.yaml_ file that configures the destination for the remote service.
12451245
::: code-group
@@ -1406,13 +1406,13 @@ cds add xsuaa,destination,connectivity
14061406
service: xsuaa
14071407
service-plan: application
14081408
path: ./xs-security.json
1409-
1409+
14101410
- name: cpapp-destination
14111411
type: org.cloudfoundry.managed-service
14121412
parameters:
14131413
service: destination
14141414
service-plan: lite
1415-
1415+
14161416
# Required for on-premise connectivity only
14171417
- name: cpapp-connectivity
14181418
type: org.cloudfoundry.managed-service
@@ -1652,7 +1652,7 @@ The Node.js runtime supports `odata` as an alias for `odata-v4` as well.
16521652

16531653
The following properties and authentication types are supported for *[application defined destinations](#use-application-defined-destinations)*:
16541654

1655-
#### Destination Properties
1655+
#### Destination Properties
16561656

16571657
These destination properties are fully supported by both, the Java and the Node.js runtime.
16581658
::: tip

java/developing-applications/building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ An example of a CAP application with OData V4 on Cloud Foundry environment:
309309
Use the following command line to create a project from scratch with the CDS Maven archetype:
310310

311311
::: code-group
312-
```sh [Mac/Linux]
312+
```sh [macOS/Linux]
313313
mvn archetype:generate -DarchetypeArtifactId=cds-services-archetype -DarchetypeGroupId=com.sap.cds -DarchetypeVersion=RELEASE
314314
```
315315

node.js/authentication.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Please see [`@sap/xssec` documentation](https://www.npmjs.com/package/@sap/xssec
361361
362362
#### XSUAA Fallback
363363
364-
To ease your migration from XSUAA-based to IAS-based authentication, the `ias` strategy automatically supports tokens issued by XSUAA when you provide the necessary credentials at `cds.env.requires.xsuaa.credentials`.
364+
To ease your migration from XSUAA-based to IAS-based authentication, the `ias` strategy automatically supports tokens issued by XSUAA when you provide the necessary credentials at `cds.env.requires.xsuaa.credentials`.
365365
366366
For standard bindings, add `xsuaa` to the list of required services as follows:
367367
@@ -477,11 +477,11 @@ The following steps assume you've set up the [**Cloud Foundry Command Line Inter
477477
If you don't know the API endpoint, refer to [Regions and API Endpoints Available for the Cloud Foundry Environment](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/350356d1dc314d3199dca15bd2ab9b0e.html#loiof344a57233d34199b2123b9620d0bb41).
478478
479479
2. Go to the project you have created in [Getting started in a Nutshell](../get-started/bookshop).
480-
480+
481481
#### Configure the Application
482482
483483
1. Configure your app for XSUAA-based authentication if not done yet:
484-
484+
485485
```sh
486486
cds add xsuaa --for hybrid
487487
```
@@ -602,7 +602,7 @@ The resulting JWT token is sent to the application where it's used to enforce au
602602
3. In your project folder run:
603603
604604
::: code-group
605-
```sh [Mac/Linux]
605+
```sh [macOS/Linux]
606606
cds bind --exec -- npm start --prefix app/router
607607
```
608608
```cmd [Windows]
@@ -691,7 +691,7 @@ The login fails pointing to the correct OAuth configuration URL that is expected
691691
cds add ams
692692
npm install
693693
```
694-
694+
695695
This command installs `ams` and `ias` plugins, adds the required dependencies to `package.json` and updates `mta.yaml`.
696696

697697
Learn more about [**Adding AMS Support**](../guides/security/cap-users#adding-ams-support) and [**Adding IAS**](../guides/security/authentication#adding-ias).{.learn-more}
@@ -741,13 +741,13 @@ The login fails pointing to the correct OAuth configuration URL that is expected
741741
```
742742

743743
#### Deploy the Application
744-
744+
745745
1. Log in to Cloud Foundry:
746746
```sh
747747
cf l -a <api-endpoint>
748748
```
749749
If you don't know the API endpoint, refer to [Regions and API Endpoints Available for the Cloud Foundry Environment](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/350356d1dc314d3199dca15bd2ab9b0e.html#loiof344a57233d34199b2123b9620d0bb41).
750-
750+
751751
2. Pack and deploy the application:
752752
753753
```sh
@@ -757,13 +757,13 @@ The login fails pointing to the correct OAuth configuration URL that is expected
757757
#### Assign Policies in the Administrative Console
758758
759759
1. Log in to your Administrative Console for IAS and go to `Applications & Resources`.
760-
760+
761761
[Learn more about the Administrative Console for IAS.](/@external/guides/security/authentication#ias-admin){.learn-more}
762762
763763
2. Assign policies to IAS users or create custom policies, see [Cloud Deployment](../guides/security/cap-users#ams-deployment).
764764
765765
#### Start Hybrid Testing
766-
766+
767767
1. Bind your local application to the Identity Service Instance:
768768
769769
```sh
@@ -798,7 +798,7 @@ The login fails pointing to the correct OAuth configuration URL that is expected
798798
2. In your project folder run:
799799
800800
::: code-group
801-
```sh [Mac/Linux]
801+
```sh [macOS/Linux]
802802
cds bind --exec -- npm start --prefix app/router
803803
```
804804
```cmd [Windows]

node.js/cds-env.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ cds run --profile my-custom-profile
406406
or
407407
408408
::: code-group
409-
```sh [Mac/Linux]
409+
```sh [macOS/Linux]
410410
CDS_ENV=my-custom-profile cds run
411411
```
412412
```cmd [Windows]

tools/cds-bind.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ With `cds bind` you avoid storing credentials on your hard disk. If you need to
289289
For example, you can run the App Router from an `approuter` child directory:
290290

291291
::: code-group
292-
```sh [Mac/Linux]
292+
```sh [macOS/Linux]
293293
cds bind --exec -- npm start --prefix approuter
294294
```
295295
```cmd [Windows]
@@ -303,7 +303,7 @@ cds bind --exec '--' npm start --prefix approuter
303303
This works by constructing a `VCAP_SERVICES` environment variable. You can output the content of this variable as follows:
304304

305305
::: code-group
306-
```sh [Mac/Linux]
306+
```sh [macOS/Linux]
307307
cds bind --exec -- node -e 'console.log(process.env.VCAP_SERVICES)'
308308
```
309309
```cmd [Windows]

0 commit comments

Comments
 (0)