mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[MIGRATION] - Ok this is really weird
This commit is contained in:
parent
0d071be1c4
commit
6c3dd1f14b
@ -19,7 +19,6 @@
|
|||||||
"superagent": "^9.0.1",
|
"superagent": "^9.0.1",
|
||||||
"tslib": "^2.6.1"
|
"tslib": "^2.6.1"
|
||||||
},
|
},
|
||||||
"main": "./index.js",
|
|
||||||
"typings": "./typings/index.d.ts",
|
"typings": "./typings/index.d.ts",
|
||||||
"module": "./esm5/index.js",
|
"module": "./esm5/index.js",
|
||||||
"es2015": "./esm2015/index.js"
|
"es2015": "./esm2015/index.js"
|
||||||
|
@ -22,7 +22,6 @@ import { ApiService } from '../../../shared/api/api.service';
|
|||||||
import { ApiUtil } from '../../../shared/api/api.util';
|
import { ApiUtil } from '../../../shared/api/api.util';
|
||||||
|
|
||||||
export class Application {
|
export class Application {
|
||||||
|
|
||||||
requestApiHelper: E2eRequestApiHelper;
|
requestApiHelper: E2eRequestApiHelper;
|
||||||
endPoint = `/deployment-service/v1/applications/`;
|
endPoint = `/deployment-service/v1/applications/`;
|
||||||
|
|
||||||
@ -57,6 +56,7 @@ export class Application {
|
|||||||
return this.requestApiHelper.delete(`${this.endPoint}${applicationName}`);
|
return this.requestApiHelper.delete(`${this.endPoint}${applicationName}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Logger.error(`[Application] Undeploy application ${applicationName} failed with error: ${error.message}`);
|
Logger.error(`[Application] Undeploy application ${applicationName} failed with error: ${error.message}`);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return ApiUtil.waitForApi(apiCall, isApplicationUndeployed, 10, 3000);
|
return ApiUtil.waitForApi(apiCall, isApplicationUndeployed, 10, 3000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user