Skip to content

add java profile in mtx sidecar #1973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions guides/extensibility/feature-toggles.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ The `ModelProviderService`, which is used for toggling features, is implemented

An MTX sidecar is a standard, yet minimalistic Node.js CAP project. By default it's added to a subfolder *mtx/sidecar* within your main project, containing just a *package.json* file:

<div class="impl node">

::: code-group

```json [mtx/sidecar/package.json]
Expand All @@ -267,6 +269,34 @@ An MTX sidecar is a standard, yet minimalistic Node.js CAP project. By default i

:::

</div>


<div class="impl java">

::: code-group

```json [mtx/sidecar/package.json]
{
"name": "mtx-sidecar", "version": "0.0.0",
"dependencies": {
"@sap/cds": "^9",
"@sap/cds-mtxs": "^3",
"express": "^4"
},
"cds": {
"profiles": [
"mtx-sidecar",
"java"
]
}
}
```

:::

</div>

[Learn more about setting up **MTX sidecars**.](../multitenancy/mtxs#sidecars){.learn-more}

### Add Remote Service Link to Sidecar
Expand Down
Loading