{"action":"created","comment":{"url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/comments/56341820","id":56341820,"diff_hunk":"@@ -0,0 +1,23 @@\n+# Install and run node-mapnik-server\n+if [ -z \"$NODE_MAPNIK_SERVER_PORT\" ]; then\n+    echo \"Error: NODE_MAPNIK_SERVER_PORT not set.\"\n+    false\n+else\n+    rm -rf ~/tmp/npm*\n+    cd $HOOT_HOME\n+    source SetupEnv.sh\n+    source conf/DatabaseConfig.sh\n+    cd node-mapnik-server\n+    npm install -q\n+    NPID=`ps aux | grep node | grep \"app.js hoot_style.xml $NODE_MAPNIK_SERVER_PORT\" | awk '{print $2}'`\n+    # send kill\n+    if [ -z \"$NPID\" ]; then\n+        #Do nothing\n+        :\n+    else\n+        kill $NPID;\n+    fi\n+    mkdir -p log\n+    node app.js hoot_style.xml $NODE_MAPNIK_SERVER_PORT 1>log/app.log 2>&1 &\n+fi\n+","path":"scripts/InstallRunNodeMapnikServer.sh","position":23,"original_position":23,"commit_id":"b28d8afe84d25006cdb9f08b89816fe105e493f6","original_commit_id":"b28d8afe84d25006cdb9f08b89816fe105e493f6","user":{"login":"bwitham","id":303724,"avatar_url":"https://avatars.githubusercontent.com/u/303724?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitham","html_url":"https://github.com/bwitham","followers_url":"https://api.github.com/users/bwitham/followers","following_url":"https://api.github.com/users/bwitham/following{/other_user}","gists_url":"https://api.github.com/users/bwitham/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitham/subscriptions","organizations_url":"https://api.github.com/users/bwitham/orgs","repos_url":"https://api.github.com/users/bwitham/repos","events_url":"https://api.github.com/users/bwitham/events{/privacy}","received_events_url":"https://api.github.com/users/bwitham/received_events","type":"User","site_admin":false},"body":"Yeah, I guess you're right.  I think the only other place its being used right now is by selma.  So, I should be able to update selma to do the init.d install for mapnik server and then get rid of this script.","created_at":"2016-03-16T14:25:56Z","updated_at":"2016-03-16T14:25:56Z","html_url":"https://github.com/ngageoint/hootenanny/pull/462#discussion_r56341820","pull_request_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462","_links":{"self":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/comments/56341820"},"html":{"href":"https://github.com/ngageoint/hootenanny/pull/462#discussion_r56341820"},"pull_request":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462"}}},"pull_request":{"url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462","id":62812535,"html_url":"https://github.com/ngageoint/hootenanny/pull/462","diff_url":"https://github.com/ngageoint/hootenanny/pull/462.diff","patch_url":"https://github.com/ngageoint/hootenanny/pull/462.patch","issue_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/462","number":462,"state":"open","locked":false,"title":"#385 - Move Services/UI nightly regression tests to hoot","user":{"login":"bwitham","id":303724,"avatar_url":"https://avatars.githubusercontent.com/u/303724?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitham","html_url":"https://github.com/bwitham","followers_url":"https://api.github.com/users/bwitham/followers","following_url":"https://api.github.com/users/bwitham/following{/other_user}","gists_url":"https://api.github.com/users/bwitham/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitham/subscriptions","organizations_url":"https://api.github.com/users/bwitham/orgs","repos_url":"https://api.github.com/users/bwitham/repos","events_url":"https://api.github.com/users/bwitham/events{/privacy}","received_events_url":"https://api.github.com/users/bwitham/received_events","type":"User","site_admin":false},"body":"@jasonsurratt Would you mind checking to see if this works for you locally and then merging it?  Its for running the cucumber tests as part of the hoot build.  I tested it successfully from my hoot, from the selma nightly test script on my machine (minus the load tests), and from the vagrant vm.  I decided to hold off on trying to enable the tests on CentOS until the services rpm is done.\r\n\r\nRun it as part of the glacial tests:\r\n\r\n./configure --with-services --with-uitests && make -s test-all\r\n\r\nThe ui tests will run right after the services tests.  Or run the tests by themselves:\r\n\r\n./configure --with-services --with-uitests && make -s ui-test\r\n\r\nIf you're missing any of the cucumber dependencies on your local machine, look for the section in VagrantProvision.sh that's installing them as a reference.\r\n\r\nThe 385 branches for these repos need merged:\r\n\r\nhoot\r\nhoot-ui\r\nhoot-tests\r\nhoot-release\r\n\r\nAfter you merge it, I'll work on getting it running on the Ubuntu Jenkins instance.\r\n\r\n@brianhatchl  Do you mind taking a quick peek at the vagrant provision changes I made just to make sure I didn't do anything too foolish there?  Most of the changes had to do with installing the cucumber dependencies, as well as Tomcat adjustments to allow for stopping/starting it from within the tests.\r\n\r\nthanks","created_at":"2016-03-14T20:32:31Z","updated_at":"2016-03-16T14:25:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d79fbaa78107810eea17a7ccf52e302d09ee2a31","assignee":{"login":"jasonsurratt","id":1638013,"avatar_url":"https://avatars.githubusercontent.com/u/1638013?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonsurratt","html_url":"https://github.com/jasonsurratt","followers_url":"https://api.github.com/users/jasonsurratt/followers","following_url":"https://api.github.com/users/jasonsurratt/following{/other_user}","gists_url":"https://api.github.com/users/jasonsurratt/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonsurratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonsurratt/subscriptions","organizations_url":"https://api.github.com/users/jasonsurratt/orgs","repos_url":"https://api.github.com/users/jasonsurratt/repos","events_url":"https://api.github.com/users/jasonsurratt/events{/privacy}","received_events_url":"https://api.github.com/users/jasonsurratt/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ngageoint/hootenanny/milestones/9","html_url":"https://github.com/ngageoint/hootenanny/milestones/Hootenanny%202016-03-16","labels_url":"https://api.github.com/repos/ngageoint/hootenanny/milestones/9/labels","id":1589366,"number":9,"title":"Hootenanny 2016-03-16","description":"Tracking milestone for version 2.25","creator":{"login":"bwitham","id":303724,"avatar_url":"https://avatars.githubusercontent.com/u/303724?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitham","html_url":"https://github.com/bwitham","followers_url":"https://api.github.com/users/bwitham/followers","following_url":"https://api.github.com/users/bwitham/following{/other_user}","gists_url":"https://api.github.com/users/bwitham/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitham/subscriptions","organizations_url":"https://api.github.com/users/bwitham/orgs","repos_url":"https://api.github.com/users/bwitham/repos","events_url":"https://api.github.com/users/bwitham/events{/privacy}","received_events_url":"https://api.github.com/users/bwitham/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":28,"state":"open","created_at":"2016-02-17T20:29:03Z","updated_at":"2016-03-15T20:45:15Z","due_on":"2016-03-16T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462/commits","review_comments_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462/comments","review_comment_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/462/comments","statuses_url":"https://api.github.com/repos/ngageoint/hootenanny/statuses/b28d8afe84d25006cdb9f08b89816fe105e493f6","head":{"label":"ngageoint:385","ref":"385","sha":"b28d8afe84d25006cdb9f08b89816fe105e493f6","user":{"login":"ngageoint","id":7175944,"avatar_url":"https://avatars.githubusercontent.com/u/7175944?v=3","gravatar_id":"","url":"https://api.github.com/users/ngageoint","html_url":"https://github.com/ngageoint","followers_url":"https://api.github.com/users/ngageoint/followers","following_url":"https://api.github.com/users/ngageoint/following{/other_user}","gists_url":"https://api.github.com/users/ngageoint/gists{/gist_id}","starred_url":"https://api.github.com/users/ngageoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngageoint/subscriptions","organizations_url":"https://api.github.com/users/ngageoint/orgs","repos_url":"https://api.github.com/users/ngageoint/repos","events_url":"https://api.github.com/users/ngageoint/events{/privacy}","received_events_url":"https://api.github.com/users/ngageoint/received_events","type":"Organization","site_admin":false},"repo":{"id":37372629,"name":"hootenanny","full_name":"ngageoint/hootenanny","owner":{"login":"ngageoint","id":7175944,"avatar_url":"https://avatars.githubusercontent.com/u/7175944?v=3","gravatar_id":"","url":"https://api.github.com/users/ngageoint","html_url":"https://github.com/ngageoint","followers_url":"https://api.github.com/users/ngageoint/followers","following_url":"https://api.github.com/users/ngageoint/following{/other_user}","gists_url":"https://api.github.com/users/ngageoint/gists{/gist_id}","starred_url":"https://api.github.com/users/ngageoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngageoint/subscriptions","organizations_url":"https://api.github.com/users/ngageoint/orgs","repos_url":"https://api.github.com/users/ngageoint/repos","events_url":"https://api.github.com/users/ngageoint/events{/privacy}","received_events_url":"https://api.github.com/users/ngageoint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ngageoint/hootenanny","description":"high-performance conflation software","fork":false,"url":"https://api.github.com/repos/ngageoint/hootenanny","forks_url":"https://api.github.com/repos/ngageoint/hootenanny/forks","keys_url":"https://api.github.com/repos/ngageoint/hootenanny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngageoint/hootenanny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngageoint/hootenanny/teams","hooks_url":"https://api.github.com/repos/ngageoint/hootenanny/hooks","issue_events_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/events{/number}","events_url":"https://api.github.com/repos/ngageoint/hootenanny/events","assignees_url":"https://api.github.com/repos/ngageoint/hootenanny/assignees{/user}","branches_url":"https://api.github.com/repos/ngageoint/hootenanny/branches{/branch}","tags_url":"https://api.github.com/repos/ngageoint/hootenanny/tags","blobs_url":"https://api.github.com/repos/ngageoint/hootenanny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngageoint/hootenanny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngageoint/hootenanny/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngageoint/hootenanny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngageoint/hootenanny/statuses/{sha}","languages_url":"https://api.github.com/repos/ngageoint/hootenanny/languages","stargazers_url":"https://api.github.com/repos/ngageoint/hootenanny/stargazers","contributors_url":"https://api.github.com/repos/ngageoint/hootenanny/contributors","subscribers_url":"https://api.github.com/repos/ngageoint/hootenanny/subscribers","subscription_url":"https://api.github.com/repos/ngageoint/hootenanny/subscription","commits_url":"https://api.github.com/repos/ngageoint/hootenanny/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngageoint/hootenanny/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngageoint/hootenanny/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngageoint/hootenanny/contents/{+path}","compare_url":"https://api.github.com/repos/ngageoint/hootenanny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngageoint/hootenanny/merges","archive_url":"https://api.github.com/repos/ngageoint/hootenanny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngageoint/hootenanny/downloads","issues_url":"https://api.github.com/repos/ngageoint/hootenanny/issues{/number}","pulls_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls{/number}","milestones_url":"https://api.github.com/repos/ngageoint/hootenanny/milestones{/number}","notifications_url":"https://api.github.com/repos/ngageoint/hootenanny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngageoint/hootenanny/labels{/name}","releases_url":"https://api.github.com/repos/ngageoint/hootenanny/releases{/id}","deployments_url":"https://api.github.com/repos/ngageoint/hootenanny/deployments","created_at":"2015-06-13T13:33:38Z","updated_at":"2016-03-15T19:35:40Z","pushed_at":"2016-03-16T12:40:37Z","git_url":"git://github.com/ngageoint/hootenanny.git","ssh_url":"git@github.com:ngageoint/hootenanny.git","clone_url":"https://github.com/ngageoint/hootenanny.git","svn_url":"https://github.com/ngageoint/hootenanny","homepage":null,"size":111563,"stargazers_count":63,"watchers_count":63,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":90,"forks":22,"open_issues":90,"watchers":63,"default_branch":"master"}},"base":{"label":"ngageoint:develop","ref":"develop","sha":"0dcaba465846ecc0337fd2b8389323c32b4fce08","user":{"login":"ngageoint","id":7175944,"avatar_url":"https://avatars.githubusercontent.com/u/7175944?v=3","gravatar_id":"","url":"https://api.github.com/users/ngageoint","html_url":"https://github.com/ngageoint","followers_url":"https://api.github.com/users/ngageoint/followers","following_url":"https://api.github.com/users/ngageoint/following{/other_user}","gists_url":"https://api.github.com/users/ngageoint/gists{/gist_id}","starred_url":"https://api.github.com/users/ngageoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngageoint/subscriptions","organizations_url":"https://api.github.com/users/ngageoint/orgs","repos_url":"https://api.github.com/users/ngageoint/repos","events_url":"https://api.github.com/users/ngageoint/events{/privacy}","received_events_url":"https://api.github.com/users/ngageoint/received_events","type":"Organization","site_admin":false},"repo":{"id":37372629,"name":"hootenanny","full_name":"ngageoint/hootenanny","owner":{"login":"ngageoint","id":7175944,"avatar_url":"https://avatars.githubusercontent.com/u/7175944?v=3","gravatar_id":"","url":"https://api.github.com/users/ngageoint","html_url":"https://github.com/ngageoint","followers_url":"https://api.github.com/users/ngageoint/followers","following_url":"https://api.github.com/users/ngageoint/following{/other_user}","gists_url":"https://api.github.com/users/ngageoint/gists{/gist_id}","starred_url":"https://api.github.com/users/ngageoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngageoint/subscriptions","organizations_url":"https://api.github.com/users/ngageoint/orgs","repos_url":"https://api.github.com/users/ngageoint/repos","events_url":"https://api.github.com/users/ngageoint/events{/privacy}","received_events_url":"https://api.github.com/users/ngageoint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ngageoint/hootenanny","description":"high-performance conflation software","fork":false,"url":"https://api.github.com/repos/ngageoint/hootenanny","forks_url":"https://api.github.com/repos/ngageoint/hootenanny/forks","keys_url":"https://api.github.com/repos/ngageoint/hootenanny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngageoint/hootenanny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngageoint/hootenanny/teams","hooks_url":"https://api.github.com/repos/ngageoint/hootenanny/hooks","issue_events_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/events{/number}","events_url":"https://api.github.com/repos/ngageoint/hootenanny/events","assignees_url":"https://api.github.com/repos/ngageoint/hootenanny/assignees{/user}","branches_url":"https://api.github.com/repos/ngageoint/hootenanny/branches{/branch}","tags_url":"https://api.github.com/repos/ngageoint/hootenanny/tags","blobs_url":"https://api.github.com/repos/ngageoint/hootenanny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngageoint/hootenanny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngageoint/hootenanny/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngageoint/hootenanny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngageoint/hootenanny/statuses/{sha}","languages_url":"https://api.github.com/repos/ngageoint/hootenanny/languages","stargazers_url":"https://api.github.com/repos/ngageoint/hootenanny/stargazers","contributors_url":"https://api.github.com/repos/ngageoint/hootenanny/contributors","subscribers_url":"https://api.github.com/repos/ngageoint/hootenanny/subscribers","subscription_url":"https://api.github.com/repos/ngageoint/hootenanny/subscription","commits_url":"https://api.github.com/repos/ngageoint/hootenanny/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngageoint/hootenanny/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngageoint/hootenanny/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngageoint/hootenanny/contents/{+path}","compare_url":"https://api.github.com/repos/ngageoint/hootenanny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngageoint/hootenanny/merges","archive_url":"https://api.github.com/repos/ngageoint/hootenanny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngageoint/hootenanny/downloads","issues_url":"https://api.github.com/repos/ngageoint/hootenanny/issues{/number}","pulls_url":"https://api.github.com/repos/ngageoint/hootenanny/pulls{/number}","milestones_url":"https://api.github.com/repos/ngageoint/hootenanny/milestones{/number}","notifications_url":"https://api.github.com/repos/ngageoint/hootenanny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngageoint/hootenanny/labels{/name}","releases_url":"https://api.github.com/repos/ngageoint/hootenanny/releases{/id}","deployments_url":"https://api.github.com/repos/ngageoint/hootenanny/deployments","created_at":"2015-06-13T13:33:38Z","updated_at":"2016-03-15T19:35:40Z","pushed_at":"2016-03-16T12:40:37Z","git_url":"git://github.com/ngageoint/hootenanny.git","ssh_url":"git@github.com:ngageoint/hootenanny.git","clone_url":"https://github.com/ngageoint/hootenanny.git","svn_url":"https://github.com/ngageoint/hootenanny","homepage":null,"size":111563,"stargazers_count":63,"watchers_count":63,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":90,"forks":22,"open_issues":90,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462"},"html":{"href":"https://github.com/ngageoint/hootenanny/pull/462"},"issue":{"href":"https://api.github.com/repos/ngageoint/hootenanny/issues/462"},"comments":{"href":"https://api.github.com/repos/ngageoint/hootenanny/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ngageoint/hootenanny/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/ngageoint/hootenanny/statuses/b28d8afe84d25006cdb9f08b89816fe105e493f6"}}}}