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.  Defining properties using YAML for Global scoped UDP policy implementation

    Posted 07/04/23 02:51 PM
    Hi...
     
    I have developed a reusable UDP policy in APIC v10.0.5.3 by creating assembly rule in DP and exporting the policy. My UDP has an action which is implemented in Gateway script. I wanted to make it as a global scoped policy and hence I have uploaded the export from Datapower domain directly into API Connect gateway Service. I wanted to define properties in my UDP and use inside the gatewayscript implementation, but I could not find the documentation for publishing YAML when a global scoped policy is defined. I have referred the below IBM documentation site and implemented the Step 2 Option A. Please advise how can I achieve this.
     
    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=apdag-defining-packaging-publishing-global-scoped-policy-api-gateway


    ------------------------------
    Ashok Beshra
    ------------------------------


  • 2.  RE: Defining properties using YAML for Global scoped UDP policy implementation

    Posted 07/06/23 04:28 AM

    Hi Team...

    Please advise how the above requirement can be achieved. Thanks



    ------------------------------
    Ashok Beshra
    ------------------------------



  • 3.  RE: Defining properties using YAML for Global scoped UDP policy implementation

    Posted 07/11/23 05:38 PM

    Hi Ashok, 

    > I wanted to define properties in my UDP and use inside the GatewayScript implementation

    Within the GatewayScript, use context.get('local.parameter') which will return an object of all of your UDP policy properties.

    Best Regards,
    Steve Linn



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------