Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning].

-

## [0.9.14] - 2025-07-17

### Changed in 0.9.14

- Update dependencies

## [0.9.13] - 2025-07-09

### Changed in 0.9.13
Expand Down
18 changes: 9 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.24.4
require (
github.com/senzing-garage/go-helpers v0.6.13
github.com/senzing-garage/go-logging v1.5.3
github.com/senzing-garage/sz-sdk-go v0.15.7
github.com/senzing-garage/sz-sdk-go-core v0.9.9
github.com/senzing-garage/sz-sdk-go-grpc v0.9.8
github.com/senzing-garage/sz-sdk-go-mock v0.8.10
github.com/senzing-garage/sz-sdk-go v0.15.9
github.com/senzing-garage/sz-sdk-go-core v0.9.10
github.com/senzing-garage/sz-sdk-go-grpc v0.9.9
github.com/senzing-garage/sz-sdk-go-mock v0.8.11
github.com/stretchr/testify v1.10.0
google.golang.org/grpc v1.74.0
)
Expand All @@ -19,11 +19,11 @@ require (
github.com/senzing-garage/go-messaging v1.5.3 // indirect
github.com/senzing-garage/go-observing v0.3.6 // indirect
github.com/senzing-garage/sz-sdk-proto v0.8.8 // indirect
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
golang.org/x/net v0.41.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.26.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc // indirect
golang.org/x/net v0.42.0 // indirect
golang.org/x/sys v0.34.0 // indirect
golang.org/x/text v0.27.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250715232539-7130f93afb79 // indirect
google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
36 changes: 18 additions & 18 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ github.com/senzing-garage/go-messaging v1.5.3 h1:bH+LtEgNJj/PRbg1VMK9/Gk457Cdfdc
github.com/senzing-garage/go-messaging v1.5.3/go.mod h1:7qvSNAVyWcSIcsnDAm8obCxHItljN295O3fX4bOgfp0=
github.com/senzing-garage/go-observing v0.3.6 h1:vIQTaWbCxYRSJFw4pDKKfTqOYqugB2rUMH3LWwGUZFM=
github.com/senzing-garage/go-observing v0.3.6/go.mod h1:ghkX9HSaKGjwYzsPLZVt+FO9AU/w4jzqvI2MAXmfGXs=
github.com/senzing-garage/sz-sdk-go v0.15.7 h1:S3EoKO5ldpliC20ekPMkSOTFsIq64wZ2vRsjbPQH3Is=
github.com/senzing-garage/sz-sdk-go v0.15.7/go.mod h1:nfr5X+d17jd+PwHhpbT0JmB+yStJZERJADJweHAyZ0U=
github.com/senzing-garage/sz-sdk-go-core v0.9.9 h1:j6UALI/oHftCAe8xVN3i3JA20XhxT11WXW7OINP2CA4=
github.com/senzing-garage/sz-sdk-go-core v0.9.9/go.mod h1:G01JEE8O7uSyMrTEyaTUXest6yIKa9aFOHdjMQ9PwnA=
github.com/senzing-garage/sz-sdk-go-grpc v0.9.8 h1:r7HH/HxHglf3DfnbdyWoxBu+jAHrdRPk4Z8LpLMaXDo=
github.com/senzing-garage/sz-sdk-go-grpc v0.9.8/go.mod h1:sm3NV2SnhQxY1YYrhnYiCVHPqkHM57FbRCvYyvdMc0I=
github.com/senzing-garage/sz-sdk-go-mock v0.8.10 h1:YqI2zMtOTf5cgm4gfgorv07mw0gCj66w8bVqH61m/vc=
github.com/senzing-garage/sz-sdk-go-mock v0.8.10/go.mod h1:vIqGjfuOgORc0wNJ8+/0YBmEcOXl5Z79G5fhl0S6R6g=
github.com/senzing-garage/sz-sdk-go v0.15.9 h1:q/oPOWSqNAZQIE1uxfgfjcF1FA/Pnpa2v9wswn1jOcs=
github.com/senzing-garage/sz-sdk-go v0.15.9/go.mod h1:nfr5X+d17jd+PwHhpbT0JmB+yStJZERJADJweHAyZ0U=
github.com/senzing-garage/sz-sdk-go-core v0.9.10 h1:GIbd/atjDpbZwxBDkcoQed51DsveyI5oGCPMtEWqsCo=
github.com/senzing-garage/sz-sdk-go-core v0.9.10/go.mod h1:xt1svuGiFYnHaJnO3gEWzxNC017CqukeipNnh6oviRs=
github.com/senzing-garage/sz-sdk-go-grpc v0.9.9 h1:OzwnOF/aEWw+2VLYLm+OOabqpFTgKNecFKO+5TI1+w0=
github.com/senzing-garage/sz-sdk-go-grpc v0.9.9/go.mod h1:dVNt74LAZDJk0ZdNxlA/5zlNNdzFqZYRo64Zuo7MIZ8=
github.com/senzing-garage/sz-sdk-go-mock v0.8.11 h1:i1cMpYUw1OA0IsrdbtDyvYHko5eHNoCiXOkJUWqv4BM=
github.com/senzing-garage/sz-sdk-go-mock v0.8.11/go.mod h1:rdrFUnZTvApLNj/hWHnhiPHEw/Zwy7WnOjjQcvgtYbk=
github.com/senzing-garage/sz-sdk-proto v0.8.8 h1:jOX/GqLxvrdH4E9/nVGpYfgmxD6pXPb1H1RqjuYuSlw=
github.com/senzing-garage/sz-sdk-proto v0.8.8/go.mod h1:TiYEb9IAgBTmTmF2X4YL8lJf2FhqaeHmwGG1G4YTFro=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
Expand All @@ -54,16 +54,16 @@ go.opentelemetry.io/otel/sdk/metric v1.36.0 h1:r0ntwwGosWGaa0CrSt8cuNuTcccMXERFw
go.opentelemetry.io/otel/sdk/metric v1.36.0/go.mod h1:qTNOhFDfKRwX0yXOqJYegL5WRaW376QbB7P4Pb0qva4=
go.opentelemetry.io/otel/trace v1.36.0 h1:ahxWNuqZjpdiFAyrIoQ4GIiAIhxAunQR6MUoKrsNd4w=
go.opentelemetry.io/otel/trace v1.36.0/go.mod h1:gQ+OnDZzrybY4k4seLzPAWNwVBBVlF2szhehOBB/tGA=
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/yqS/lQJ6PmkyIV3YP+o=
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8=
golang.org/x/net v0.41.0 h1:vBTly1HeNPEn3wtREYfy4GZ/NECgw2Cnl+nK6Nz3uvw=
golang.org/x/net v0.41.0/go.mod h1:B/K4NNqkfmg07DQYrbwvSluqCJOOXwUjeb/5lOisjbA=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 h1:pFyd6EwwL2TqFf8emdthzeX+gZE1ElRq3iM8pui4KBY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc h1:TS73t7x3KarrNd5qAipmspBDS1rkMcgVG/fS1aRb4Rc=
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc/go.mod h1:A+z0yzpGtvnG90cToK5n2tu8UJVP2XUATh+r+sfOOOc=
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250715232539-7130f93afb79 h1:1ZwqphdOdWYXsUHgMpU/101nCtf/kSp9hOrcvFsnl10=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250715232539-7130f93afb79/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.74.0 h1:sxRSkyLxlceWQiqDofxDot3d4u7DyoHPc7SBXMj8gGY=
google.golang.org/grpc v1.74.0/go.mod h1:NZUaK8dAMUfzhK6uxZ+9511LtOrk73UGWOFoNvz7z+s=
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func testCases(ctx context.Context, testcaseList []int) {
failOnError(5003, wraperror.Errorf(errForMain, "unknown testcase number: %d", runNumber))
}

defer func() { panicOnError(szAbstractFactory.Destroy(ctx)) }()
defer func() { panicOnError(szAbstractFactory.Close(ctx)) }()

// Get Senzing objects for installing a Senzing Engine configuration.

Expand Down
6 changes: 4 additions & 2 deletions szfactorycreator/szfactorycreator_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ func ExampleCreateCoreAbstractFactory() {
fmt.Println(err)
}

defer func() { handleError(szAbstractFactory.Destroy(ctx)) }()
defer func() { handleError(szAbstractFactory.Close(ctx)) }()

szEngine, err := szAbstractFactory.CreateEngine(ctx)
if err != nil {
fmt.Println(err)
}

defer func() { handleError(szEngine.Destroy(ctx)) }()

_ = szEngine // Use szEngine.
// Output:
}
Expand All @@ -63,7 +65,7 @@ func ExampleCreateGrpcAbstractFactory() {
fmt.Println(err)
}

defer func() { handleError(szAbstractFactory.Destroy(ctx)) }()
defer func() { handleError(szAbstractFactory.Close(ctx)) }()

szEngine, err := szAbstractFactory.CreateEngine(ctx)
if err != nil {
Expand Down
7 changes: 6 additions & 1 deletion szfactorycreator/szfactorycreator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ func TestSzfactorycreator_CreateCoreAbstractFactory(test *testing.T) {
configID,
)
require.NoError(test, err)
_, err = szAbstractFactory.CreateEngine(ctx)

defer func() { handleError(szAbstractFactory.Close(ctx)) }()

szEngine, err := szAbstractFactory.CreateEngine(ctx)
require.NoError(test, err)

defer func() { handleError(szEngine.Destroy(ctx)) }()
}

func TestSzfactorycreator_CreateGrpcAbstractFactory(test *testing.T) {
Expand Down
Loading