import { Component } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { IDbaasInstanceModel } from '@fleio-api/openstack/model/dbaas-instance.model';
import { DbaasInstanceListUiService } from '../dbaas-instance-list-ui.service';

@Component({
  selector: 'app-dbaas-instance-list',
  templateUrl: './dbaas-instance-list.component.html',
  styleUrls: ['./dbaas-instance-list.component.scss']
})
export class DbaasInstanceListComponent extends ListBase<IDbaasInstanceModel> {
  constructor(
    private route: ActivatedRoute, private dbaasInstanceListUiService: DbaasInstanceListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, dbaasInstanceListUiService, refreshService, 'instances');
  }
}
