blob: 89bc370c3bb927bf5e0804dcb67bd0625fea3fd0 (
plain)
1
2
3
4
5
6
7
|
## Velocity template for creating payload getPolicyInstances 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("a1MediatorPolicyInstancesList.[$no]")#if( $foreach.count < $endCntr+1), #end #end]
|