Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Templates to allow users to connect to BTP services via sap cloud SDK libraries #387

Open
kwiatekus opened this issue Oct 30, 2023 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Oct 30, 2023

Description

Introduce function template(s) to help kyma users write functions which interact with BTP-injected services
It would work best if a user could pick which service (detected based on injected secrets) and the secret would be automatically configured as a volume mount. Function template should include importing the SAP cloud SKD libraries together with code sample demonstrating the usage.

Reasons

Kyma has many examples, blueprints and blogs describing how to consume services via BTP-manager injected secrets using cloud sdks maintaned by SAP. However, we are missing a dedicated function templates giving the users the good starting point to develop functions in combination with SAP services.

Usage examples

Attachments
https://blogs.sap.com/2023/02/06/power-of-serverless-with-sap-btp-kyma-runtime.-secrets-mounted-as-volumes./
https://blogs.sap.com/2022/07/12/the-new-way-to-consume-service-bindings-on-kyma-runtime/

@kwiatekus kwiatekus added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 30, 2023
@ptesny
Copy link

ptesny commented Nov 28, 2023

There is also this blogpost:
https://blogs.sap.com/2023/07/28/sap-configurepricequote-cpq-apis-with-resilience-with-sap-btp-kyma-runtime/

which offers code snippets with the serverless and the cloud-sdk using the built-in resilience when calling BTP services and the resilience I implemented when calling the target LOB application.
In this use case the target SAP LOB is SAP CPQ - Configure Price Quote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants