Coder Social home page Coder Social logo

muhamadnazimabubakar / cloud-enterprise-granny Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sap-archive/cloud-enterprise-granny

0.0 2.0 0.0 2.25 MB

A sample address book application demonstrating the interplay of popular open-source libraries. #cloud-sample

Home Page: http://scn.sap.com/docs/DOC-42001

License: Other

Java 81.15% CSS 1.92% JavaScript 14.35% HTML 2.58%

cloud-enterprise-granny's Introduction

SAP HANA Cloud Platform Samples - enterprise granny

Enterprise Granny is a sample application used to demonstrate how-to develop great cloud applications with the SAP HANA Cloud Platform. Step by step we will enhance this simple demo app and make it enterprise-ready by using open source software and by leveraging some of the capabilities of the platform.

[![Introduction video](http://img.youtube.com/vi/t1rZDX-0PQI/0.jpg)](https://www.youtube.com/watch?v=t1rZDX-0PQI)

Note: The initial source code is a fork of the original Granny's Addressbook application provided by Open Software Integrators.

Quick start

Clone the repo, git clone https://github.com/SAP/cloud-enterprise-granny.git, or download the latest release.

With the introduction of the 2.x branch (which is now the new master branch) the application has been refactored into three modules:

  • a shared enterprise-granny-core module, which contains the domain model and the API,
  • a (micro-) service (provider) called enterprise-granny-service and
  • an exemplary client application called enterprise-granny-client

The later two are both web applications (packaged as WAR files by default) and hence, need to be deployed separately. As the client uses the REST API of the service (provider) one needs to specify the endpoint URL pointing to the API. This is done as described below:

  • SAP HANA Cloud Platform (NEO): Define an HTTP destination with the name Addressbook-Service. The client app comes with an example, which can be found here: destination.properties
  • Cloud Foundry: Define a user-defined environment variable with the name ADDRESSBOOK_SERVICE and the value of the URI, as shown below:
ADDRESSBOOK_SERVICE=https://enterprise-granny-service.cfapps.neo.ondemand.com/api/v1

Please also remember to adjust the declared services within the manifest.yml file as required for your runtime environment!

NOTE: If you intend to deploy this application to a Cloud Foundry landscape provided by SAP or its partners in order to leverage the capabilities of the SAP HANA database platform you need to manually provide the HANA JDBC driver (ngdbc.jar) within the WEB-INF/lib folder.

NOTE: Please note that the application does not run on the Java EE 6 Web profile (2.x) runtime on SAP HANA Cloud Platform due to class loading conflicts with the out-dated javax.validation version used by this runtime!

Table of Content

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, the SAP HANA Cloud Platform -Samples project will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org/

Authors

Matthias Steiner

Copyright and license

Copyright (c) 2013-2015 SAP SE

Except as provided below, this software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.You may obtain a copy of the License at:

[http://www.apache.org/licenses/LICENSE-2.0] (http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


This software includes the following component that is subject to the following terms:

JavaSpringGranny - Granny's Addressbook with Java + Spring MVC + PostgreSQL

Avaiable at [https://github.com/osintegrators/JavaSpringGranny] (https://github.com/osintegrators/JavaSpringGranny)

Copyright (c) 2012 Open Software Integrators

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

cloud-enterprise-granny's People

Contributors

steinermatt avatar rjayasinghe avatar deepdmistry avatar

Watchers

 avatar James Cloos avatar

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.