generated from SAP-samples/cloud-sdk-team-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e001e79
commit 62936e9
Showing
13 changed files
with
1,447 additions
and
67 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,36 @@ | ||
{ | ||
"requires": { | ||
"[hybrid]": { | ||
"auth": { | ||
"binding": { | ||
"type": "cf", | ||
"apiEndpoint": "https://api.cf.us10-001.hana.ondemand.com", | ||
"org": "HR Crowd Pty Ltd_demo-5ld47ydi", | ||
"space": "dev", | ||
"instance": "my-xsuaa", | ||
"key": "default", | ||
"resolved": false | ||
}, | ||
"kind": "xsuaa-auth", | ||
"vcap": { | ||
"name": "auth" | ||
} | ||
}, | ||
"destinations": { | ||
"binding": { | ||
"type": "cf", | ||
"apiEndpoint": "https://api.cf.us10-001.hana.ondemand.com", | ||
"org": "HR Crowd Pty Ltd_demo-5ld47ydi", | ||
"space": "dev", | ||
"instance": "my-destination", | ||
"key": "destination", | ||
"resolved": false | ||
}, | ||
"kind": "destinations", | ||
"vcap": { | ||
"name": "destinations" | ||
} | ||
} | ||
} | ||
} | ||
} |
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,47 @@ | ||
_schema-version: '3.1' | ||
ID: sv-demo | ||
version: 1.0.0 | ||
description: "Team Calender app using the SAP Cloud SDK and CAP" | ||
parameters: | ||
enable-parallel-deployments: true | ||
build-parameters: | ||
before-all: | ||
- builder: custom | ||
commands: | ||
- node dist/index.js | ||
modules: | ||
- name: sv-demo | ||
type: nodejs | ||
path: deployment/ | ||
parameters: | ||
memory: 256M | ||
start-command: node dist/index.js | ||
buildpack: nodejs_buildpack | ||
routes: | ||
-route: sv-demo.cfapps.us10-001.hana.ondemand.com | ||
build-parameters: | ||
builder: npm-ci | ||
provides: | ||
- name: sv-demo_api # required by consumers of CAP services (e.g. approuter) | ||
properties: | ||
srv-url: ${default-url} | ||
requires: | ||
- name: my-xsuaa | ||
- name: my-destination | ||
|
||
resources: | ||
- name: my-xsuaa | ||
type: org.cloudfoundry.managed-service | ||
parameters: | ||
service: xsuaa | ||
service-plan: application | ||
path: ./xs-security.json | ||
config: | ||
xsappname: my-xsuaa | ||
tenant-mode: dedicated | ||
- name: my-destination | ||
type: org.cloudfoundry.managed-service | ||
parameters: | ||
service: destination | ||
service-plan: lite | ||
service-name: my-destination |
Oops, something went wrong.