Giter Site home page Giter Site logo

sap-samples / cap-sflight Goto Github PK

View Code? Open in Web Editor NEW
170.0 15.0 118.0 11.23 MB

Using SAP Cloud Application Programming Model and SAP Fiori elements to build a simple travel management app, both with Node.js and Java.

Home Page: https://cap.cloud.sap

License: Apache License 2.0

JavaScript 35.75% HTML 6.08% Java 17.77% CAP CDS 36.00% Shell 4.01% Dockerfile 0.38%
sample sample-code sap-cap sap-fiori sap-fiori-elements

cap-sflight's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cap-sflight's Issues

When deployment actions will be back?

From your comment in .github/workflows/node.js.yml about "temporarily switch off deployment as it consistently fails" , When deployment actions example will be back? Thank you.

CF DEPLOYMENT NEVER WORKS

app gets deployed to cf but not at all in working conditon : {"statusCode":401,"code":"401","message":"Unauthorized"}
can someone please share why am I getting this error?

Deploy to Kyma - Configuration global.domain

Hello CAP Team,

I've just went through the Deployment to SAP Business Technology Platform - Kyma Runtime. One step that I've struggled with was in the configuration step. Where I'm asked to "Change value of global.domain key to your cluster domain.". As the in the file is:

global:
  domain: <your own domain>

a beginner will have trouble to find it. Because searching for global.domain doesn't give any result. Also a good tip would be that the domain can be found at https://dashboard.kyma.cloud.sap/clusters where the part after https://api. is the value that needs to be inserted:

image

Best Regards
Gregor

Unauthorized error on BTP/CF

After cf deploy mta_archives/capire.sflight_1.0.0.mtar when I run the service in BTP, and click any entity it gives a 401 Unauthorized error.

401 Unauthorized

Am I missing some details? Kindly advice.

@rbrechter @stewsk

As this project doesn't provide a standalone approuter you have to subscribe to one of the mentioned services. The cheapest or even free one is the Launchpad Service. You might create a new issue in this project and suggest the addition of a standalone approuter.

    As this project doesn't provide a standalone approuter you have to subscribe to one of the mentioned services. The cheapest or even free one is the Launchpad Service. You might create a new issue in this project and suggest the addition of a standalone approuter.

Originally posted by @gregorwolf in #360 (comment)

Internal Server Error after deployed to HANA DB

dear experts, I tried many times but still have no clue why there is an internal server error issue as screenshot shows.
Screenshot 2024-04-26 at 16 51 09
Once I click "Go" (sorry for Chinese) and the error will come.
The same will come if I click "Create".
I already granted myself the required roles.

CAP SFlight breaks with SAP UI 5 Version 120

When you run SFlight locally or with the current CI you see that UI (tests) don't work anymore. This is due to a bug in UI5 that we can't actively detect as we only have defined a minimum version for UI5. This is OK since we want to always use the latest and greatest. ;)

We should, however, have a regular CI run that would then detect such breakage. โ˜๐Ÿฝ

Travel Analytics UI freezes upon table selection

  1. npm run start
  2. Open travel_analytics FE preview
  3. In the Bookings Table
  • Click on the first-level group header (Airline)
  • Click on the second-hierarchy group header (Booking Status)
    -> Observe that the UI becomes unresponsive and an error is thrown
Log-dbg.js:499  2024-01-05 07:49:55.917800 Unexpected element - Error: Unexpected element
    at Object.beforeOverwritePlaceholder (https://ui5.sap.com/1.120.1/resources/sap/ui/core/library-preload.js:2262:1381)
    at c (https://ui5.sap.com/1.120.1/resources/sap/ui/core/library-preload.js:2256:2922)
    at Array.forEach (<anonymous>)
    at l.addElements (https://ui5.sap.com/1.120.1/resources/sap/ui/core/library-preload.js:2256:3588)
    at https://ui5.sap.com/1.120.1/resources/sap/ui/core/library-preload.js:2256:9542 sap.ui.model.odata.v4.ODataModel

A technical error has occurred with the now default SAPUI5 1.95.0

Hello SAP CAP Team,

yesterday SAPUI5 1.95.0 was made the default in the CDN. when Starting the sample app the following error occurs:

A technical error has occurred.
this._oAppComponent.getRootControl(...).getController(...).getPlaceholder is not a function

Best Regards
Gregor

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.