Skip to content
Snippets Groups Projects
Commit 07e71753 authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

add Lazy

parent a209055a
No related branches found
No related tags found
1 merge request!60Indexer to read from Schema Service as well as Storage Schema
Pipeline #18738 failed
......@@ -26,6 +26,7 @@ import org.opengroup.osdu.indexer.schema.converter.interfaces.SchemaToStorageFor
import org.opengroup.osdu.indexer.service.SchemaService;
import org.opengroup.osdu.indexer.service.StorageService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import javax.inject.Inject;
......@@ -38,6 +39,7 @@ import java.nio.charset.StandardCharsets;
* Provides implementation of the client service that retrieves schemas from the Schema Service
*/
@Component
@Lazy
public class SchemaServiceImpl implements SchemaService {
@Inject
private JaxRsDpsLog log;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment