Skip to content

Runnable example applications that showcase the usage of the S/4HANA Cloud SDK.

License

Notifications You must be signed in to change notification settings

benhei/cce

 
 

Repository files navigation

CostCenter Controller CF

Build

mvn clean compile

Test

mvn test

Start Local Server

mvn spring-boot:run

Run E2E Tests against Local Server

npm install
ENV_LAUNCH_URL=http://localhost:8080 npm run ci-e2e

Shutdown local Server

curl -X POST localhost:8080/shutdown

Deploy to CF

cf api https://api.cf.eu10.hana.ondemand.com
cf login
mvn clean package && cf push

E2E Tests

Configuration reads hosts from environment, so set URL like this:

export ENV_LAUNCH_URL=https://costcenter-cf-spring-test.cfapps.eu10.hana.ondemand.com
  • Run Tests
npm install
npm run ci-e2e

Edit manifest.yml

  • Host
  • Endpoints
https://costcenter-cf-spring-<space>.cfapps.sap.hana.ondemand.com/index.html

Useful CF Commands

cf logs costcenter-cf-spring --recent

About

Runnable example applications that showcase the usage of the S/4HANA Cloud SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 72.7%
  • JavaScript 24.7%
  • HTML 1.9%
  • Other 0.7%