import React from 'react'; import { IntlProvider } from 'react-intl'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; import { Button, Icon } from 'patternfly-react'; import { INSIGHTS_SYNC_PAGE_TITLE } from './InsightsCloudSyncConstants'; import InsightsSettings from './Components/InsightsSettings'; const InsightsCloudSync = ({ settingsUrl, syncInsights }) => { document.title = INSIGHTS_SYNC_PAGE_TITLE; return (

{__('Red Hat Insights Sync')}

{__(`Insights synchronization process is used to provide Insights recommendations output for hosts managed here`)}

{__(`1. Obtain an RHSM API token: `)} access.redhat.com
{__("2. Copy the token to 'Red Hat Cloud token' setting: ")} {__('Red Hat Cloud token ')}
{__( '3. Now you can synchronize recommendations manually using the "Sync now" button.' )}

); }; InsightsCloudSync.propTypes = { syncInsights: PropTypes.func.isRequired, settingsUrl: PropTypes.string.isRequired, }; export default InsightsCloudSync;