Skip to content

Commit f233726

Browse files
committed
Fixed more links to capire/samples
1 parent 46b1bf8 commit f233726

8 files changed

Lines changed: 26 additions & 27 deletions

File tree

get-started/learning-sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ In here, we collected several interesting sample projects for you. Not all of th
100100
### Bookshop by capire {.github}
101101

102102
> [![]()](https://github.com/sap-samples/cloud-cap-samples-java){.java}
103-
> [![]()](https://github.com/sap-samples/cloud-cap-samples){.node}
103+
> [![]()](https://github.com/capire/bookshop){.node}
104104
105105
The bookshop sample is our original sample provided by the CAP team and featured in the [getting started guides](../get-started/in-a-nutshell).
106106
It's available in both Node.js and Java. The Node.js variant contains additional samples besides bookshop that demonstrate various features of CAP.

guides/data-privacy/pdm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Make sure to have [indicated all relevant entities and elements in your domain m
101101

102102
As an additional step, you have to create flat projections on the additional business data, like transactional data.
103103

104-
In our model, we have `Incidents` and `Conversations`, which are connected via a [composition](https://github.com/SAP-samples/cloud-cap-samples/blob/gdpr/orders/db/schema.cds). Since SAP Personal Data Manager needs flattened out structures, we define a helper view `IncidentConversationView` to flatten this out.
104+
In our model, we have `Incidents` and `Conversations`, which are connected via a composition. Since SAP Personal Data Manager needs flattened out structures, we define a helper view `IncidentConversationView` to flatten this out.
105105

106106
We have to then add data privacy-specific annotations to this new view as well. The `IncidentConversationView` as transactional data is marked as `Other`. In addition, it is important to tag the correct field, which defines the corresponding data subject, in our case that is `customer_ID @PersonalData.FieldSemantics: 'DataSubjectID';`
107107

guides/databases-sqlite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ The following is an overview of advanced features supported by the new database
317317

318318
### Path Expressions & Filters {.node}
319319

320-
The new database service provides **full support** for all kinds of [path expressions](../cds/cql#path-expressions), including [infix filters](../cds/cql#with-infix-filters) and [exists predicates](../cds/cql#exists-predicate). For example, you can try this out with *[cap/samples](https://github.com/sap-samples/cloud-cap-samples)* as follows:
320+
The new database service provides **full support** for all kinds of [path expressions](../cds/cql#path-expressions), including [infix filters](../cds/cql#with-infix-filters) and [exists predicates](../cds/cql#exists-predicate). For example, you can try this out with *[@capire/samples](https://github.com/capire/samples)* as follows:
321321

322322
```js
323323
// $ cds repl --profile better-sqlite

guides/deployment/microservices.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This guide describes a way to manage development and deployment via *[monorepos]
3939

4040
```sh
4141
git init
42-
git submodule add https://github.com/capire/bookstore
42+
git submodule add https://github.com/capire/bookstore
4343
git submodule add https://github.com/capire/reviews
4444
git submodule add https://github.com/capire/orders
4545
git submodule add https://github.com/capire/common
@@ -53,7 +53,7 @@ This guide describes a way to manage development and deployment via *[monorepos]
5353
node_modules
5454
gen
5555
```
56-
> The outcome of this looks and behaves exactly as the monorepo layout in *[cap/samples](https://github.com/sap-samples/cloud-cap-samples)*, so we can exercise the subsequent steps in there...
56+
> The outcome of this looks and behaves exactly as the monorepo layout in *[cap/samples](https://github.com/capire/samples)*, so we can exercise the subsequent steps in there...
5757
5858
3. Test-drive locally:
5959
```sh
@@ -71,7 +71,7 @@ This guide describes a way to manage development and deployment via *[monorepos]
7171
Each microservice can be started independently. If you start each microservice, one after the other in a different terminal, the connection is already established.
7272

7373
[Learn more about Automatic Bindings by `cds watch`](../extensibility/composition#bindings-via-cds-watch){.learn-more}
74-
74+
7575

7676
::: details The project structure
7777

@@ -148,7 +148,7 @@ These are the (not so beneficial) side effects you when using a shared persisten
148148
```
149149
:::
150150

151-
> Note: the `using` directives refer to `index.cds` files existing in the target packages. Your projects may have different entry points.
151+
> Note: the `using` directives refer to `index.cds` files existing in the target packages. Your projects may have different entry points.
152152
153153
::: details Try it out
154154

@@ -176,7 +176,7 @@ cds build --for hana
176176
cd ..
177177
```
178178

179-
> Note: As we can see in the output for `cds deploy` and `cds build`, it also correctly collects and adds all initial data from enclosed `.csv` files.
179+
> Note: As we can see in the output for `cds deploy` and `cds build`, it also correctly collects and adds all initial data from enclosed `.csv` files.
180180
:::
181181

182182
::: details Other project structures
@@ -208,7 +208,7 @@ This section is about how to deploy all 3+1 projects at once with a common _mta.
208208

209209
![component diagram with synchronous and event communication for orders](./assets/microservices/bookstore.excalidraw.svg)
210210

211-
[cap-samples](https://github.com/SAP-samples/cloud-cap-samples?tab=readme-ov-file#welcome-to-capsamples) already has an all-in-one deployment implemented. Similar steps are necessary to convert projects with multiple CAP applications into a shared database deployment.
211+
[@capire/samples](https://github.com/capire/samples#readme) already has an all-in-one deployment implemented. Similar steps are necessary to convert projects with multiple CAP applications into a shared database deployment.
212212

213213
### Deployment Descriptor
214214

@@ -403,7 +403,7 @@ Add the admin role
403403
::: details Configure each app for cloud readiness
404404
Add NPM dependency `@sap/xssec`:
405405

406-
```shell
406+
```shell
407407
npm i @sap/xssec --workspace bookstore
408408
npm i @sap/xssec --workspace orders
409409
npm i @sap/xssec --workspace reviews
@@ -1024,7 +1024,7 @@ In the bookstore example, while reviews may be down, orders may still be possibl
10241024

10251025
This benefit is null for apps with synchronous dependencies on each other. If A depends on synchronous calls to B, then if B is down, A is down as well.
10261026

1027-
### Multiple Deployment Units
1027+
### Multiple Deployment Units
10281028

10291029
With multiple apps, you can still deploy them together as one unit, for example as part of a multitarget application archive.
10301030
Once an application grows bigger, this takes a significant amount of time.

guides/deployment/to-cf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cd bookshop
4242

4343
::: details Alternatively, download or clone the sample repository
4444

45-
Exercise the following steps in the `bookshop` sample of the [`capire`](https://github.com/sap-samples/cloud-cap-samples) org:
45+
Exercise the following steps in the [`@capire/bookshop` sample](https://github.com/capire/bookshop):
4646

4747
```sh
4848
git clone https://github.com/capire/bookshop

node.js/cds-connect.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Prefix the module path in `impl` with `./` to refer to a file relative to your p
126126

127127
### cds.requires.<i>\<srv\></i>`.kind`
128128

129-
As service configurations inherit from each other along `kind` chains, we can refer to default configurations shipped with `@sap/cds`, as you commonly see that in our [_cap/samples_](https://github.com/sap-samples/cloud-cap-samples), like so:
129+
As service configurations inherit from each other along `kind` chains, we can refer to default configurations shipped with `@sap/cds`, as you commonly see that in our [_cap/samples_](https://github.com/capire/samples), like so:
130130

131131
```json
132132
"cds": { "requires": {
@@ -409,11 +409,11 @@ If the `vcap` configuration contains multiple properties such as `name`, `label`
409409
"cds": {
410410
"requires": {
411411
"hana": {
412-
"vcap": {
413-
"label": "hana",
414-
"plan": "standard",
415-
"name": "myHana",
416-
"tags": "database"
412+
"vcap": {
413+
"label": "hana",
414+
"plan": "standard",
415+
"name": "myHana",
416+
"tags": "database"
417417
}
418418
}
419419
}
@@ -465,10 +465,10 @@ CAP services often come with a default `vcap` configuration. In rare cases, the
465465
"cds": {
466466
"requires": {
467467
"hana": {
468-
"vcap": {
469-
"label": false,
470-
"name": "myHana",
471-
"tags": "database"
468+
"vcap": {
469+
"label": false,
470+
"name": "myHana",
471+
"tags": "database"
472472
}
473473
}
474474
}

node.js/cds-i18n.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ msg.for('OUT_OF_RANGE', {val:0,min:1,max:11}) //> 0 is not in range 1..11
261261

262262
#### Looking up labels for CSN definitions
263263

264-
You can alternatively pass in a CSN definition instead of an i18n key to look up the localized UI label for that an entity or element. For example, try this in `cds repl` from within the [*cap/samples* root folder](https://github.com/sap-samples/cloud-cap-samples): {.indent}
264+
You can alternatively pass in a CSN definition instead of an i18n key to look up the localized UI label for that an entity or element. For example, try this in `cds repl` from within the [*cap/samples* root folder](https://github.com/capire/samples): {.indent}
265265

266266
```js
267267
[dev] cds repl
@@ -344,8 +344,7 @@ Instances of this class are used through [`I18nBundle.files`](#files) to fetch a
344344

345345
By default fetches i18n folders and files from the [neighborhood](#from-models-neighborhood) of a given model's sources, by default using `cds.model`.
346346

347-
348-
For example, try this in `cds repl` run from the project root of *[cap/samples](https://github.com/sap-samples/cloud-cap-samples)*:
347+
For example, try this in `cds repl` run from the project root of *[cap/samples](https://github.com/capire/samples)*:
349348

350349
```js
351350
[dev] cds repl
@@ -459,7 +458,7 @@ In effect i18n folders and hence files are fetched from the neighborhood of the
459458

460459
#### 1. Starting from the current model's `$sources`
461460

462-
For example given these model sources from [cap/samples](https://github.com/sap-samples/cloud-cap-samples):
461+
For example given these model sources from [cap/samples](https://github.com/capire/samples):
463462

464463
```js
465464
[dev] cds repl

node.js/cds-test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ describe(() => { cds.test(...) })
585585

586586
## Using `cds.test` in REPL
587587

588-
You can use `cds.test` in REPL, for example, by running this from your command line in [*cap/samples*](https://github.com/sap-samples/cloud-cap-samples):
588+
You can use `cds.test` in REPL, for example, by running this from your command line in [*cap/samples*](https://github.com/capire/samples):
589589

590590
```sh
591591
[cap/samples] cds repl

0 commit comments

Comments
 (0)