Sha256: 4034e542f16ec5f83bd2e2a51613a1e3c6f3582f44e05ba2a558f9f57a78751d

Contents?: true

Size: 747 Bytes

Versions: 6

Compression:

Stored size: 747 Bytes

Contents

import { noop } from 'patternfly-react';

export const API_SUCCESS_RESPONSE = {
  Account1: {
    upload_report_status: 'running',
    generate_report_status: 'running',
  },
  Account2: {
    upload_report_status: 'unknown',
    generate_report_status: 'failure',
  },
  Account3: {
    upload_report_status: 'success',
    generate_report_status: 'running',
  },
};

export const statuses = API_SUCCESS_RESPONSE;

export const pollingProcessID = 0;

export const error = 'some-error';

export const accountID = 'user@redhat.com';

export const processStatusName = 'upload_report_status';

export const props = {
  statuses,
  fetchAccountsStatus: noop,
  startAccountStatusPolling: noop,
  stopAccountStatusPolling: noop,
  pollingProcessID,
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_inventory_upload-1.0.0.beta7 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_inventory_upload-1.0.0.beta6 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_inventory_upload-1.0.0.beta5 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_inventory_upload-1.0.0.beta4 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_inventory_upload-1.0.0.beta3 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_inventory_upload-1.0.0.beta2 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js