{"action":"closed","issue":{"url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/issues/61","repository_url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin","labels_url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/issues/61/comments","events_url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/issues/61/events","html_url":"https://github.com/dyc87112/spring-cloud-config-admin/issues/61","id":347902051,"node_id":"MDU6SXNzdWUzNDc5MDIwNTE=","number":61,"title":"当配置中心启用了用户名密码认证，此时访问Dashboard和配置中心获取数据时报错「401 authorization required 」","user":{"login":"david1228","id":2298080,"node_id":"MDQ6VXNlcjIyOTgwODA=","avatar_url":"https://avatars0.githubusercontent.com/u/2298080?v=4","gravatar_id":"","url":"https://api.github.com/users/david1228","html_url":"https://github.com/david1228","followers_url":"https://api.github.com/users/david1228/followers","following_url":"https://api.github.com/users/david1228/following{/other_user}","gists_url":"https://api.github.com/users/david1228/gists{/gist_id}","starred_url":"https://api.github.com/users/david1228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david1228/subscriptions","organizations_url":"https://api.github.com/users/david1228/orgs","repos_url":"https://api.github.com/users/david1228/repos","events_url":"https://api.github.com/users/david1228/events{/privacy}","received_events_url":"https://api.github.com/users/david1228/received_events","type":"User","site_admin":false},"labels":[{"id":886984199,"node_id":"MDU6TGFiZWw4ODY5ODQxOTk=","url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/labels/%E7%BC%BA%E9%99%B7","name":"缺陷","color":"d73a4a","default":false}],"state":"closed","locked":false,"assignee":{"login":"dyc87112","id":3391170,"node_id":"MDQ6VXNlcjMzOTExNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3391170?v=4","gravatar_id":"","url":"https://api.github.com/users/dyc87112","html_url":"https://github.com/dyc87112","followers_url":"https://api.github.com/users/dyc87112/followers","following_url":"https://api.github.com/users/dyc87112/following{/other_user}","gists_url":"https://api.github.com/users/dyc87112/gists{/gist_id}","starred_url":"https://api.github.com/users/dyc87112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyc87112/subscriptions","organizations_url":"https://api.github.com/users/dyc87112/orgs","repos_url":"https://api.github.com/users/dyc87112/repos","events_url":"https://api.github.com/users/dyc87112/events{/privacy}","received_events_url":"https://api.github.com/users/dyc87112/received_events","type":"User","site_admin":false},"assignees":[{"login":"dyc87112","id":3391170,"node_id":"MDQ6VXNlcjMzOTExNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3391170?v=4","gravatar_id":"","url":"https://api.github.com/users/dyc87112","html_url":"https://github.com/dyc87112","followers_url":"https://api.github.com/users/dyc87112/followers","following_url":"https://api.github.com/users/dyc87112/following{/other_user}","gists_url":"https://api.github.com/users/dyc87112/gists{/gist_id}","starred_url":"https://api.github.com/users/dyc87112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyc87112/subscriptions","organizations_url":"https://api.github.com/users/dyc87112/orgs","repos_url":"https://api.github.com/users/dyc87112/repos","events_url":"https://api.github.com/users/dyc87112/events{/privacy}","received_events_url":"https://api.github.com/users/dyc87112/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/milestones/2","html_url":"https://github.com/dyc87112/spring-cloud-config-admin/milestone/2","labels_url":"https://api.github.com/repos/dyc87112/spring-cloud-config-admin/milestones/2/labels","id":3518494,"node_id":"MDk6TWlsZXN0b25lMzUxODQ5NA==","number":2,"title":"1.1.0","description":"1. 架构调整，增加插件模块，用来增强sc配置中心的内容，读写配置存储的内容从persitentce模块迁移到配置中心的插件模块中；\r\n2. 用户管理与权限管理；\r\n3. Git存储模式下的YAML支持；\r\n4. DB存储模式下的数据库独立拆分支持；\r\n5. 配置中心用户名/密码访问；\r\n6. 缺陷迭代；","creator":{"login":"dyc87112","id":3391170,"node_id":"MDQ6VXNlcjMzOTExNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3391170?v=4","gravatar_id":"","url":"https://api.github.com/users/dyc87112","html_url":"https://github.com/dyc87112","followers_url":"https://api.github.com/users/dyc87112/followers","following_url":"https://api.github.com/users/dyc87112/following{/other_user}","gists_url":"https://api.github.com/users/dyc87112/gists{/gist_id}","starred_url":"https://api.github.com/users/dyc87112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyc87112/subscriptions","organizations_url":"https://api.github.com/users/dyc87112/orgs","repos_url":"https://api.github.com/users/dyc87112/repos","events_url":"https://api.github.com/users/dyc87112/events{/privacy}","received_events_url":"https://api.github.com/users/dyc87112/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":7,"state":"open","created_at":"2018-07-24T02:57:40Z","updated_at":"2018-08-15T06:35:56Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-08-06T12:26:03Z","updated_at":"2018-08-15T06:35:57Z","closed_at":"2018-08-15T06:35:56Z","author_association":"NONE","body":"当配置中心启用了用户名密码认证，此时Dashbord和配置中心获取数据时报错「401 authorization required 」\r\n代码里是通过okhttpclient实现的，可要求配置时形如http://user:pass@config.com？，解析出user和pass。\r\n如下方式：\r\nRequest  request = new Request.Builder()\r\n                    .header(\"Authorization\", Credentials.basic(“user”,“pass”))\r\n                    .url(url)\r\n                    .get()\r\n                    .build();"}}
{"actor":{"display_login":"dyc87112"}}