Skip to content

Commit

Permalink
xsuaa-popup-atservices-in-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenvishal committed Dec 11, 2024
1 parent e001e79 commit 62936e9
Show file tree
Hide file tree
Showing 13 changed files with 1,447 additions and 67 deletions.
36 changes: 36 additions & 0 deletions .cdsrc-private.json
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"
}
}
}
}
}
47 changes: 47 additions & 0 deletions mta.oldyaml
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
Loading

0 comments on commit 62936e9

Please sign in to comment.