{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-cloudant/issues/1","repository_url":"https://api.github.com/repos/strongloop/loopback-connector-cloudant","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-cloudant/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-cloudant/issues/1/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-cloudant/issues/1/events","html_url":"https://github.com/strongloop/loopback-connector-cloudant/issues/1","id":131485421,"number":1,"title":"datasource.json generated from cloudant connector comes with in memory connector","user":{"login":"smartmouse","id":4519627,"avatar_url":"https://avatars.githubusercontent.com/u/4519627?v=3","gravatar_id":"","url":"https://api.github.com/users/smartmouse","html_url":"https://github.com/smartmouse","followers_url":"https://api.github.com/users/smartmouse/followers","following_url":"https://api.github.com/users/smartmouse/following{/other_user}","gists_url":"https://api.github.com/users/smartmouse/gists{/gist_id}","starred_url":"https://api.github.com/users/smartmouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartmouse/subscriptions","organizations_url":"https://api.github.com/users/smartmouse/orgs","repos_url":"https://api.github.com/users/smartmouse/repos","events_url":"https://api.github.com/users/smartmouse/events{/privacy}","received_events_url":"https://api.github.com/users/smartmouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T21:57:37Z","updated_at":"2016-02-04T21:57:37Z","closed_at":null,"body":"steps to reproduce:\n1.npm install -g strongloop-connector-cloudant\n2.mkdir testLoopbackconnectorcloudant\n3.cd testLoopbackconnectorcloudant\n4.slc loopback\n5.slc loopback:datasource\n\nstrongbot@plnx133:~/testLoopbackconnectorcloudant> slc loopback:datasource\n? Enter the data-source name: cloudantdb\n? Select the connector for cloudantdb: IBM Cloudant DB (supported by StrongLoop)\n\n\nThen create model\nslc loopback:model\n\n strongbot@plnx133:~/testLoopbackconnectorcloudant> slc loopback:model\n? Enter the model name: cloudantmodel\n? Select the data-source to attach cloudantmodel to: cloudantdb (cloudant)\n? Select model's base class Model\n? Expose cloudantmodel via the REST API? Yes\n? Custom plural form (used to build REST URL): \n? Common model or server only? server\n\n\n\nAfterwards,\nin the datasources.json\n\nyou will see the following:\nI am not sure why the db with memory connector is there. I never selected it and only\nselected cloudant connector\n  \n  \"db\":\n    \"name\": \"db\",\n    \"connector\": \"memory\"\n  },\n  \"cloudant\": {\n    \"name\": \"cloudant\",\n    \"connector\": \"cloudant\"\n  }"}}