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

HicServices / RDMP / 9988359965

18 Jul 2024 08:42AM UTC coverage: 57.299% (+0.6%) from 56.679%
9988359965

push

github

JFriel
Merge branch 'develop' of https://github.com/HicServices/RDMP

11072 of 20790 branches covered (53.26%)

Branch coverage included in aggregate %.

31313 of 53181 relevant lines covered (58.88%)

7885.96 hits per line

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

0.0
/Rdmp.Core/Ticketing/PluginTicketingSystem.cs
1
// Copyright (c) The University of Dundee 2018-2019
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 System;
8
using System.Collections.Generic;
9
using Rdmp.Core.Curation;
10
using Rdmp.Core.ReusableLibraryCode.Checks;
11
using Rdmp.Core.ReusableLibraryCode.DataAccess;
12

13
namespace Rdmp.Core.Ticketing;
14

15
public abstract class PluginTicketingSystem : ITicketingSystem
16
{
17
    protected IDataAccessCredentials Credentials { get; set; }
×
18
    protected string Url { get; set; }
×
19

20
    protected PluginTicketingSystem(TicketingSystemConstructorParameters parameters)
×
21
    {
22
        Credentials = parameters.Credentials;
×
23
        Url = parameters.Url;
×
24
    }
×
25

26
    public abstract void Check(ICheckNotifier notifier);
27
    public abstract bool IsValidTicketName(string ticketName);
28
    public abstract void NavigateToTicket(string ticketName);
29

30
    public abstract TicketingReleaseabilityEvaluation GetDataReleaseabilityOfTicket(string masterTicket,
31
        string requestTicket, string releaseTicket, List<TicketingSystemReleaseStatus> acceptedStatuses,out string reason, out Exception exception);
32

33
    public abstract string GetProjectFolderName(string masterTicket);
34

35
    public abstract List<string> GetAvailableStatuses();
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