gatewaytimeout while creating package programatically in AEMasCS
Dear Developers/Architects,
I was trying to create packages programatically in AEM, it fetchs given page's path and page's reffrences like xf paths and dampaths(more than 1500 dampaths), i combined content path and xf path in seprate package(package-0). when comes to dampath i splited the dampath in to 300 dampath/package and tried to create packages(package-1,package-2 & viceversa..). when i ran this code in my local aem instance, i was able to create spilt of packages(combined (xf & content paths) package and split of dampath packages) without any issues. when i deploy the code on AEMasCS, im getting gateway timeout issue. Kindly let us know your suggestion on this...

java code if the dampath more than 300

