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.  Plan description during subscription

    Posted Thu July 25, 2024 02:49 PM

    Hi ,

    I am trying to understand during subscription process i see this "Gold: Free subscription for unlimited calls" but "Free subscription for unlimited calls" is not there on the plans sections of Product YAML so wondering from where this is coming as it is confusing for the consumer. Please let me know how we show the actual description.



    ------------------------------
    Syed Imtiyaz Alam
    ------------------------------


  • 2.  RE: Plan description during subscription

    Posted Tue July 30, 2024 04:41 AM

    Hi,

    Plans are defined in the Product, you can edit them as you see fit. This can be done either by rewriting the yaml manually or by using the API Manager UI or API Designer UI. Once updated the Product can be either re-published using the "Preserve Subscriptions" tag either via the UI or using CI/CD commands (APIs or Toolkit) or using the Replace functionality which also migrates the Subscriptions.

    IBM Docs links to explain all this (and more):
    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-editing-draft-product#task_gtq_prh_t2b__product_defaut_plans

    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-product-lifecycle

    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-publishing-draft-product

    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=product-replacing-another

    https://apic-api.apiconnect.ibmcloud.com/v10/10.0.5.LATEST.html#/documentation/introduction
    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=applications-working-toolkit

    NB: please make sure when editing Products that any publishing method preserves the Subscriptions as described above.



    ------------------------------
    Nick Cawood
    API Connect Consultant
    IBM Expert Labs
    IBM UK Ltd

    https://www.linkedin.com/in/nickcawood/
    ------------------------------



  • 3.  RE: Plan description during subscription

    Posted Tue September 03, 2024 05:29 PM

    maybe I was not clear during my initial question. I will try my best

    so In product YAML file , i have below plan. Please see the title or the description

    ---------------

    plans:
      Gold:
        title: Gold
        description: Gold Plan
        approval: true
        rate-limit:
          value: 100/hour
          hard-limit: false

    --------------------------------------

    when this is Published and consumer is trying to subscribe to the plan. this is what they see below. 1st pc is good as per the YAML and when they move forward after selecting

    see below , not sure from where this text is coming "Free subscription for unlimited calls" because this is not present on YAML.
    So I am trying to get rid of this text because this is misleading to consumer.


    ------------------------------
    Syed Imtiyaz Alam
    ------------------------------



  • 4.  RE: Plan description during subscription

    Posted Wed September 04, 2024 01:24 AM

    That's in the developer portal and it means free because some plans are monetised.

    you would need to look at customising the portal with a custom theme that overrides that twig template or similar - as a warning this might not be simple! It could be a lot of work to go to just to change one string.



    ------------------------------
    Chris Dudley
    ------------------------------



  • 5.  RE: Plan description during subscription

    Posted Fri September 06, 2024 05:00 PM

    So are you suggesting that whatever the plan we setup under the product, that string will always be there. I tried checking the drupal code where this string and was not able find it.



    ------------------------------
    Syed Imtiyaz Alam
    ------------------------------