Sha256: 21703c9ea37cebd23213d9eac29e06d34f624ddae7bbc230bad919703988eef6
Contents?: true
Size: 795 Bytes
Versions: 73
Compression:
Stored size: 795 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' ); export const isExitCodeLoading = exitCode => { const exitCodeLC = exitCode.toLowerCase(); return ( exitCodeLC.indexOf('running') !== -1 || exitCodeLC.indexOf('restarting') !== -1 ); };
Version data entries
73 entries across 73 versions & 1 rubygems