fixes defect #1918
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@13585 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ba9f3738e8
commit
fbef17f745
|
@ -49,7 +49,7 @@ INSERT INTO PORTLETRELTOFUNCT VALUES(0,'searchGUI#Search')
|
|||
INSERT INTO PORTLETRELTOFUNCT VALUES(0,'collectionsnavigator#CollectionsNavigatorPortlet')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(0,'newresultset#newresultset')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(0,'Metadata_Viewing_Portlet#Metadata_Viewing_Portlet')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(0,'VRE InformationSpace Editor#VREInformationSpaceEditorPortlet')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(0,'VREInformationSpaceEditor#VREInformationSpaceEditorPortlet')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(12,'quicksearchportlet#QuickSearchPortlet')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(12,'newresultset#newresultset')
|
||||
INSERT INTO PORTLETRELTOFUNCT VALUES(12,'Metadata_Viewing_Portlet#Metadata_Viewing_Portlet')
|
||||
|
|
|
@ -370,7 +370,6 @@ public class DeployVRE extends Thread{
|
|||
try {
|
||||
vreManagerHandler.run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
logger.error("DeployingVRE step 2 -- failed "+e);
|
||||
throw new GCUBEFault(e);
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ public abstract class VREManagerServiceHandler<T, P> extends GCUBEServiceHandler
|
|||
|
||||
@Override
|
||||
protected List<EndpointReferenceType> findInstances() throws Exception {
|
||||
System.out.println("findinstance called");
|
||||
logger.info("findinstance called");
|
||||
try{
|
||||
ISClient client = GHNContext.getImplementation(ISClient.class);
|
||||
GCUBERIQuery query = client.getQuery(GCUBERIQuery.class);
|
||||
|
@ -61,7 +61,7 @@ public abstract class VREManagerServiceHandler<T, P> extends GCUBEServiceHandler
|
|||
for (GCUBERunningInstance instance : client.execute(query, scope))
|
||||
eprs.add(instance.getAccessPoint().getEndpoint("gcube/vremanagement/VREManager"));
|
||||
return eprs;
|
||||
}catch(Exception e){e.printStackTrace(); throw e;}
|
||||
}catch(Exception e){logger.error(e); throw e;}
|
||||
}
|
||||
|
||||
protected abstract T makeCall(VREManagerPortType mbportType) throws Exception;
|
||||
|
|
|
@ -97,7 +97,7 @@ public class LayoutCreation {
|
|||
|
||||
Element informationSpaceFrame = XMLUtil.createTextElement(doc, "frame", null,new Couple<String, String>("can-modify", "false"), new Couple<String, String>("inner-padding", ""), new Couple<String, String>("label", "") ,new Couple<String, String>("outer-padding", ""),new Couple<String, String>("required-role", ""),new Couple<String, String>("style", ""),new Couple<String, String>("transparent", "true"),new Couple<String, String>("visible", "true"),new Couple<String, String>("width", "") );
|
||||
|
||||
Element informationSpacePortlet= XMLUtil.createTextElement(doc, "portlet-class", "VRE InformationSpace Editor#VREInformationSpaceEditorPortlet");
|
||||
Element informationSpacePortlet= XMLUtil.createTextElement(doc, "portlet-class", "VREInformationSpaceEditor#VREInformationSpaceEditorPortlet");
|
||||
|
||||
informationSpaceFrame.appendChild(informationSpacePortlet);
|
||||
informationSpaceColumn.appendChild(informationSpaceFrame);
|
||||
|
|
Loading…
Reference in New Issue