Sha256: 043125e518021a774c77af5e8100248cc5f20fdd37b5c53d6e2b64dd166927d0

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

import URI from 'urijs';
import { foremanUrl } from '../ForemanRhCloudHelpers';

export const inventoryUrl = path =>
  foremanUrl(`/foreman_inventory_upload/${path}`);

export const getInventoryDocsUrl = () =>
  foremanUrl(
    `/links/manual/+?root_url=${URI.encode(
      'https://access.redhat.com/products/subscription-central'
    )}`
  );

export const getActionsHistoryUrl = () =>
  foremanUrl(
    '/foreman_tasks/tasks?search=action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateReportJob+or+action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateAllReportsJob&page=1'
  );

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.12 webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js
foreman_rh_cloud-2.0.11 webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js
foreman_rh_cloud-2.0.10 webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js