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.36 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.33 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.35 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.32 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.32 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.31 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.30 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.29 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.29 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.28 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-5.0.28 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.27 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.26 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.26 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.25.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.25 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.25 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.24.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-4.0.24.1 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
foreman_rh_cloud-3.0.24 webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js