{"id":21451139,"url":"https://github.com/soontao/cp-spring-boot-starter","last_synced_at":"2026-02-27T23:15:38.373Z","repository":{"id":37172925,"uuid":"89567243","full_name":"Soontao/cp-spring-boot-starter","owner":"Soontao","description":"Yep, this project could run correctly on the SCP","archived":false,"fork":false,"pushed_at":"2024-08-26T16:08:10.000Z","size":90,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-23T04:19:06.779Z","etag":null,"topics":["scp","spring"],"latest_commit_sha":null,"homepage":"https://wiki.fornever.org/#!cloud/cloud_foundry/cf-of-SAP.md","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Soontao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-27T07:13:09.000Z","updated_at":"2020-02-26T09:37:15.000Z","dependencies_parsed_at":"2023-01-20T17:35:04.543Z","dependency_job_id":null,"html_url":"https://github.com/Soontao/cp-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcp-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcp-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcp-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soontao%2Fcp-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soontao","download_url":"https://codeload.github.com/Soontao/cp-spring-boot-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235280747,"owners_count":18964453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["scp","spring"],"created_at":"2024-11-23T04:18:23.844Z","updated_at":"2025-10-04T16:31:29.614Z","avatar_url":"https://github.com/Soontao.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAP SCP Spring Boot demo\n\n![Snapshot Build](https://github.com/Soontao/cp-spring-boot-starter/workflows/Snapshot%20Build/badge.svg)\n\nJust a spring boot application could run on the SAP cloud platform\n\n## development\n\nclone and import project as maven project, run as web application in SAP tomcat 8 (default).\n\nentry is `/rest`, with spring data rest APIs, swagger-ui.html will enable in `http://localhost:9999/swagger-ui.html`\n\nbefore run locally, pls enable maven `h2` and `log` profile in IDE.\n\ndefault user is `admin/password`, project disabled csrf token \u0026 set option frame as same origin.\n\n**PLEASE REMEMBER** enable spring profile `-Dspring.profiles.active=dev` to use local embedded h2 db in project directory\n\n* h2 db management `http://localhost:9999/h2-console`, jdbc url: `jdbc:h2:file:./local;DB_CLOSE_ON_EXIT=FALSE`\n* login path `http://localhost:9999/login`\n* swagger ui `http://localhost:9999/swagger-ui.html`\n* simple api `localhost:9999/api/v1/available`\n\n## test\n\ntest with dev profile (local h2 db \u0026 logger)\n\n```bash\nmvn test -Dspring.profiles.active=dev -Ph2,log\n```\n\nand code coverage report will be generated in `cp-spring-boot-starter/target/jacoco-report-ui/index.html`\n\n\n## build package\n\nbuild war package, skip tests\n\n```bash\nmvn clean package -Dmaven.test.skip=true\n```\n\n## deploy\n\npackage and upload `.war` file to SCP\n\nstart with VM parameter\n\n```text\n-Dspring.profiles.active=neo\n```\n\n## sentry log\n\nif you want run application with sentry, just enable `sentry` profile in environment, and \n\n## Profiles\n\n### spring profiles \n\nenable by `-Dspring.profiles.active=p1,p2`\n\n* security - enable spring security with user/role and basic auth\n* sentry - enable sentry log platform, edit the `DSN` link in `sentry.property`\n* neo - enable neo platform features (key store/HANA Connection)\n* cors_all - enable cors for all requests\n\n### maven profile \n\n* h2 - embedded database for local development\n* log - slf4j api for standalone deployment \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fcp-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoontao%2Fcp-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoontao%2Fcp-spring-boot-starter/lists"}