Example #1
0
 public SSIS2008EmitterPhase(string WorkflowUniqueName)
 {
     this._workflowUniqueName = WorkflowUniqueName;
     _guid = Guid.NewGuid();
     _message = MessageEngine.Create(String.Format(System.Globalization.CultureInfo.InvariantCulture, "SSISFactory: {0}", _guid.ToString()));
     _pluginLoader = new PluginLoader<ISSISEmitter, PhysicalIRMappingAttribute>(null, 1, 1);
 }
Example #2
0
        public PhaseWorkflow(string Name)
        {
            this._Name = Name;
            this._PhaseWorkflow = new List<PhaseExecutionHost>();
            this._PhaseExecutionHostsByWorkflowUniqueName = new Dictionary<string, PhaseExecutionHost>();
            this._PhaseExecutionStatusByWorkflowUniqueName = new Dictionary<string, bool>();

            this.Message = MessageEngine.Create(String.Format("__PHASE WORKFLOW: {0}", Name));
        }
Example #3
0
        public SsisPipelineTask(PipelineTask objETL, SSISEmitterContext context)
            : base(objETL, context)
        {
            _logicalETL = objETL;

            _guid = Guid.NewGuid();
            // TODO: Do this for everything
            _message = MessageEngine.Create(String.Format(System.Globalization.CultureInfo.InvariantCulture, "__SSIS2008Emitter:SSISDataFlow {0}", _guid.ToString()));
            _componentList = new List<SsisComponent>();
        }
Example #4
0
        public static MessageEngine Create(string Name)
        {
            if (_MessageEnginesByName.ContainsKey(Name))
            {
                _GlobalMessageEngine.Trace(Severity.Error, Resources.ErrorMessageEngineNameDuplicate, Name);
            }
            MessageEngine CreatedMessageEngine = new MessageEngine(Name);
            _MessageEnginesByName.Add(Name, CreatedMessageEngine);

            return CreatedMessageEngine;
        }
Example #5
0
 internal SSISEmitterContext(SsisPackage package, SsisSequence parentSequence, PluginLoader<ISSISEmitter, PhysicalIRMappingAttribute> pluginLoader)
 {
     _package = package;
     _ssisSequence = parentSequence;
     _guid = Guid.NewGuid();
     _message = MessageEngine.Create(String.Format(System.Globalization.CultureInfo.InvariantCulture, "SSISFactory: {0}", _guid.ToString()));
     if (_ssisSequence != null)
     {
         _parentContainer = _ssisSequence.DTSSequence;
     }
     _pluginLoader = pluginLoader;
 }
Example #6
0
 public PhasePluginLoader()
 {
     this._PluginLoader = new PluginLoader<IPhase, PhaseFriendlyNameAttribute>(Settings.Default.SubpathPhasePluginFolder, 0, 1);
     this._Message = MessageEngine.Create("__PHASE PLUGIN LOADER");
 }
Example #7
0
        public PhaseExecutionHost(string WorkflowUniqueName, IPhase HostedPhase)
        {
            this._WorkflowUniqueName = WorkflowUniqueName;
            this._HostedPhase = HostedPhase;
            this._Predecessors = new List<PhaseExecutionHost>();
            this._Successors = new List<PhaseExecutionHost>();
            this._PredecessorIRs = new Dictionary<PhaseExecutionHost, IIR>();

            this.ExecutionStarted = false;
            this.ExecutionComplete = false;

            this.Message = MessageEngine.Create(String.Format("__PHASE EXECUTION HOST: {0}", WorkflowUniqueName));
        }
Example #8
0
 static MessageEngine()
 {
     _MessageEnginesByName = new Dictionary<string, MessageEngine>();
     _GlobalMessageEngine = new MessageEngine("__GLOBAL");
     _MessageEnginesByName.Add("__GLOBAL", _GlobalMessageEngine);
 }
Example #9
0
 public XmlXsltTransformPhase(string WorkflowUniqueName)
 {
     this._workflowUniqueName = WorkflowUniqueName;
     this._message = MessageEngine.Create(this.WorkflowUniqueName);
 }
Example #10
0
 public AdvancedFeaturesPhase(string WorkflowUniqueName)
 {
     this._workflowUniqueName = WorkflowUniqueName;
     this._message = MessageEngine.Create(WorkflowUniqueName);
 }
Example #11
0
 public XmlSchemaValidatorPhase(string WorkflowUniqueName)
 {
     this._WorkflowUniqueName = WorkflowUniqueName;
     this.Message = MessageEngine.Create(WorkflowUniqueName);
 }
Example #12
0
File: XmlIR.cs Project: japj/vulcan
        public XmlIR()
        {
            // TODO: Cleanup up schema handling - put it all in a configured location
            _xmlSchemaSet = new XmlSchemaSet();
            _xmlSchemaSet.Add(null, PathManager.GetToolSubpath("xsd\\vulcan2.xsd"));

            this._documents = new Dictionary<XmlIRDocumentType, List<XDocument>>();
            this._documentsLoaded = new HashSet<string>();

            foreach (XmlIRDocumentType docType in Enum.GetValues(typeof(XmlIRDocumentType)))
            {
                this._documents.Add(docType, new List<XDocument>());
            }

            this._id = Guid.NewGuid();
            this._isValidated = false;
            this._message = MessageEngine.Create(String.Format("__XmlIR: {0}", this._id));
        }
Example #13
0
File: XmlIR.cs Project: japj/vulcan
 protected XmlIR(XmlIR xmlIR)
 {
     this._isValidated = xmlIR._isValidated;
     this._documents = xmlIR._documents;
     this._xmlSchemaSet = xmlIR._xmlSchemaSet;
     this._id = xmlIR._id;
     this._message = xmlIR._message;
     this._documentsLoaded = xmlIR._documentsLoaded;
 }