public async Task <IEnumerable <ProcedureExecution> > GetAllByRNPAsync(string projectName, string revisionNumber, string procedureName)
        {
            var tableStore = TableStorageHelper.GetProcedureExecutionTableStore(TableStorageConfig.ConnectionString, projectName);
            IEnumerable <ProcedureExecution> procedureExecutions = await tableStore.GetByPartitionKeyAsync(revisionNumber);

            procedureExecutions = procedureExecutions.Where(pe => pe.ProcedureShortName == procedureName);
            return(procedureExecutions);
        }
        public Task InsertOrReplaceAsync(string projectName, ProcedureExecution procedureExecution)
        {
            var tableStore = TableStorageHelper.GetProcedureExecutionTableStore(TableStorageConfig.ConnectionString, projectName);

            return(tableStore.InsertOrReplaceAsync(procedureExecution));
        }
Ejemplo n.º 3
0
        public Task ReplaceAsync(Project project)
        {
            var tableStore = TableStorageHelper.GetProjectTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.InsertOrReplaceAsync(project));
        }
Ejemplo n.º 4
0
        public Task <Project> GetAsync(string domainString, string projectName)
        {
            var tableStore = TableStorageHelper.GetProjectTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetRecordAsync(domainString, projectName));
        }
Ejemplo n.º 5
0
        public Task UpdateAsync(Project project)
        {
            var tableStore = TableStorageHelper.GetProjectTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.UpdateAsync(project));
        }
Ejemplo n.º 6
0
        public Task InsertAsync(Procedure procedure)
        {
            var tableStore = TableStorageHelper.GetProcedureTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.InsertAsync(procedure));
        }
Ejemplo n.º 7
0
        public Task <IEnumerable <Project> > GetAllByDomainAsync(string domainString)
        {
            var tableStore = TableStorageHelper.GetProjectTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetByPartitionKeyAsync(domainString));
        }
Ejemplo n.º 8
0
        public Task <Procedure> GetAsync(string projectName, string procedureName)
        {
            var tableStore = TableStorageHelper.GetProcedureTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetRecordAsync(projectName, procedureName));
        }
Ejemplo n.º 9
0
        public Task <IEnumerable <Procedure> > GetAllByProjectAsync(string projectName)
        {
            var tableStore = TableStorageHelper.GetProcedureTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetByPartitionKeyAsync(projectName));
        }
Ejemplo n.º 10
0
        public Task InsertOrReplaceAsync(Release release)
        {
            var tableStore = TableStorageHelper.GetReleaseTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.InsertOrReplaceAsync(release));
        }
Ejemplo n.º 11
0
        public Task <Release> GetAsync(string projectName, string revisionNumber)
        {
            var tableStore = TableStorageHelper.GetReleaseTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetRecordAsync(projectName, revisionNumber));
        }
Ejemplo n.º 12
0
        public Task UpdateAsync(Revision revision)
        {
            var tableStore = TableStorageHelper.GetRevisionTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.UpdateAsync(revision));
        }