Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
treff7es committed Feb 16, 2024
1 parent f0cf22e commit 8d911d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.linkedin.common.AuditStamp;
import com.linkedin.common.urn.UrnUtils;
import com.linkedin.entity.client.EntityClient;
import com.linkedin.metadata.entity.EntityServiceImpl;
import com.linkedin.mxe.MetadataChangeProposal;
import io.datahubproject.openlineage.generated.controller.LineageApi;
Expand All @@ -17,7 +16,6 @@
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
Expand All @@ -32,9 +30,9 @@ public class LineageApiImpl implements LineageApi {

@Autowired private RunEventMapper.MappingConfig _mappingConfig;

// @Autowired
//@Qualifier("javaEntityClient")
//private EntityClient _entityClient;
// @Autowired
// @Qualifier("javaEntityClient")
// private EntityClient _entityClient;

@Autowired private EntityServiceImpl _entityService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ public Stream<MetadataChangeProposal> map(
try {
return convertRunEventToJob(runEvent, mappingConfig.getDatahubConfig())
.toMcps(mappingConfig.datahubConfig)
.stream()
.map(
mcp -> {
try {
return eventFormatter.convert(mcp);
} catch (IOException e) {
throw new RuntimeException(e);
}
});
.stream();
} catch (IOException | URISyntaxException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 8d911d1

Please sign in to comment.