summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/velocity/a1Mediator-get-policies.vtl
blob: 8282c7b6f14e796d69141d939b6fa656868c64ef (plain)
1
2
3
4
5
6
7
## Velocity template for creating payload getPolicyTypes response
#set($begCntr=0)
#set($endCntr=0)
#set($entries=$ctx.getAttribute("a1MediatorRsp._length"))
#set($endCntr=$endCntr.parseInt($entries))
#set( $endCntr = $endCntr - 1)
[#foreach($no in [$begCntr..$endCntr])$ctx.getAttribute("a1MediatorList.[$no]")#if( $foreach.count < $endCntr+1), #end #end]