Sha256: b08260710471b2d110a767607e9cbfd1a7819636d621689ea0bfee6757069da2

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

import { getURI } from 'foremanReact/common/urlHelpers';
import { get } from 'foremanReact/redux/API';
import { withInterval } from 'foremanReact/redux/middlewares/IntervalMiddleware';
import { TARGETING_HOSTS } from './TargetingHostsConsts';

const url = getURI().addQuery('format', 'json');
export const getData = () =>
  withInterval(get({ key: TARGETING_HOSTS, url }), 1000);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-3.3.7 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
foreman_remote_execution-3.3.6 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
foreman_remote_execution-3.3.5 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
foreman_remote_execution-3.3.4 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
foreman_remote_execution-3.3.3 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
foreman_remote_execution-3.3.2 webpack/react_app/components/TargetingHosts/TargetingHostsActions.js