8000 GitHub - smsap/spring-hana-cloud-foundry: Spring boot application to consume HANA service on SAP CP
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

smsap/spring-hana-cloud-foundry

8000
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Hana-Cloud-Foundry

This is a sample spring boot application that makes use of SAP HANA Service on SAP Cloud Platform (Cloud Foundry). The accompanying blog series talks about the configuration needed on the SCP side.

Requirements

Installation

  • Clone repo -

    git clone https://github.com/boudhayan-dev/spring-hana-cloud-foundry
    
  • For local -

    mvn clean install -P local
    
    • Run the app -
    java -jar target/spring-hana-cloud-foundry-0.0.1-SNAPSHOT.war
    
  • For Cloud Foundry -

    mvn clean install -P cf
    
    • Deploy the app -
    cf push
    

Test

To test the application, use the following routes -

METHOD ROUTE DESCRIPTION
GET /employee/count Count of total employees
GET /employee/all Returns all employees
GET /employee/id/{id} Returns employee with id
POST /employee/add Add new employee
DELETE /employee/delete/{id} Delete employee with id

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%
0