All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b6fe2bb5-1442.fa4caae3f80bc0c9381c.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-1442.fa4caae3f80bc0c9381c.js","mappings":"46DAuBMA,EAAAA,SAAAA,I,wcAKI,CACNC,mBAAmB,I,gCAGG,WACtB,EAAKC,SAAS,CAAED,mBAAoB,EAAKE,MAAMF,uB,qCAGjD,WACE,IAAIG,EAEJ,GAAIC,KAAKF,MAAMF,kBAAmB,CAEhC,IAAMK,EAAwB,gBAACC,EAAA,EAAD,CAA8BC,UAAU,GAAGC,QAAS,KAElFL,EACE,uBAAKM,UAAU,iBACb,gBAACC,EAAA,EAAD,CAAYC,gBAAiBP,KAAKQ,MAAMC,QAASC,mBAAoBT,KAK3E,OACE,gBAAC,KAAD,CAAKI,UAAU,WACb,gBAAC,KAAD,CAAKM,GAAI,IACP,sBAAIC,MAAO,CAAEC,aAAc,IAA3B,iBAEA,0MAIA,yBACE,gBAAC,KAAD,CAAQC,QAAQ,OAAOC,OAAO,QAAQC,QAAShB,KAAKiB,sBAAuBC,SAAUlB,KAAKF,MAAMF,mBAAhG,gBAKDG,S,gFA1CLJ,CAA2BwB,EAAAA,W,EAA3BxB,EAAAA,YACe,CACjBc,QAASW,IAAAA,SA+Cb,U,qoDC7CMC,EAAAA,SAAAA,I,wcAOI,CACNC,aAAa,I,yBAGE,WACf,IAAQA,EAAgB,EAAKxB,MAArBwB,YAER,EAAKzB,SAAS,CAAEyB,aAAcA,O,2BAGb,WACjB,MAA+B,EAAKd,MAA5Be,EAAR,EAAQA,UAAWd,EAAnB,EAAmBA,QAGfe,OAAOC,QAAP,mCAA2CF,EAAUG,MAArD,QACFC,EAAAA,EAAAA,OAAAA,eAAwClB,EAASc,M,mCAI1B,WACzB,IAAQA,EAAc,EAAKf,MAAnBe,UAER,OACE,2DAC8B,0BAAKA,EAAUK,cAD7C,QACqE,IACnE,0BAAKL,EAAUM,cAFjB,IAEqC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AEvFR,GAAUC,EAAAA,EAAAA,IAAM,SAAUO,GAEhCR,EACG3E,MAAK,WACJsF,EAAAA,EAAAA,QAAA,qBAAuCxK,EAAUG,MAAjD,2BAEI,EAAK2E,YACP1E,EAAkBuI,KAAK8B,eAAevL,MAL5C,OAQS,SAACwL,GACNF,EAAAA,EAAAA,MAAA,qCAAqDE,GAArD,qCACgC1K,EAAUG,WAG9CC,EAAiB,OAAQyJ,QAAQA,IAGnC3C,MAtIuB,SAsIjBhI,EAASyL,GAAmB,WAC1BN,EAAMN,EAAAA,GAAoBO,EAAAA,EAAAA,qBAAAA,MAAqCpL,GAASmL,KACxEO,EAAuB,GAE7BD,EAAkBvB,SAAQ,SAACpJ,EAAW6K,GAAZ,OAAoBD,EAAqBC,GAAO7K,EAAUc,MAEpF,IAAM+I,GAAUC,EAAAA,EAAAA,IAAM,OAAQO,EAAK,CAAEnD,MAAO0D,IAE5Cf,EAAQ3E,MAAK,WACXsF,EAAAA,EAAAA,QAAyB,4CAErB,EAAK1F,YACP1E,EAAkBuI,KAAK8B,eAAevL,MAI1C2K,EAAO,OAAO,SAACa,GACbF,EAAAA,EAAAA,MAAA,+CAA+DE,GAC7D,2CAGJtK,EAAkB8G,MAAM2C,QAAQA,IA3JX,gBA8JhB3K,EAAS4F,GAAY,WACtBgG,EAAoB,EACpBC,EAAgB,EACdC,EAAW,GAEjBlG,EAAWsE,SAAQ,SAACpJ,GAClB,IAAM6J,EAAU,EAAKO,uBAAuBlL,EAASc,GAErD6J,EACG3E,MAAK,kBAAM4F,OADd,OAES,kBAAMC,OAEfC,EAASpK,KAAKiJ,MAGhBoB,IAAAA,OAAeD,GAAU9F,MAAK,WACN,IAAlB6F,EACFP,EAAAA,EAAAA,QAAA,0BAA4CM,EAA5C,2BACE,+BAEFN,EAAAA,EAAAA,QAAA,0BAA4CM,EAA5C,mCAAwFC,EAAxF,cACE","sources":["webpack://graylog-web-interface/./src/components/extractors/AddExtractorWizard.jsx","webpack://graylog-web-interface/./src/components/extractors/ExtractorsListItem.jsx","webpack://graylog-web-interface/./src/components/extractors/ExtractorSortModal.jsx","webpack://graylog-web-interface/./src/components/extractors/ExtractorsList.jsx","webpack://graylog-web-interface/./src/pages/ExtractorsPage.jsx","webpack://graylog-web-interface/./src/stores/extractors/ExtractorsStore.js"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Row, Col, Button } from 'components/bootstrap';\nimport LoaderTabs from 'components/messageloaders/LoaderTabs';\nimport MessageFieldExtractorActions from 'components/search/MessageFieldExtractorActions';\n\nclass AddExtractorWizard extends React.Component {\n  static propTypes = {\n    inputId: PropTypes.string,\n  };\n\n  state = {\n    showExtractorForm: false,\n  };\n\n  _showAddExtractorForm = () => {\n    this.setState({ showExtractorForm: !this.state.showExtractorForm });\n  };\n\n  render() {\n    let extractorForm;\n\n    if (this.state.showExtractorForm) {\n      // Components using this component, will give it a proper fieldName and message\n      const extractorFieldActions = ;\n\n      extractorForm = (\n        
\n \n
\n );\n }\n\n return (\n \n \n

Add extractor

\n\n

\n Start by loading a message to have an example to work on. You can decide whether to load a recent message\n received by this input, or manually select a message giving its ID.\n

\n

\n \n

\n\n {extractorForm}\n \n
\n );\n }\n}\n\nexport default AddExtractorWizard;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Button, Row, Col, Well } from 'components/bootstrap';\nimport EntityListItem from 'components/common/EntityListItem';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport Routes from 'routing/Routes';\nimport { ExtractorsActions } from 'stores/extractors/ExtractorsStore';\n\nclass ExtractorsListItem extends React.Component {\n static propTypes = {\n extractor: PropTypes.object.isRequired,\n inputId: PropTypes.string.isRequired,\n nodeId: PropTypes.string.isRequired,\n };\n\n state = {\n showDetails: false,\n };\n\n _toggleDetails = () => {\n const { showDetails } = this.state;\n\n this.setState({ showDetails: !showDetails });\n };\n\n _deleteExtractor = () => {\n const { extractor, inputId } = this.props;\n\n // eslint-disable-next-line no-alert\n if (window.confirm(`Really remove extractor \"${extractor.title}?\"`)) {\n ExtractorsActions.delete.triggerPromise(inputId, extractor);\n }\n };\n\n _formatExtractorSubtitle = () => {\n const { extractor } = this.props;\n\n return (\n \n Trying to extract data from {extractor.source_field} into{' '}\n {extractor.target_field},{' '}\n {extractor.cursor_strategy === 'cut' && 'not'}{' '}\n leaving the original intact.\n \n );\n };\n\n _formatCondition = () => {\n const { extractor } = this.props;\n\n if (extractor.condition_type === 'none') {\n return
;\n }\n\n return (\n
\n

Condition

\n
    \n
  • \n Will only attempt to run if the message{' '}\n {extractor.condition_type === 'string' ? 'includes the string' : 'matches the regular expression'}{' '}\n {extractor.condition_value}\n
  • \n
\n
\n );\n };\n\n _formatActions = () => {\n const actions = [];\n const { extractor, nodeId, inputId } = this.props;\n\n actions.push(\n ,\n );\n\n actions.push(\n \n \n ,\n );\n\n actions.push();\n\n return actions;\n };\n\n _formatOptions = (options) => {\n const { extractor } = this.props;\n\n const attributes = Object.keys(options);\n\n return attributes.map((attribute) => {\n return
  • {attribute}: {options[attribute]}
  • ;\n });\n };\n\n _formatConfiguration = (extractorConfig) => {\n let formattedOptions = this._formatOptions(extractorConfig);\n\n if (formattedOptions.length === 0) {\n formattedOptions =
  • No configuration options
  • ;\n }\n\n return (\n
    \n

    Configuration

    \n
      \n {formattedOptions}\n
    \n
    \n );\n };\n\n _formatConverter = (key, converter) => {\n return (\n
  • \n {converter.type}\n {converter.config &&
      {this._formatOptions(converter.config)}
    }\n
  • \n );\n };\n\n _formatConverters = (converters) => {\n const converterKeys = Object.keys(converters);\n const formattedConverters = converterKeys.map((converterKey) => this._formatConverter(converterKey, converters[converterKey]));\n\n if (formattedConverters.length === 0) {\n return
    ;\n }\n\n return (\n
    \n

    Converters

    \n
      \n {formattedConverters}\n
    \n
    \n );\n };\n\n _formatTimingMetrics = (timing) => {\n return (\n
    \n
    95th percentile:
    \n
    {numeral(timing['95th_percentile']).format('0,0.[00]')}μs
    \n\n
    98th percentile:
    \n
    {numeral(timing['98th_percentile']).format('0,0.[00]')}μs
    \n\n
    99th percentile:
    \n
    {numeral(timing['99th_percentile']).format('0,0.[00]')}μs
    \n\n
    Standard deviation:
    \n
    {numeral(timing.std_dev).format('0,0.[00]')}μs
    \n\n
    Mean:
    \n
    {numeral(timing.mean).format('0,0.[00]')}μs
    \n\n
    Minimum:
    \n
    {numeral(timing.min).format('0,0.[00]')}μs
    \n\n
    Maximum:
    \n
    {numeral(timing.max).format('0,0.[00]')}μs
    \n
    \n );\n };\n\n _formatMetrics = (metrics) => {\n let totalRate;\n\n if (metrics.total.rate) {\n totalRate = (\n
    \n {numeral(metrics.total.rate.total).format('0,0')} total invocations since boot,{' '}\n averages:{' '}\n {numeral(metrics.total.rate.one_minute).format('0,0.[00]')},{' '}\n {numeral(metrics.total.rate.five_minute).format('0,0.[00]')},{' '}\n {numeral(metrics.total.rate.fifteen_minute).format('0,0.[00]')}.\n
    \n );\n }\n\n const conditionCounts = (\n
    \n {metrics.condition_hits} hits,{' '}\n {metrics.condition_misses} misses\n
    \n );\n\n let totalTime;\n\n if (metrics.total.time) {\n totalTime = this._formatTimingMetrics(metrics.total.time);\n } else {\n totalTime = 'No message passed through here yet.';\n }\n\n let conditionTime;\n\n if (metrics.condition.time) {\n conditionTime = this._formatTimingMetrics(metrics.condition.time);\n } else {\n conditionTime = 'No message passed through here yet.';\n }\n\n let executionTime;\n\n if (metrics.execution.time) {\n executionTime = this._formatTimingMetrics(metrics.execution.time);\n } else {\n executionTime = 'No message passed through here yet.';\n }\n\n let convertersTime;\n\n if (metrics.converters.time) {\n convertersTime = this._formatTimingMetrics(metrics.converters.time);\n } else {\n convertersTime = 'No message passed through here yet.';\n }\n\n return (\n
    \n {totalRate}\n {conditionCounts}\n \n \n

    Total time


    \n {totalTime}\n \n \n

    Condition time


    \n {conditionTime}\n \n \n

    Execution time


    \n {executionTime}\n \n \n

    Converter time


    \n {convertersTime}\n \n
    \n
    \n );\n };\n\n _formatDetails = () => {\n const { extractor } = this.props;\n\n return (\n
    \n \n \n {this._formatCondition()}\n {this._formatConfiguration(extractor.extractor_config)}\n {this._formatConverters(extractor.converters)}\n \n \n \n
    \n

    Metrics

    \n {this._formatMetrics(extractor.metrics)}\n
    \n \n
    \n );\n };\n\n render() {\n const { extractor } = this.props;\n const { showDetails } = this.state;\n\n return (\n \n );\n }\n}\n\nexport default ExtractorsListItem;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Row, Col, Modal, Button, BootstrapModalWrapper } from 'components/bootstrap';\nimport SortableList from 'components/common/SortableList';\nimport { ExtractorsActions } from 'stores/extractors/ExtractorsStore';\n\nclass ExtractorSortModal extends React.Component {\n static propTypes = {\n input: PropTypes.object.isRequired,\n extractors: PropTypes.array.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n sortedExtractors: props.extractors,\n };\n }\n\n open = () => {\n this.modal.open();\n };\n\n close = () => {\n this.modal.close();\n };\n\n _cancel = () => {\n const { extractors } = this.props;\n\n this.close();\n\n this.setState({\n sortedExtractors: extractors,\n });\n };\n\n _updateSorting = (newSorting) => {\n this.setState({\n sortedExtractors: newSorting,\n });\n };\n\n _saveSorting = () => {\n const { input } = this.props;\n const { sortedExtractors } = this.state;\n\n if (!sortedExtractors) {\n this.close();\n }\n\n const promise = ExtractorsActions.order.triggerPromise(input.id, sortedExtractors);\n\n promise.then(() => this.close());\n };\n\n render() {\n const { sortedExtractors } = this.state;\n const { input } = this.props;\n\n return (\n { this.modal = modal; }} onHide={this._cancel}>\n \n \n Sort extractors for {input.title}\n \n \n \n

    Drag and drop the extractors on the list to change the order in which they will be applied.

    \n \n \n \n \n \n
    \n \n \n \n \n
    \n );\n }\n}\n\nexport default ExtractorSortModal;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport naturalSort from 'javascript-natural-sort';\n\nimport { Row, Col, Button } from 'components/bootstrap';\nimport Spinner from 'components/common/Spinner';\nimport AddExtractorWizard from 'components/extractors/AddExtractorWizard';\nimport EntityList from 'components/common/EntityList';\nimport { ExtractorsActions, ExtractorsStore } from 'stores/extractors/ExtractorsStore';\n\nimport ExtractorsListItem from './ExtractorsListItem';\nimport ExtractorsSortModal from './ExtractorSortModal';\n\nconst ExtractorsList = createReactClass({\n displayName: 'ExtractorsList',\n\n propTypes: {\n input: PropTypes.object.isRequired,\n node: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(ExtractorsStore), Reflux.ListenerMethods],\n\n componentDidMount() {\n ExtractorsActions.list.triggerPromise(this.props.input.id);\n },\n\n _formatExtractor(extractor) {\n return (\n \n );\n },\n\n _isLoading() {\n return !this.state.extractors;\n },\n\n _openSortModal() {\n this.sortModal.open();\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n let sortExtractorsButton;\n\n if (this.state.extractors.length > 1) {\n sortExtractorsButton = (\n \n );\n }\n\n const formattedExtractors = this.state.extractors\n .sort((extractor1, extractor2) => naturalSort(extractor1.order, extractor2.order))\n .map(this._formatExtractor);\n\n return (\n
    \n \n \n \n \n \n

    Configured extractors

    \n \n \n {sortExtractorsButton}\n \n
    \n \n \n
    \n { this.sortModal = sortModal; }} input={this.props.input} extractors={this.state.extractors} />\n
    \n );\n },\n});\n\nexport default ExtractorsList;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport createReactClass from 'create-react-class';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Reflux from 'reflux';\n\nimport { LinkContainer } from 'components/common/router';\nimport { DocumentTitle, Spinner } from 'components/common';\nimport PageHeader from 'components/common/PageHeader';\nimport ExtractorsList from 'components/extractors/ExtractorsList';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport { DropdownButton, MenuItem } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\nimport withParams from 'routing/withParams';\nimport { InputsActions } from 'stores/inputs/InputsStore';\nimport { NodesActions, NodesStore } from 'stores/nodes/NodesStore';\n\nconst ExtractorsPage = createReactClass({\n displayName: 'ExtractorsPage',\n\n propTypes: {\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.listenTo(NodesStore, 'onNodesChange')],\n\n getInitialState() {\n return {\n node: undefined,\n };\n },\n\n componentDidMount() {\n const { params } = this.props;\n\n InputsActions.get(params.inputId).then((input) => this.setState({ input }));\n NodesActions.list();\n },\n\n onNodesChange(nodes) {\n const { params } = this.props;\n const newNode = params.nodeId ? nodes.nodes[params.nodeId] : Object.values(nodes.nodes).filter((node) => node.is_leader);\n\n const { node } = this.state;\n\n if (!node || node.node_id !== newNode.node_id) {\n this.setState({ node: newNode });\n }\n },\n\n _isLoading() {\n const { node, input } = this.state;\n\n return !(input && node);\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const { node, input } = this.state;\n\n return (\n \n
    \n Extractors of {input.title}}>\n \n Extractors are applied on every message that is received by this input. Use them to extract and transform{' '}\n any text data into fields that allow you easy filtering and analysis later on.{' '}\n Example: Extract the HTTP response code from a log message, transform it to a numeric field and attach it{' '}\n as http_response_code to the message.\n \n\n \n Find more information about extractors in the\n {' '}.\n \n\n \n \n Import extractors\n \n \n Export extractors\n \n \n \n \n
    \n
    \n );\n },\n});\n\nexport default withParams(ExtractorsPage);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\nimport Promise from 'bluebird';\n\nimport ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const ExtractorsActions = singletonActions(\n 'core.Extractors',\n () => Reflux.createActions({\n list: { asyncResult: true },\n get: { asyncResult: true },\n create: { asyncResult: true },\n save: { asyncResult: true },\n update: { asyncResult: true },\n delete: { asyncResult: true },\n order: { asyncResult: true },\n import: {},\n }),\n);\n\nfunction getExtractorDTO(extractor) {\n const converters = {};\n\n extractor.converters.forEach((converter) => {\n converters[converter.type] = converter.config;\n });\n\n const conditionValue = extractor.condition_type && extractor.condition_type !== 'none' ? extractor.condition_value : '';\n\n return {\n title: extractor.title,\n cut_or_copy: extractor.cursor_strategy || 'copy',\n source_field: extractor.source_field,\n target_field: extractor.target_field,\n extractor_type: extractor.type || extractor.extractor_type, // \"extractor_type\" needed for imports\n extractor_config: extractor.extractor_config,\n converters: converters,\n condition_type: extractor.condition_type || 'none',\n condition_value: conditionValue,\n order: extractor.order,\n };\n}\n\nexport const ExtractorsStore = singletonStore(\n 'core.Extractors',\n () => Reflux.createStore({\n listenables: [ExtractorsActions],\n sourceUrl: '/system/inputs/',\n extractors: undefined,\n extractor: undefined,\n\n init() {\n this.trigger({ extractors: this.extractors, extractor: this.extractor });\n },\n\n list(inputId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(URLUtils.concatURLPath(this.sourceUrl, inputId, 'extractors')));\n\n promise.then((response) => {\n this.extractors = response.extractors;\n this.trigger({ extractors: this.extractors });\n });\n\n ExtractorsActions.list.promise(promise);\n },\n\n // Creates an basic extractor object that we can use to create new extractors.\n new(type, field) {\n if (ExtractorUtils.EXTRACTOR_TYPES.indexOf(type) === -1) {\n throw new Error(`Invalid extractor type provided: ${type}`);\n }\n\n return {\n type: type,\n source_field: field,\n converters: [],\n extractor_config: {},\n target_field: '',\n };\n },\n\n get(inputId, extractorId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(URLUtils.concatURLPath(this.sourceUrl, inputId, 'extractors', extractorId)));\n\n promise.then((response) => {\n this.extractor = response;\n this.trigger({ extractor: this.extractor });\n });\n\n ExtractorsActions.get.promise(promise);\n },\n\n save(inputId, extractor) {\n let promise;\n\n if (extractor.id) {\n promise = this.update(inputId, extractor, true);\n } else {\n promise = this.create(inputId, extractor, true);\n }\n\n ExtractorsActions.save.promise(promise);\n },\n\n _silentExtractorCreate(inputId, extractor) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.create(inputId).url);\n\n return fetch('POST', url, getExtractorDTO(extractor));\n },\n\n create(inputId, extractor, calledFromMethod) {\n const promise = this._silentExtractorCreate(inputId, extractor);\n\n promise\n .then(() => {\n UserNotification.success(`Extractor ${extractor.title} created successfully`);\n\n if (this.extractor) {\n ExtractorsActions.get.triggerPromise(inputId, extractor.id);\n }\n })\n .catch((error) => {\n UserNotification.error(`Creating extractor failed: ${error}`,\n 'Could not create extractor');\n });\n\n if (!calledFromMethod) {\n ExtractorsActions.create.promise(promise);\n }\n\n return promise;\n },\n\n update(inputId, extractor, calledFromMethod) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.update(inputId, extractor.id).url);\n\n const promise = fetch('PUT', url, getExtractorDTO(extractor));\n\n promise\n .then(() => {\n UserNotification.success(`Extractor \"${extractor.title}\" updated successfully`);\n\n if (this.extractor) {\n ExtractorsActions.get.triggerPromise(inputId, extractor.id);\n }\n })\n .catch((error) => {\n UserNotification.error(`Updating extractor failed: ${error}`,\n 'Could not update extractor');\n });\n\n if (!calledFromMethod) {\n ExtractorsActions.update.promise(promise);\n }\n\n return promise;\n },\n\n delete(inputId, extractor) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.delete(inputId, extractor.id).url);\n\n const promise = fetch('DELETE', url);\n\n promise\n .then(() => {\n UserNotification.success(`Extractor \"${extractor.title}\" deleted successfully`);\n\n if (this.extractors) {\n ExtractorsActions.list.triggerPromise(inputId);\n }\n })\n .catch((error) => {\n UserNotification.error(`Deleting extractor failed: ${error}`,\n `Could not delete extractor ${extractor.title}`);\n });\n\n ExtractorsActions.delete.promise(promise);\n },\n\n order(inputId, orderedExtractors) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.order(inputId).url);\n const orderedExtractorsMap = {};\n\n orderedExtractors.forEach((extractor, idx) => orderedExtractorsMap[idx] = extractor.id);\n\n const promise = fetch('POST', url, { order: orderedExtractorsMap });\n\n promise.then(() => {\n UserNotification.success('Extractor positions updated successfully');\n\n if (this.extractors) {\n ExtractorsActions.list.triggerPromise(inputId);\n }\n });\n\n promise.catch((error) => {\n UserNotification.error(`Changing extractor positions failed: ${error}`,\n 'Could not update extractor positions');\n });\n\n ExtractorsActions.order.promise(promise);\n },\n\n import(inputId, extractors) {\n let successfulImports = 0;\n let failedImports = 0;\n const promises = [];\n\n extractors.forEach((extractor) => {\n const promise = this._silentExtractorCreate(inputId, extractor);\n\n promise\n .then(() => successfulImports++)\n .catch(() => failedImports++);\n\n promises.push(promise);\n });\n\n Promise.settle(promises).then(() => {\n if (failedImports === 0) {\n UserNotification.success(`Import results: ${successfulImports} extractor(s) imported.`,\n 'Import operation successful');\n } else {\n UserNotification.warning(`Import results: ${successfulImports} extractor(s) imported, ${failedImports} error(s).`,\n 'Import operation completed');\n }\n });\n },\n }),\n);\n"],"names":["AddExtractorWizard","showExtractorForm","setState","state","extractorForm","this","extractorFieldActions","MessageFieldExtractorActions","fieldName","message","className","LoaderTabs","selectedInputId","props","inputId","customFieldActions","md","style","marginBottom","bsStyle","bsSize","onClick","_showAddExtractorForm","disabled","React","PropTypes","ExtractorsListItem","showDetails","extractor","window","confirm","title","ExtractorsActions","source_field","target_field","cursor_strategy","condition_type","condition_value","actions","nodeId","push","key","id","_toggleDetails","to","Routes","_deleteExtractor","options","Object","keys","map","attribute","extractorConfig","formattedOptions","_formatOptions","length","converter","type","config","converters","formattedConverters","converterKey","_formatConverter","timing","numeral","format","std_dev","mean","min","max","metrics","totalRate","total","rate","one_minute","five_minute","fifteen_minute","totalTime","conditionTime","executionTime","convertersTime","conditionCounts","condition_hits","condition_misses","time","_formatTimingMetrics","condition","execution","display","_formatCondition","_formatConfiguration","extractor_config","_formatConverters","_formatMetrics","EntityListItem","titleSuffix","ExtractorUtils","description","_formatExtractorSubtitle","_formatActions","contentRow","_formatDetails","ExtractorSortModal","modal","open","close","extractors","sortedExtractors","newSorting","input","then","ref","onHide","_cancel","closeButton","SortableList","items","onMoveItem","_updateSorting","displayOverlayInPortal","_saveSorting","createReactClass","displayName","propTypes","node","mixins","Reflux","ExtractorsStore","componentDidMount","_formatExtractor","node_id","_isLoading","_openSortModal","sortModal","render","sortExtractorsButton","Spinner","formattedExtractors","sort","extractor1","extractor2","naturalSort","order","EntityList","bsNoItemsStyle","noItemsText","ExtractorsPage","params","NodesStore","getInitialState","undefined","InputsActions","NodesActions","onNodesChange","nodes","newNode","values","filter","is_leader","PageHeader","DocumentationLink","page","DocsHelper","text","pullRight","withParams","singletonActions","list","asyncResult","get","create","save","update","delete","import","getExtractorDTO","forEach","conditionValue","cut_or_copy","extractor_type","singletonStore","listenables","sourceUrl","init","trigger","promise","fetch","URLUtils","response","field","Error","extractorId","_silentExtractorCreate","url","ApiRoutes","calledFromMethod","UserNotification","triggerPromise","error","orderedExtractors","orderedExtractorsMap","idx","successfulImports","failedImports","promises","Promise"],"sourceRoot":""}




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy