DataPower

 View Only
  • 1.  REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 10:32 AM
    Hello Folks,

    Does anyone have a doc with the step-by-step implementation of Datapower's API Gateway?
    Something like publishing an API? Either manually or by Swagger

    Thanks

    ------------------------------
    Kettullyn Silva
    ------------------------------


  • 2.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 10:35 AM
    You mean you want to do publish without APIC?

    ------------------------------
    Ivan Heninger
    ------------------------------



  • 3.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 10:44 AM
    Yes, I want to publish an external API.
    API Gateway -> API Definition.

    ------------------------------
    Silvio Silva
    ------------------------------



  • 4.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 10:48 AM
    While technically possible, it is a lot more complicated than an apigw and an api-definition object.  This is also not supported and not documented.

    ------------------------------
    Ivan Heninger
    ------------------------------



  • 5.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 10:57 AM
    So I need to connect the Datapower API Gateway to the APIC? this seems redundant to me.

    ------------------------------
    Silvio Silva
    ------------------------------



  • 6.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 11:01 AM
    Not really connect apigw to APIC no. 

    APIC provisions the apigw for you along with provisioning all the dependencies.  The APIC is used to configure the DP including apigw and all the required objects

    ------------------------------
    Ivan Heninger
    ------------------------------



  • 7.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 11:08 AM
    So is it possible for me to publish my API external to datapower without using API Connect?

    ------------------------------
    Silvio Silva
    ------------------------------



  • 8.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Tue October 11, 2022 11:19 AM
    No, not in practical terms and it is also not supported.

    ------------------------------
    Ivan Heninger
    ------------------------------



  • 9.  RE: REST API Publishing to API Gateway in DataPower with Swagger or Manual

    Posted Wed October 12, 2022 10:12 AM
    Silvio to stress what Ivan's stated. Although it MIGHT be possible, if you did this approach (and it can't be with an OpenAPI document) the configuration would be "unsupported". For clarity about API management with the API gateway.
    • The only object that a customer should ever configure on DataPower is the API Connect gateway service (and its referenced objects).
    • The configuration of the API gateway service (shown in previous figures) and its referenced objects allow changes on DataPower, but they are deleted by publish from API Connect.
    • To configure an API, you need to build it with API Connect -- in their GUI or as an OpenAPI file (as their documentation describes). When you configure a specific policy (that maps to an DataPower assembly action), there can be different supported properties based on policy version.
    • When API Connect doesn't support a property in their assembly editor (that saves as an OpenAPI file) or manual create/edit this file, you can use the API Connect gateway extension approach. Note that these gateway extension are defined by using DataPower command scripts.

    Therefore if you interpret the previous bullets correctly, what you're asking can be done and supported. However, all this requires integration with API Connect.



    ------------------------------
    F Hackerman
    ------------------------------