コード例 #1
0
 public override void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent)
 {
     if (HasSomethingToDeploy(selfServiceReportingComponent))
     {
         RunArasUpdateCmdForComponent(selfServiceReportingComponent);
     }
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public override void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent)
 {
     ApplyToWebComponent(selfServiceReportingComponent);
 }
コード例 #4
0
 public abstract void ApplyToSelfServiceReportingComponent(SelfServiceReportingComponent selfServiceReportingComponent);