Skip to content

Commit

Permalink
Fix Azure Service Bus cert/conf tests (dapr#2218)
Browse files Browse the repository at this point in the history
* Correct location for certification test

Signed-off-by: ItalyPaleAle <[email protected]>

* Removed log file added by mistake

Signed-off-by: ItalyPaleAle <[email protected]>

* Fixed parsing metadata for ASB Queue binding

Signed-off-by: ItalyPaleAle <[email protected]>

* Fixed replace path

Signed-off-by: ItalyPaleAle <[email protected]>

Signed-off-by: ItalyPaleAle <[email protected]>
  • Loading branch information
ItalyPaleAle authored Oct 24, 2022
1 parent 04242ce commit cc856d4
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 576 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ go.work
go.work.sum
.DS_Store
component-metadata-bundle.json
*.log
2 changes: 1 addition & 1 deletion bindings/azure/servicebusqueues/servicebusqueues.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewAzureServiceBusQueues(logger logger.Logger) bindings.InputOutputBinding

// Init parses connection properties and creates a new Service Bus Queue client.
func (a *AzureServiceBusQueues) Init(metadata bindings.Metadata) (err error) {
a.metadata, err = impl.ParseMetadata(metadata.Properties, a.logger, (impl.MetadataModeBinding & impl.MetadataModeQueues))
a.metadata, err = impl.ParseMetadata(metadata.Properties, a.logger, (impl.MetadataModeBinding | impl.MetadataModeQueues))
if err != nil {
return err
}
Expand Down
573 changes: 0 additions & 573 deletions test.log

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

replace github.com/dapr/components-contrib => ../../../../..
replace github.com/dapr/components-contrib => ../../../../../..

replace github.com/dapr/components-contrib/tests/certification => ../../..
replace github.com/dapr/components-contrib/tests/certification => ../../../..

0 comments on commit cc856d4

Please sign in to comment.