086 operationInProgress
This commit is contained in:
+7
-8
@@ -51,7 +51,7 @@
|
||||
|
||||
//variables.framework.docs={};
|
||||
variables.framework.docs.APIName="Deck API";
|
||||
variables.framework.docs.APIVersion="0.085";
|
||||
variables.framework.docs.APIVersion="0.086";
|
||||
|
||||
variables.framework.globalHeaders = structNew();
|
||||
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
||||
@@ -249,12 +249,11 @@
|
||||
//writedump(resp);abort;
|
||||
var prefix = resp.getPrefix();
|
||||
if (prefix.status_code NEQ 200) {
|
||||
writedump(this.iamServiceUrl);
|
||||
writedump(resp);
|
||||
|
||||
abort;
|
||||
|
||||
throw("IDP response not OK");
|
||||
//writedump(this.iamServiceUrl);
|
||||
//writedump(resp);
|
||||
return representationOf( {"iamServiceUrl"=this.iamServiceUrl, "idpResponse"=resp} ).withStatus(500);
|
||||
//abort;
|
||||
//throw("IDP response not OK");
|
||||
}
|
||||
result = prefix.filecontent;
|
||||
//writedump(result);abort;
|
||||
@@ -264,7 +263,7 @@
|
||||
*/
|
||||
//writedump(resp);
|
||||
//return representationOf( {"exception"=e} );
|
||||
return representationOf( {"exception"=e, "idpResponse"=result} ).withStatus(500);
|
||||
return representationOf( {"exception"=e, "idpResponse"=result} ).withStatus(200);
|
||||
}
|
||||
|
||||
//writeDump(result); abort;
|
||||
|
||||
Reference in New Issue
Block a user