{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/125","repository_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/125/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/125/events","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/125","id":135449002,"number":125,"title":"[WIP] Map namespace name to connection string (v2)","user":{"login":"melkio","id":583414,"avatar_url":"https://avatars.githubusercontent.com/u/583414?v=3","gravatar_id":"","url":"https://api.github.com/users/melkio","html_url":"https://github.com/melkio","followers_url":"https://api.github.com/users/melkio/followers","following_url":"https://api.github.com/users/melkio/following{/other_user}","gists_url":"https://api.github.com/users/melkio/gists{/gist_id}","starred_url":"https://api.github.com/users/melkio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melkio/subscriptions","organizations_url":"https://api.github.com/users/melkio/orgs","repos_url":"https://api.github.com/users/melkio/repos","events_url":"https://api.github.com/users/melkio/events{/privacy}","received_events_url":"https://api.github.com/users/melkio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/labels/State:%20In%20Progress","name":"State: In Progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-02-22T15:19:17Z","updated_at":"2016-02-24T15:28:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/pulls/125","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/125","diff_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/125.diff","patch_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/125.patch"},"body":"For security reasons, namespace connection string mustn't be logged.\r\n\r\nWhat I did in details:\r\n- I introduced the concept of \"namespace name\" at NamespaceInfo level and used it instead of connection string into transport until the code catches SB SDK objects that need \"real\" connection string.\r\n- To check if everything works as expected, I configured ATT to log \"debug level\" to file to verify if full connection string is logged. Running all tests, log doesn't contain connection string.\r\n- I configured transport into ATT to have multiple namespaces. We have to configure the first \"connection string\" with NSB core extension method, otherwise NSB crashes starting. We don't have control over this connection string, if NSB core decides to log it\r\n- I added configuration option to switch between namespace name and namespace connection string. My idea was to use this switch to setup f.e. \"ReplyTo\" header, but looking at header's value I noticed it contains queue name and now I'm stuck.\r\n- are there others points in which enforcing security and switching between name and connection string?\r\n\r\n@Particular/azure-maintainers need help, maybe I'm missing something\r\n\r\nConnects to #93 "},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/comments/188305565","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/125#issuecomment-188305565","issue_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/125","id":188305565,"user":{"login":"melkio","id":583414,"avatar_url":"https://avatars.githubusercontent.com/u/583414?v=3","gravatar_id":"","url":"https://api.github.com/users/melkio","html_url":"https://github.com/melkio","followers_url":"https://api.github.com/users/melkio/followers","following_url":"https://api.github.com/users/melkio/following{/other_user}","gists_url":"https://api.github.com/users/melkio/gists{/gist_id}","starred_url":"https://api.github.com/users/melkio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melkio/subscriptions","organizations_url":"https://api.github.com/users/melkio/orgs","repos_url":"https://api.github.com/users/melkio/repos","events_url":"https://api.github.com/users/melkio/events{/privacy}","received_events_url":"https://api.github.com/users/melkio/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T15:28:06Z","updated_at":"2016-02-24T15:28:06Z","body":"We use `ConnectionString` method to setup transport in ATT :) and maybe is the simplest way to setup transport as `SingleNamespacePartitionStrategy`\r\nI think trasnports that don't support \"multiple connection string\" use this method. No way to mark it obsolete\r\n\r\nI'll investigate"}}