git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@15674 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ed9a0d9210
commit
06e581ed6a
|
@ -130,10 +130,7 @@ public class ModelFactoryService{
|
|||
try{
|
||||
|
||||
ModelerContext pctx= ModelerContext.getPortTypeContext();
|
||||
ModelerResource mr= (ModelerResource) pctx.getWSHome().find(pctx.makeKey(id));
|
||||
|
||||
logger.trace("Deleting resource with id "+id);
|
||||
System.out.println("Deleting resource "+id);
|
||||
//destroy the resource;
|
||||
DBInterface.ExecuteUpdate("DELETE FROM VRE where VRE.id='"+id+"';");
|
||||
pctx.getWSHome().remove(pctx.makeKey(id));
|
||||
|
|
|
@ -420,7 +420,7 @@ public class ModelerService {
|
|||
* @throws RemoteException -
|
||||
*/
|
||||
public void setFunctionality(FunctionalityIDArray request) throws GCUBEFault {
|
||||
System.out.println("Set Functionality called");
|
||||
logger.trace("Set Functionality called");
|
||||
|
||||
try{
|
||||
DBInterface.ExecuteUpdate("DELETE FROM VRERELATEDFUNCT WHERE VRERELATEDFUNCT.vreid='"+getResource().getId()+"';");
|
||||
|
@ -442,7 +442,7 @@ public class ModelerService {
|
|||
}
|
||||
|
||||
DBInterface.insertInto("VRERELATEDFUNCT", values.toArray(new String[0][0]));
|
||||
}else System.out.println("requestFunciotnality is null");
|
||||
}else logger.warn("requestFunciotnality is null");
|
||||
|
||||
if (request.getCsIDElement()!=null)
|
||||
{
|
||||
|
|
|
@ -180,7 +180,6 @@ public class XMLUtil {
|
|||
|
||||
//setting the native MDF
|
||||
for(ModelerCollection key: nativeMetadataFormat.keySet()){
|
||||
System.out.println(key.getId());
|
||||
Element collectionEl= addElements(doc, "Collection", new Element[]{
|
||||
createTextElement(doc,"CollectionID" , key.getId()),
|
||||
createTextElement(doc,"Name" , key.getName()),
|
||||
|
|
Loading…
Reference in New Issue