src/frontend/packages/cloud-foundry/src/features/applications/application.service.ts
Function constructAmalgamatedObservables
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private constructAmalgamatedObservables() {
// Assign/Amalgamate them to public properties (with mangling if required)
const appStats = cfEntityCatalog.appStats.store.getPaginationService(this.appGuid, this.cfGuid);
// This will fail to fetch the app stats if the current app is not running but we're
// willing to do this to speed up the initial fetch for a running application.
Function constructCoreObservables
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private constructCoreObservables() {
// First set up all the base observables
this.app$ = this.entityService.waitForEntity$;
const moreWaiting$ = this.app$.pipe(
filter(entityInfo => !!(entityInfo.entity && entityInfo.entity.entity && entityInfo.entity.entity.cfGuid)),
Function constructStatusObservables
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private constructStatusObservables() {
this.isFetchingApp$ = this.entityService.isFetchingEntity$;
this.isUpdatingApp$ = this.entityService.entityObs$.pipe(map(a => {
const updatingRoot = a.entityRequestInfo.updating[rootUpdatingKey] || { busy: false };