SAP-samples / cloud-espm-cloud-native

Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Apache License 2.0
39 stars 41 forks source link

A issue when cf push #16

Closed lijinchi closed 2 years ago

lijinchi commented 2 years ago

Hi. because i want run in my trial acount,so i keep the common and customer-service module. then i change the manifest.yml、mta.yml and properites to use HANAdb, finally it crashed. Field customerRepository in com.sap.refapps.espm.service.CustomerServiceImpl required a bean named 'entityManagerFactory' that could not be found.

this is manifest.yml

yml

properites image

and the recent logs image image image

lijinchi commented 2 years ago

the configuration about hanacloud have certificates but datasource didnt config this, for example hdi_user,how can I use it?

shankarigr commented 2 years ago

@lijinchi , are you running Customer service locally or you deploying it to CF? Properties file is not required while deploying to CF. It is only required when you run application locally. can you please elaborate the changes you have made?