messaging

This commit is contained in:
Johannes Vogt
2025-03-21 17:01:16 +01:00
parent 70d7e6ffea
commit e22e1b0d12
4 changed files with 8 additions and 16 deletions

View File

@@ -25,17 +25,7 @@
"kind": "odata",
"model": "@capire/orders"
},
"messaging": {
"[development]": {
"kind": "file-based-messaging"
},
"[hybrid]": {
"kind": "enterprise-messaging-shared"
},
"[production]": {
"kind": "enterprise-messaging"
}
},
"messaging": true,
"db": {
"kind": "sql"
}

View File

@@ -1,7 +1,5 @@
{
"emname": "samples-emname",
"version": "1.1.0",
"namespace": "default/samples/1",
"options": {
"management": true,
"messagingrest": true,
@@ -10,7 +8,7 @@
"rules": {
"topicRules": {
"publishFilter": [
"${namespace}/*"
"*"
],
"subscribeFilter": [
"*"
@@ -18,10 +16,10 @@
},
"queueRules": {
"publishFilter": [
"${namespace}/*"
"*"
],
"subscribeFilter": [
"${namespace}/*"
"*"
]
}
},

View File

@@ -92,3 +92,6 @@ resources:
service: enterprise-messaging
service-plan: default
path: ./event-mesh.json
config:
emname: bookstore-${org}-${space}
namespace: cap/samples/${space}

View File

@@ -12,6 +12,7 @@
},
"cds": {
"requires": {
"messaging": true,
"db": true
}
}