Sha256: 32637f6e95459e8f225bb1d001e55b0a1c97d36e8560a4a65c14942885f11d42

Contents?: true

Size: 603 Bytes

Versions: 53

Compression:

Stored size: 603 Bytes

Contents

import { API_OPERATIONS, get } from 'foremanReact/redux/API';
import {
  HOST_TRACES_KEY,
  KATELLO_TRACER_PACKAGE,
} from './HostTracesConstants';
import { installPackage } from '../RemoteExecutionActions';
import { foremanApi } from '../../../../../services/api';

export const getHostTraces = (hostId, params) => get({
  type: API_OPERATIONS.GET,
  key: HOST_TRACES_KEY,
  url: foremanApi.getApiUrl(`/hosts/${hostId}/traces`),
  params,
});

export const installTracerPackage = ({ hostname, handleSuccess }) => installPackage({
  hostname,
  packageName: KATELLO_TRACER_PACKAGE,
  handleSuccess,
});

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.15.0.rc1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.0 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.0.rc3 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.0.rc2 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.0.rc1.1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.14.0.rc1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.13.1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.13.0 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.12.1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.13.0.rc1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.12.0 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.12.0.rc3 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.12.0.rc2 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.12.0.rc1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.11.1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.11.0 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.11.0.rc2 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
katello-4.11.0.rc1 webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js