Fábio Rodrigues
09/21/2022, 9:16 AMAndre Rodrigues
09/29/2022, 11:35 AMIPactVerifier verifier = new PactVerifier(config);
verifier.ServiceProvider("test-provider", this.fixture.ServerUri)
.WithPactBrokerSource(new Uri("<https://test-broker/>"), options =>
{
options.ConsumerVersionSelectors(new ConsumerVersionSelector { Latest = true })
.PublishResults(version);
})
.WithProviderStateUrl(new Uri(this.fixture.ServerUri, "/provider-states"))
.Verify();
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Andre Rodrigues
09/29/2022, 8:49 PMSarunas Kavaliauskas
10/04/2022, 8:52 AMFacundo Santillo
10/18/2022, 10:52 AM.WithHeader("Authorization", Match.Regex("Bearer 2022-10-14T11:34:18.045Z", "Bearer \\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z"))
Although, when using it like the example, it's throwing a 500 internal server error. Any clues?Matt (pactflow.io / pact-js / pact-go)
Facundo Santillo
10/18/2022, 12:42 PMFacundo Santillo
10/18/2022, 12:43 PMAndre Rodrigues
10/24/2022, 9:15 AMSteve Beck
10/28/2022, 7:05 AMSteven Ng
11/21/2022, 12:44 PMGuido Sprenger
11/21/2022, 4:06 PMsameena syed
11/30/2022, 7:29 AMdocker run --rm -e PACT_BROKER_BASE_URL pactfoundation/pact-cli:latest publish C:\Users\sasye\RiderProjects\pact-workshop-dotnet-core-v3\pacts\ApiClient-ProductService.json --consumer-app-version 1.0.0
Specified pact file 'C:/Users/sasye/RiderProjects/pact-workshop-dotnet-core-v3/pacts/ApiClient-ProductService.json' does not exist. This sometimes indicates one of the arguments has been specified with the wrong name and has been incorrectly identified as a file path.
Matt (pactflow.io / pact-js / pact-go)
sameena syed
11/30/2022, 2:27 PMI am publishing as below
docker run --rm -v C:/Users/sasye/RiderProjects/pact-workshop-dotnet-core-v3/pacts:/data pactfoundation/pact-cli:latest pact-broker publish /data --broker-base-url <http://172.21.106.96:9292> --consumer-app-version 1.0.0
Error
/usr/lib/ruby/3.0.0/net/http.rb:987:in `initialize': Failed to open TCP connection to localhost:443 (Address not available - connect(2) for "localhost" port 443) (Errno::EADDRNOTAVAIL)
Kris Akins
12/05/2022, 10:03 PMMessage:
System.Net.HttpListenerException : The process cannot access the file because it is being used by another process.
Stack Trace:
HttpListener.AddPrefixCore(String registeredPrefix)
HttpListener.AddAllPrefixes()
HttpListener.Start()
MessagingProvider.Start(JsonSerializerSettings settings)
PactVerifier.MessagingProvider(String providerName, JsonSerializerSettings settings)
I originally thought that the access error is related to my pact file being used by some other process, but I don't know what that'd be. Also, I don't know why this is just now failing 🤔
.WithFileSource(new FileInfo(pactPath))
Kris Akins
12/05/2022, 10:04 PMKris Akins
12/05/2022, 10:04 PMGitHub
12/07/2022, 8:21 PMBeth (pactflow.io/Pact Broker/pact-ruby)
sameena syed
12/12/2022, 7:47 AMSystem.Net.HttpListenerException: The process cannot access the file because it is being used by another process.
System.Net.HttpListenerException
The process cannot access the file because it is being used by another process.
at System.Net.HttpListener.AddPrefixCore(String registeredPrefix)
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at PactNet.Verifier.Messaging.MessagingProvider.Start(JsonSerializerSettings settings)
at PactNet.Verifier.PactVerifier.MessagingProvider(String providerName, JsonSerializerSettings settings)
at Provider.Tests.StockEventGeneratorTests.EnsureEventApiHonoursPactWithConsumer() in C:\Users\sasye\Downloads\pactnetevents\Provider.Tests\StockEventGeneratorTests.cs:line 52
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Starting messaging provider at <http://localhost:49152/pact-messages/>
Jonatan Jaworski
12/15/2022, 11:43 PMFábio Rodrigues
01/03/2023, 4:54 PMGitHub
01/05/2023, 4:35 PMGitHub
01/05/2023, 5:19 PM<https://github.com/pact-foundation/pact-net/tree/master|master>
by adamrodger
<https://github.com/pact-foundation/pact-net/commit/fa0f8a097bad722b195c4bd5b00e111cb68e3f0f|fa0f8a09>
- docs: Clarify that the 3.x series is deprecated
pact-foundation/pact-netGitHub
01/05/2023, 5:46 PM13.0.2
• New feature - Add support for DateOnly and TimeOnly
• New feature - Add UnixDateTimeConverter.AllowPreEpoch property
• New feature - Add copy constructor to JsonSerializerSettings
• New feature - Add JsonCloneSettings with property to disable copying annotations
• Change - Add nullable annotation to JToken.ToObject(Type, JsonSerializer)
• Change - Reduced allocations by reusing boxed values
• Fix - Fixed MaxDepth when used with ToObject inside of a JsonConverter
• Fix - Fixed deserializing mismatched JToken types in properties
• Fix - Fixed merging enumerable content and validate content
• Fix - Fixed using $type with arrays of more than two dimensions
• Fix - Fixed rare race condition in name table when deserializing on device with ARM processors
• Fix - Fixed deserializing via constructor with ignored base type properties
• Fix - Fixed MaxDepth not being used with ISerializable deserialization
13.0.1
• New feature - Add JsonSelectSettings with configuration for a regex timeout
• Change - Remove portable assemblies from NuGet package
• Change - JsonReader and JsonSerializer MaxDepth defaults to 64
• Change - Change InvalidCastException to JsonSerializationException on mismatched JToken
• Fix - Fixed throwing missing member error on ignored fields
• Fix - Fixed various nullable annotations
• Fix - Fixed annotations not being copied when tokens are cloned
• Fix - Fixed naming strategy not being used when deserializing dictionary enum keys
• Fix - Fixed serializing nullable struct dictionaries
• Fix - Fixed JsonWriter.WriteToken to allow null with string token
• Fix - Fixed missing error when deserializing JToken with a contract type mismatch
• Fix - Fixed JTokenWriter when writing comment to an object
12.0.3
• New feature - Added support for nullable reference types
• New feature - Added KebabCaseNamingStrategy
• Change - Package now uses embedded package icon
• Fix - Fixed bug when merging JToken with itself
• Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties
• Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0
• Fix - Fixed deserializing some collection types with constructor
• Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet
• Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary
• Fix - Fixed deserializing into constructors with more than 256 parameters
• Fix - Fixed hang when deserializing JTokenReader with preceding comment
• Fix - Fixed JSONPath scanning with nested indexer
• Fix - Fixed deserializing incomplete JSON object to JObject
• Fix - Fixed using StringEnumConverter with naming strategy and specified values
12.0.2
• New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract
• New feature - Added constructor to JTokenReader to specify initial path
• New feature - Added JsonProperty.IsRequiredSpecified
• New feature - Added JsonContract.InternalConverter... (truncated) Commits • `4fba53a` Remove prerelease for 13.0.2 • `b15df4b` Add missing headers • `789bfd3` Update to 13.0.2-beta3 • `b13717a` Add JsonCloneSettings to disable copy annotations (#2757) • `d0a328e` Fix MaxDepth not being used with ISerializable deserialization (#2736) • `aae9284` Update SDK • `bd98970` Update to 13.0.2-beta2 • `4dc9af6` Add roll forward to global.json (#2726) • `b8f4ef0` Fixing misspelling (#2698) • `cb9eed9` Fix deserializing via constructor with ignored base type properties (#2711) • Additional commits viewable in compare view Dependabot compatibility score Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.
* * *
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase
will rebase this PR
• @dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
• @dependabot merge
will merge this PR after your CI passes on it
• @dependabot squash and merge
will squash and merge this PR after your CI passes on it
• @dependabot cancel merge
will cancel a previously requested merge and block automerging
• @dependabot reopen
will reopen this PR if it is closed
• @dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
• @dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
• @dependabot use these labels
will set the current labels as the default for future PRs for this repo and language
• @dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language
• @dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language
• @dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
pact-foundation/pact-net
GitHub Actions: release
GitHub Actions: release
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
✅ 1 other check has passed
1/9 successful checksGitHub
01/05/2023, 5:47 PM13.0.2
• New feature - Add support for DateOnly and TimeOnly
• New feature - Add UnixDateTimeConverter.AllowPreEpoch property
• New feature - Add copy constructor to JsonSerializerSettings
• New feature - Add JsonCloneSettings with property to disable copying annotations
• Change - Add nullable annotation to JToken.ToObject(Type, JsonSerializer)
• Change - Reduced allocations by reusing boxed values
• Fix - Fixed MaxDepth when used with ToObject inside of a JsonConverter
• Fix - Fixed deserializing mismatched JToken types in properties
• Fix - Fixed merging enumerable content and validate content
• Fix - Fixed using $type with arrays of more than two dimensions
• Fix - Fixed rare race condition in name table when deserializing on device with ARM processors
• Fix - Fixed deserializing via constructor with ignored base type properties
• Fix - Fixed MaxDepth not being used with ISerializable deserialization
13.0.1
• New feature - Add JsonSelectSettings with configuration for a regex timeout
• Change - Remove portable assemblies from NuGet package
• Change - JsonReader and JsonSerializer MaxDepth defaults to 64
• Change - Change InvalidCastException to JsonSerializationException on mismatched JToken
• Fix - Fixed throwing missing member error on ignored fields
• Fix - Fixed various nullable annotations
• Fix - Fixed annotations not being copied when tokens are cloned
• Fix - Fixed naming strategy not being used when deserializing dictionary enum keys
• Fix - Fixed serializing nullable struct dictionaries
• Fix - Fixed JsonWriter.WriteToken to allow null with string token
• Fix - Fixed missing error when deserializing JToken with a contract type mismatch
• Fix - Fixed JTokenWriter when writing comment to an object
12.0.3
• New feature - Added support for nullable reference types
• New feature - Added KebabCaseNamingStrategy
• Change - Package now uses embedded package icon
• Fix - Fixed bug when merging JToken with itself
• Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties
• Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0
• Fix - Fixed deserializing some collection types with constructor
• Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet
• Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary
• Fix - Fixed deserializing into constructors with more than 256 parameters
• Fix - Fixed hang when deserializing JTokenReader with preceding comment
• Fix - Fixed JSONPath scanning with nested indexer
• Fix - Fixed deserializing incomplete JSON object to JObject
• Fix - Fixed using StringEnumConverter with naming strategy and specified values
12.0.2
• New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract
• New feature - Added constructor to JTokenReader to specify initial path
• New feature - Added JsonProperty.IsRequiredSpecified
• New feature - Added JsonContract.InternalConverter... (truncated) Commits • `4fba53a` Remove prerelease for 13.0.2 • `b15df4b` Add missing headers • `789bfd3` Update to 13.0.2-beta3 • `b13717a` Add JsonCloneSettings to disable copy annotations (#2757) • `d0a328e` Fix MaxDepth not being used with ISerializable deserialization (#2736) • `aae9284` Update SDK • `bd98970` Update to 13.0.2-beta2 • `4dc9af6` Add roll forward to global.json (#2726) • `b8f4ef0` Fixing misspelling (#2698) • `cb9eed9` Fix deserializing via constructor with ignored base type properties (#2711) • Additional commits viewable in compare view Dependabot compatibility score Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.
* * *
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase
will rebase this PR
• @dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
• @dependabot merge
will merge this PR after your CI passes on it
• @dependabot squash and merge
will squash and merge this PR after your CI passes on it
• @dependabot cancel merge
will cancel a previously requested merge and block automerging
• @dependabot reopen
will reopen this PR if it is closed
• @dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
• @dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
• @dependabot use these labels
will set the current labels as the default for future PRs for this repo and language
• @dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language
• @dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language
• @dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
pact-foundation/pact-net
GitHub Actions: release
GitHub Actions: release
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
✅ 1 other check has passed
1/9 successful checksGitHub
01/05/2023, 5:47 PM13.0.2
• New feature - Add support for DateOnly and TimeOnly
• New feature - Add UnixDateTimeConverter.AllowPreEpoch property
• New feature - Add copy constructor to JsonSerializerSettings
• New feature - Add JsonCloneSettings with property to disable copying annotations
• Change - Add nullable annotation to JToken.ToObject(Type, JsonSerializer)
• Change - Reduced allocations by reusing boxed values
• Fix - Fixed MaxDepth when used with ToObject inside of a JsonConverter
• Fix - Fixed deserializing mismatched JToken types in properties
• Fix - Fixed merging enumerable content and validate content
• Fix - Fixed using $type with arrays of more than two dimensions
• Fix - Fixed rare race condition in name table when deserializing on device with ARM processors
• Fix - Fixed deserializing via constructor with ignored base type properties
• Fix - Fixed MaxDepth not being used with ISerializable deserialization
13.0.1
• New feature - Add JsonSelectSettings with configuration for a regex timeout
• Change - Remove portable assemblies from NuGet package
• Change - JsonReader and JsonSerializer MaxDepth defaults to 64
• Change - Change InvalidCastException to JsonSerializationException on mismatched JToken
• Fix - Fixed throwing missing member error on ignored fields
• Fix - Fixed various nullable annotations
• Fix - Fixed annotations not being copied when tokens are cloned
• Fix - Fixed naming strategy not being used when deserializing dictionary enum keys
• Fix - Fixed serializing nullable struct dictionaries
• Fix - Fixed JsonWriter.WriteToken to allow null with string token
• Fix - Fixed missing error when deserializing JToken with a contract type mismatch
• Fix - Fixed JTokenWriter when writing comment to an object
12.0.3
• New feature - Added support for nullable reference types
• New feature - Added KebabCaseNamingStrategy
• Change - Package now uses embedded package icon
• Fix - Fixed bug when merging JToken with itself
• Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties
• Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0
• Fix - Fixed deserializing some collection types with constructor
• Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet
• Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary
• Fix - Fixed deserializing into constructors with more than 256 parameters
• Fix - Fixed hang when deserializing JTokenReader with preceding comment
• Fix - Fixed JSONPath scanning with nested indexer
• Fix - Fixed deserializing incomplete JSON object to JObject
• Fix - Fixed using StringEnumConverter with naming strategy and specified values
12.0.2
• New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract
• New feature - Added constructor to JTokenReader to specify initial path
• New feature - Added JsonProperty.IsRequiredSpecified
• New feature - Added JsonContract.InternalConverter... (truncated) Commits • `4fba53a` Remove prerelease for 13.0.2 • `b15df4b` Add missing headers • `789bfd3` Update to 13.0.2-beta3 • `b13717a` Add JsonCloneSettings to disable copy annotations (#2757) • `d0a328e` Fix MaxDepth not being used with ISerializable deserialization (#2736) • `aae9284` Update SDK • `bd98970` Update to 13.0.2-beta2 • `4dc9af6` Add roll forward to global.json (#2726) • `b8f4ef0` Fixing misspelling (#2698) • `cb9eed9` Fix deserializing via constructor with ignored base type properties (#2711) • Additional commits viewable in compare view Dependabot compatibility score Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.
* * *
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase
will rebase this PR
• @dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
• @dependabot merge
will merge this PR after your CI passes on it
• @dependabot squash and merge
will squash and merge this PR after your CI passes on it
• @dependabot cancel merge
will cancel a previously requested merge and block automerging
• @dependabot reopen
will reopen this PR if it is closed
• @dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
• @dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
• @dependabot use these labels
will set the current labels as the default for future PRs for this repo and language
• @dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language
• @dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language
• @dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
pact-foundation/pact-net
GitHub Actions: release
GitHub Actions: release
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
GitHub Actions: Build and Test (dotnet) (macos-latest)
GitHub Actions: Build and Test (dotnet) (ubuntu-latest)
GitHub Actions: Build and Test (dotnet) (windows-latest)
✅ 1 other check has passed
1/9 successful checks