{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/entity-services/issues/123","repository_url":"https://api.github.com/repos/marklogic/entity-services","labels_url":"https://api.github.com/repos/marklogic/entity-services/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/entity-services/issues/123/comments","events_url":"https://api.github.com/repos/marklogic/entity-services/issues/123/events","html_url":"https://github.com/marklogic/entity-services/issues/123","id":173080018,"number":123,"title":"401 error on 'gradle mlDeploy","user":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T23:14:41Z","updated_at":"2016-08-24T23:47:30Z","closed_at":null,"body":"I'm trying to follow the instructions from README.md, and I'm getting the following:\r\n\r\n```\r\n$ gradle mlDeploy\r\n:mlDeleteModuleTimestampsFile\r\n:mlPrepareRestApiDependencies\r\n:mlDeployApp\r\n:mlPostDeploy UP-TO-DATE\r\n:mlDeploy\r\n:entity-services:mlDeleteModuleTimestampsFile\r\n:entity-services:mlPrepareRestApiDependencies\r\n:entity-services:mlDeployApp\r\n:entity-services:mlPostDeploy UP-TO-DATE\r\n:entity-services:mlDeploy\r\n:entity-services-e2e:mlDeleteModuleTimestampsFile\r\n:entity-services-e2e:mlPrepareRestApiDependencies\r\n:entity-services-e2e:mlDeployApp\r\n:entity-services-e2e:mlPostDeploy UP-TO-DATE\r\n:entity-services-e2e:mlDeploy\r\n:entity-services-examples:mlDeleteModuleTimestampsFile\r\n:entity-services-examples:mlPrepareRestApiDependencies\r\n:entity-services-examples:mlDeployApp\r\nGET request for \"http://localhost:8002/manage/v2/databases\" resulted in 401 (Unauthorized); invoking error handler\r\nLogging HTTP response body to assist with debugging: {\"errorResponse\":   {\"statusCode\":401,\r\n   \"status\":\"Unauthorized\",\r\n   \"message\":\"401 Unauthorized\"\r\n  }\r\n}\r\n:entity-services-examples:mlDeployApp FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':entity-services-examples:mlDeployApp'.\r\n> 401 Unauthorized\r\n```"},"comment":{"url":"https://api.github.com/repos/marklogic/entity-services/issues/comments/242242588","html_url":"https://github.com/marklogic/entity-services/issues/123#issuecomment-242242588","issue_url":"https://api.github.com/repos/marklogic/entity-services/issues/123","id":242242588,"user":{"login":"grechaw","id":382672,"avatar_url":"https://avatars.githubusercontent.com/u/382672?v=3","gravatar_id":"","url":"https://api.github.com/users/grechaw","html_url":"https://github.com/grechaw","followers_url":"https://api.github.com/users/grechaw/followers","following_url":"https://api.github.com/users/grechaw/following{/other_user}","gists_url":"https://api.github.com/users/grechaw/gists{/gist_id}","starred_url":"https://api.github.com/users/grechaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grechaw/subscriptions","organizations_url":"https://api.github.com/users/grechaw/orgs","repos_url":"https://api.github.com/users/grechaw/repos","events_url":"https://api.github.com/users/grechaw/events{/privacy}","received_events_url":"https://api.github.com/users/grechaw/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T23:47:30Z","updated_at":"2016-08-24T23:47:30Z","body":"It's true, the examples no longer deploy from the top-level directory.\r\nTo use examples, first `cd` into the examples directory then run\r\n\r\n`../gradlew mlDeploy`\r\n\r\nand it will properly deploy the users for the examples."}}
{"actor":{"display_login":"grechaw"}}