QaaS.Common.Processors 1.2.1

dotnet add package QaaS.Common.Processors --version 1.2.1
                    
NuGet\Install-Package QaaS.Common.Processors -Version 1.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QaaS.Common.Processors" Version="1.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QaaS.Common.Processors" Version="1.2.1" />
                    
Directory.Packages.props
<PackageReference Include="QaaS.Common.Processors" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QaaS.Common.Processors --version 1.2.1
                    
#r "nuget: QaaS.Common.Processors, 1.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QaaS.Common.Processors@1.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QaaS.Common.Processors&version=1.2.1
                    
Install as a Cake Addin
#tool nuget:?package=QaaS.Common.Processors&version=1.2.1
                    
Install as a Cake Tool

QaaS.Common.Processors

Reusable .NET transaction processors for QaaS mocker workflows.

CI Line Coverage Branch Coverage Docs .NET

Contents

Overview

This repository contains one solution: QaaS.Common.Processors.sln.

The solution includes:

QaaS.Common.Processors provides reusable BaseTransactionProcessor<TConfiguration> implementations that can be plugged into QaaS execution pipelines.

Packages

Package Latest Version Total Downloads
QaaS.Common.Processors NuGet Downloads

Functionalities

QaaS.Common.Processors

  • StaticResponseProcessor: returns a configurable UTF-8 body, status code, content type, and additional response headers.
  • RequestEchoProcessor: returns a JSON echo of the incoming body, request headers, path parameters, and request URI.
  • PassThroughProcessor: returns the incoming payload unchanged while applying response status and headers, with optional metadata preservation.
  • ProblemDetailsProcessor: returns RFC 7807 style JSON problem details payloads with configurable status, type, title, detail, instance, extensions, and headers.
  • TextTransformProcessor: reads incoming text or bytes, optionally trims and replaces content, then applies configurable prefix and suffix output shaping.
  • JsonEnvelopeProcessor: wraps the incoming body in a JSON envelope with optional request URI, request headers, path parameters, and body type metadata.
  • ConditionalResponseProcessor: evaluates ordered header or path-parameter matching rules and returns the first configured response, with a configurable fallback.
  • DataSourceResponseProcessor: resolves a configured data source, selects generated data by first, last, or index, and can fall back when selection fails.
  • StatusCodeTransactionProcessor: returns an empty body with status code from StatusCodeConfiguration.

QaaS.Common.Processors.Tests

  • NUnit tests for all processors and core edge cases.
  • Validation of response metadata, payload handling, and passthrough behavior.

Quick Start

Install package:

dotnet add package QaaS.Common.Processors

Update package:

dotnet add package QaaS.Common.Processors --version 1.0.0
dotnet restore

Build and Test

dotnet restore QaaS.Common.Processors.sln
dotnet build QaaS.Common.Processors.sln -c Release --no-restore
dotnet test QaaS.Common.Processors.sln -c Release --no-build

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.1 100 3/28/2026
1.2.1-alpha.1 74 3/28/2026
1.2.0 39 3/25/2026
1.1.0 80 3/23/2026
1.0.4-alpha.1 32 3/22/2026
1.0.3 78 3/21/2026
1.0.2 84 3/17/2026
1.0.1 80 3/16/2026
1.0.1-alpha.9 80 3/15/2026
1.0.1-alpha.8 36 3/15/2026
1.0.1-alpha.7 36 3/13/2026
1.0.1-alpha.6 60 3/12/2026
1.0.1-alpha.1 77 3/11/2026
1.0.0 44 3/6/2026
1.0.0-alpha.1 79 3/5/2026