-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/SkillsFundingAgency/das-e…
…mployerapprenticeshipsservice into MAP-85
- Loading branch information
Showing
44 changed files
with
326 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
src/SFA.DAS.EAS.Support.Infrastructure/Services/LevyTokenHttpClientMaker.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/SFA.DAS.EAS.Support.Infrastructure/Settings/HmrcApiBaseUrlConfig.cs
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
src/SFA.DAS.EAS.Support.Infrastructure/Settings/HmrcApiClientConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace SFA.DAS.EAS.Support.Infrastructure.Settings | ||
{ | ||
public class HmrcApiClientConfiguration : IHmrcApiClientConfiguration | ||
{ | ||
[JsonRequired] | ||
public string ApiBaseUrl { get; set; } | ||
} | ||
} |
7 changes: 0 additions & 7 deletions
7
src/SFA.DAS.EAS.Support.Infrastructure/Settings/IHmrcApiBaseUrlConfig.cs
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/SFA.DAS.EAS.Support.Infrastructure/Settings/IHmrcApiClientConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace SFA.DAS.EAS.Support.Infrastructure.Settings | ||
{ | ||
public interface IHmrcApiClientConfiguration | ||
{ | ||
string ApiBaseUrl { get; set; } | ||
} | ||
} |
10 changes: 3 additions & 7 deletions
10
src/SFA.DAS.EAS.Support.Infrastructure/Settings/ILevySubmissionsSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/SFA.DAS.EAS.Support.Infrastructure/Settings/LevySubmissionsApiConfiguration.cs
This file was deleted.
Oops, something went wrong.
12 changes: 4 additions & 8 deletions
12
src/SFA.DAS.EAS.Support.Infrastructure/Settings/LevySubmissionsSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
using SFA.DAS.Activities.Client; | ||
using SFA.DAS.EAS.Application.DependencyResolution; | ||
using StructureMap; | ||
using SFA.DAS.Activities.Client; | ||
using SFA.DAS.EAS.Application.DependencyResolution; | ||
using StructureMap; | ||
using SFA.DAS.Authorization.DependencyResolution.StructureMap; | ||
|
||
namespace SFA.DAS.EAS.Web.DependencyResolution | ||
{ | ||
public static class IoC | ||
{ | ||
public static IContainer Initialize() | ||
{ | ||
return new Container(c => | ||
{ | ||
c.AddRegistry<ActivitiesClientRegistry>(); | ||
c.AddRegistry<AuditRegistry>(); | ||
c.AddRegistry<AuthorizationRegistry>(); | ||
c.AddRegistry<CachesRegistry>(); | ||
c.AddRegistry<CommitmentsRegistry>(); | ||
c.AddRegistry<ConfigurationRegistry>(); | ||
c.AddRegistry<DataRegistry>(); | ||
c.AddRegistry<EventsRegistry>(); | ||
c.AddRegistry<ExecutionPoliciesRegistry>(); | ||
c.AddRegistry<HashingRegistry>(); | ||
c.AddRegistry<LoggerRegistry>(); | ||
c.AddRegistry<MapperRegistry>(); | ||
c.AddRegistry<MediatorRegistry>(); | ||
c.AddRegistry<MessagePublisherRegistry>(); | ||
c.AddRegistry<NotificationsRegistry>(); | ||
c.AddRegistry<ReferenceDataRegistry>(); | ||
c.AddRegistry<RepositoriesRegistry>(); | ||
c.AddRegistry<TasksRegistry>(); | ||
c.AddRegistry<TokenServiceRegistry>(); | ||
c.AddRegistry<ValidationRegistry>(); | ||
c.AddRegistry<DefaultRegistry>(); | ||
}); | ||
} | ||
} | ||
namespace SFA.DAS.EAS.Web.DependencyResolution | ||
{ | ||
public static class IoC | ||
{ | ||
public static IContainer Initialize() | ||
{ | ||
return new Container(c => | ||
{ | ||
c.AddRegistry<ActivitiesClientRegistry>(); | ||
c.AddRegistry<AuditRegistry>(); | ||
c.AddRegistry<AuthorizationRegistry>(); | ||
c.AddRegistry<CachesRegistry>(); | ||
c.AddRegistry<CommitmentsRegistry>(); | ||
c.AddRegistry<ConfigurationRegistry>(); | ||
c.AddRegistry<DataRegistry>(); | ||
c.AddRegistry<EventsRegistry>(); | ||
c.AddRegistry<HashingRegistry>(); | ||
c.AddRegistry<LoggerRegistry>(); | ||
c.AddRegistry<MapperRegistry>(); | ||
c.AddRegistry<MediatorRegistry>(); | ||
c.AddRegistry<MessagePublisherRegistry>(); | ||
c.AddRegistry<NotificationsRegistry>(); | ||
c.AddRegistry<ReferenceDataRegistry>(); | ||
c.AddRegistry<RepositoriesRegistry>(); | ||
c.AddRegistry<TasksRegistry>(); | ||
c.AddRegistry<ValidationRegistry>(); | ||
c.AddRegistry<DefaultRegistry>(); | ||
}); | ||
} | ||
} | ||
} |
Oops, something went wrong.