Search in sources :

Example 1 with TagService

use of com.hortonworks.streamline.registries.tag.service.TagService 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);
}
Also used : CatalogTagService(com.hortonworks.streamline.registries.tag.service.CatalogTagService) TagService(com.hortonworks.streamline.registries.tag.service.TagService) CacheBackedStorageManager(com.hortonworks.registries.storage.CacheBackedStorageManager) StorageManager(com.hortonworks.registries.storage.StorageManager) CatalogTagService(com.hortonworks.streamline.registries.tag.service.CatalogTagService) TagCatalogResource(com.hortonworks.streamline.registries.tag.service.TagCatalogResource)

Aggregations

CacheBackedStorageManager (com.hortonworks.registries.storage.CacheBackedStorageManager)1 StorageManager (com.hortonworks.registries.storage.StorageManager)1 CatalogTagService (com.hortonworks.streamline.registries.tag.service.CatalogTagService)1 TagCatalogResource (com.hortonworks.streamline.registries.tag.service.TagCatalogResource)1 TagService (com.hortonworks.streamline.registries.tag.service.TagService)1