{"id":16163393,"url":"https://github.com/gregorwolf/epmbp-consumer-app-java","last_synced_at":"2026-02-21T10:02:51.240Z","repository":{"id":40935845,"uuid":"242167552","full_name":"gregorwolf/epmbp-consumer-app-java","owner":"gregorwolf","description":"EPM Business Partner - Consumer App - Java","archived":false,"fork":false,"pushed_at":"2023-12-21T21:58:08.000Z","size":667,"stargazers_count":0,"open_issues_count":9,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T15:37:43.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregorwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-21T15:13:40.000Z","updated_at":"2021-12-29T10:49:52.000Z","dependencies_parsed_at":"2023-12-21T22:47:35.299Z","dependency_job_id":null,"html_url":"https://github.com/gregorwolf/epmbp-consumer-app-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregorwolf/epmbp-consumer-app-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fepmbp-consumer-app-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fepmbp-consumer-app-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fepmbp-consumer-app-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fepmbp-consumer-app-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/epmbp-consumer-app-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fepmbp-consumer-app-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T02:35:27.259Z","updated_at":"2026-02-21T10:02:51.220Z","avatar_url":"https://github.com/gregorwolf.png","language":"Java","readme":"# EPM Business Partner - Consumer App Java\n\nThis example application is still work in progress. It should demonstrate how to use a custom built OData Service with the SAP Cloud SDK for Java and the SAP Cloud Application Programming Model. And that with authentication and principal propagation. So that the service in the ABAP Backend is called not with a technical user, but with the user that was authenticated in the SAP Cloud Platform.\n\nWith the help of [Marcel Merkle](https://people.sap.com/marcelmerkle) who answered the question [JWT not recognized by xsuaa-spring-boot-starter](https://answers.sap.com/answers/12996856/view.html) the authenticated call to the Java service module is now working. The on premise backend call using the approuter also works. And thanks to the answer provided by [Alexander Duemont](https://people.sap.com/alexander.duemont) in [Principal Propagation is not working in the latest version of SAP Cloud SDK](https://stackoverflow.com/questions/60257397/principal-propagation-is-not-working-in-the-latest-version-of-sap-cloud-sdk/60449186#60449186) now also the call to the on premise backend works with principal propagation.\n\n## Run local\n\nTo run against the local mock service [epmbp-mock-service](https://github.com/gregorwolf/epmbp-mock-service) you have to set the environment variable destinations:\n\n```bash\n#!/bin/bash\nexport destinations='[{name: \"S4H_CC\", url: \"http://localhost:3000\"}]'\n```\n\nThe authentication data is maintained in the file **srv/src/main/resources/application.yaml**\n\nThen execute:\n\n`npm run setup`\n\nFollowed by:\n\n`npm start`\n\n## Deploy to SAP Cloud Platform - Cloud Foundry\n\n### Prerequisite\n\n- You have a [SAP Cloud Platform Trial account](https://hanatrial.ondemand.com/)\n- The [Cloud MTA Build Tool (MBT)](https://sap.github.io/cloud-mta-build-tool/) is installed\n- The [Cloud Foundry command line tool](https://docs.cloudfoundry.org/cf-cli/install-go-cli.html) is installed\n- The [MultiApps CF CLI Plugin](https://github.com/cloudfoundry-incubator/multiapps-cli-plugin) is installed\n- You've connected using `cf login` to your trial account\n- You've connected a SAP Cloud Connector to your subaccount\n- Principal Propagation is setup in the Cloud Connector to the ABAP Backend\n\n### Preperation\n\nBefore you can deploy the application to your Cloud Foundry account two destinations must be created. Please find here what I've used in my environment:\n\nDestination NPL used by the approuter and SAP Cloud SDK:\n\n```\nURL=http\\://npl752.virtual\\:44300\nName=NPL\nProxyType=OnPremise\nType=HTTP\nsap-client=001\nAuthentication=PrincipalPropagation\n```\n\n### Build\n\n`npm run build:cf`\n\n### Deploy\n\n`npm run deploy:cf`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fepmbp-consumer-app-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fepmbp-consumer-app-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fepmbp-consumer-app-java/lists"}