-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manual merge into a single main branch
- Loading branch information
1 parent
6721295
commit a432178
Showing
506 changed files
with
15,553 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"alignAfterKey": true, | ||
"alignAnnotations": true, | ||
"alignPreAnnotations": true, | ||
"alignPostAnnotations": true, | ||
"alignColonsInAnnotations": true, | ||
"alignValuesInAnnotations": true, | ||
"alignActionsAndFunctions": true, | ||
"alignActionNames": true, | ||
"alignActionReturns": true, | ||
"alignAs": true, | ||
"alignAsInEntities": true, | ||
"alignAsInSelectItems": true, | ||
"alignAsInUsing": true, | ||
"alignExpressionsAndConditions": true, | ||
"alignExprAndCondWithinBlock": true, | ||
"alignTypes": true, | ||
"alignColonsBeforeTypes": true, | ||
"alignEqualsAfterTypes": true, | ||
"alignTypesWithinBlock": true, | ||
"alignCompositionStructToRight": true, | ||
"cqlKeywordCapitalization": "lower", | ||
"keepPreAnnotationsInOriginalLine": "keepLine", | ||
"keepPostAnnotationsInOriginalLine": "keepLine", | ||
"keepEmptyBracketsTogether": true, | ||
"keepSingleLinedBlocksTogether": true, | ||
"keepOriginalEmptyLines": true, | ||
"maxKeepEmptyLines": 2, | ||
"openingBraceInNewLine": false, | ||
"selectInNewLine": true, | ||
"tabSize": 2, | ||
"finalNewline": true, | ||
"maxDocCommentLine": 60, | ||
"whitespaceBeforeColon": true, | ||
"whitespaceBeforeColonInAnnotation": false, | ||
"whitespaceAfterColon": true, | ||
"whitespaceAfterColonInAnnotation": true, | ||
"whitespaceAfterComma": true, | ||
"whitespaceAroundAlignedOps": true, | ||
"whitespaceAroundBinaryOps": true, | ||
"whitespaceWithinBrackets": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"features": { | ||
"fetch_csrf": true | ||
}, | ||
"requires": { | ||
"[production]": { | ||
"OP_API_BUSINESS_PARTNER_SRV": { | ||
"kind": "odata-v2", | ||
"model": "srv/external/OP_API_BUSINESS_PARTNER_SRV", | ||
"credentials": { | ||
"destination": "BusinessPartner", | ||
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER", | ||
"requestTimeout": 1000000 | ||
} | ||
} | ||
}, | ||
"[hybrid]": { | ||
"OP_API_BUSINESS_PARTNER_SRV": { | ||
"kind": "odata-v2", | ||
"model": "srv/external/OP_API_BUSINESS_PARTNER_SRV", | ||
"credentials": { | ||
"destination": "BusinessPartner", | ||
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER", | ||
"requestTimeout": 1000000 | ||
} | ||
} | ||
}, | ||
"OP_API_BUSINESS_PARTNER_SRV": { | ||
"kind": "odata-v2", | ||
"model": "srv/external/OP_API_BUSINESS_PARTNER_SRV" | ||
} | ||
}, | ||
"[development]": { | ||
"auth": { | ||
"passport": { | ||
"strategy": "mock", | ||
"users": { | ||
"bp-viewer": { | ||
"password": "123", | ||
"ID": "bp-viewer" | ||
}, | ||
"bp-admin": { | ||
"password": "123", | ||
"ID": "bp-admin", | ||
"roles": ["BPAdmin"] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"[hybrid]": { | ||
"auth": { | ||
"passport": { | ||
"strategy": "mock", | ||
"users": { | ||
"bp-viewer": { | ||
"password": "123", | ||
"ID": "bp-viewer" | ||
}, | ||
"bp-admin": { | ||
"password": "123", | ||
"ID": "bp-admin", | ||
"roles": ["BPAdmin"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*node_modules* | ||
gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"root": false, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@sap/cds/recommended" | ||
], | ||
"env": { | ||
"node": true, | ||
"es6": true, | ||
"jest": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"ecmaFeatures": { | ||
"experimentalObjectRestSpread": true | ||
} | ||
}, | ||
"globals": { | ||
"SELECT": true, | ||
"INSERT": true, | ||
"UPDATE": true, | ||
"DELETE": true, | ||
"CREATE": true, | ||
"DROP": true, | ||
"cds": true | ||
}, | ||
"rules": { | ||
"no-console": "warn", | ||
"require-atomic-updates": "off", | ||
"@typescript-eslint/no-namespace": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# CAP BusinessPartnerVerification | ||
_out | ||
*.db | ||
connection.properties | ||
default-*.json | ||
gen/* | ||
node_modules/ | ||
target/ | ||
resources/ | ||
dist/ | ||
*.zip | ||
*package-lock.json | ||
|
||
# Web IDE, App Studio | ||
.che/ | ||
.gen/ | ||
|
||
# MTA | ||
*_mta_build_tmp | ||
*.mtar | ||
mta_archives/ | ||
.vscode/settings.json | ||
Makefile* | ||
|
||
# Other | ||
.DS_Store | ||
*.orig | ||
*.log | ||
|
||
*.iml | ||
*.flattened-pom.xml | ||
|
||
# IDEs | ||
# .vscode | ||
# .idea | ||
|
||
# added by cds deploy | ||
default-env.json | ||
|
||
# auto generated wildcard | ||
.env* | ||
*businesspartners-content.zip | ||
# added by cds bind | ||
.cdsrc-private.json | ||
|
||
mochawesome-report/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Project configuration | ||
general: | ||
pipeline: 'sap-cloud-sdk' # this line is mandatory | ||
buildTool: 'mta' # or 'npm' | ||
|
||
# Stages configuration | ||
stages: | ||
Build: | ||
npmExecuteLint: true # true, if you want to run a lint check that verifies the syntax of your JavaScript code | ||
|
||
Additional Unit Tests: | ||
npmExecuteScripts: true | ||
|
||
Release: | ||
cloudFoundryDeploy: true # true, if you want to deploy to Cloud Foundry. If you set this parameter to true, the CloudFoundryDeploy step is mandatory | ||
tmsUpload: false # true if you want to upload your artifact to SAP Cloud Transport Management. If you set this parameter to true, the tmsUpload step is mandatory | ||
|
||
# Steps configuration | ||
steps: | ||
npmExecuteLint: | ||
failOnError: false # true, if you want your pipeline to fail, if the lint check reveals any errors | ||
|
||
npmExecuteScripts: # only relevant, if you set the npmExecuteScripts parameter in the Additional Unit Tests stage to true | ||
runScripts: | ||
- test | ||
|
||
mtaBuild: | ||
buildTarget: 'CF' | ||
extensions: 'live.mtaext' # live.mtaext for BTP Live landscape or trial.mtaext for BTP Trial Account | ||
mtaBuildTool: 'cloudMbt' | ||
|
||
cloudFoundryDeploy: # only relevant, if you set the cloudFoundryDeploy parameter in the Release stage to true | ||
cloudFoundry: | ||
credentialsId: 'cf-credential' | ||
apiEndpoint: 'https://api.cf.eu10-004.hana.ondemand.com/' # for example, https://api.cf.eu10.hana.ondemand.com | ||
org: 'tfe-dev-eu10-004' # your cloud foundry org name | ||
space: 'dev' # your cloud foundry space name | ||
mtaDeployParameters: '-f --version-rule ALL' | ||
|
||
# tmsUpload: # only relevant, if you set the tmsUpload parameter in the Release stage to true | ||
# nodeName: 'QA' | ||
# credentialsId: 'tms' | ||
# customDescription: 'TMS Upload' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"trailingComma": "none", | ||
"singleQuote": true, | ||
"printWidth": 4000, | ||
"semi": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "DEBUG=hana cds-ts watch --profile hybrid", | ||
"name": "cds-ts watch", | ||
"request": "launch", | ||
"type": "node-terminal", | ||
"skipFiles": ["<node_internals>/**"], | ||
"envFile": "${workspaceFolder}/.env" | ||
}, | ||
{ | ||
"command": "DEBUG=sqlite cds-ts watch --with-mocks --in-memory", | ||
"name": "cds-ts in memory", | ||
"request": "launch", | ||
"type": "node-terminal", | ||
"skipFiles": ["<node_internals>/**"] | ||
}, | ||
{ | ||
"command": "DEBUG=sqlite ts-mocha tests/general.spec.ts --timeout 1500000", | ||
"name": "ts-mocha tests/general.spec.ts --timeout 15000", | ||
"request": "launch", | ||
"type": "node-terminal", | ||
"skipFiles": ["<node_internals>/**"] | ||
}, | ||
{ | ||
"name": "Attach to a Cloud Foundry Instance on Port 9229", | ||
"port": 9229, | ||
"request": "attach", | ||
"type": "node", | ||
"localRoot": "${workspaceFolder}", | ||
"remoteRoot": "/home/vcap/app" | ||
}, | ||
{ | ||
"command": "npm run start:wdi5", | ||
"name": "npm run wdi5", | ||
"request": "launch", | ||
"type": "node-terminal", | ||
"skipFiles": ["<node_internals>/**"] | ||
} | ||
] | ||
} |
Oops, something went wrong.