public ClusterWebUiController(IPublisher publisher, NodeSubsystems[] enabledNodeSubsystems) : base(publisher) { _enabledNodeSubsystems = enabledNodeSubsystems; var clusterNodeFsRoot = MiniWeb.GetWebRootFileSystemDirectory(); _clusterNodeWeb = new MiniWeb("/web", Path.Combine(clusterNodeFsRoot, @"clusternode-web")); }
public WebSiteController(IPublisher publisher, NodeSubsystems[] enabledNodeSubsystems) : base(publisher) { _enabledNodeSubsystems = enabledNodeSubsystems; string commonFSRoot = MiniWeb.GetWebRootFileSystemDirectory("EventStore.Web"); string singleNodeFSRoot = MiniWeb.GetWebRootFileSystemDirectory("EventStore.SingleNode.Web"); _singleNodeWeb = new MiniWeb("/web", Path.Combine(singleNodeFSRoot, @"", "singlenode-web")); _commonWeb = new MiniWeb("/web/es", Path.Combine(commonFSRoot, @"es-common-web")); }
public ClusterWebUIController(IPublisher publisher, NodeSubsystems[] enabledNodeSubsystems) : base(publisher) { _enabledNodeSubsystems = enabledNodeSubsystems; string commonFSRoot = MiniWeb.GetWebRootFileSystemDirectory("EventStore.Web"); //string clusterNodeFSRoot = MiniWeb.GetWebRootFileSystemDirectory("../../../Cluster/src/EventStore.ClusterNode.Web"); string clusterNodeFSRoot = MiniWeb.GetWebRootFileSystemDirectory(); _clusterNodeWeb = new MiniWeb("/web", Path.Combine(clusterNodeFSRoot, @"clusternode-web")); _commonWeb = new MiniWeb("/web/es", Path.Combine(commonFSRoot, @"es-common-web")); }
private void RegisterWebControllers(NodeSubsystems[] enabledNodeSubsystems) { Node.HttpService.SetupController(new WebSiteController(Node.MainQueue, enabledNodeSubsystems)); Node.HttpService.SetupController(new UsersWebController(Node.MainQueue)); }
public ClusterWebUiController(IPublisher publisher, NodeSubsystems[] enabledNodeSubsystems) : base(publisher) { _enabledNodeSubsystems = enabledNodeSubsystems; _clusterNodeWeb = new MiniWeb("/web"); }