Particular / ServiceControl

Backend for ServiceInsight and ServicePulse
https://docs.particular.net/servicecontrol/
Other
52 stars 47 forks source link

Audit instance forward queue name incorrect #3894

Open Jokelab opened 10 months ago

Jokelab commented 10 months ago

Describe the bug

Description

When a service control audit instance is created with dashes in the forward queue name, it isn't displayed correctly when opening the Service Control Manager again.

Expected behavior

The audit queue name in the configuration file is the same as the displayed name.

Actual behavior

The displayed name differs from the name in the configuration file. The queue name being used seems to be the configured one (with the dash). See repro steps.

Versions

Service Control 5.0.1

Please list the version of the relevant packages or applications in which the bug exists.

Steps to reproduce

Relevant log output

No response

Additional Information

Additional information

Please note that the queue WITH the dash is actually being used, since this is the value in ServiceControl.Audit.exe.Config: <add key="ServiceBus/AuditLogQueue" value="audit-log" />

SzymonPobiega commented 10 months ago

Thanks for reporting it. We'll triage it and add it to the queue. I have one additional question: what transport does your ServiceControl use?

Jokelab commented 10 months ago

Hello, the transport being used is Azure Service Bus. FYI I also checked this for the error forward queue in the Service Control instance, but this one is displayed correcrly.