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

remove Azure specific impl now it is in core

parent e520d293
No related branches found
No related tags found
1 merge request!60Indexer to read from Schema Service as well as Storage Schema
Pipeline #20374 failed
package org.opengroup.osdu.indexer.azure.di;
import org.opengroup.osdu.indexer.service.IndexSchemaServiceImpl;
import org.opengroup.osdu.indexer.service.SchemaService;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import javax.inject.Inject;
import java.io.UnsupportedEncodingException;
import java.net.URISyntaxException;
@Primary
@Service
public class IndexSchemaServiceOverrideImpl extends IndexSchemaServiceImpl {
private final SchemaService schemaService;
@Inject
public IndexSchemaServiceOverrideImpl(SchemaService schemaService) {
this.schemaService = schemaService;
}
protected String getSchema(String kind) throws URISyntaxException, UnsupportedEncodingException {
return this.schemaService.getSchema(kind);
}
}
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