cds add destination

This commit is contained in:
Johannes Vogt
2025-03-21 17:02:44 +01:00
parent e22e1b0d12
commit 8332be13e1
2 changed files with 10 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ modules:
- name: samples-db - name: samples-db
- name: samples-auth - name: samples-auth
- name: samples-messaging - name: samples-messaging
- name: samples-destination
- name: samples-db-deployer - name: samples-db-deployer
type: hdb type: hdb
@@ -65,6 +66,7 @@ modules:
url: ~{srv-url} url: ~{srv-url}
forwardAuthToken: true forwardAuthToken: true
- name: samples-auth - name: samples-auth
- name: samples-destination
provides: provides:
- name: app-api - name: app-api
properties: properties:
@@ -92,6 +94,11 @@ resources:
service: enterprise-messaging service: enterprise-messaging
service-plan: default service-plan: default
path: ./event-mesh.json path: ./event-mesh.json
config: config:
emname: bookstore-${org}-${space} emname: bookstore-${org}-${space}
namespace: cap/samples/${space} namespace: cap/samples/${space}
- name: samples-destination
type: org.cloudfoundry.managed-service
parameters:
service: destination
service-plan: lite

View File

@@ -52,7 +52,8 @@
}, },
"messaging": { "messaging": {
"kind": "enterprise-messaging" "kind": "enterprise-messaging"
} },
"destinations": true
} }
} }
} }