Skip to content

Commit

Permalink
remove commented code, fix smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Jan 21, 2025
1 parent c5aa15f commit 292e524
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3108,17 +3108,6 @@ private void configureDataProcessInstanceResolvers(final RuntimeWiring.Builder b
? dataProcessInstance.getDataPlatformInstance().getUrn()
: null;
}))
// .dataFetcher(
// "platform",
// new LoadableTypeResolver<>(
// dataPlatformType,
// (env) -> {
// final DataProcessInstance dataProcessInstance =
// env.getSource();
// return dataProcessInstance.getPlatform() != null
// ? dataProcessInstance.getPlatform().getUrn()
// : null;
// }))
.dataFetcher("parentContainers", new ParentContainersResolver(entityClient))
.dataFetcher(
"container",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ public DataProcessInstance apply(
DataPlatformInstance dataPlatformInstance = new DataPlatformInstance(dataMap);
dataProcessInstance.setDataPlatformInstance(
DataPlatformInstanceAspectMapper.map(context, dataPlatformInstance));
// DataPlatform dataPlatform = new DataPlatform();
// dataPlatform.setUrn(dataPlatformInstance.getPlatform().toString());
// dataPlatform.setType(EntityType.DATA_PLATFORM);
// dataProcessInstance.setPlatform(dataPlatform);
});
mappingHelper.mapToResult(
SUB_TYPES_ASPECT_NAME,
Expand Down
13 changes: 0 additions & 13 deletions smoke-test/tests/cypress/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -1798,19 +1798,6 @@
},
"systemMetadata": null
},
{
"auditHeader": null,
"entityType": "dataProcessInstance",
"entityUrn": "urn:li:dataProcessInstance:c39d6e424c70a1b3e8982535c68b5b5888",
"entityKeyAspect": null,
"changeType": "UPSERT",
"aspectName": "dataPlatformInstance",
"aspect": {
"json": {
"platform": "urn:li:dataPlatform:airflow"
}
}
},
{
"auditHeader": null,
"proposedSnapshot": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,6 @@ def test_search_dpi(auth_session, ingest_cleanup_data):
name
}
}
platform {
urn
name
properties {
type
}
}
subTypes {
typeNames
}
Expand Down

0 comments on commit 292e524

Please sign in to comment.