{"action":"created","issue":{"url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/8","repository_url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config","labels_url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/8/comments","events_url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/8/events","html_url":"https://github.com/utkdigitalinitiatives/basic-solr-config/pull/8","id":165623662,"number":8,"title":"4.x-vagrant: add branch for vagrant testing with UTK islandora_transforms","user":{"login":"CanOfBees","id":2052902,"avatar_url":"https://avatars.githubusercontent.com/u/2052902?v=3","gravatar_id":"","url":"https://api.github.com/users/CanOfBees","html_url":"https://github.com/CanOfBees","followers_url":"https://api.github.com/users/CanOfBees/followers","following_url":"https://api.github.com/users/CanOfBees/following{/other_user}","gists_url":"https://api.github.com/users/CanOfBees/gists{/gist_id}","starred_url":"https://api.github.com/users/CanOfBees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanOfBees/subscriptions","organizations_url":"https://api.github.com/users/CanOfBees/orgs","repos_url":"https://api.github.com/users/CanOfBees/repos","events_url":"https://api.github.com/users/CanOfBees/events{/privacy}","received_events_url":"https://api.github.com/users/CanOfBees/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T18:10:02Z","updated_at":"2016-07-15T15:32:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/pulls/8","html_url":"https://github.com/utkdigitalinitiatives/basic-solr-config/pull/8","diff_url":"https://github.com/utkdigitalinitiatives/basic-solr-config/pull/8.diff","patch_url":"https://github.com/utkdigitalinitiatives/basic-solr-config/pull/8.patch"},"body":"## What does this PR do? ##\r\nThis PR adds a Vagrant-specific branch to our basic-solr-config repo. It contains a basic Solr config, basic Solr schema, and the XSL stylesheets for fedoragsearch. \r\n\r\n## What's new? ##\r\n* This PR updates the README with improved install/deployment notes\r\n* The PR updates directory names\r\n\r\n## How Should This Be Tested? ##\r\n* Make a change to [islandora_transforms/slurp_all_MODS_to_solr.xslt](islandora_transforms/slurp_all_MODS_to_solr.xslt)\r\n    * e.g. change a [field name](https://github.com/CanOfBees/basic-solr-config/blob/4.x-vagrant/islandora_transforms/slurp_all_MODS_to_solr.xslt#L51) from `utk_mods` to `foo_bar`.\r\n* Sync your changes using the utility/methodology of your choice.\r\n* On your islandora_vagrant VM, `$ sudo chown tomcat7:tomcat7` on the updated slurp_all_MODS_to_solr.xslt.\r\n* On your islandora_vagrant VM, restart Tomcat with the following: `$ sudo service tomcat7 restart`\r\n* Update a PID or add a new item to your repository and then update your Solr index.\r\n    * There are a variety of ways to do this; here are two:\r\n        * use the localhost:8080/fedoragsearch/rest interface > select the **updateIndex** link > enter an appropriate PID in the _updateIndex fromPid_ text box and then click _updateIndex fromPid_.\r\n        * ssh into your vagrant VM > run the following `curl` command using the PID of the updated item: `curl -u fedoraAdmin:fedoraAdmin -X GET \"http://localhost:8080/fedoragsearch/rest?operation=updateIndex&action=fromPid&value=$YOUR_PID\"`\r\n* Query the Solr index from your browser: `http://localhost:8080/solr/collection1/select?q=%22$YOUR_PID_HERE%22&fl=PID%2Cutk_mods_*&df=PID&wt=xml&indent=true`. **Note:** depending on your browser you may need to escape the `:` in your PID; e.g. `islandora:3` vs `islandora%3A3`.\r\n\r\n## Additional Notes ##\r\nAt this time, it does *not* use the same Fedora/fedoragsearch configuration that are available in the 4.x branch. This might be a troublesome merge - apologies.\r\n\r\n## Interested Parties ##\r\n@markpbaggett @cdeaneGit \r\n"},"comment":{"url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/comments/232985514","html_url":"https://github.com/utkdigitalinitiatives/basic-solr-config/pull/8#issuecomment-232985514","issue_url":"https://api.github.com/repos/utkdigitalinitiatives/basic-solr-config/issues/8","id":232985514,"user":{"login":"markpbaggett","id":2692416,"avatar_url":"https://avatars.githubusercontent.com/u/2692416?v=3","gravatar_id":"","url":"https://api.github.com/users/markpbaggett","html_url":"https://github.com/markpbaggett","followers_url":"https://api.github.com/users/markpbaggett/followers","following_url":"https://api.github.com/users/markpbaggett/following{/other_user}","gists_url":"https://api.github.com/users/markpbaggett/gists{/gist_id}","starred_url":"https://api.github.com/users/markpbaggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpbaggett/subscriptions","organizations_url":"https://api.github.com/users/markpbaggett/orgs","repos_url":"https://api.github.com/users/markpbaggett/repos","events_url":"https://api.github.com/users/markpbaggett/events{/privacy}","received_events_url":"https://api.github.com/users/markpbaggett/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T15:32:35Z","updated_at":"2016-07-15T15:32:35Z","body":"Looks ready to merge to me.  In case you're curious, here is a screenshot of my test.  Basically, I just added _test_ into the geographic field in your slurp all mods xslt.\r\n![mark stest](https://cloud.githubusercontent.com/assets/2692416/16879716/d0b3f272-4a7f-11e6-93eb-a195a3d9c375.png)\r\n"}}
{"actor":{"display_login":"markpbaggett"}}