♻️Processor API

Processor Service

Key Notes

  • The service follows the Open Api Spec and REST standards.

  • The service is configured to run using kestrel server on port 2000

  • The service exposes a health check at /health and /healthz endpoint.

  • The service exposes a swagger endpoint for /swagger only in Development env.

  • The service exposes a metric endpoint /metricstext for text based and /metrics for protobuf in prometheus format.

  • The service uses dapr components

Local Development

dotnet ef migrations add InitialCreate
dotnet ef database update InitialCreate

# Run SQL Server in Local using docker
docker pull mcr.microsoft.com/mssql/server
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password@1" -p 1433:1433 --name sql -d mcr.microsoft.com/mssql/server:2017-latest


dapr run --app-ssl --app-port 3000 --app-id processor --app-protocol http --dapr-http-port 3501 --components-path ../../dapr/components -- dotnet run

cd Evolution.Processor/src/Processor.Api
dapr run --log-level debug --app-port 3000 --app-id processor --dapr-http-port 3500 --components-path ../../dapr/components -- dotnet run

Getting Started

Last updated