-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event Broker: S/4HANA Cloud to CAP #71
base: main
Are you sure you want to change the base?
Conversation
sjvans
commented
Jul 29, 2024
•
edited
Loading
edited
* filling in missing events as found on SAP Business Accelerator Hub | ||
*/ | ||
using { API_BUSINESS_PARTNER as S4 } from './external/API_BUSINESS_PARTNER'; | ||
extend service S4 with { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with ORD, we should create a new service instead of extending the imported one
@@ -28,7 +28,32 @@ class ProcessorService extends cds.ApplicationService { | |||
} | |||
} | |||
|
|||
module.exports = { ProcessorService } | |||
class AdminService extends cds.ApplicationService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as we're not serving service S4
, we can't implement it either (i.e., class S4 extends ...
)
→ implement in AdminService
instead, which is somewhat a hack