[SDC] update configuration template in chef os
[sdc.git] / catalog-fe / src / test / resources / CI / originalResources / scripts / apache_start_detection.groovy
1 import org.cloudifysource.dsl.utils.ServiceUtils
2
3 println "apache_start_detection.groovy: port http=${PORT} ..."
4 def isPortOccupied = ServiceUtils.isPortOccupied(Integer.parseInt(PORT))
5 println "apache_start_detection.groovy: isPortOccupied http=${PORT} ... ${isPortOccupied}"
6 return isPortOccupied