Giter Club home page Giter Club logo

spring-cloud-sap's Introduction

Important Notice

SAP has decided to stop the maintenance of this open source project and hence it'll soon be sunsetted and archived.

Going forward, please look at SAP Cloud Platform Appliation Programming Model as the recommended approach to develop cloud applications with SAP Cloud Platform.

Spring Cloud Connector for SAP Cloud Platform

This project provides Cloud Connectors for SAP Cloud Platform to be used in conjunction with the other connectors of the Spring Cloud project. More specifically, it adds SAP Cloud Platfom as an alternative runtime environment supported by Spring Cloud.

For more information regarding Cloud Connectors please refer to the respective documentation:

The project contains three submodules:

Getting Started

The connectors are written for Maven; simply include the appropriate dependencies for your build system.

Including cloud connectors

Include the connector for each cloud platform you want to be discoverable. Including multiple connectors is perfectly fine; each connector will determine whether it should be active in a particular environment.

<!-- to use Spring Cloud for development -->
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-localconfig-connector</artifactId>
    <version>1.2.0.RELEASE</version>
</dependency>

<!-- If you intend to deploy your app to a Cloud Foundry environment within SAP HCP-->
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-cloudfoundry-connector</artifactId>
    <version>1.2.0.RELEASE</version>
</dependency>
<dependency>
    <groupId>com.sap.hana.cloud</groupId>
    <artifactId>spring-cloud-cloudfoundry-hana-service-connector</artifactId>
    <version>1.0.4.RELEASE</version>
</dependency>

<!-- If you intend to deploy the app to SAP HANA Cloud Platform-->
<dependency>
    <groupId>com.sap.hana.cloud</groupId>
    <artifactId>spring-cloud-sap-connector</artifactId>
    <version>1.0.4.RELEASE</version>
</dependency>

Spring applications

Add the spring-service-connector in addition to your cloud connectors:

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-spring-service-connector</artifactId>
	<version>1.2.0.RELEASE</version>
</dependency>

Sample application

A simple sample application is provided here: https://github.com/SAP/cloud-hello-spring-cloud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.