Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions files/runtime-values.yaml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ serviceInstances:
parameters:
appName: {{appName}}
commercialAppName: {{appName}}
displayName: ({{appName}})
description: ({{appDescription}})
displayName: {{appName}}
description: {{appDescription}}
category: CAP
appCallbacks:
dependenciesCallbacks:
Expand Down
1,752 changes: 815 additions & 937 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"devDependencies": {
"chai": "^5",
"mocha": "^11",
"nyc": "^17",
"sinon": "^20"
"nyc": "^18",
"sinon": "^21"
},
"scripts": {
"test": "mocha --timeout 20000",
Expand Down
2 changes: 1 addition & 1 deletion test/add-check.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('cds add cap-operator canRun method test', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop`, { cwd: temp })
execSync(`cds init bookshop --nodejs`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
2 changes: 1 addition & 1 deletion test/add-services.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('cds add cap-operator', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop --add xsuaa,html5-repo,destination`, { cwd: temp })
execSync(`cds init bookshop --nodejs --add xsuaa,html5-repo,destination`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
2 changes: 1 addition & 1 deletion test/add.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('cds add cap-operator', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
execSync(`cds init bookshop --nodejs --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
2 changes: 1 addition & 1 deletion test/build-services.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('cds build', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop --add xsuaa,html5-repo,destination`, { cwd: temp })
execSync(`cds init bookshop --nodejs --add xsuaa,html5-repo,destination`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
2 changes: 1 addition & 1 deletion test/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('cds build', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
execSync(`cds init bookshop --nodejs --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
2 changes: 1 addition & 1 deletion test/cap-op-plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('cap-op-plugin', () => {
await tempUtil.cleanUp()
temp = await tempUtil.mkTempFolder()
bookshop = join(temp, 'bookshop')
execSync(`cds init bookshop --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
execSync(`cds init bookshop --nodejs --add multitenancy,approuter,xsuaa,html5-repo,destination`, { cwd: temp })
updateDependency(bookshop)
execSync(`npm install`, { cwd: bookshop })
setupHack(bookshop)
Expand Down
4 changes: 2 additions & 2 deletions test/files/expectedChart/runtime-values-ias.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ serviceInstances:
parameters:
appName: bkshop
commercialAppName: bkshop
displayName: (bkshop)
description: (A simple CAP project.)
displayName: bkshop
description: bkshop
category: CAP
appCallbacks:
dependenciesCallbacks:
Expand Down
2 changes: 1 addition & 1 deletion test/files/expectedChart/runtime-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serviceInstances:
xsappname: bkshop
appName: bkshop
displayName: bkshop
description: A simple CAP project.
description: bkshop
appUrls:
getDependencies: https://bem-aad-sadad-123456789012.bkshop.c-abc.kyma.ondemand.com/callback/v1.0/dependencies
onSubscription: https://cap-op.c-abc.kyma.ondemand.com/provision/tenants/{tenantId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ serviceInstances:
parameters:
appName: bkshop
commercialAppName: bkshop
displayName: (bkshop)
description: (A simple CAP project.)
displayName: bkshop
description: bkshop
category: CAP
appCallbacks:
dependenciesCallbacks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serviceInstances:
xsappname: bkshop
appName: bkshop
displayName: bkshop
description: A simple CAP project.
description: bkshop
appUrls:
getDependencies: https://bem-aad-sadad-123456789012.bkshop.c-abc.kyma.ondemand.com/callback/v1.0/dependencies
onSubscription: https://cap-op.c-abc.kyma.ondemand.com/provision/tenants/{tenantId}
Expand Down
2 changes: 1 addition & 1 deletion test/files/runtime-values-of-simple-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ serviceInstances:
xsappname: bkshop
appName: bkshop
displayName: bkshop
description: A simple CAP project.
description: bkshop
appUrls:
getDependencies: https://bem-aad-sadad-123456789012.bkshop.c-abc.kyma.ondemand.com/callback/v1.0/dependencies
onSubscription: https://cap-op.c-abc.kyma.ondemand.com/provision/tenants/{tenantId}
Expand Down
Loading