Git Product home page Git Product logo

Comments (9)

i850899 avatar i850899 commented on August 16, 2024

At least one SAP customer developed a Git pipeline with Jenkins for transport of APIM content between landscapes. Was quite nifty in fact.

from apibusinesshub-api-recipes.

Srinu3366 avatar Srinu3366 commented on August 16, 2024

Any pointers on how they accomplished it?

The only option I see is downloading the content manually and then adding it to a repository. We want to make it more developer friendly than asking to manually do it.

from apibusinesshub-api-recipes.

aadinigam avatar aadinigam commented on August 16, 2024

We have APIs available for SAP Cloud Platform API Management that can be used to create automation

Specifically in this case i believe the Transport APIs will help

from apibusinesshub-api-recipes.

Srinu3366 avatar Srinu3366 commented on August 16, 2024

We are able to make some progress getting the API Proxy and add it to git repo from a pipeline. Now we are facing an issue with POST to deploy the API to new sub-account. It is giving 403 error. I am able to import the API from the UI but getting error while trying with POST method in Transport API.

Anyone faced same issue?

from apibusinesshub-api-recipes.

Srinu3366 avatar Srinu3366 commented on August 16, 2024

How to get the value of virtualhost for an API Management tenant?

from apibusinesshub-api-recipes.

Srinu3366 avatar Srinu3366 commented on August 16, 2024

It worked now. We updated the build script to get csrf token and send it with POST along with the session cookie.

We have a high level CI/CD pipeline working now.

Thanks for your inputs. Closing the issue now.

from apibusinesshub-api-recipes.

subitb avatar subitb commented on August 16, 2024

Hi Srinu3366

@Srinu3366 Could you please elaborate this steps to bit further.Did you use Transport APIs for creating Jenkins pipeline.So Could please elaborate each step in this process bit more elaborately as I am looking for the same situation.

Kind Regards
Subit Benny

from apibusinesshub-api-recipes.

Srinu3366 avatar Srinu3366 commented on August 16, 2024

Hi Srinu3366

@Srinu3366 Could you please elaborate this steps to bit further.Did you use Transport APIs for creating Jenkins pipeline.So Could please elaborate each step in this process bit more elaborately as I am looking for the same situation.

Kind Regards
Subit Benny

Are you still looking for the solution?

We created a node.js script to download the API Proxy details and then developer manually commits and pushes to a git repository. Then we have a pipeline to validate the API Proxy using postman tests and then deploy using another node.js script.

from apibusinesshub-api-recipes.

Tis89 avatar Tis89 commented on August 16, 2024

Hi Srinu3366,
@Srinu3366 did you solve you 403 Error with setting the csrf token or did you also set the session cookie. By setting the csrf token we get the same error in jenkins, when we try the same post with postman it works.

Thank you and Kind regards

Tim

from apibusinesshub-api-recipes.

Related Issues (9)

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.