@Override
    public List<DeploymentStatus> buildStatus(List<V1Deployment> deploymentList) {
        if (deploymentList == null) {
            return Collections.emptyList();
        }
        List<DeploymentStatus> statuses = new ArrayList<>();
        deploymentList.stream().forEach(each -> {
            DeploymentStatus deployStatus = buildStatus(each);
            if (deployStatus != null) {
                statuses.add(deployStatus);
            }
        });
        return statuses;
    }
@param deploymentList
@return list of service names from label of deployment
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/handler/impl/V1DeploymentHandler.java