common
A CAP plugin that extends @sap/cds/common with enhanced reuse data in .csv, published as a sample of how to write a CAP plugin rather than as something to run in production.
Adding it as a dependency automatically extends selected definitions in @sap/cds/common and fills the database with enhanced initial data, without further configuration or coding, which is the plug and play principle of CAP plugins working on a small piece of reuse content. Its own README puts a caution above all of that: this is just a sample, not intended for production use and not optimised for performance or security, meant to demonstrate how to create a CAP plugin and how to use it in an application. The application it is used in is the capire/bookstorecapire/bookstoreA composite application assembled from separately deployed services — bookshop, reviews, orders and a common content package — rather than one project with more folders in it.sap official, cap sample.
Facts
Where it sits
Who is behind it
In the atlas: maintains 20, wrote 1@capiremaintainerJohannes VogtContributes to this
In the atlas: maintains 1, contributes to 28, wrote 10@AkatuoroChristian GeorgiContributes to this
In the atlas: maintains 1, contributes to 53@chgeoDaniel HutzelContributes to this
In the atlas: contributes to 32, wrote 3@danjoaRené JeglinskyContributes to this
In the atlas: contributes to 20@renejeglinsky4 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
- Use as
- A reference
As a sample
- Form
- does not say
Connections
Writing a package that extends a framework or runtime
Download
README
quoted from capire/common under Apache-2.0, read@capire/common
This is a CAP plugin which extends @sap/cds/common, and provides enhanced reuse data in .csv.
It is used in the bookstore sample.
Caution
This is just a sample, not intended for production use. It is meant to demonstrate how to create a CAP plugin and how to use it in your application. It is not optimized for performance or security.
Plug & Play
Following the plug & play principle of CAP plugins, adding this dependency to your project will automatically extend selected definitions in @sap/cds/common, as well as filling your database with enhanced initial data, both of which being applied to your application without any further configuration or coding efforts.
License
Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
History
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:capire-common- JSON
- /artifacts/capire-common.json
- MCP
- Connecting an agent