Skip to content

Commit

Permalink
cds add local-multitenancy + alice is subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvans committed Mar 11, 2024
1 parent 26beb62 commit 679dc57
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
19 changes: 19 additions & 0 deletions mtx/sidecar/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "incidents-mtx",
"dependencies": {
"@sap/cds": "^7",
"@sap/cds-hana": "^2",
"@sap/cds-mtxs": "^1.9",
"@sap/xssec": "^3",
"express": "^4"
},
"devDependencies": {
"@cap-js/sqlite": "^1"
},
"scripts": {
"start": "cds-serve"
},
"cds": {
"profile": "mtx-sidecar"
}
}
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@sap/cds": ">=7",
"@sap/cds-mtxs": "^1.9",
"express": "^4"
},
"devDependencies": {
Expand All @@ -39,7 +40,9 @@
"reset": "read -p 'This will irreversibly reset your working directory including ALL files in this git repo. Continue?' -n 1 -r && echo && if [[ $REPLY =~ ^[Yy]$ ]]; then git clean -fd && git reset --hard && npm i; fi"
},
"jest": {
"modulePathIgnorePatterns": ["<rootDir>/xmpls/"]
"modulePathIgnorePatterns": [
"<rootDir>/xmpls/"
]
},
"sapux": [
"app/incidents"
Expand All @@ -52,7 +55,8 @@
"alice": {
"roles": [
"support",
"admin"
"admin",
"cds.Subscriber"
]
},
"bob": {
Expand All @@ -62,8 +66,12 @@
}
}
}
},
"[local-multitenancy]": {
"multitenancy": true
}
}
},
"profile": "with-mtx-sidecar"
},
"private": true
}

0 comments on commit 679dc57

Please sign in to comment.