This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] Fedora Commons 4 :: Parent POM | |
[INFO] Fedora Commons 4 | |
[INFO] Fedora Repository BOM | |
[INFO] Fedora Repository JCR BOM | |
[INFO] Fedora Repository BOMs | |
[INFO] Fedora Repository Kernel API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev search-frontend]$ rspec | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF....F..F*F..*FF..F......F....................... | |
Pending: | |
Spectrum::Engines::Solr searches for "New Yorker" in Journals should find "The New Yorker" as the first result | |
# revamp to how stopwords and/or phrases are handled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's a good primer: | |
http://everydayrails.com/2012/03/12/testing-series-intro.html | |
Here's a good general reference: | |
https://www.relishapp.com/rspec/rspec-rails/v/2-13/docs | |
Test driven development | |
In Gemfile: gem capybara-webkit | |
bundle install | |
Tests not using capybara: bundle exec rspec spec/models/user_spec.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev search-frontend]$ xvfb-run -a bundle exec rspec | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
.DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block in render_with_haml at /usr/local/rvm/gems/ruby-1.9.3-p448@search-frontend-ermadmix/gems/haml-4.0.2/lib/haml/helpers/action_view_mods.rb:10) | |
FDEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block in render_with_haml at /usr/local/rvm/gems/ruby-1.9.3-p448@search-frontend-ermadmix/gems/haml-4.0.2/lib/haml/helpers/action_view_mods.rb:10) | |
.DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:ha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[13:34:34.753] Started GET "/" for 130.132.80.210 at 2016-04-18 13:34:34 -0400 | |
[13:34:34.753] Processing by CatalogController#index as HTML | |
[13:34:34.753] CLIENT IP 130.132.80.210, CHECK NEEDED? true | |
[13:34:34.753] CLIENT IP MATCHES - ALLOW | |
[13:34:34.753] In set_session... | |
[13:34:34.753] client_ip:130.132.80.210 | |
[13:34:34.753] Session guestuser: | |
[13:34:34.753] (62.0ms) SELECT COUNT(*) FROM `guest_users` WHERE `guest_users`.`email` = '' | |
[13:34:34.753] Create guest session: [email protected] 1CLRQ9944lYkbh_LpVknoxkW-P4 130.132.80.210 | |
[13:34:34.753] (0.1ms) BEGIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[13:41:03.865] IP SESSION EXISTS - ALLOW | |
[13:41:03.865] In set_session... | |
[13:41:03.865] client_ip:130.132.80.210 | |
[13:41:03.865] Session guestuser:[email protected] | |
[13:41:03.865] (0.4ms) SELECT COUNT(*) FROM `guest_users` WHERE `guest_users`.`email` = '[email protected]' | |
[13:41:03.865] GuestUser Load (0.2ms) SELECT `guest_users`.* FROM `guest_users` WHERE `guest_users`.`email` = '[email protected]' LIMIT 1 | |
[13:41:03.865] Use exisiting session: [email protected] 1CLRQ9944lYkbh_LpVknoxkW-P4 | |
[13:41:03.865] SQL (22.5ms) UPDATE `guest_users` SET updated_at = UTC_TIMESTAMP() WHERE (email = "[email protected]") | |
[13:41:03.865] (0.1ms) BEGIN | |
[13:41:03.865] (0.1ms) COMMIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[AVALON] [130.132.80.210] [2016.04.26 17:40:38.443] logout of cas | |
[AVALON] [130.132.80.210] [2016.04.26 17:40:38.443] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 7 ORDER BY "users"."id" ASC LIMIT 1 | |
[AVALON] [130.132.80.210] [2016.04.26 17:40:38.443] Redirected to https://secure.its.yale.edu/cas/logout | |
[AVALON] [130.132.80.210] [2016.04.26 17:40:38.443] Completed 302 Found in 13ms (ActiveRecord: 0.3ms) | |
[AVALON] [172.28.51.119] [2016.04.26 17:40:38.520] | |
[AVALON] [172.28.51.119] [2016.04.26 17:40:38.520] | |
[AVALON] [172.28.51.119] [2016.04.26 17:40:38.520] Started POST "/users/auth/cas/callback?url=http%3A%2F%2Flibdev4.library.yale.edu%3A3005%2F" for 172.28.51.119 at 2016-04-26 17:40:38 -0400 | |
[AVALON] [172.28.51.119] [2016.04.26 17:40:38.520] (cas) Callback phase initiated. | |
[AVALON] [172.28.51.119] [2016.04.26 17:40:38.520] (cas) Authentication failure! logout_request: Nokogiri::XML::XPath::SyntaxError, Undefined namespace prefix: //saml:NameID | |
[AVALON] [172.28.51.119] [2016.04.26 17: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev4 avalon]$ rake avalon:services:start | |
D, [2016-04-21T11:49:25.400920 #12933] DEBUG -- : Starting jetty with these values: | |
D, [2016-04-21T11:49:25.401017 #12933] DEBUG -- : jetty_home: /home/ermadmix/avalon/avalon/jetty | |
D, [2016-04-21T11:49:25.401214 #12933] DEBUG -- : jetty_command: java -Djetty.port=8983 -Dsolr.solr.home=/home/ermadmix/avalon/avalon/jetty/solr -XX:MaxPermSize=256m -Xmx256m -jar start.jar | |
W, [2016-04-21T11:49:25.405679 #12933] WARN -- : Logging jettywrapper stdout to /home/ermadmix/avalon/avalon/jetty/jettywrapper.log | |
D, [2016-04-21T11:49:25.416645 #12933] DEBUG -- : Wrote pid file to /home/ermadmix/avalon/avalon/tmp/pids/_home_ermadmix_avalon_avalon_jetty_development.pid with value 12936 | |
I, [2016-04-21T11:49:39.495334 #12933] INFO -- : Started jetty (14093.0ms) | |
jetty started at PID 12936 | |
D, [2016-04-21T11:49:39.496389 #12933] DEBUG -- : Initializing felixwrapper | |
D, [2016-04-21T11:49:39.496501 #12933] DEBUG -- : Starting felix with these values: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use `bundle show [gemname]` to see where a bundled gem is installed. | |
force app/controllers/catalog_controller.rb | |
insert app/controllers/application_controller.rb | |
insert app/models/search_builder.rb | |
create config/initializers/hydra_config.rb | |
create config/role_map.yml | |
create app/models/ability.rb | |
generate active_fedora:config:fedora | |
[Simple Form] Simple Form is not configured in the application and will use the default values. Use `rails generate simple_form:install` to generate the Simple Form configuration. | |
create config/fedora.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.google.com/document/d/1O3qyRqXi0ViCK095WEE4SUi51zLjdc5MjvRTbzqQ5S0/edit | |
http://link.odai.yale.edu/ypls-ws/PersistentLinking?wsdl | |
https://github.com/yalelibrary/diggit-hydra/blob/k2findit/lib/tasks/yulhy15.rake#L982 | |
10079.1/rfj9451 |