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

web-interface.assets.b6fe2bb5-2315.b752471eb8d83c260390.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-2315.b752471eb8d83c260390.js","mappings":"4XAiCA,IAAMA,EAAiBC,GAAAA,CAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,OAAQC,IAAAA,OAAAA,YAGVC,OAAQ,CAACC,IAAAA,QAAeC,EAAAA,GAAmBD,IAAAA,cAAqBE,EAAAA,EAAY,QAX9E,SAAoBC,GAClB,OAAOA,EAAMC,MAAQD,EAAMC,MAAMC,KAAKC,MAAMT,OAAOU,QAAUJ,EAAMC,UAYnEI,kBATsC,WASlB,WAClBC,EAAAA,EAAAA,WAAgCJ,KAAKC,MAAMT,OAAOU,QAAQG,MAAK,SAACC,GAAD,OAAgB,EAAKC,SAAS,CAAED,WAAYA,QAG7GE,WAbsC,WAcpC,OAAQR,KAAKF,MAAMW,MAGrBC,OAjBsC,WAkBpC,GAAIV,KAAKQ,aACP,OAAO,gBAAC,KAAD,MAGT,IAAMG,EACJ,mDACuBX,KAAKF,MAAMW,KAAKG,cADvC,MACyDZ,KAAKF,MAAMW,KAAKI,SADzE,IAGE,yCAAiBC,EAAAA,EAAAA,MAAeC,SAASD,EAAAA,EAAAA,QAAAA,YAIvCR,EAAaN,KAAKF,MAAMQ,WAAa,uBAAKU,UAAU,cAAchB,KAAKF,MAAMQ,YAAoB,gBAAC,KAAD,MAEvG,OACE,gBAAC,KAAD,CAAeK,MAAK,8BAAyBX,KAAKF,MAAMW,KAAKG,cAAzC,cAA4DZ,KAAKF,MAAMW,KAAKI,WAC9F,2BACE,gBAAC,KAAD,CAAYF,MAAOA,GACjB,8BAEF,gBAAC,KAAD,CAAKK,UAAU,WACb,gBAAC,KAAD,CAAKC,GAAI,IACNX,SASf,SAAeY,EAAAA,EAAAA,GAAW9B,I,iLCvDbgB,GAAuBe,EAAAA,EAAAA,IAClC,wBACA,kBAAMxB,IAAAA,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graylog-web-interface/./src/stores/cluster/ClusterOverviewStore.js","webpack://graylog-web-interface/./src/stores/load-balancer/SystemLoadBalancerStore.js","webpack://graylog-web-interface/./src/stores/system-processing/SystemProcessingStore.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';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport { Row, Col } from 'components/bootstrap';\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport DateTime from 'logic/datetimes/DateTime';\nimport withParams from 'routing/withParams';\nimport { ClusterOverviewStore } from 'stores/cluster/ClusterOverviewStore';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { NodesStore } from 'stores/nodes/NodesStore';\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 withParams(ThreadDumpPage);\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';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport { SystemLoadBalancerStore } from 'stores/load-balancer/SystemLoadBalancerStore';\nimport { SystemProcessingStore } from 'stores/system-processing/SystemProcessingStore';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const ClusterOverviewStore = singletonStore(\n 'core.ClusterOverview',\n () => Reflux.createStore({\n sourceUrl: '/cluster',\n clusterOverview: undefined,\n\n init() {\n this.cluster();\n this.listenTo(SystemProcessingStore, this.cluster);\n this.listenTo(SystemLoadBalancerStore, this.cluster);\n this.listenTo(NodesStore, this.cluster);\n },\n\n getInitialState() {\n return { clusterOverview: this.clusterOverview };\n },\n\n cluster() {\n const promise = fetch('GET', URLUtils.qualifyUrl(this.sourceUrl));\n\n promise.then(\n (response) => {\n this.clusterOverview = response;\n this.trigger({ clusterOverview: this.clusterOverview });\n },\n (error) => UserNotification.error(`Getting cluster overview failed: ${error}`, 'Could not get cluster overview'),\n );\n\n return promise;\n },\n\n threadDump(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/threaddump`))\n .then(\n (response) => {\n return response.threaddump;\n },\n (error) => UserNotification.error(`Getting thread dump for node '${nodeId}' failed: ${error}`, 'Could not get thread dump'),\n );\n\n return promise;\n },\n\n processbufferDump(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/processbufferdump`))\n .then(\n (response) => {\n return response.processbuffer_dump;\n },\n (error) => UserNotification.error(`Getting process buffer dump for node '${nodeId}' failed: ${error}`, 'Could not get process buffer dump'),\n );\n\n return promise;\n },\n\n jvm(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/jvm`));\n\n promise.catch((error) => UserNotification.error(`Getting JVM information for node '${nodeId}' failed: ${error}`, 'Could not get JVM information'));\n\n return promise;\n },\n }),\n);\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';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const SystemLoadBalancerStore = singletonStore(\n 'core.SystemLoadBalancer',\n () => Reflux.createStore({\n sourceUrl: (nodeId) => `/cluster/${nodeId}/lbstatus`,\n\n override(nodeId, status) {\n return fetch('PUT', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/override/${status}`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Load balancer status successfully changed do '${status}' in node '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Changing load balancer status in '${nodeId}' failed: ${error}`,\n `Could not change load balancer status to '${status}' in node '${nodeId}'`);\n },\n );\n },\n }),\n);\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';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\n\nimport { singletonStore } from '../../logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const SystemProcessingStore = singletonStore(\n 'core.SystemProcessing',\n () => Reflux.createStore({\n sourceUrl: (nodeId) => `/cluster/${nodeId}/processing`,\n\n pause(nodeId) {\n return fetch('POST', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/pause`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Message processing paused successfully in '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Pausing message processing in '${nodeId}' failed: ${error}`,\n `Could not pause message processing in node '${nodeId}'`);\n },\n );\n },\n\n resume(nodeId) {\n return fetch('POST', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/resume`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Message processing resumed successfully in '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Resuming message processing in '${nodeId}' failed: ${error}`,\n `Could not resume message processing in node '${nodeId}'`);\n },\n );\n },\n }),\n);\n"],"names":["ThreadDumpPage","createReactClass","displayName","propTypes","params","PropTypes","mixins","Reflux","CurrentUserStore","NodesStore","state","nodes","this","props","nodeId","componentDidMount","ClusterOverviewStore","then","threadDump","setState","_isLoading","node","render","title","short_node_id","hostname","DateTime","toString","className","md","withParams","singletonStore","sourceUrl","clusterOverview","undefined","init","cluster","listenTo","SystemProcessingStore","SystemLoadBalancerStore","getInitialState","promise","fetch","URLUtils","response","trigger","error","UserNotification","threaddump","processbufferDump","processbuffer_dump","jvm","override","status","pause","resume"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy