Giter VIP home page Giter VIP logo

sap-samples / btp-developer-guide-cap Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 16.0 30.36 MB

SAP BTP Developer’s Guide offers developer guidance to software developers on how to implement business applications using SAP Cloud Application Programming Model on SAP BTP Cloud Foundry and SAP BTP Kyma Runtime following the best practices.

License: Apache License 2.0

cloud-foundry kyma sap-cap sap-hana sample sample-code sap-btp

btp-developer-guide-cap's Introduction

SAP BTP Developer's Guide

REUSE status

Overview

The goal of the SAP BTP Developer’s Guide is to help you implement business applications on SAP BTP. The SAP BTP Developer's Guide explains the building blocks for developing, delivering, and integrating business applications. Development projects for business applications have similar characteristics. Standardized development guidance is driving developer efficiency. The Incident Management sample application is a showcase of the SAP Cloud Application Programming Model (CAP) and adheres to the development recommendations set out in the SAP BTP Developer’s Guide. Best practices are documented in step-by-step tutorials based on the Incident Management application for learning how to develop, deploy, and operate a full-stack application using CAP and SAP Fiori. The tutorials also show how to use a set of important SAP BTP services in a CAP application.

Business Scenario

The Incident Management application uses the following sample business scenario:

ACME is a popular Electronics company. ACME hires call center support representatives to process and manage customer incidents. A call center support representative (Processor) receives a phone call from an existing customer and creates a new incident on behalf of the customer. The newly created incident is based on a customer complaint received during the phone call so the call center support representative also adds the conversation with the customer to the incident.

Solution Diagram

Solution Diagram

Tutorials

The tutorials are organized in the following way.

Known Issues

No known issues.

How to Obtain Support

In case you find a bug, or you need additional support, please open an issue in this GitHub repository.

License

Copyright (c) 2023 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.

btp-developer-guide-cap's People

Contributors

amitsahu01 avatar cherians avatar diya-dhan avatar ekaterina-mitova avatar gopalanand333 avatar manevav avatar ospo-bot[bot] avatar sap-ospo-bot avatar shankarigr avatar singhabhi1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btp-developer-guide-cap's Issues

Remote Service Mock - Working fine with local mock server when testing locally but not working after deploying to BTP

I've done all all the steps and pre-requisites of
https://github.com/SAP-samples/btp-developer-guide-cap/blob/main/documentation/remote-service/remote-service-mock-cf.md

Tested Locally with the mock server and everything is working fine.
However after deploying it to CF on BTP, the connection to the external service (mock server) did not work. This when querying the Customer dropdown:
image

Error as below:
**--batch_id-1708430817172-490
content-type: application/http
content-transfer-encoding: binary

HTTP/1.1 502 undefined
odata-version: 4.0
content-type: application/json;odata.metadata=minimal;IEEE754Compatible=true

{"error":{"code":"502","message":"Error during request to remote service: \nRequest failed with status code 404"}}
--batch_id-1708430817172-490--**

Mock Server destination define and working fine:
image

Querying is working fine too with the URL defined in the destination:
image

Credentials defined in package.json:
image

Messaging - deploy failed when deploying to CF

For the link below:

Prepare the Project for Production

I'm getting errors when trying to deploy the incident management messaging service instance. Followed the steps as per instructions and validated that the generated code were correct.
However upon doing a cf deploy, I'm getting this error:
image

image
It's of type type: org.cloudfoundry.managed-service, so it should be created automatically, if not there already:
image

Set Entitlement in BTP Trial like so:
image

Also tried with these 2 configs, but both are not working:
image
image

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.