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

web-interface.assets.325e2d4b-1412.04c7694aaa3067449a2e.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"325e2d4b-1412.04c7694aaa3067449a2e.js","mappings":"mXA6BA,MASMA,EAAkB,IAAe,IAAd,MAAEC,GAAY,EACrC,OAAKA,EARiBA,KACtB,MAAMC,EAAWC,OAAOC,OAAOH,GACzBI,EAAaC,EAAAA,GAAoB,KAEvC,OAAQJ,EAASK,WAAWC,GAAS,IAAIC,IAAJ,CAAQD,EAAKE,mBAAmBC,oBAAoBC,aAAeP,KAAe,CAAvH,EAQIQ,CAAeZ,GAEf,gBAAC,KAAD,CAAoBa,QAAQ,OAAOC,KAAMT,EAAAA,GAhBhB,mCAgBzB,8BAMG,KAXE,gBAAC,KAAD,KAWT,EAGFN,EAAgBgB,UAAY,CAC1Bf,MAAOgB,IAAAA,QAGTjB,EAAgBkB,aAAe,CAC7BjB,WAAOkB,GAGT,MA0BA,EA1BkBC,IAAiB,CAEjCC,YAAa,YACbC,OAAQ,CAACC,IAAAA,QAAeC,EAAAA,GAAmBD,IAAAA,QAAeE,EAAAA,IAE1DC,SACE,MAAM,MAAEzB,EAAF,YAAS0B,GAAgBC,KAAKC,MAEpC,OACE,gBAAC,KAAD,CAAeC,MAAM,SACnB,2BACE,gBAAC,KAAD,CAAYA,MAAM,QAAQC,QAAS,gBAAC/B,EAAD,CAAiBC,MAAOA,KACzD,2XAOF,gBAAC,KAAD,CAAW+B,YAAaL,EAAYK,YAAa/B,MAAOA,KAI/D,G","sources":["webpack://graylog-web-interface/./src/pages/NodesPage.jsx"],"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 React from 'react';\n// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport URI from 'urijs';\nimport PropTypes from 'prop-types';\n\nimport * as URLUtils from 'util/URLUtils';\nimport { DocumentTitle, ExternalLinkButton, PageHeader, Spinner } from 'components/common';\nimport { NodesList } from 'components/nodes';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { NodesStore } from 'stores/nodes/NodesStore';\n\nconst GLOBAL_API_BROWSER_URL = '/api-browser/global/index.html';\n\nconst hasExternalURI = (nodes) => {\n  const nodeVals = Object.values(nodes);\n  const publishURI = URLUtils.qualifyUrl('/');\n\n  return (nodeVals.findIndex((node) => new URI(node.transport_address).normalizePathname().toString() !== publishURI) >= 0);\n};\n\nconst GlobalAPIButton = ({ nodes }) => {\n  if (!nodes) {\n    return ;\n  }\n\n  if (hasExternalURI(nodes)) {\n    return (\n      \n        Cluster Global API browser\n      \n    );\n  }\n\n  return null;\n};\n\nGlobalAPIButton.propTypes = {\n  nodes: PropTypes.object,\n};\n\nGlobalAPIButton.defaultProps = {\n  nodes: undefined,\n};\n\nconst NodesPage = createReactClass({\n  // eslint-disable-next-line react/no-unused-class-component-methods\n  displayName: 'NodesPage',\n  mixins: [Reflux.connect(CurrentUserStore), Reflux.connect(NodesStore)],\n\n  render() {\n    const { nodes, currentUser } = this.state;\n\n    return (\n      \n        
\n }>\n \n This page provides a real-time overview of the nodes in your Graylog cluster.\n You can pause message processing at any time. The process buffers will not accept any new messages until\n you resume it. If the message journal is enabled for a node, which it is by default, incoming messages\n will be persisted to disk, even when processing is disabled.\n \n \n \n
\n
\n );\n },\n});\n\nexport default NodesPage;\n"],"names":["GlobalAPIButton","nodes","nodeVals","Object","values","publishURI","URLUtils","findIndex","node","URI","transport_address","normalizePathname","toString","hasExternalURI","bsStyle","href","propTypes","PropTypes","defaultProps","undefined","createReactClass","displayName","mixins","Reflux","CurrentUserStore","NodesStore","render","currentUser","this","state","title","actions","permissions"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy