public List<EffectiveServiceSpec> getEffectiveServiceSpec(List<File> serviceSpecFiles, List<File> profileFiles)
            throws HyscaleException {
        Map<String, Entry<String, File>> serviceVsProfile = getDependencyMap(serviceSpecFiles, profileFiles);
        return mergeServiceSpec(serviceSpecFiles, serviceVsProfile);

    }
From List of service specs and profiles create a dependency graph of service to profile
Using service spec files and dependency graph merge service spec and profile to get effective service spec
@param serviceSpecFiles
@param profileFiles
@return List of {@link EffectiveServiceSpec}
@throws HyscaleException
workflow-controller/controller-service/src/main/java/io/hyscale/controller/provider/EffectiveServiceSpecProvider.java