messaging
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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}/*"
|
||||
"*"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
3
mta.yaml
3
mta.yaml
@@ -92,3 +92,6 @@ resources:
|
||||
service: enterprise-messaging
|
||||
service-plan: default
|
||||
path: ./event-mesh.json
|
||||
config:
|
||||
emname: bookstore-${org}-${space}
|
||||
namespace: cap/samples/${space}
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
},
|
||||
"cds": {
|
||||
"requires": {
|
||||
"messaging": true,
|
||||
"db": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user