minor
This commit is contained in:
parent
115c298da2
commit
3c2c9ea5bd
|
@ -137,7 +137,7 @@ SaveNewDmp(){
|
|||
this.dmp.project = {"id":this.dmp.project};
|
||||
this.dmp["version"] = 1;
|
||||
|
||||
this.serverService.createDmpForProject(this.dmp)
|
||||
this.serverService.createDmpForCurrentUser(this.dmp)
|
||||
.subscribe(
|
||||
response =>{
|
||||
console.log("response");
|
||||
|
|
|
@ -15,15 +15,17 @@ export class RestBase {
|
|||
this.xml2jsonOBJ = new X2JS();
|
||||
}
|
||||
|
||||
/*
|
||||
protocol: string = "http";
|
||||
hostname: string ="dl010.madgik.di.uoa.gr" ;//"localhost";//"dl010.madgik.di.uoa.gr";//
|
||||
port: number = 8080;//8080;//
|
||||
webappname: string = "dmp-backend";//"dmp-backend-new";//
|
||||
*/
|
||||
|
||||
// protocol: string = "http";
|
||||
// hostname: string ="dionysus.di.uoa.gr" ;
|
||||
// port: number = 7070;
|
||||
// webappname: string = "dmp-backend";//"dmp-backend-new";//
|
||||
protocol: string = "http";
|
||||
hostname: string = "dionysus.di.uoa.gr" ;
|
||||
port: number = 7070;
|
||||
webappname: string = "dmp-backend";
|
||||
|
||||
|
||||
proxyPath : string = this.protocol+"://"+this.hostname+":"+this.port+"/"+this.webappname+"/proxy/";
|
||||
|
|
|
@ -105,9 +105,9 @@ export class ServerService {
|
|||
}
|
||||
|
||||
|
||||
public createDmpForProject(data:any){
|
||||
public createDmpForCurrentUser(data:any){
|
||||
debugger;
|
||||
return this.restBase.post("dmp/create", data);
|
||||
return this.restBase.post("dmp/createofuser", data);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue