SAP-samples / btp-developer-guide-cap

SAP BTP Developer’s Guide offers developer guidance to software developers on how to implement business applications using SAP Cloud Application Programming Model on SAP BTP Cloud Foundry and SAP BTP Kyma Runtime following the best practices.
Apache License 2.0
38 stars 22 forks source link

Wrong step in Eventing - Run the Application Locally #104

Closed sammok83 closed 9 months ago

sammok83 commented 9 months ago

Hi there,

In this part: Run the Application Locally - Eventing, shouldn't step 2 be the command: cds mock API_BUSINESS_PARTNER

cds watch only gives you services defined in processor-service.cds, whereas srv/external (where API_BUSINESS_PARTNER is defined) won't be shown?

navinkrishnan commented 9 months ago

For Run the Application Locally - Eventing, we want to run both the API_BUSINESS_PARTNER mock and the processor-service in a single process, so the events can be shared using local-messaging. cds watch or cds run --with-mocks will run both the service.