use of com.hortonworks.streamline.registries.tag.service.TagCatalogResource in project streamline by hortonworks.
the class TestApplication method run.
@Override
public void run(TestConfiguration testConfiguration, Environment environment) throws Exception {
StorageManager storageManager = getCacheBackedDao(testConfiguration);
final TagService tagService = new CatalogTagService(storageManager);
final TagCatalogResource tagCatalogResource = new TagCatalogResource(tagService);
environment.jersey().register(tagCatalogResource);
environment.jersey().register(MultiPartFeature.class);
}
Aggregations