Skip to content

Exposing a CAP API to APIM (CF application endpoint to APIM route service) #112

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

Open
agiguere opened this issue Feb 28, 2025 · 5 comments
Open
Assignees
Labels
question Further information is requested

Comments

@agiguere
Copy link

This is a question regarding your documentation about exposing CAP to APIM

We already have licenses of SAP Integration Suite with API Management. We started developing micro-service apps on Cloud Foundry with the SAP Cloud Application Programming model, and we now need to expose an API to a vendor.

CF application build with CAP (aka our OData service V4) can contain many endpoints.

Example: In the same CF application, we could have one endpoint to serve a Fiori App, 1 endpoint to serve a mobile app and 1 endpoint to expose an API to a vendor.

It looks like the solution is SAP APIM Standalone Version on CF with apim-as-route-service,

However we don’t want to redirect all traffic of our 3 endpoints to APIM with the route service, just for a specific endpoint. We want to expose only 1 endpoint of our CF app via a proxy, and we could then give an API key to our vendor to access this API.

Is there a way to achieve this without having to redeploy another CF app with only the endpoint that we want to expose.

thanks

@AjitKP91
Copy link
Contributor

AjitKP91 commented Mar 1, 2025

@agiguere
did you try using --path parameter?

Image

@AjitKP91 AjitKP91 self-assigned this Mar 1, 2025
@agiguere
Copy link
Author

agiguere commented Mar 2, 2025

thanks @AjitKP91 this is exactly what I was looking for

quick question: as per the documentation
If you’re a new user, you can't subscribe to the API Management, API portal service independently anymore. To provide a comprehensive integration experience, API Management is only available as a capability of the SAP Integration Suite.

we already have a landscape of SAP Integration Suite however this is not the landscape where we develop micro services like in this example: As per the requirement, APIM API Portal needs to be in the same CF space

will it duplicates cost?

alex

@AjitKP91
Copy link
Contributor

AjitKP91 commented Mar 3, 2025

@agiguere Yes it will

@AjitKP91 AjitKP91 added the question Further information is requested label Mar 4, 2025
@AjitKP91 AjitKP91 closed this as completed Mar 5, 2025
@agiguere
Copy link
Author

agiguere commented Mar 5, 2025

@AjitKP91 thanks for the help

what happens if our SAP Integration Suite tenants (test & prod) are configured on different subaccounts, however I can add the Entitlement to my subaccount for API Management, API portal, from our Global Account it say

This service is deprecated. While you can still use it until your contract reaches its next renewal point or expires, SAP strongly recommends that you use an alternative service that meets your business needs.

thanks

@alperdedeoglu alperdedeoglu reopened this Mar 5, 2025
@AjitKP91
Copy link
Contributor

@agiguere
The recommended approch is to use API management capability within SAP Integration Suite.
Usage of the deprecated service may cause issues later (even though you are able to add the entitlement).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants