public ApplicationSpecification createApplicationSpec() {
for (co.cask.cdap.api.service.Service service : servicesToCreate) {
addService(new ServiceTwillApplication(service, name));
}
return new DefaultApplicationSpecification(name, description, streams,
dataSetModules, dataSetInstances,
flows, procedures, mapReduces, sparks, workflows, services);
}