Sha256: c7eb28f656fef03ca488448c1c539d2f6a982ee5dae990a423c389b32e792999

Contents?: true

Size: 359 Bytes

Versions: 35

Compression:

Stored size: 359 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();
};

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.24 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.23 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.23 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.22 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.22 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.21.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.21.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.21 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.20 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.19 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.18.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.18 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.17 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.16 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.15 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js