API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  CI\CD APIC 2018

    Posted Tue September 08, 2020 11:17 AM
    My question is has anyone had much luck creating a good CI/CD pipeline with API Connect 2018 for full life cycling of APIs.

    We are finding it quite tedious and requiring a "lot" of scripting outside of the platform to make it viable especially with the use of GUIDs everywhere versus friendly names.

    I appreciate you can publish an API / Product with a one liner but in the real world there's so much more to API life cycling and I would like to hear how others are finding this.

    Regards,



    ------------------------------
    Brian
    ------------------------------


  • 2.  RE: CI\CD APIC 2018

    Posted Wed September 09, 2020 02:54 PM
    Hi Brian,

    With v2018 (and v10), API Connect allows you to access resources using their names also, in addition to ids (GUIDs).

    So, for example, instead of `curl https://api.acme.com/api/catalogs/{org-guid}/{catalog-guid}/products`, you can also do `curl https://api.acme.com/api/catalogs/alpha/sandbox/products` - here the assumption is alpha is the name of provider org, and sandbox is the name of the catalog.

    Maybe also take a look at https://github.com/ibm-apiconnect/lifecycle/blob/master/scripts/production-publish.sh to get some ideas?

    Regards,
    Sumanto

    ------------------------------
    SUMANTO Biswas
    ------------------------------



  • 3.  RE: CI\CD APIC 2018

    Posted Wed September 09, 2020 10:52 PM

    Hi Sumanto,

    Thank you for your reply.  We appreciate the ability to replace the guid with catalogs names etc and have taken a look at your github project.

    The scenarios I am mainly talking about is when there is a need replace, superseded, migrate targets and subscribe products.

    Regards,

    Brian



    ------------------------------
    Brian Porter
    ------------------------------



  • 4.  RE: CI\CD APIC 2018

    Posted Wed September 09, 2020 11:05 PM

    Hello Brian,
    Here is a sample Jenkins pipeline for v2018. 

    https://github.com/abhinabsarkar/apiconnect-pipeline-jenkins

    Hope that helps. 



    ------------------------------
    Sila Kissuu
    Technical Account Manager
    IBM Expertise Connect
    ------------------------------