-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2a5fd50
Showing
470 changed files
with
102,288 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
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,30 @@ | ||
bin/ | ||
obj/ | ||
|
||
*.cache | ||
*.nupkg | ||
*.pdb | ||
*.trx | ||
*.dll | ||
*.zip | ||
*DotSettings.user | ||
*.pyc | ||
*.user | ||
*.suo | ||
*.sln | ||
|
||
.vs/ | ||
|
||
*.GhostDoc.xml | ||
*.GhostDoc.user.dic | ||
src/packages/* | ||
src/TestResults/* | ||
sandcastle/Help/* | ||
DemoProject/packages/* | ||
XsdSchemaFetcher/SchemaFetcher/packages/* | ||
|
||
build/Help/* | ||
export | ||
|
||
**/packages/* | ||
**/custom/* |
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 @@ | ||
To use the functionalities of the MTS SDK, you need a Sportradar MTS account and you need to accept Terms and Conditions at http://sdk.sportradar.com/mts/net/eula. |
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,114 @@ | ||
A MTS SDK library | ||
|
||
Notice: before starting DemoProject make sure to enter your bookmaker access token in app.config file | ||
and restore nuget packages by right-clicking the solution item and selecting "Restore NuGet Packages". | ||
|
||
The SDK is also available via NuGet package manager. Use the followin command in the Package Manager Console to install it along with it's dependencies | ||
- Install-Package Sportradar.MTS.SDK | ||
|
||
The SDK uses the following 3rd party libraries which must be added via the NuGet package manager | ||
- Metrics | ||
- log4net | ||
- RabbitMQ.Client | ||
- Microsoft.Practices.Unity | ||
- CommonServiceLocator | ||
- Newtonsoft.Json | ||
|
||
The package contains: | ||
- DemoProject: A Visual Studio 2015 solution containing a demo project showing the basic usage of the SDK | ||
- libs: DLL file composing the MTS SDK | ||
- MTS SDK Documentation.chm: A documentation file describing exposed entities | ||
- Resources containing the log4net configuration needed by the MTS SDK | ||
|
||
CHANGE LOG: | ||
2018-10-05 1.5.0.0 | ||
Added MtsSdk.TicketResponseTimedOut event to notify user if the ticket response did not arrive in timely fashion (when sending in non-blocking mode) | ||
Added 'exclusiveConsumer' property to the configuration, indicating should the rabbit consumer channel be exclusive (default is true) | ||
Renamed ClientIteration logger to ClientInteraction (check log4net.config) | ||
Added timeout when fetching MarketDescriptions from API fails (30s) | ||
Improved handling and logging for market description (for UF markets) | ||
Fix: BetBonus value condition - if set, must be greater then zero | ||
Fix: possible memory leak when sending in blocking mode | ||
Minor fixes and improvements | ||
|
||
2018-03-26 1.4.0.0 | ||
Downgraded librarys target framework to v4.5.1 | ||
Added method ToJson() to all tickets (returns json send to or received from MTS) | ||
Fixed Example11 | ||
|
||
2018-01-17 1.3.0.0 | ||
Support for ticket and ticket response v2.1 | ||
Selection.Id max length increased to 1000 | ||
SumOfWins - can be null or greater then zero | ||
Removed all sender channel specific validation during ticket building | ||
Ticket response reasons internal message marked as obsolete | ||
Added rejection info to ticket response selection detail | ||
Added additional info property to ticket response | ||
Added SSL certification verification (uses TLS 1.2) | ||
Added examples from MTS Ticket Integration v31 documentation | ||
|
||
2017-12-21 1.2.1.0 | ||
Fix: TicketBuilder for multi-bet tickets with same selections but different odds or different banker value | ||
|
||
2017-11-16 1.2.0.0 | ||
Added new config property 'port' | ||
|
||
2017-11-16 1.2.0.0 | ||
Added new config property 'port' | ||
|
||
2017-11-08 1.1.6.0 | ||
Fix: ShopId is not required for Retail sender channel | ||
|
||
2017-10-19 1.1.5.0 | ||
Sender.Currency property updated to accept also 4-letter sign (i.e. mBTC) | ||
Added SdkConfigurationBuilder for building SdkConfiguration | ||
|
||
2017-09-13 1.1.4.0 | ||
Added new config property 'provideAdditionalMarketSpecifiers' | ||
Fix: building selection id with UF specifiers | ||
Fix: removed requirement check for selectionDetails in ticket response | ||
Fix: removed requirement for EndCustomer.Id for Terminal and Retail sender channel | ||
|
||
2017-08-28 1.1.3.0 | ||
Added TicketAck and TicketCancelAck builders | ||
Exposed property CorrelationId in all tickets and ticket responses | ||
Refined logging within sdk (for feed and rest traffic) | ||
Property SelectionDetails on ticket response changed to optional | ||
Internal: 'selectionRef:[]' removed from json when empty | ||
Internal: added ConsumerTag to consumer channels | ||
|
||
2017-07-31 1.1.2.0 | ||
Internal: updated how ticket acknowledgements are send | ||
Internal: cleaned ticket's json representation when possible | ||
|
||
2017-06-30 1.1.1.0 | ||
Changed Sender validation | ||
Added MarketDescriptionCache for UoF markets | ||
Added 'accessToken' attribute to config section (only used for UoF markets) | ||
Changed how tickets are build (through BuilderFactory) and added input validation | ||
Internal: publisher channel settings changed to non-persistent delivery mode | ||
|
||
2017-05-15 1.1.0.0 | ||
Added Cashout support | ||
Added Cashout example | ||
|
||
2017-05-09 1.0.4.0 | ||
Added Reoffer support (Reoffer and ReofferCancel ticket) | ||
Added Reoffer example | ||
|
||
2017-04-26 1.0.3.0 | ||
Fixed builders verification | ||
Added SenderChannel verification | ||
Added builders for ticket reoffer and alternative stake ticket | ||
|
||
2017-04-13 1.0.2.0 | ||
Fixed issue when adding bet selections with banker | ||
|
||
2017-04-04 1.0.1.0 | ||
Fixed issue with connection to the MTS servers | ||
|
||
2017-03-13 Official release 1.0.0 | ||
Offical release of the MTS SDK (supports MTS tickets v2.0) | ||
|
||
2017-02-14 Release candidate 0.1.0 | ||
Support MTS ticket version 2.0 |
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 @@ | ||
!changelog! |
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 @@ | ||
^(?:(?!(\.Internal\.|Microsoft\.|log4net\.|RabbitMQ\.|Metrics\.|Newtonsoft\.)).)*$ |
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,114 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- The configuration and platform will be used to determine which assemblies to include from solution and | ||
project documentation sources --> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{225a01da-d2e3-42b9-a038-79ee5c1ce614}</ProjectGuid> | ||
<SHFBSchemaVersion>2015.6.5.0</SHFBSchemaVersion> | ||
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual Studio adds them anyway --> | ||
<AssemblyName>Documentation</AssemblyName> | ||
<RootNamespace>Documentation</RootNamespace> | ||
<Name>Documentation</Name> | ||
<!-- SHFB properties --> | ||
<FrameworkVersion>.NET Framework 4.6</FrameworkVersion> | ||
<OutputPath>doc\</OutputPath> | ||
<HtmlHelpName>MTS SDK Documentation</HtmlHelpName> | ||
<Language>en-US</Language> | ||
<DocumentationSources> | ||
<DocumentationSource sourceFile="..\src\Sportradar.MTS.SDK.API\Sportradar.MTS.SDK.API.csproj" /> | ||
<DocumentationSource sourceFile="..\src\Sportradar.MTS.SDK.Common\Sportradar.MTS.SDK.Common.csproj" /> | ||
<DocumentationSource sourceFile="..\src\Sportradar.MTS.SDK.Entities\Sportradar.MTS.SDK.Entities.csproj" /> | ||
<DocumentationSource sourceFile="..\src\Sportradar.MTS.SDK\Sportradar.MTS.SDK.csproj" /> | ||
</DocumentationSources> | ||
<SaveComponentCacheCapacity>100</SaveComponentCacheCapacity> | ||
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity> | ||
<HelpFileFormat>HtmlHelp1, Website</HelpFileFormat> | ||
<IndentHtml>False</IndentHtml> | ||
<KeepLogFile>True</KeepLogFile> | ||
<DisableCodeBlockComponent>False</DisableCodeBlockComponent> | ||
<CleanIntermediates>True</CleanIntermediates> | ||
<HelpFileVersion>1.5.0.0</HelpFileVersion> | ||
<MaximumGroupParts>2</MaximumGroupParts> | ||
<NamespaceGrouping>False</NamespaceGrouping> | ||
<SyntaxFilters>None</SyntaxFilters> | ||
<SdkLinkTarget>Top</SdkLinkTarget> | ||
<RootNamespaceContainer>False</RootNamespaceContainer> | ||
<PresentationStyle>VS2013</PresentationStyle> | ||
<Preliminary>False</Preliminary> | ||
<NamingMethod>MemberName</NamingMethod> | ||
<HelpTitle>MTS SDK Documentation</HelpTitle> | ||
<FeedbackEMailLinkText>SDK Team</FeedbackEMailLinkText> | ||
<FeedbackEMailAddress>sdk%40sportradar.com</FeedbackEMailAddress> | ||
<CopyrightText>Copyright &#169%3b 2017, Sportradar AG</CopyrightText> | ||
<CopyrightHref>http://sdk.sportradar.com</CopyrightHref> | ||
<ContentPlacement>AboveNamespaces</ContentPlacement> | ||
<ProjectSummary> | ||
</ProjectSummary> | ||
<VisibleItems>InheritedMembers, InheritedFrameworkMembers, Internals, Protected</VisibleItems> | ||
<NamespaceSummaries> | ||
<NamespaceSummaryItem name="(global)" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.API.Internal" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.API.Internal.Mappers" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.API.Internal.RabbitMq" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.API.Internal.Senders" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.API.Internal.TicketImpl" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Common.Internal" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Common.Internal.Log" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Common.Internal.Metrics" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Common.Internal.Metrics.Reports" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.Ticket" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketAck" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketCancel" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketCancelAck" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketCancelResponse" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketResponse" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.EventArguments" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.TicketImpl" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Builders" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Common.Internal.Rest" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Cache" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketCashout" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketCashoutResponse" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.Dto.TicketReofferCancel" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.REST" isDocumented="False" /> | ||
<NamespaceSummaryItem name="Sportradar.MTS.SDK.Entities.Internal.REST.Dto" isDocumented="False" /> | ||
</NamespaceSummaries> | ||
<MissingTags>Summary, Parameter, Returns, AutoDocumentCtors, TypeParameter, AutoDocumentDispose</MissingTags> | ||
<RootNamespaceTitle> | ||
</RootNamespaceTitle> | ||
</PropertyGroup> | ||
<!-- There are no properties for these groups. AnyCPU needs to appear in order for Visual Studio to perform | ||
the build. The others are optional common platform types that may appear. --> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' "> | ||
</PropertyGroup> | ||
<!-- Import the SHFB build targets --> | ||
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" /> | ||
<!-- The pre-build and post-build event properties must appear *after* the targets file import in order to be | ||
evaluated correctly. --> | ||
<PropertyGroup> | ||
<PreBuildEvent> | ||
</PreBuildEvent> | ||
<PostBuildEvent> | ||
</PostBuildEvent> | ||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | ||
</PropertyGroup> | ||
</Project> |
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,21 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>Sportradar.MTS.SDK</id> | ||
<version>0.0.0.0</version> | ||
<title>Sportradar MTS SDK</title> | ||
<authors>Sportradar AG</authors> | ||
<owners>Sportradar AG</owners> | ||
<licenseUrl>http://sdk.sportradar.com/mts/net/eula</licenseUrl> | ||
<projectUrl>http://sdk.sportradar.com/mts/net</projectUrl> | ||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
<description>The SDK simplifying the integration with Sportradar's MTS services</description> | ||
<releaseNotes>Official version</releaseNotes> | ||
<copyright>Copyright © Sportradar AG 2017</copyright> | ||
<tags>SportRadar MTS SDK Ticket</tags> | ||
</metadata> | ||
<files> | ||
<file src="Readme.txt" target="" /> | ||
<file src="lib\**" target="lib" /> | ||
</files> | ||
</package> |
Oops, something went wrong.