{"action":"closed","issue":{"url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc/issues/481","repository_url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc","labels_url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc/issues/481/comments","events_url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc/issues/481/events","html_url":"https://github.com/shardingjdbc/sharding-jdbc/issues/481","id":279680717,"number":481,"title":"README的yaml配置不支持2.0","user":{"login":"wendal","id":589819,"avatar_url":"https://avatars3.githubusercontent.com/u/589819?v=4","gravatar_id":"","url":"https://api.github.com/users/wendal","html_url":"https://github.com/wendal","followers_url":"https://api.github.com/users/wendal/followers","following_url":"https://api.github.com/users/wendal/following{/other_user}","gists_url":"https://api.github.com/users/wendal/gists{/gist_id}","starred_url":"https://api.github.com/users/wendal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendal/subscriptions","organizations_url":"https://api.github.com/users/wendal/orgs","repos_url":"https://api.github.com/users/wendal/repos","events_url":"https://api.github.com/users/wendal/events{/privacy}","received_events_url":"https://api.github.com/users/wendal/received_events","type":"User","site_admin":false},"labels":[{"id":312935313,"url":"https://api.github.com/repos/shardingjdbc/sharding-jdbc/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"haocao","id":687732,"avatar_url":"https://avatars1.githubusercontent.com/u/687732?v=4","gravatar_id":"","url":"https://api.github.com/users/haocao","html_url":"https://github.com/haocao","followers_url":"https://api.github.com/users/haocao/followers","following_url":"https://api.github.com/users/haocao/following{/other_user}","gists_url":"https://api.github.com/users/haocao/gists{/gist_id}","starred_url":"https://api.github.com/users/haocao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocao/subscriptions","organizations_url":"https://api.github.com/users/haocao/orgs","repos_url":"https://api.github.com/users/haocao/repos","events_url":"https://api.github.com/users/haocao/events{/privacy}","received_events_url":"https://api.github.com/users/haocao/received_events","type":"User","site_admin":false},"assignees":[{"login":"haocao","id":687732,"avatar_url":"https://avatars1.githubusercontent.com/u/687732?v=4","gravatar_id":"","url":"https://api.github.com/users/haocao","html_url":"https://github.com/haocao","followers_url":"https://api.github.com/users/haocao/followers","following_url":"https://api.github.com/users/haocao/following{/other_user}","gists_url":"https://api.github.com/users/haocao/gists{/gist_id}","starred_url":"https://api.github.com/users/haocao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haocao/subscriptions","organizations_url":"https://api.github.com/users/haocao/orgs","repos_url":"https://api.github.com/users/haocao/repos","events_url":"https://api.github.com/users/haocao/events{/privacy}","received_events_url":"https://api.github.com/users/haocao/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-12-06T09:23:24Z","updated_at":"2017-12-07T02:07:44Z","closed_at":"2017-12-07T02:07:44Z","author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### Which version of Sharding-Jdbc do you using?\r\n2.0\r\n### Expected behavior\r\n正常启动\r\n### Actual behavior\r\n报tables属性不存在\r\n### Steps to reproduce the behavior\r\n把README提供的yaml文件存为demo.yaml,然后启动\r\n### Please provide the reproduce example codes (such as github link) if possible.\r\n\r\n```yaml\r\nshardingRule: // <--- 2.0多了这一层, 1.x没有这一层\r\n  tables:\r\n    t_order: \r\n      actualDataNodes: ds_${0..1}.t_order_${0..1}\r\n      databaseStrategy: \r\n        inline:\r\n          shardingColumn: user_id\r\n          algorithmExpression: ds_${user_id % 2}\r\n      tableStrategy: \r\n        inline:\r\n          shardingColumn: order_id\r\n          algorithmExpression: t_order_${order_id % 2}\r\n```"}}
{"actor":{"display_login":"haocao"}}