Project GS Workspace
This commit is contained in:
parent
5731c855ac
commit
08c334b624
|
@ -92,7 +92,7 @@ public class SDIMaterializerPlugin implements MaterializationPlugin {
|
|||
log.info("Materializer {} : Performing {} ",this.getDescriptor().getId(),request);
|
||||
ProfiledDocument profiledDocument=request.getDocument();
|
||||
Profile profile = request.getProfile();
|
||||
Document requestArguments=request.getParameters();
|
||||
Document requestArguments=request.getCallParameters();
|
||||
Document profileConfiguration =null;
|
||||
for (HandlerDeclaration h : profile.getHandlers()) {
|
||||
if (h.getId().equals("SDI-Default-Materializer")) {
|
||||
|
@ -131,6 +131,10 @@ public class SDIMaterializerPlugin implements MaterializationPlugin {
|
|||
requestArguments.putIfAbsent("layerTitle",fs.getString(requestArguments.getString("titleField")));
|
||||
else requestArguments.putIfAbsent("layerTitle",fs.getUUID());
|
||||
|
||||
//Add FS uuid at ws_baseName
|
||||
requestArguments.put("workspace",request.getMandatory("workspace")+"_"+ profiledDocument.get_id());
|
||||
|
||||
// Actually materializing
|
||||
RegisteredFileSet obtained = getSDIManager().materializeLayer(fs,requestArguments);
|
||||
log.debug("Obtained {} ",obtained);
|
||||
documentNavigator.setElement("$..[?(@.uuid == '"+fs.getUUID()+"')]",obtained);
|
||||
|
|
Loading…
Reference in New Issue