summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/automated-upgrade/automated-upgrade-status/automated-upgrade-status.component.ts
blob: 0bc342ce65512021a435821dfff59ef461966bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * Created by ob0695 on 4/24/2018.
 */
import {Component, Input} from "@angular/core";
import Dictionary = _.Dictionary;
import {AutomatedUpgradeStatusResponse} from "../../../services/responses/automated-upgrade-response";
import {ServiceContainerToUpgradeUiObject} from "../automated-upgrade-models/ui-component-to-upgrade";

@Component({
    selector: 'automated-upgrade-status',
    templateUrl: './automated-upgrade-status.component.html',
    styleUrls: ['./../automated-upgrade.component.less']
})
export class AutomatedUpgradeStatusComponent {

    @Input() upgradedComponentsList: Array<ServiceContainerToUpgradeUiObject>;
    @Input() upgradeStatusMap: Dictionary<AutomatedUpgradeStatusResponse>;
    @Input() statusText: string;

    constructor () {

    }

}