EF Core version of EPCIS repository
FasTnT EPCIS is a lightweight GS1 EPCIS 1.2 repository written in C# using .NET 6 and backed using EntityFramework Core.
There is a sandbox available if you want to quickly test this repository capabilities.
Prerequisites:
- SQL Server 2016 or +
- .NET 6 SDK
Steps:
- Download the source code, and create a new user/database in SQL Server for FasTnT ;
- Start the repository with the command
$ dotnet run -p FasTnT.Host\FasTnT.Host.csproj --urls "http://localhost:5102/" --connectionStrings:FasTnT.Database "{your connectionstring}"
;
That's it! You have a properly working EPCIS 1.2 repository.
The API is secured using HTTP Basic authentication. The default username:password value is admin:P@ssw0rd
- Capture:
POST /v1_2/Capture
- Queries :
POST /v1_2/Query.svc
Capture endpoint only supports requests with content-type: application/xml
or content-type: text/xml
header and XML payload.
Queries endpoint supports SOAP requests on endpoint /v1_2/Query.svc
.
See the wiki for more details.
This is the list of planned and implemented features in the repository:
- Capture
- Events
- Capture Master Data (CBV)
- Queries:
- GetVendorVersion
- GetStandardVersion
- GetQueryNames
- GetSubsciptionIDs
- Poll
- SimpleEventQuery
- SimpleMasterDataQuery
- Query Callback:
- CallbackResults
- CallbackQueryTooLargeException
- CallbackImplementationException
- Subscriptions:
- Subscribe to an EPCIS request
- Unsubscribe from EPCIS repository
- Trigger subscriptions that register to specific trigger name
- Execute subscription based on schedule
External contributions on FasTnT EPCIS repository are welcome from anyone. This project was created an is primarily maintained by Louis-Axel Ambroise.
This project is licensed under the Apache 2.0 license - see the LICENSE file for details
Contact: fastnt@pm.me