import org.simantics.db.layer0.adapter.SubgraphExtent.ExtentStatus;
import org.simantics.db.layer0.util.ConsistsOfProcess.ConsistsOfProcessEntry;
import org.simantics.db.layer0.util.ModelTransferableGraphSourceRequest.Expansion3;
+import org.simantics.db.layer0.util.TransferableGraphConfiguration2.SeedSpec;
+import org.simantics.db.layer0.util.TransferableGraphConfiguration2.SeedSpec.SeedSpecType;
import org.simantics.db.service.CollectionSupport;
import org.simantics.db.service.SerialisationSupport;
import org.simantics.db.service.TransferableGraphSupport;
strongInverseSet = cs.createSet();
for(Map.Entry<Resource, ExtentStatus> entry : conf.preStatus.entrySet()) {
+ // INTERNAL prestatus shall be ignored. Domain processor will initialize statuses based on seeds.
+ if (entry.getValue().equals(ExtentStatus.INTERNAL)) continue;
status.put(entry.getKey(), entry.getValue());
}
+ for(SeedSpec ss : conf.seeds) {
+ if(SeedSpecType.INTERNAL.equals(ss.specType)) continue;
+ // Non-internal resources are not reported as internals by ConsistsOfProcess so they are manually entered into fringe
+ fringe.add(ss.resource);
+ // Roots are classified in status as INTERNAL
+ status.put(ss.resource, ExtentStatus.INTERNAL);
+ }
+
if(PROFILE)
startupTime += System.nanoTime();