• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HicServices / RDMP / 9543916728

17 Jun 2024 07:49AM UTC coverage: 56.915% (+0.001%) from 56.914%
9543916728

Pull #1844

github

web-flow
FTP, SFTP timeouts and liveness checks (#1856)

* Bump HIC.FAnsiSql from 3.2.3 to 3.2.4 (#1850)

Bumps [HIC.FAnsiSql](https://github.com/HicServices/FAnsiSql) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/HicServices/FAnsiSql/releases)
- [Changelog](https://github.com/HicServices/FAnsiSql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/HicServices/FAnsiSql/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: HIC.FAnsiSql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump HIC.FAnsiSql from 3.2.4 to 3.2.5 (#1852)

Bumps [HIC.FAnsiSql](https://github.com/HicServices/FAnsiSql) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/HicServices/FAnsiSql/releases)
- [Changelog](https://github.com/HicServices/FAnsiSql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/HicServices/FAnsiSql/compare/v3.2.4...v3.2.5)

---
updated-dependencies:
- dependency-name: HIC.FAnsiSql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Autoupdater.NET.Official from 1.8.6 to 1.9.0

Bumps [Autoupdater.NET.Official](https://github.com/ravibpatel/AutoUpdater.NET) from 1.8.6 to 1.9.0.
- [Release notes](https://github.com/ravibpatel/AutoUpdater.NET/releases)
- [Commits](https://github.com/ravibpatel/AutoUpdater.NET/compare/v1.8.6...v1.9.0)

---
updated-dependencies:
- dependency-name: Autoupdater.NET.Official
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* FTP, SFTP timeouts and liveness checks

---------

Signed-off-by: dependabot[bot] <support... (continued)
Pull Request #1844: Release/8.1.7

10819 of 20488 branches covered (52.81%)

Branch coverage included in aggregate %.

13 of 31 new or added lines in 6 files covered. (41.94%)

3 existing lines in 2 files now uncovered.

30840 of 52707 relevant lines covered (58.51%)

7471.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.89
/Rdmp.Core/CommandExecution/AtomicCommands/ExecuteCommandSetExtractionConfigurationCohort.cs
1
// Copyright (c) The University of Dundee 2024-2024
2
// This file is part of the Research Data Management Platform (RDMP).
3
// RDMP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
6

7
using Rdmp.Core.DataExport.Data;
8
using Rdmp.Core.Icons.IconProvision;
9
using Rdmp.Core.ReusableLibraryCode.Icons.IconProvision;
10
using SixLabors.ImageSharp.PixelFormats;
11
using SixLabors.ImageSharp;
12

13
namespace Rdmp.Core.CommandExecution.AtomicCommands;
14

15
public class ExecuteCommandSetExtractionConfigurationCohort : BasicCommandExecution, IAtomicCommand
16
{
17
    private ExtractionConfiguration _extractionConfiguration;
18
    private ExtractableCohort _extractableCohort;
19

20
    public ExecuteCommandSetExtractionConfigurationCohort(IBasicActivateItems activator, ExtractionConfiguration extractionConfiguration, ExtractableCohort cohort) : base(activator)
4✔
21
    {
22
        _extractionConfiguration = extractionConfiguration;
4✔
23
        _extractableCohort = cohort;
4✔
24
    }
4✔
25

26

27
    public override void Execute()
28
    {
29
        base.Execute();
4✔
30
        _extractionConfiguration.Cohort_ID = _extractableCohort.ID;
4✔
31
        _extractionConfiguration.SaveToDatabase();
4✔
32
    }
2✔
33

34
    public override Image<Rgba32> GetImage(IIconProvider iconProvider) =>
NEW
35
    iconProvider.GetImage(RDMPConcept.ExtractionConfiguration, OverlayKind.None);
×
36

37
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc