Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
web-interface.assets.0c1a66a2-112.1ec71fc30880f2142b45.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack:///./src/pages/ThreadDumpPage.jsx"],"names":["NodesStore","StoreProvider","getStore","CurrentUserStore","ClusterOverviewStore","ThreadDumpPage","createReactClass","displayName","propTypes","params","PropTypes","object","isRequired","mixins","Reflux","connect","connectFilter","state","nodes","this","props","nodeId","componentDidMount","threadDump","then","setState","_isLoading","node","render","title","short_node_id","hostname","DateTime","now","toString","Formats","COMPLETE","className","md"],"mappings":"8GAAA,+KAYMA,EAAaC,IAAcC,SAAS,SACpCC,EAAmBF,IAAcC,SAAS,eAC1CE,EAAuBH,IAAcC,SAAS,mBAMpD,IAAMG,EAAiBC,IAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,OAAQC,IAAUC,OAAOC,YAG3BC,OAAQ,CAACC,IAAOC,QAAQZ,GAAmBW,IAAOE,cAAchB,EAAY,QAX9E,SAAoBiB,GAClB,OAAOA,EAAMC,MAAQD,EAAMC,MAAMC,KAAKC,MAAMX,OAAOY,QAAUJ,EAAMC,UAYnEI,kBATsC,WASlB,WAClBlB,EAAqBmB,WAAWJ,KAAKC,MAAMX,OAAOY,QAAQG,MAAK,SAACD,GAAD,OAAgB,EAAKE,SAAS,CAAEF,WAAYA,QAG7GG,WAbsC,WAcpC,OAAQP,KAAKF,MAAMU,MAGrBC,OAjBsC,WAkBpC,GAAIT,KAAKO,aACP,OAAO,kBAAC,IAAD,MAGT,IAAMG,EACJ,qDACuBV,KAAKF,MAAMU,KAAKG,cADvC,MACyDX,KAAKF,MAAMU,KAAKI,SADzE,IAGE,2CAAiBC,IAASC,MAAMC,SAASF,IAASG,QAAQC,YAIxDb,EAAaJ,KAAKF,MAAMM,WAAa,yBAAKc,UAAU,cAAclB,KAAKF,MAAMM,YAAoB,kBAAC,IAAD,MAEvG,OACE,kBAAC,IAAD,CAAeM,MAAK,8BAAyBV,KAAKF,MAAMU,KAAKG,cAAzC,cAA4DX,KAAKF,MAAMU,KAAKI,WAC9F,6BACE,kBAAC,IAAD,CAAYF,MAAOA,GACjB,gCAEF,kBAAC,IAAD,CAAKQ,UAAU,WACb,kBAAC,IAAD,CAAKC,GAAI,IACNf,SASAlB","file":"0c1a66a2-112.1ec71fc30880f2142b45.js","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport { Row, Col } from 'components/graylog';\n\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\n\nimport StoreProvider from 'injection/StoreProvider';\n\nimport DateTime from 'logic/datetimes/DateTime';\n\nconst NodesStore = StoreProvider.getStore('Nodes');\nconst CurrentUserStore = StoreProvider.getStore('CurrentUser');\nconst ClusterOverviewStore = StoreProvider.getStore('ClusterOverview');\n\nfunction nodeFilter(state) {\n return state.nodes ? state.nodes[this.props.params.nodeId] : state.nodes;\n}\n\nconst ThreadDumpPage = createReactClass({\n displayName: 'ThreadDumpPage',\n\n propTypes: {\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(CurrentUserStore), Reflux.connectFilter(NodesStore, 'node', nodeFilter)],\n\n componentDidMount() {\n ClusterOverviewStore.threadDump(this.props.params.nodeId).then((threadDump) => this.setState({ threadDump: threadDump }));\n },\n\n _isLoading() {\n return !this.state.node;\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const title = (\n \n Thread dump of node {this.state.node.short_node_id} / {this.state.node.hostname}\n \n Taken at {DateTime.now().toString(DateTime.Formats.COMPLETE)} \n \n );\n\n const threadDump = this.state.threadDump ? {this.state.threadDump} : ;\n\n return (\n \n \n
\n \n \n
\n \n {threadDump}\n \n
\n
\n \n );\n },\n});\n\nexport default ThreadDumpPage;\n"],"sourceRoot":""}