Skip to content
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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Event Broker: S/4HANA Cloud to CAP #71

wants to merge 15 commits into from

Conversation

sjvans
Copy link
Contributor

@sjvans sjvans commented Jul 29, 2024

Screenshot 2024-08-05 at 23 07 25

@sjvans sjvans changed the title [wip] event broker Event Broker: S/4HANA Cloud to CAP Aug 5, 2024
* 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 {
Copy link
Contributor Author

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 {
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant