public override void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent) { if (HasSomethingToDeploy(selfServiceReportingComponent)) { RunArasUpdateCmdForComponent(selfServiceReportingComponent); } }
public override void Connect(IReadOnlyCollection <Component> instanceComponents) { Logger.Instance.Log(LogLevel.Info, "\nConfiguring component ({0}) to work with component({1}):\n", DatabaseComponentId, SelfServiceReportingComponentId); DatabaseComponent databaseComponent = instanceComponents.Single(c => c.Id == DatabaseComponentId) as DatabaseComponent; SelfServiceReportingComponent selfServiceReportingComponent = instanceComponents.Single(c => c.Id == SelfServiceReportingComponentId) as SelfServiceReportingComponent; selfServiceReportingComponent.TargetFileSystem.XmlHelper.AppendFragment( GetConnectionString(databaseComponent), selfServiceReportingComponent.TargetFileSystem.XmlHelper.GetNode(selfServiceReportingComponent.PathToConfig, "/configuration/connectionStrings/add/@connectionString")); selfServiceReportingComponent.TargetFileSystem.XmlHelper.AppendFragment( databaseComponent.DatabaseName, selfServiceReportingComponent.TargetFileSystem.XmlHelper.GetNode(selfServiceReportingComponent.PathToConfig, "/configuration/connectionStrings/add/@name")); selfServiceReportingComponent.TargetFileSystem.XmlHelper.XmlPoke( selfServiceReportingComponent.PathToConfig, "/configuration/appSettings/add[@key = 'inn_server_url']/@value", databaseComponent.InnovatorServerAspxUrl); }
public override void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent) { ApplyToWebComponent(selfServiceReportingComponent); }
public abstract void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent);