GithubHelp home page GithubHelp logo

isabella232 / cloud-samples-itelo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sap-archive/cloud-samples-itelo

0.0 0.0 0.0 4.68 MB

A sample business application for the application programming model for SAP Cloud Platform showcasing a CDS extension scenario.

License: Apache License 2.0

JavaScript 38.40% Java 44.33% HTML 17.27%

cloud-samples-itelo's Introduction

Important Notice

This public repository is read-only and no longer maintained.

Samples for the Application Programming Model for SAP Cloud Platform

The following samples give you more hands-on practice with the application programming model for SAP Cloud Platform:

Part 3: ITelO Catalog (Extension Scenario)

The ITelO Catalog shows a sample business application implemented by a team of the fictitious company ITelO. This team needed to implement a product catalog. Looking through available CDS reuse models, they found the Product Catalog. As an extra requirement, the team needed to include product reviews as an additional source of information for the editor of the product catalog. Unfortunately, reviews are not modeled in the Product Catalog. Thanks to the application programming model for SAP Cloud Platform they could solve this issue by simply extending the service with additional review entities.

Technically the sample consists of:

  • a CDS model (find more information here)
  • an automatic Java OData V2 exposure extended by individual business logic (find more information here)
  • a UI based on SAP Fiori elements (find more information here).

This application is only an example and not intended for productive use.

Component Overview

Component overview

Requirements

SAP Web IDE Full-Stack access is needed. For more information, see Open SAP Web IDE.

Development in SAP Cloud Platform Web IDE

Read the getting started tutorial to learn more about working with SAP Cloud Platform Web IDE.

Now clone your fork of this repository (File -> Git -> Clone Repository).

Develop, Build, Deploy

To build and deploy your application or modify it and redeploy, use any of the following options:

  • Build and deploy the DB module by choosing Build from the context menu of the db folder.

  • Build and deploy the Java service by choosing Run -> Run as -> Java application from the context menu of the srv folder. To test the service, click the URL displayed in the Run Console. Use the endpoint of the service clouds.products.CatalogService to call $metadata or CRUD requests.

  • Test the UI by choosing Run -> Run as -> SAP Fiori Launchpad Sandbox from the context menu of the app folder. Click on the app tile to launch the application.

Known Issues

  • The read only field Availability is enabled occasionally when creating a new Product.

  • Requesting reviews on the product object page causes a CDSRuntimeException.INTERNAL_ERROR when using SAP HANA 2.0 SPS 0.

  • When running the module "srv" as Java Application the log shows "CfDeployException: Failed to deploy application". In the file "mta.yaml", change all occurrences of "itelo-java" to "srv". Repeat build and run.

Support

This project is being maintained. Please log any issues in the GitHub issues tracking system.

There are no new releases planned at this time.

License

Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.

cloud-samples-itelo's People

Contributors

avizov avatar btbernard avatar chgeo avatar gicalin avatar jonathanbaker7 avatar sbmaier avatar weloli 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.