ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/spec/textual_summary/data/multilink_table.js

Summary

Maintainability
F
3 days
Test Coverage
export const multilinkTableData = {
  title: 'Some OpenStack Stuff',
  items: [
    {
      value: 'Aodh',
      sub_items: [{
        title: 'Show list of running Aodh',
        value: 'Running (3)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=1&status=running',
      }, {
        title: 'Show list of failed Aodh', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Aodh',
        value: 'All (3)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=1&status=all',
      }, {
        title: 'Show list of configuration files of Aodh', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Ceilometer',
      sub_items: [{
        title: 'Show list of running Ceilometer',
        value: 'Running (3)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=2&status=running',
      }, {
        title: 'Show list of failed Ceilometer', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Ceilometer',
        value: 'All (3)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=2&status=all',
      }, {
        title: 'Show list of configuration files of Ceilometer', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Cinder',
      sub_items: [{
        title: 'Show list of running Cinder',
        value: 'Running (3)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=3&status=running',
      }, {
        title: 'Show list of failed Cinder', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Cinder',
        value: 'All (3)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=3&status=all',
      }, {
        title: 'Show list of configuration files of Cinder', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Glance',
      sub_items: [{
        title: 'Show list of running Glance',
        value: 'Running (2)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=4&status=running',
      }, {
        title: 'Show list of failed Glance', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Glance',
        value: 'All (2)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=4&status=all',
      }, {
        title: 'Show list of configuration files of Glance', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Gnocchi',
      sub_items: [{
        title: 'Show list of running Gnocchi',
        value: 'Running (2)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=5&status=running',
      }, {
        title: 'Show list of failed Gnocchi', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Gnocchi',
        value: 'All (2)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=5&status=all',
      }, {
        title: 'Show list of configuration files of Gnocchi', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Heat',
      sub_items: [{
        title: 'Show list of running Heat',
        value: 'Running (4)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=6&status=running',
      }, {
        title: 'Show list of failed Heat', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Heat',
        value: 'All (4)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=6&status=all',
      }, {
        title: 'Show list of configuration files of Heat', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Keystone',
      sub_items: [{
        title: 'Show list of running Keystone', value: 'Running (0)', icon: null, link: null,
      }, {
        title: 'Show list of failed Keystone', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Keystone',
        value: 'All (1)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=7&status=all',
      }, {
        title: 'Show list of configuration files of Keystone', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Nova',
      sub_items: [{
        title: 'Show list of running Nova',
        value: 'Running (5)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=8&status=running',
      }, {
        title: 'Show list of failed Nova', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Nova',
        value: 'All (10)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=8&status=all',
      }, {
        title: 'Show list of configuration files of Nova', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
    {
      value: 'Swift',
      sub_items: [{
        title: 'Show list of running Swift',
        value: 'Running (14)',
        icon: 'pficon pficon-ok',
        link: '/host/host_services/18?db=host&host_service_group=9&status=running',
      }, {
        title: 'Show list of failed Swift', value: 'Failed (0)', icon: null, link: null,
      }, {
        title: 'Show list of all Swift',
        value: 'All (14)',
        icon: 'pficon pficon-service',
        link: '/host/host_services/18?db=host&host_service_group=9&status=all',
      }, {
        title: 'Show list of configuration files of Swift', icon: 'fa fa-file-o', value: 'Configuration (0)', link: null,
      }],
    },
  ],
};