dependency manager code for discovering runtime microservice dependencies using Apache Curator