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

web-interface.assets.b999a7e7-86.9472d5d0a285679cf68d.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
{"version":3,"sources":["webpack:///./src/pages/IndexSetConfigurationPage.jsx"],"names":["CombinedProvider","get","IndexSetsStore","IndexSetsActions","IndicesConfigurationStore","IndicesConfigurationActions","IndexSetConfigurationPage","createReactClass","displayName","propTypes","params","PropTypes","object","isRequired","location","mixins","Reflux","connect","getInitialState","indexSet","undefined","componentDidMount","this","props","indexSetId","loadRotationStrategies","loadRetentionStrategies","_formCancelLink","query","from","Routes","SYSTEM","INDEX_SETS","SHOW","state","id","INDICES","LIST","_saveConfiguration","update","then","history","push","_isLoading","rotationStrategies","retentionStrategies","render","title","page","DocsHelper","PAGES","INDEX_MODEL","text","to","bsStyle","className","md","cancelLink","onUpdate"],"mappings":"2GAAA,+P,EAiB6CA,IAAiBC,IAAI,aAA1DC,E,EAAAA,eAAgBC,E,EAAAA,iB,EAC2CH,IAAiBC,IAAI,wBAAhFG,E,EAAAA,0BAA2BC,E,EAAAA,4BAE7BC,EAA4BC,IAAiB,CACjDC,YAAa,4BAEbC,UAAW,CACTC,OAAQC,IAAUC,OAAOC,WACzBC,SAAUH,IAAUC,OAAOC,YAG7BE,OAAQ,CAACC,IAAOC,QAAQf,GAAiBc,IAAOC,QAAQb,IAExDc,gBAViD,WAW/C,MAAO,CACLC,cAAUC,IAIdC,kBAhBiD,WAiB/ClB,EAAiBF,IAAIqB,KAAKC,MAAMb,OAAOc,YACvCnB,EAA4BoB,yBAC5BpB,EAA4BqB,2BAG9BC,gBAtBiD,WAuB/C,MAAuC,YAAnCL,KAAKC,MAAMT,SAASc,MAAMC,KACrBC,IAAOC,OAAOC,WAAWC,KAAKX,KAAKY,MAAMf,SAASgB,IAGpDL,IAAOC,OAAOK,QAAQC,MAG/BC,mBA9BiD,SA8B9BnB,GACjBhB,EAAiBoC,OAAOpB,GAAUqB,MAAK,WACrCC,IAAQC,KAAKZ,IAAOC,OAAOK,QAAQC,UAIvCM,WApCiD,WAqC/C,OAAQrB,KAAKY,MAAMf,WAAaG,KAAKY,MAAMU,qBAAuBtB,KAAKY,MAAMW,qBAG/EC,OAxCiD,WAyC/C,GAAIxB,KAAKqB,aACP,OAAO,kBAAC,IAAD,MAFF,IAKCxB,EAAaG,KAAKY,MAAlBf,SAER,OACE,kBAAC,IAAD,CAAe4B,MAAM,uBACnB,6BACE,kBAAC,IAAD,CAAYA,MAAM,uBAChB,sMAIA,gFACkD,IAChD,kBAAC,IAAD,CAAmBC,KAAMC,IAAWC,MAAMC,YAAaC,KAAK,mBAE9D,8BACE,kBAAC,gBAAD,CAAeC,GAAIvB,IAAOC,OAAOK,QAAQC,MACvC,kBAAC,IAAD,CAAQiB,QAAQ,QAAhB,0BAKN,kBAAC,IAAD,CAAKC,UAAU,WACb,kBAAC,IAAD,CAAKC,GAAI,IACP,kBAAC,IAAD,CAA2BrC,SAAUA,EACVyB,mBAAoBtB,KAAKY,MAAMU,mBAC/BC,oBAAqBvB,KAAKY,MAAMW,oBAChCY,WAAYnC,KAAKK,kBACjB+B,SAAUpC,KAAKgB,4BASzChC","file":"b999a7e7-86.9472d5d0a285679cf68d.js","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport { LinkContainer } from 'react-router-bootstrap';\n\nimport { Row, Col, Button } from 'components/graylog';\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport { IndexSetConfigurationForm } from 'components/indices';\nimport { DocumentationLink } from 'components/support';\n\nimport CombinedProvider from 'injection/CombinedProvider';\n\nimport DocsHelper from 'util/DocsHelper';\nimport history from 'util/History';\nimport Routes from 'routing/Routes';\n\nconst { IndexSetsStore, IndexSetsActions } = CombinedProvider.get('IndexSets');\nconst { IndicesConfigurationStore, IndicesConfigurationActions } = CombinedProvider.get('IndicesConfiguration');\n\nconst IndexSetConfigurationPage = createReactClass({\n  displayName: 'IndexSetConfigurationPage',\n\n  propTypes: {\n    params: PropTypes.object.isRequired,\n    location: PropTypes.object.isRequired,\n  },\n\n  mixins: [Reflux.connect(IndexSetsStore), Reflux.connect(IndicesConfigurationStore)],\n\n  getInitialState() {\n    return {\n      indexSet: undefined,\n    };\n  },\n\n  componentDidMount() {\n    IndexSetsActions.get(this.props.params.indexSetId);\n    IndicesConfigurationActions.loadRotationStrategies();\n    IndicesConfigurationActions.loadRetentionStrategies();\n  },\n\n  _formCancelLink() {\n    if (this.props.location.query.from === 'details') {\n      return Routes.SYSTEM.INDEX_SETS.SHOW(this.state.indexSet.id);\n    }\n\n    return Routes.SYSTEM.INDICES.LIST;\n  },\n\n  _saveConfiguration(indexSet) {\n    IndexSetsActions.update(indexSet).then(() => {\n      history.push(Routes.SYSTEM.INDICES.LIST);\n    });\n  },\n\n  _isLoading() {\n    return !this.state.indexSet || !this.state.rotationStrategies || !this.state.retentionStrategies;\n  },\n\n  render() {\n    if (this._isLoading()) {\n      return ;\n    }\n\n    const { indexSet } = this.state;\n\n    return (\n      \n        
\n \n \n Modify the current configuration for this index set, allowing you to customize the retention, sharding,\n and replication of messages coming from one or more streams.\n \n \n You can learn more about the index model in the{' '}\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n
\n
\n );\n },\n});\n\nexport default IndexSetConfigurationPage;\n"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy