Sha256: b2056faf2b921266c5c1647161ccb7eba4fbbd96d89f11ba44afd91e3f5f046b

Contents?: true

Size: 461 Bytes

Versions: 23

Compression:

Stored size: 461 Bytes

Contents

import { API_OPERATIONS, get } from 'foremanReact/redux/API';
import { foremanApi } from '../../../../../services/api';
import {
  HOST_PACKAGES_KEY,
} from './HostPackagesConstants';

export const getInstalledPackagesWithLatest = (hostId, params) => get({
  type: API_OPERATIONS.GET,
  key: HOST_PACKAGES_KEY,
  url: foremanApi.getApiUrl(`/hosts/${hostId}/packages?include_latest_upgradable=true`),
  params,
});
export default getInstalledPackagesWithLatest;

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
katello-4.10.0 webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesActions.js
katello-4.10.0.rc2 webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesActions.js
katello-4.10.0.rc1 webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesActions.js