Sha256: b7f8b92f8f524f77963582f56610e3263e724050118d09891d72293732d0898f
Contents?: true
Size: 768 Bytes
Versions: 7
Compression:
Stored size: 768 Bytes
Contents
import URI from 'urijs'; import { foremanUrl } from '../ForemanRhCloudHelpers'; export const insightsCloudUrl = path => foremanUrl(`/insights_cloud/${path}`); export const cloudTokenSettingUrl = () => { const settingsUrl = new URI(foremanUrl('/settings')); settingsUrl.setSearch({ search: 'name = rh_cloud_token' }); return settingsUrl.toString(); }; export const redHatConsole = path => `https://console.redhat.com/${path || ''}`; export const redHatInsights = path => redHatConsole(`insights/${path || ''}`); export const redHatInventory = path => redHatInsights(`inventory/${path || ''}`); export const redHatAdvisor = path => redHatInsights(`advisor/${path || ''}`); export const redHatAdvisorSystems = path => redHatAdvisor(`systems/${path || ''}`);
Version data entries
7 entries across 7 versions & 1 rubygems