This commit is contained in:
Fabio Sinibaldi 2022-12-06 16:46:12 +01:00
parent ec0b826313
commit de8ed2a811
1 changed files with 8 additions and 7 deletions

View File

@ -181,6 +181,7 @@ public class SDIMaterializerPlugin extends AbstractPlugin implements Materializa
log.debug("Found matching {} ",s);
RegisteredFileSet registeredFileSet=Serialization.convert(wrapper.getByPath(s).get(0),RegisteredFileSet.class);
List<Object> toKeep = new ArrayList<>();
if(registeredFileSet.getMaterializations()!=null)
for(Object matObj : registeredFileSet.getMaterializations()){
Materialization mat = Serialization.convert(matObj,Materialization.class);
if(mat.getType().equals(GCubeSDILayer.GCUBE_SDY_LAYER_TYPE)) {