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

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

There is a newer version: 6.0.2
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["b999a7e7-104"],{PXGMUegA:function(e,t,n){"use strict";n.r(t);var a=n("ii0bleBb"),i=n.n(a),o=n("ivGQtwpr"),r=n.n(o),c=n("PcYM+wZ7"),l=n.n(c),s=n("wkvtUUMm"),u=n("qoq4u5Uq"),f=n("oBIKikY9"),m=n("W+sNG9T1"),g=n("21p8kIWv"),S=n("f40X60ZD"),d=n("oJCa9+JL"),E=n("+CppQpVm"),C=g.a.get("CollectorConfigurations").CollectorConfigurationsActions,p=l()({displayName:"SidecarEditConfigurationPage",propTypes:{params:i.a.object.isRequired},getInitialState:function(){return{configuration:void 0}},componentDidMount:function(){this._reloadConfiguration()},_reloadConfiguration:function(){var e=this,t=this.props.params.configurationId;C.getConfiguration(t).then((function(n){e.setState({configuration:n}),C.getConfigurationSidecars(t).then((function(t){return e.setState({configurationSidecars:t})}))}),(function(e){404===e.status&&E.a.push(m.a.SYSTEM.SIDECARS.CONFIGURATION)}))},_isLoading:function(){return!this.state.configuration||!this.state.configurationSidecars},_variableRenameHandler:function(e,t){this.configurationForm.replaceConfigurationVariableName(e,t)},render:function(){var e=this;return this._isLoading()?r.a.createElement(f.L,null):r.a.createElement(f.i,{title:"Collector Configuration"},r.a.createElement("span",null,r.a.createElement(f.A,{title:"Collector Configuration"},r.a.createElement("span",null,"Some words about collector configurations."),r.a.createElement("span",null,"Read more about the Graylog Sidecar in the documentation."),r.a.createElement(u.e,null,r.a.createElement(s.LinkContainer,{to:m.a.SYSTEM.SIDECARS.OVERVIEW},r.a.createElement(u.c,{bsStyle:"info"},"Overview")),r.a.createElement(s.LinkContainer,{to:m.a.SYSTEM.SIDECARS.ADMINISTRATION},r.a.createElement(u.c,{bsStyle:"info"},"Administration")),r.a.createElement(s.LinkContainer,{to:m.a.SYSTEM.SIDECARS.CONFIGURATION},r.a.createElement(u.c,{bsStyle:"info",className:"active"},"Configuration")))),r.a.createElement(u.I,{className:"content"},r.a.createElement(u.h,{md:6},r.a.createElement(S.a,{ref:function(t){e.configurationForm=t},configuration:this.state.configuration,configurationSidecars:this.state.configurationSidecars})),r.a.createElement(u.h,{md:6},r.a.createElement(d.a,{onVariableRename:this._variableRenameHandler})))))}});t.default=p}}]);
//# sourceMappingURL=b999a7e7-104.9472d5d0a285679cf68d.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy