spring-cloud / spring-cloud-dataflow-ui

Compare 5e8a4a7 ... +0 ... 02f1988

Coverage Reach
app/streams/components/flo/editor.service.ts app/streams/components/flo/support/view-helper.ts app/streams/components/flo/support/utils.ts app/streams/components/flo/support/node-helper.ts app/streams/components/flo/support/layout.ts app/streams/components/flo/support/shapes.ts app/streams/components/flo/text-to-graph.ts app/streams/components/flo/graph-to-text.ts app/streams/components/flo/render.service.ts app/streams/components/flo/metamodel.service.ts app/streams/components/flo/properties/stream-properties-dialog.component.ts app/streams/components/flo/properties/stream-properties-source.ts app/streams/components/flo/node/node.component.ts app/streams/components/flo/message-rate/message-rate.component.ts app/streams/components/flo/content-assist.service.ts app/streams/components/flo/instance-dot/instance-dot.component.ts app/streams/components/stream-graph-definition/stream-graph-definition.component.ts app/streams/components/stream-status/stream-status.component.ts app/streams/components/stream-history-status/stream-status.component.ts app/streams/stream-deploy/builder/builder.component.ts app/streams/stream-deploy/builder/errors/errors.component.ts app/streams/stream-deploy/stream-deploy.component.ts app/streams/stream-deploy/stream-deploy.service.ts app/streams/stream-deploy/stream-deploy.validator.ts app/streams/stream-deploy/free-text/free-text.component.ts app/streams/stream-deploy/app-properties/app-properties.component.ts app/streams/streams/streams.component.ts app/streams/streams/deployment-properties/deployment-properties.component.ts app/streams/streams/deployment-properties-info/deployment-properties-info.component.ts app/streams/stream-create/create-dialog/create-dialog.component.ts app/streams/stream-create/stream-create.component.ts app/streams/stream/stream.component.ts app/streams/stream/history/stream-history.component.ts app/streams/stream/graph/stream-graph.component.ts app/streams/stream/summary/stream-summary.component.ts app/streams/streams.service.ts app/streams/model/stream-metrics.ts app/streams/model/stream-history.ts app/streams/model/stream-definition.ts app/streams/model/stream-deploy-config.ts app/streams/streams-destroy/streams-destroy.component.ts app/streams/streams-deploy/streams-deploy.component.ts app/streams/streams-undeploy/streams-undeploy.component.ts app/shared/services/parser.ts app/shared/services/tokenizer.ts app/shared/services/shared-about.service.ts app/shared/services/shared-apps.service.ts app/shared/services/routing-state.service.ts app/shared/services/group-route.service.ts app/shared/services/logger.service.ts app/shared/services/notification.service.ts app/shared/services/parser.service.ts app/shared/components/truncator/truncator.component.ts app/shared/components/truncator/truncator-width-provider.directive.ts app/shared/components/truncator/trail-position-type.model.ts app/shared/components/list/list-bar.component.ts app/shared/components/list/list-row-actions.component.ts app/shared/components/list/list-pagination.component.ts app/shared/components/list/list-empty.component.ts app/shared/components/list/list-no-result.component.ts app/shared/components/list/list.component.ts app/shared/components/kv-rich-text/kv-rich-text.component.ts app/shared/components/kv-rich-text/kv-rich-text.validator.ts app/shared/components/http-loader/http-loader.service.ts app/shared/components/http-loader/http-loader.interceptor.ts app/shared/components/http-loader/http-loader.component.ts app/shared/components/page/page-head-back.component.ts app/shared/components/page/page.component.ts app/shared/components/page/page-actions.component.ts app/shared/components/page/page-head-actions.component.ts app/shared/components/page/page-head.component.ts app/shared/components/page/page-head-subtitle.component.ts app/shared/components/page/page-head-title.component.ts app/shared/components/pager/pager.component.ts app/shared/components/confirm/confirm.service.ts app/shared/components/confirm/confirm.component.ts app/shared/components/master-checkbox.component.ts app/shared/components/sort/sort.component.ts app/shared/components/tabs.component.ts app/shared/components/blocker/blocker.service.ts app/shared/components/blocker/blocker.component.ts app/shared/components/modal/modal-abstract.ts app/shared/components/shared.interface.ts app/shared/components/loader/loader.component.ts app/shared/components/dsl/dsl.component.ts app/shared/model/about/security-info.model.ts app/shared/model/about/feature-info.model.ts app/shared/model/about/about-info.model.ts app/shared/model/about/runtime-environment-details.model.ts app/shared/model/about/grafana.model.ts app/shared/model/about/dependency.model.ts app/shared/model/about/runtime-environment.model.ts app/shared/model/about/version-info.model.ts app/shared/model/audit-record.model.ts app/shared/model/detailed-app-registration.model.ts app/shared/model/page.ts app/shared/model/app-registration.model.ts app/shared/model/error-handler.ts app/shared/model/platform.ts app/shared/model/error.model.ts app/shared/model/app-version.ts app/shared/model/application-type.ts app/shared/model/index.ts app/shared/model/pagination/page-request.model.ts app/shared/flo/support/app-metadata.ts app/shared/flo/support/properties-group-model.ts app/shared/flo/support/shared-shapes.ts app/shared/flo/support/graph-node-properties-source.ts app/shared/flo/support/utils.ts app/shared/flo/support/shape-component.ts app/shared/flo/properties-groups/properties-groups-dialog.component.ts app/shared/flo/properties/properties-dialog.component.ts app/shared/flo/handle/handle.component.ts app/shared/flo/graph-view/graph-view.component.ts app/shared/flo/decoration/decoration.component.ts app/shared/directives/auto-resize.directive.ts app/shared/directives/layout-type.directive.ts app/shared/directives/focus.directive.ts app/shared/pipes/orderby.pipe.ts app/shared/pipes/search-filter.pipe.ts app/shared/pipes/dataflow-date-time.pipe.ts app/shared/pipes/truncate.pipe.ts app/shared/pipes/dataflow-duration.pipe.ts app/shared/pipes/capitalize.pipe.ts app/shared/shared.module.ts app/shared/grafana/grafana.service.ts app/shared/grafana/grafana.module.ts app/shared/support/encoder.utils.ts app/shared/support/object.utils.ts app/shared/support/http.utils.ts app/shared/support/date-time.utils.ts app/tasks/components/flo/editor.service.ts app/tasks/components/flo/render.service.ts app/tasks/components/flo/metamodel.service.ts app/tasks/components/flo/support/layout.ts app/tasks/components/flo/support/shapes.ts app/tasks/components/flo/tools.service.ts app/tasks/components/flo/properties/task-properties-dialog-component.ts app/tasks/components/flo/properties/task-properties-source.ts app/tasks/components/flo/node/node.component.ts app/tasks/components/flo/model/models.ts app/tasks/components/flo/task-graph-view/task-graph-view.component.ts app/tasks/components/flo/content-assist.service.ts app/tasks/components/tasks-tabulation/tasks-tabulation.component.ts app/tasks/components/task-status/task-status.component.ts app/tasks/task-definition/schedules/task-definition-schedules.component.ts app/tasks/task-definition/task-definition.component.ts app/tasks/task-definition/executions/task-definition-executions.component.ts app/tasks/task-definition/summary/task-summary.component.ts app/tasks/task-definitions/task-definitions.component.ts app/tasks/task-definition-create/task-definition-create.component.ts app/tasks/task-definition-create/create-dialog/create-dialog.component.ts app/tasks/task-schedules/task-schedules.component.ts app/tasks/task-schedules/task-schedules.filter.ts app/tasks/tasks.service.ts app/tasks/task-schedule-create/task-schedule-create.component.ts app/tasks/task-schedule-create/task-schedule-create.validator.ts app/tasks/task-executions/task-executions.component.ts app/tasks/task-launch/task-launch.component.ts app/tasks/task-launch/task-launch.validator.ts app/tasks/model/task-execution.ts app/tasks/model/task-schedule.ts app/tasks/model/task-definition.ts app/tasks/task-schedule/task-schedule.component.ts app/tasks/task-schedule/summary/task-schedule-summary.component.ts app/tasks/task-definitions-destroy/task-definitions-destroy.component.ts app/tasks/task-schedules-destroy/task-schedules-destroy.component.ts app/tasks/task-execution/task-execution.component.ts app/tasks/tasks/tasks.components.ts app/apps/apps-add/register/apps-register.component.ts app/apps/apps-add/register/apps-register.validator.ts app/apps/apps-add/properties/apps-bulk-import-properties.component.ts app/apps/apps-add/uri/apps-bulk-import-uri.component.ts app/apps/apps-add/apps-add.validator.ts app/apps/apps-add/apps-add.component.ts app/apps/apps/apps.component.ts app/apps/components/app-list-bar/app-list-bar.component.ts app/apps/components/app-versions-label/app-versions-label.component.ts app/apps/components/app-type/app-type.component.ts app/apps/apps.workaround.service.ts app/apps/app-details/app-details.component.ts app/apps/app-versions/app-versions.component.ts app/apps/apps.service.ts app/apps/apps-unregister/apps-unregister.component.ts app/tests/mocks/about.ts app/tests/mocks/apps.ts app/tests/mocks/jobs.ts app/tests/mocks/tasks.ts app/tests/mocks/streams.ts app/tests/mocks/notification.ts app/tests/mocks/shared-app.ts app/tests/mocks/audit.ts app/tests/mocks/group-route.ts app/tests/mocks/shared-about.ts app/tests/mocks/mock-data.ts app/tests/mocks/auth.ts app/tests/mocks/activated-route.ts app/tests/mocks/mock-tools.ts app/tests/mocks/runtime.ts app/tests/mocks/confirm.ts app/tests/mocks/mock-component.ts app/tests/mocks/modal.ts app/tests/mocks/routing-state.ts app/jobs/model/job-execution.model.ts app/jobs/model/step-execution.model.ts app/jobs/model/step-execution-progress.model.ts app/jobs/model/step-execution-resource.model.ts app/jobs/model/execution-context.model.ts app/jobs/jobs/jobs.component.ts app/jobs/step-execution-details/step-execution-details.component.ts app/jobs/components/job-execution-status.component.ts app/jobs/components/definition-status.component.ts app/jobs/jobs.service.ts app/jobs/step-execution-progress/step-execution-progress.component.ts app/jobs/job-execution-details/job-execution-details.component.ts app/audit/components/audit-record-list-bar/audit-record-list-bar.component.ts app/audit/components/audit-record-action/audit-record-action.component.ts app/audit/components/audit-record-operation/audit-record-operation.component.ts app/audit/audit-record/audit-record.component.ts app/audit/audit-record.service.ts app/audit/audit-record-details/audit-record-details.component.ts app/layout/navigation/search/search.component.ts app/layout/navigation/navigation.component.ts app/layout/sidebar/sidebar.component.ts app/layout/body/body.component.ts app/layout/logo/logo.component.ts app/runtime/runtime-apps/runtime-apps.component.ts app/runtime/runtime-app/runtime-app.component.ts app/runtime/model/runtime-app.ts app/runtime/model/runtime-app-instance.ts app/runtime/components/runtime-app-state/runtime-app-state.component.ts app/runtime/runtime-apps.service.ts app/auth/auth.service.ts app/auth/logout.component.ts app/auth/directives/roles.directive.ts app/auth/feature-disabled.component.ts app/auth/authentication-required.component.ts app/about/components/about-more/about-details.component.ts app/about/about.service.ts app/about/about/about.component.ts app/app.component.ts polyfills.ts test.ts environments/environment.ts

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -1,4 +1,4 @@
Loading
1 -
import { Component, OnInit, OnDestroy } from '@angular/core';
1 +
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
2 2
import { Router } from '@angular/router';
3 3
import { Page } from '../../shared/model/page';
4 4
import { TaskExecution } from '../model/task-execution';
@@ -12,6 +12,7 @@
Loading
12 12
import { AppError } from '../../shared/model/error.model';
13 13
import { AuthService } from '../../auth/auth.service';
14 14
import { TaskDefinition } from '../model/task-definition';
15 +
import { TasksTabulationComponent } from '../components/tasks-tabulation/tasks-tabulation.component';
15 16
16 17
/**
17 18
 * Component that display the Task Executions.
@@ -37,6 +38,11 @@
Loading
37 38
   */
38 39
  private ngUnsubscribe$: Subject<any> = new Subject();
39 40
41 +
  /**
42 +
   * Tabulation
43 +
   */
44 +
  @ViewChild('tasksTabulation', { static: false })
45 +
  tasksTabulation: TasksTabulationComponent;
40 46
41 47
  /**
42 48
   * State of App List Params
@@ -162,6 +168,10 @@
Loading
162 168
          this.notificationService.error(AppError.is(error) ? error.getMessage() : error);
163 169
        }
164 170
      );
171 +
172 +
    if (this.tasksTabulation) {
173 +
      this.tasksTabulation.forceRefresh();
174 +
    }
165 175
  }
166 176
167 177
  /**

@@ -1,5 +1,5 @@
Loading
1 1
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
2 -
import { Observable, forkJoin } from 'rxjs';
2 +
import { Observable, forkJoin, BehaviorSubject } from 'rxjs';
3 3
import { TasksService } from '../../tasks.service';
4 4
import { map, mergeMap, share } from 'rxjs/operators';
5 5
import { Page } from '../../../shared/model/page';
@@ -27,6 +27,8 @@
Loading
27 27
28 28
  counters$: Observable<any>;
29 29
30 +
  hardRefresh: BehaviorSubject<any> = new BehaviorSubject(new Date());
31 +
30 32
  /**
31 33
   * Constructor
32 34
   *
@@ -45,12 +47,24 @@
Loading
45 47
    this.refresh();
46 48
  }
47 49
50 +
  forceRefresh() {
51 +
    this.hardRefresh.next(new Date())
52 +
  }
53 +
48 54
  refresh() {
49 55
    this.params$ = this.sharedAboutService.getFeatureInfo()
50 56
      .pipe(map((featureInfo: FeatureInfo) => ({
51 57
        schedulesEnabled: featureInfo.schedulesEnabled
52 58
      })));
53 59
    this.counters$ = this.sharedAboutService.getFeatureInfo()
60 +
      .pipe(mergeMap(
61 +
        (featureInfo: FeatureInfo) => {
62 +
          return this.hardRefresh.pipe(map((a) => {
63 +
              return featureInfo;
64 +
            }
65 +
          ));
66 +
        }
67 +
      ))
54 68
      .pipe(mergeMap(
55 69
        (featureInfo: FeatureInfo) => {
56 70
          const arr = [];

@@ -12,6 +12,7 @@
Loading
12 12
import { TaskSchedulesDestroyComponent } from '../task-schedules-destroy/task-schedules-destroy.component';
13 13
import { ViewChild } from '@angular/core';
14 14
import { ListBarComponent } from '../../shared/components/list/list-bar.component';
15 +
import { TasksTabulationComponent } from '../components/tasks-tabulation/tasks-tabulation.component';
15 16
16 17
/**
17 18
 * Provides {@link TaskSchedule} related services.
@@ -37,6 +38,12 @@
Loading
37 38
  @ViewChild('listBar', { static: true })
38 39
  listBar: ListBarComponent;
39 40
41 +
  /**
42 +
   * Tabulation
43 +
   */
44 +
  @ViewChild('tasksTabulation', { static: false })
45 +
  tasksTabulation: TasksTabulationComponent;
46 +
40 47
  /**
41 48
   * Unsubscribe
42 49
   */
@@ -212,6 +219,10 @@
Loading
212 219
          this.notificationService.error(error);
213 220
        }
214 221
      );
222 +
223 +
    if (this.tasksTabulation) {
224 +
      this.tasksTabulation.forceRefresh();
225 +
    }
215 226
  }
216 227
217 228
  /**

@@ -20,6 +20,7 @@
Loading
20 20
import { ListBarComponent } from '../../shared/components/list/list-bar.component';
21 21
import { AuthService } from '../../auth/auth.service';
22 22
import { AppsService } from '../../apps/apps.service';
23 +
import { TasksTabulationComponent } from '../components/tasks-tabulation/tasks-tabulation.component';
23 24
24 25
/**
25 26
 * Provides {@link TaskDefinition} related services.
@@ -53,6 +54,12 @@
Loading
53 54
  @ViewChild('listBar', { static: true })
54 55
  listBar: ListBarComponent;
55 56
57 +
  /**
58 +
   * Tabulation
59 +
   */
60 +
  @ViewChild('tasksTabulation', { static: false })
61 +
  tasksTabulation: TasksTabulationComponent;
62 +
56 63
  /**
57 64
   * Modal reference
58 65
   */
@@ -281,6 +288,10 @@
Loading
281 288
          this.notificationService.error(AppError.is(error) ? error.getMessage() : error);
282 289
        }
283 290
      );
291 +
292 +
    if (this.tasksTabulation) {
293 +
      this.tasksTabulation.forceRefresh();
294 +
    }
284 295
  }
285 296
286 297
  /**

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
ui/src 0.05% 72.76%
Project Totals (244 files) 72.76%
Loading