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

HicServices / RDMP / 13235788803

10 Feb 2025 07:36AM UTC coverage: 57.402% (+0.01%) from 57.389%
13235788803

push

github

web-flow
Task/rdmp 265 version data loads (#2125)

* basic versions

* add basic versioning

* add versioning

* rename file

* update changelog

* fix catalogue

* fix sql

* fix up sql

* update delete

* add tests

* tidy up

* fiz clone

* fix up tree structure

* clone version

* tidy up

11338 of 21302 branches covered (53.23%)

Branch coverage included in aggregate %.

966 of 1168 new or added lines in 8 files covered. (82.71%)

3 existing lines in 3 files now uncovered.

32238 of 54612 relevant lines covered (59.03%)

17067.33 hits per line

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

0.0
/Rdmp.Core/CommandExecution/AtomicCommands/ExecuteCommandCloneLoadMetadata.cs
1
using Rdmp.Core.Curation.Data.DataLoad;
2
using Rdmp.Core.Curation.Data;
3

4
namespace Rdmp.Core.CommandExecution.AtomicCommands;
5

6
public class ExecuteCommandCloneLoadMetadata : BasicCommandExecution
7
{
8
    private readonly LoadMetadata _loadMetadata;
9
    private readonly IBasicActivateItems _activator;
NEW
10
    public ExecuteCommandCloneLoadMetadata(IBasicActivateItems activator,[DemandsInitialization("The LoadMetadata to clone")] LoadMetadata loadMetadata)
×
11
    {
12

NEW
13
        _loadMetadata = loadMetadata;
×
NEW
14
        _activator = activator;
×
NEW
15
    }
×
16

17
    public override void Execute()
18
    {
NEW
19
        base.Execute();
×
NEW
20
        var lmd = _loadMetadata.Clone();
×
NEW
21
        lmd.Name = lmd.Name + " (Clone)";
×
NEW
22
        lmd.SaveToDatabase();
×
NEW
23
        _activator.Publish(lmd);
×
24

NEW
25
    }
×
26
}
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