triannon-client 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/.env_example +16 -2
  3. data/.rspec +1 -0
  4. data/README.md +49 -18
  5. data/Rakefile +15 -2
  6. data/lib/triannon-client.rb +12 -6
  7. data/lib/triannon-client/configuration.rb +26 -14
  8. data/lib/triannon-client/triannon_client.rb +139 -44
  9. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml → CRUD/create_annotation.yml} +192 -132
  10. data/spec/fixtures/vcr_cassettes/TriannonClientAUTH/with_authentication/behaves_like_authenticate/-_authenticate_returns_true.yml +343 -0
  11. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/POST_401_response_retries_and_logs_RestClient_Exception_message.yml +170 -0
  12. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/POST_403_response_does_not_retry_and_logs_RestClient_Exception_message.yml +170 -0
  13. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/POST_500_response_does_not_retry_and_logs_RestClient_Exception_message.yml +170 -0
  14. data/spec/fixtures/vcr_cassettes/{TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml → TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml} +203 -319
  15. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/logs_RuntimeError_message.yml +170 -0
  16. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/_post_annotation/with_authentication/behaves_like_create_annotations/returns_a_RestClient_Response_object.yml +170 -0
  17. data/spec/fixtures/vcr_cassettes/{TriannonClient/_post_annotation → TriannonClientCREATE/_post_annotation/without_authentication/behaves_like_create_annotations}/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +29 -27
  18. data/spec/fixtures/vcr_cassettes/TriannonClientCREATE/clear_annotations.yml +590 -0
  19. data/spec/fixtures/vcr_cassettes/TriannonClientDELETE/_delete_annotation/with_authentication/behaves_like_delete_annotations/returns_TRUE_when_deleting_an_annotation_that_does_NOT_exist.yml +349 -0
  20. data/spec/fixtures/vcr_cassettes/TriannonClientDELETE/_delete_annotation/with_authentication/behaves_like_delete_annotations/returns_TRUE_when_deleting_an_annotation_that_exists.yml +332 -0
  21. data/spec/fixtures/vcr_cassettes/TriannonClientDELETE/_delete_annotation/with_authentication/behaves_like_delete_annotations/validates_the_annotation_ID.yml +288 -0
  22. data/spec/fixtures/vcr_cassettes/{TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml → TriannonClientDELETE/_delete_annotation/without_authentication/behaves_like_delete_annotations/returns_TRUE_when_deleting_an_annotation_that_does_NOT_exist.yml} +13 -9
  23. data/spec/fixtures/vcr_cassettes/TriannonClientDELETE/_delete_annotation/without_authentication/behaves_like_delete_annotations/returns_TRUE_when_deleting_an_annotation_that_exists.yml +127 -0
  24. data/spec/fixtures/vcr_cassettes/{TriannonClient/_delete_annotation → TriannonClientDELETE/_delete_annotation/without_authentication/behaves_like_delete_annotations}/validates_the_annotation_ID.yml +7 -5
  25. data/spec/fixtures/vcr_cassettes/TriannonClientDELETE/clear_annotations.yml +594 -0
  26. data/spec/fixtures/vcr_cassettes/{TriannonClient → TriannonClientREAD/GET}/_get_annotations/returns_an_RDF_Graph.yml +30 -23
  27. data/spec/fixtures/vcr_cassettes/{TriannonClient → TriannonClientREAD/GET}/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +30 -23
  28. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +302 -0
  29. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml → TriannonClientREAD/GET/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml} +25 -78
  30. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml → TriannonClientREAD/GET/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml} +25 -78
  31. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/_response2graph/accepts_a_RestClient_Response_instance.yml +2399 -0
  32. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/csvm_json_.yml +1231 -0
  33. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +1231 -0
  34. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +1231 -0
  35. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +1231 -0
  36. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +1231 -0
  37. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trig_.yml +1231 -0
  38. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trix_.yml +1231 -0
  39. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +1231 -0
  40. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +1231 -0
  41. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +1231 -0
  42. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/csv_.yml +1231 -0
  43. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/n3_.yml +1231 -0
  44. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/plain_.yml +1231 -0
  45. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +1231 -0
  46. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +1231 -0
  47. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/tab-separated-values_.yml +1231 -0
  48. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +1231 -0
  49. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application → TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/gets_an_open_annotation_by_ID_with_content_type_application}/ld_json_.yml +25 -78
  50. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/gets_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +68 -0
  51. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/gets_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +69 -0
  52. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_custom_content_type/gets_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +69 -0
  53. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type → TriannonClientREAD/GET/annotation_by_ID/using_default_content_type}/checks_the_annotation_ID.yml +25 -78
  54. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/GET/annotation_by_ID/using_default_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +186 -0
  55. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml → TriannonClientREAD/GET/annotation_by_ID/using_default_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml} +25 -78
  56. data/spec/fixtures/vcr_cassettes/TriannonClientREAD/clear_annotations.yml +648 -0
  57. data/spec/fixtures/vcr_cassettes/{TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml → TriannonClientREAD/create_annotation.yml} +192 -131
  58. data/spec/lib/triannon-client/configuration_spec.rb +83 -27
  59. data/spec/lib/triannon-client/triannon_client_auth_spec.rb +61 -0
  60. data/spec/lib/triannon-client/triannon_client_class_spec.rb +104 -0
  61. data/spec/lib/triannon-client/triannon_client_create_spec.rb +119 -0
  62. data/spec/lib/triannon-client/triannon_client_delete_spec.rb +117 -0
  63. data/spec/lib/triannon-client/triannon_client_read_spec.rb +342 -0
  64. data/spec/spec_helper.rb +140 -4
  65. data/triannon-client.gemspec +1 -1
  66. metadata +112 -153
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +0 -3995
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +0 -3995
  69. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +0 -3995
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +0 -3995
  71. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trig_.yml +0 -3995
  72. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trix_.yml +0 -3995
  73. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +0 -3995
  74. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +0 -3995
  75. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +0 -3995
  76. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/n3_.yml +0 -3995
  77. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +0 -3995
  78. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +0 -3995
  79. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +0 -3995
  80. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +0 -4946
  81. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +0 -2566
  82. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +0 -2502
  83. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +0 -2502
  84. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trig_.yml +0 -2502
  85. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trix_.yml +0 -2502
  86. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +0 -2502
  87. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +0 -2502
  88. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +0 -2502
  89. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +0 -2502
  90. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/n3_.yml +0 -2502
  91. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +0 -2502
  92. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +0 -2502
  93. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +0 -2502
  94. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +0 -2502
  95. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +0 -2502
  96. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +0 -2502
  97. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +0 -2502
  98. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +0 -2502
  99. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +0 -2502
  100. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +0 -2502
  101. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +0 -2561
  102. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +0 -4946
  103. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +0 -2502
  104. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +0 -2746
  105. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +0 -2502
  106. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +0 -4946
  107. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_404_responses_.yml +0 -64
  108. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_410_responses_.yml +0 -64
  109. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/logs_exceptions.yml +0 -64
  110. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_FALSE_for_a_500_response_to_a_DELETE_request.yml +0 -64
  111. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +0 -64
  112. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +0 -64
  113. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +0 -64
  114. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +0 -64
  115. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +0 -64
  116. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_exists.yml +0 -2549
  117. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions.yml +0 -5355
  118. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +0 -5355
  119. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +0 -2502
  120. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +0 -2502
  121. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +0 -2502
  122. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +0 -2551
  123. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_array_of_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml +0 -2502
  124. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +0 -4898
  125. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +0 -2502
  126. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +0 -2502
  127. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +0 -2502
  128. data/spec/lib/triannon-client/triannon_client_spec.rb +0 -546
@@ -2,7 +2,174 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:3000/annotations/foo/
5
+ uri: http://localhost:3000/auth/client_identity
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"clientId":"clientA","clientSecret":"secretA"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ Content-Length:
17
+ - '47'
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: 'OK '
24
+ headers:
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Etag:
34
+ - W/"67f6705d5b989c616ecf28308df1f9d7"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - bcc7b42e-7fe1-4c03-99d5-29982f25f56c
39
+ X-Runtime:
40
+ - '0.163294'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Mon, 03 Aug 2015 22:11:45 GMT
45
+ Content-Length:
46
+ - '186'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - _internal_session=WVkzU0o4cm1ZRWFncThDZHhqUkpyZ0FvWEZqcHV4TFQwQi9DL3ZSdUJEWnNHVXB2My9GbktKTE1ZZVNkSzBuejZZYlFRTG5YeWJNdmkrUW5vZkxaWFRzekNnVFhmeFlOaUxkTUhvK0VHOTZFS3UxS2QzZ2R3TlBVZThuRlFNeEJ4TTNRTytQWml0K0F1allNazByV00ybm41NFFSdXZXaWRFTjlPdUx3UFNnZWhIVDNEWkFzQjNmM3o1ZDhvd0tSa0kwZ09ZZ0hoaGtKQzhJMEpIdHR6UkZTN1dQaXJlMzZwOUVTNld6VEErekVXb0c3ODJnckNhUnhVVFhjYytwb3RLZmltaUtIMkFBQ0M0Rk9rSktHdXRjUURxVTJIOWhPYTRISmd4TnB5T1c1cjg5VkNNaW5LbmJSbU56RG1JSHVFQ3F3NUhrZHJFZjFCcDJlNEVyQVhOUmRYNDh1MGszREo5UWhCbHBab1Bma2RzMVZPT1pyaWQyd2VKcS9ucFVna0VveFg2eTA2elBZYU5VaDVOREhZc0JCeVBBL2Fkd0NOb08vcXBQNjBNTTlOZUpWZ0x0SDRVczJLcTF3eWViZEowcUZENmlEcWloYXBpLzBBRzFzMlR1RzRXaUVTWk91UEtTbTZSU3pRQjg9LS12Ti9nZW10c0M2ME84V3RRZUN3bjdnPT0%3D--d36c5a3bb33d1069f864b83d8cd894c636a02b70;
51
+ path=/; HttpOnly
52
+ - request_method=POST; path=/
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"authorizationCode":"ZVQ3MGdVTXM5S2RnYkZtKzk3aGU5Sk5TR3FSV2ZVb0YvMnJ3OTJoVjc4VU1PMDJHWkhyVGNBY05NZFRjd25qaC0tdTRNaWt4QmF0K2pSYmJvVkpCZ2FyUT09--6b4cc84c64ecd44dc243c572f078e94d89ae4c3d"}'
56
+ http_version:
57
+ recorded_at: Mon, 03 Aug 2015 22:11:45 GMT
58
+ - request:
59
+ method: post
60
+ uri: http://localhost:3000/auth/login?code=ZVQ3MGdVTXM5S2RnYkZtKzk3aGU5Sk5TR3FSV2ZVb0YvMnJ3OTJoVjc4VU1PMDJHWkhyVGNBY05NZFRjd25qaC0tdTRNaWt4QmF0K2pSYmJvVkpCZ2FyUT09--6b4cc84c64ecd44dc243c572f078e94d89ae4c3d
61
+ body:
62
+ encoding: UTF-8
63
+ string: '{"userId":"","workgroups":"org:wg-A, org:wg-B"}'
64
+ headers:
65
+ Accept:
66
+ - application/json
67
+ Accept-Encoding:
68
+ - gzip, deflate
69
+ Content-Type:
70
+ - application/json
71
+ Cookie:
72
+ - _internal_session=WVkzU0o4cm1ZRWFncThDZHhqUkpyZ0FvWEZqcHV4TFQwQi9DL3ZSdUJEWnNHVXB2My9GbktKTE1ZZVNkSzBuejZZYlFRTG5YeWJNdmkrUW5vZkxaWFRzekNnVFhmeFlOaUxkTUhvK0VHOTZFS3UxS2QzZ2R3TlBVZThuRlFNeEJ4TTNRTytQWml0K0F1allNazByV00ybm41NFFSdXZXaWRFTjlPdUx3UFNnZWhIVDNEWkFzQjNmM3o1ZDhvd0tSa0kwZ09ZZ0hoaGtKQzhJMEpIdHR6UkZTN1dQaXJlMzZwOUVTNld6VEErekVXb0c3ODJnckNhUnhVVFhjYytwb3RLZmltaUtIMkFBQ0M0Rk9rSktHdXRjUURxVTJIOWhPYTRISmd4TnB5T1c1cjg5VkNNaW5LbmJSbU56RG1JSHVFQ3F3NUhrZHJFZjFCcDJlNEVyQVhOUmRYNDh1MGszREo5UWhCbHBab1Bma2RzMVZPT1pyaWQyd2VKcS9ucFVna0VveFg2eTA2elBZYU5VaDVOREhZc0JCeVBBL2Fkd0NOb08vcXBQNjBNTTlOZUpWZ0x0SDRVczJLcTF3eWViZEowcUZENmlEcWloYXBpLzBBRzFzMlR1RzRXaUVTWk91UEtTbTZSU3pRQjg9LS12Ti9nZW10c0M2ME84V3RRZUN3bjdnPT0%3D--d36c5a3bb33d1069f864b83d8cd894c636a02b70;
73
+ request_method=POST
74
+ Content-Length:
75
+ - '47'
76
+ User-Agent:
77
+ - Ruby
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: 'OK '
82
+ headers:
83
+ X-Frame-Options:
84
+ - SAMEORIGIN
85
+ X-Xss-Protection:
86
+ - 1; mode=block
87
+ X-Content-Type-Options:
88
+ - nosniff
89
+ Content-Type:
90
+ - text/plain; charset=utf-8
91
+ Cache-Control:
92
+ - no-cache
93
+ X-Request-Id:
94
+ - 858967f4-ed8b-477f-88a3-a33f9aced6cd
95
+ X-Runtime:
96
+ - '0.164097'
97
+ Server:
98
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
99
+ Date:
100
+ - Mon, 03 Aug 2015 22:11:45 GMT
101
+ Content-Length:
102
+ - '0'
103
+ Connection:
104
+ - Keep-Alive
105
+ Set-Cookie:
106
+ - _internal_session=MzlRc2Vqb2lBVDVlakkyYmVVT3hCZ1NTT3FsbXVsY3B2RWd6UzY2VzN6SmdwbmZaTFhuODVUcnArMDdRemlNcnJCeDIzWnl5VGdkZmVDUjdsTjJZU1ZpK0hCMEpxUnN5SjRpdXBINHlyL0oyQXc0blNySUNDM0hGOU91NytCaWZOeE96N0RxWjg1MHV1TFRSeWE5K2hpZ0dZWlhzcVQxdVBVVWVzZTFrL2hldlRoUFQwR1lxNFRxQkhHY2ttUCtqQkIxdXFDVGsxTzA4ZWpqNWhkZ2hlV3hoclR2dDZXNWkvektqQUdPYzFZVHFPSjNQamwyTXZRZWFYenJmNDhjSHhKblVVdVJBNUdDRlhia0ZOdngzOUp1RlhydTBnTSszcmRNeUtRRjFDMjdkSHRDOWJhNUlnL0pxSVl1bzZESCt0Tk5PZlFTWDJpYUlFQks2QlFUOWNZOHlqb0tZNGczYXQreUV0Z0ZZYzkxUkllSWhHOVY3Q25PdlMxeHl5MldMOGRnY0N6ZmZTTHVmbE1vUzFTSGtwY1k0UHZoTmM5ZnNFdmlqUXBvNHBjVHM0dWpKRkRxNHdoNnQ0eXJNQzA5OWsxdS9CZkswdGNROWNua2lYQ3hNbjVFbkNDMW1TT3NoNS9TMkt0ZXJJcDVWeGFWTG5ncHBKd1U3VHBoUDdPWVdNTVB4MFJ1aGdhbDg2a1owUHI2ZjNuOHFDN2NNT2R0MUlHdEdlSzlwbnFtSGVPL2JzakRLU3pGRnZRR28vZmJtLS1JNysyYmRUSkFJWWYzakJGUWN4U1RRPT0%3D--7296259d49da35a5d73537da3e57366278bff3ec;
107
+ path=/; HttpOnly
108
+ - login_user=; path=/
109
+ body:
110
+ encoding: UTF-8
111
+ string: ''
112
+ http_version:
113
+ recorded_at: Mon, 03 Aug 2015 22:11:45 GMT
114
+ - request:
115
+ method: get
116
+ uri: http://localhost:3000/auth/access_token?code=ZVQ3MGdVTXM5S2RnYkZtKzk3aGU5Sk5TR3FSV2ZVb0YvMnJ3OTJoVjc4VU1PMDJHWkhyVGNBY05NZFRjd25qaC0tdTRNaWt4QmF0K2pSYmJvVkpCZ2FyUT09--6b4cc84c64ecd44dc243c572f078e94d89ae4c3d
117
+ body:
118
+ encoding: US-ASCII
119
+ string: ''
120
+ headers:
121
+ Accept:
122
+ - application/ld+json
123
+ Accept-Encoding:
124
+ - gzip, deflate
125
+ Content-Type:
126
+ - application/ld+json
127
+ Cookie:
128
+ - _internal_session=MzlRc2Vqb2lBVDVlakkyYmVVT3hCZ1NTT3FsbXVsY3B2RWd6UzY2VzN6SmdwbmZaTFhuODVUcnArMDdRemlNcnJCeDIzWnl5VGdkZmVDUjdsTjJZU1ZpK0hCMEpxUnN5SjRpdXBINHlyL0oyQXc0blNySUNDM0hGOU91NytCaWZOeE96N0RxWjg1MHV1TFRSeWE5K2hpZ0dZWlhzcVQxdVBVVWVzZTFrL2hldlRoUFQwR1lxNFRxQkhHY2ttUCtqQkIxdXFDVGsxTzA4ZWpqNWhkZ2hlV3hoclR2dDZXNWkvektqQUdPYzFZVHFPSjNQamwyTXZRZWFYenJmNDhjSHhKblVVdVJBNUdDRlhia0ZOdngzOUp1RlhydTBnTSszcmRNeUtRRjFDMjdkSHRDOWJhNUlnL0pxSVl1bzZESCt0Tk5PZlFTWDJpYUlFQks2QlFUOWNZOHlqb0tZNGczYXQreUV0Z0ZZYzkxUkllSWhHOVY3Q25PdlMxeHl5MldMOGRnY0N6ZmZTTHVmbE1vUzFTSGtwY1k0UHZoTmM5ZnNFdmlqUXBvNHBjVHM0dWpKRkRxNHdoNnQ0eXJNQzA5OWsxdS9CZkswdGNROWNua2lYQ3hNbjVFbkNDMW1TT3NoNS9TMkt0ZXJJcDVWeGFWTG5ncHBKd1U3VHBoUDdPWVdNTVB4MFJ1aGdhbDg2a1owUHI2ZjNuOHFDN2NNT2R0MUlHdEdlSzlwbnFtSGVPL2JzakRLU3pGRnZRR28vZmJtLS1JNysyYmRUSkFJWWYzakJGUWN4U1RRPT0%3D--7296259d49da35a5d73537da3e57366278bff3ec;
129
+ login_user=
130
+ User-Agent:
131
+ - Ruby
132
+ response:
133
+ status:
134
+ code: 200
135
+ message: 'OK '
136
+ headers:
137
+ X-Frame-Options:
138
+ - SAMEORIGIN
139
+ X-Xss-Protection:
140
+ - 1; mode=block
141
+ X-Content-Type-Options:
142
+ - nosniff
143
+ Content-Type:
144
+ - '["application/ld+json"]; charset=utf-8'
145
+ Etag:
146
+ - W/"1ce421913b8520612239beae239fc36c"
147
+ Cache-Control:
148
+ - max-age=0, private, must-revalidate
149
+ X-Request-Id:
150
+ - 50438233-6680-4f73-b906-ee666ef2d265
151
+ X-Runtime:
152
+ - '0.327396'
153
+ Server:
154
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
155
+ Date:
156
+ - Mon, 03 Aug 2015 22:11:46 GMT
157
+ Content-Length:
158
+ - '306'
159
+ Connection:
160
+ - Keep-Alive
161
+ Set-Cookie:
162
+ - _internal_session=QjZHamFuTnJKRkhFMjhOZ2U0Vzc1UFBjdTZVUDljMGlTYzNsR0tPZVNyNEZXY1dFcUhYclkzMjB0cjFZZndOYTl4cTF5ZmQwMk9BWjRvVzI4RkJyRE9yeDg0UTA5Q2NuSzBqTG5COTRxeDZJR2Y1Wnd4Y3dGSHk5U0NXa0FvbVFpSzBhM2l4aUFzMUsvdU50b3pHSXNXVzRJRjcwOGxQSUtBNUlRZUhjV0VXQWRyMHRtVWdDRE9WMHhlSU1WWlRGc3dtY09XalBORHk4ajF2cDdOL09xb0pNc3M4VU9UdEFvcHJ3QXZTWmtvUFlKVEdxN1A3R01Nc2hVN3lyMHVJQS9YNHdzZmpWTUJCbml1Y1hWSTMraUtvLzVRd1BnVStLYTJGVHVsM1FCdGp4M3VwOVg0M2wzcEU0N3FPVncwSzQrSXVHZVF0UU9peDlQdEFJVHBXQyt1bHduM1gxSHZxWm1Qd2R1NDVUaGhIeWFUVVMzMzBGUFMyam5GTjE5VXhGRHJGMmp5TkxmaHBreG1kK3E2Wm1UOGhlNTNWWk83b1plWmd2M1NJUWxIOW91OEYyVVNiWFdTejlkajRxdk4xZi82NW1GbjZ0TUlDUmRHUFFGUW9LK2VKY1BwK0grdXg3Y3FSS3pFdUpNMDhxSTFsSHJTSGFzUE1jUkRJdXRaQW03NUQwWVpKblRZcXRhekNWRC9xVWgxVTM0WVFVZzZXYjdUTUREMWxYZTJ6K0YzcDkzdmt6akttUkNPQmg1QXJLYW9tTnU5MEU2aXNQU3lrWmZZZERFallUK2t0OE5RTmtpcElWbHIyL3BUZ2dhNVVhdHNTZFpaU2FZYWFGbFNMZi9XaWVFZ3FUamlxM09mZkllZzhvdFZxRExyZzRxNklRN1RoeGs5eXZ0NFVwU1VvdEkvUHg3V3VUeEl4ZjdxQU9kOC83VTh2VHZTOHpaZWg2SjZwVURFMlJRVE43dzQzSks2V3Jmd2lpNlJEN3NLM0VydGN2Y1NZdzA2bk1pakl2ai9zV3F2cDNMbG44Um5yMW1hTW9UV2RVL0Y5SEp4cEpCeTNmOUV5TFgyNnE5YkEranpSUTRuWTc4THZ2WktIeURmZVBxODAxa283WW9jYW00aFBMb2xacTltQ0ZSZmIva3p3cWpZbkNvTGlIZGd6UzNyeWVLc05RSkZnZEF2ME5ucG9QZVQxQWpIaHpGZWVFbWFxTXlUU00zOW5KUFpQOHV5WUtBNWRmTEJicnBycTllU2ZPWC9TejV3U2JUcjdBejUycUlRNGs5T3o2R3hlSFY2VkhzK1Z5RjRqT29Za2UvQyt2Q1lUYnhvaz0tLWtqeEhjQXZFVmlKVlNkVklaVktNUlE9PQ%3D%3D--7b78d25ca603c2f4bddfc45fbf4362b0f5932a17;
163
+ path=/; HttpOnly
164
+ - login_user=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000
165
+ body:
166
+ encoding: UTF-8
167
+ string: '{"accessToken":"SXRqcVNoQkFvUTN3bzFVeGJrWndvWTRjdXQreTc5WXd2L0ovQ2oxQlMycURVMzhGNVJYUUZjcnM4bjZYL3ZibitHdU5PTUVnajZGM01vaUZpdmRPM0c2RDBVMW03a1RvT091M1lMeStWVFJxam5adWNUZ1FuSGM3MHNEa3VvNi8tLW9oRTRiUEZ6UlBCZVFNR3QwanJTV1E9PQ==--960e894f76572d011b3154c9df984c455b2a5c5b","tokenType":"Bearer","expiresIn":3600}'
168
+ http_version:
169
+ recorded_at: Mon, 03 Aug 2015 22:11:46 GMT
170
+ - request:
171
+ method: post
172
+ uri: http://localhost:3000/annotations/bar/
6
173
  body:
7
174
  encoding: US-ASCII
8
175
  string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
@@ -13,6 +180,10 @@ http_interactions:
13
180
  - gzip, deflate
14
181
  Content-Type:
15
182
  - application/x-www-form-urlencoded
183
+ Authorization:
184
+ - Bearer SXRqcVNoQkFvUTN3bzFVeGJrWndvWTRjdXQreTc5WXd2L0ovQ2oxQlMycURVMzhGNVJYUUZjcnM4bjZYL3ZibitHdU5PTUVnajZGM01vaUZpdmRPM0c2RDBVMW03a1RvT091M1lMeStWVFJxam5adWNUZ1FuSGM3MHNEa3VvNi8tLW9oRTRiUEZ6UlBCZVFNR3QwanJTV1E9PQ==--960e894f76572d011b3154c9df984c455b2a5c5b
185
+ Cookie:
186
+ - _internal_session=QjZHamFuTnJKRkhFMjhOZ2U0Vzc1UFBjdTZVUDljMGlTYzNsR0tPZVNyNEZXY1dFcUhYclkzMjB0cjFZZndOYTl4cTF5ZmQwMk9BWjRvVzI4RkJyRE9yeDg0UTA5Q2NuSzBqTG5COTRxeDZJR2Y1Wnd4Y3dGSHk5U0NXa0FvbVFpSzBhM2l4aUFzMUsvdU50b3pHSXNXVzRJRjcwOGxQSUtBNUlRZUhjV0VXQWRyMHRtVWdDRE9WMHhlSU1WWlRGc3dtY09XalBORHk4ajF2cDdOL09xb0pNc3M4VU9UdEFvcHJ3QXZTWmtvUFlKVEdxN1A3R01Nc2hVN3lyMHVJQS9YNHdzZmpWTUJCbml1Y1hWSTMraUtvLzVRd1BnVStLYTJGVHVsM1FCdGp4M3VwOVg0M2wzcEU0N3FPVncwSzQrSXVHZVF0UU9peDlQdEFJVHBXQyt1bHduM1gxSHZxWm1Qd2R1NDVUaGhIeWFUVVMzMzBGUFMyam5GTjE5VXhGRHJGMmp5TkxmaHBreG1kK3E2Wm1UOGhlNTNWWk83b1plWmd2M1NJUWxIOW91OEYyVVNiWFdTejlkajRxdk4xZi82NW1GbjZ0TUlDUmRHUFFGUW9LK2VKY1BwK0grdXg3Y3FSS3pFdUpNMDhxSTFsSHJTSGFzUE1jUkRJdXRaQW03NUQwWVpKblRZcXRhekNWRC9xVWgxVTM0WVFVZzZXYjdUTUREMWxYZTJ6K0YzcDkzdmt6akttUkNPQmg1QXJLYW9tTnU5MEU2aXNQU3lrWmZZZERFallUK2t0OE5RTmtpcElWbHIyL3BUZ2dhNVVhdHNTZFpaU2FZYWFGbFNMZi9XaWVFZ3FUamlxM09mZkllZzhvdFZxRExyZzRxNklRN1RoeGs5eXZ0NFVwU1VvdEkvUHg3V3VUeEl4ZjdxQU9kOC83VTh2VHZTOHpaZWg2SjZwVURFMlJRVE43dzQzSks2V3Jmd2lpNlJEN3NLM0VydGN2Y1NZdzA2bk1pakl2ai9zV3F2cDNMbG44Um5yMW1hTW9UV2RVL0Y5SEp4cEpCeTNmOUV5TFgyNnE5YkEranpSUTRuWTc4THZ2WktIeURmZVBxODAxa283WW9jYW00aFBMb2xacTltQ0ZSZmIva3p3cWpZbkNvTGlIZGd6UzNyeWVLc05RSkZnZEF2ME5ucG9QZVQxQWpIaHpGZWVFbWFxTXlUU00zOW5KUFpQOHV5WUtBNWRmTEJicnBycTllU2ZPWC9TejV3U2JUcjdBejUycUlRNGs5T3o2R3hlSFY2VkhzK1Z5RjRqT29Za2UvQyt2Q1lUYnhvaz0tLWtqeEhjQXZFVmlKVlNkVklaVktNUlE9PQ%3D%3D--7b78d25ca603c2f4bddfc45fbf4362b0f5932a17
16
187
  Content-Length:
17
188
  - '580'
18
189
  User-Agent:
@@ -31,31 +202,31 @@ http_interactions:
31
202
  Content-Type:
32
203
  - application/ld+json; charset=utf-8
33
204
  Etag:
34
- - W/"842c48e4eab19e62439c950bbf94e455"
205
+ - W/"30cf65e249c74546b6a1affdbc1d16c9"
35
206
  Cache-Control:
36
207
  - max-age=0, private, must-revalidate
37
208
  X-Request-Id:
38
- - 13cb1cda-9948-4630-9bd1-a05097d343ae
209
+ - 863c02b7-96ff-4b7b-b2f7-ef5c0e58c09d
39
210
  X-Runtime:
40
- - '1.779279'
211
+ - '1.751686'
41
212
  Server:
42
213
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
214
  Date:
44
- - Fri, 19 Jun 2015 18:38:54 GMT
215
+ - Mon, 03 Aug 2015 22:11:48 GMT
45
216
  Content-Length:
46
217
  - '447'
47
218
  Connection:
48
219
  - Keep-Alive
49
220
  Set-Cookie:
50
- - _internal_session=Nmc2MUtuWUFFUDFZdWdwZGluN3FtV3RrM3RCaXhNSWR3N0ZQUXluNGRuWmN0VXpFZWtqRzlCdThqc0trbFEweE0xNlV3RkZDcG1aOXBRbDllTTBsenBUSjZXNkVvc3VkZFJ3Z1c4MjlRcCt1WFAwOUh1N2pmeERWVW1JbFR0TVZKUncyc1FtYUxSekpQakJrejd2OTBDL1o5ZW5lNzR5YWZ6OC9xMUdRWnZnVGxiVGhKUGFRTmVIa0U0ZVlsdlVSeGFvZVRXNXlVWDQvQm9aYVVqcVdlRVR3aUljaDl1TUlzMmJvRXJTUStwRHJmZWgzQktoeW1zdTByV2E4bE8wQi0tdWQ2VDFLS1czTjFtYnJGWVc1UzdPQT09--f9048b88a072d0971450ae9864eaaacfc2c052b8;
221
+ - _internal_session=MmpSNHI5MzlsZEdYWTRkeVF1RzIxMkVBRGI1eXdnVHJBaXFvT3NOYkcyQjNIanc5TC9BYTRoQUMvdkhzLzhNUUd1TkF6eHA5TFg0elhIQVNvU21pME1yb3k4UlRURjFFckJXRG80YzVNSjNPOVg3QTRYWlBYVFRldDRoQnVQYzJEVGdUWWR6MzJMWGpJQ212UWNENThIYWMwdVVMbkpZaXBoMlAxVTkrcVZhb3B5MlRLdkhkb3hWbXlQUGY0eDBjYjlqREZPSHJtMFNvMXBiczZBQWJaK3JpazE2bk92czFjOWFQZWs4aTBIWHRJTjBscEd0YXNDaWFzbXFIVTg0cUtMeDlVK1Z1Z2JKZisyTU1YNVpLdFk0aENwOElnWFNnNmNudVpEVWV5M1RublVsWEpoTGNnQ0FMa29taHY3Y0ZQRXdUSVdPWm4yeVp6VUFpazNGSzI0ZzhVcDFTZEUzY2dSWDlMNWlvdzRleUE2QnBSZkFEbnZPS3hqS1JMeDBzUXNsSWk4eDM4K3FPRmljNnVGT0NseVR1MWNLZ082ZUdiRGYrWHc1TW5Ibllzcml6YXAvQWNMUzkreWQreDZjOFhpRHg5TklVZGpNNWExQWV1K0tYRDlIeEtsR3lkTE5NNDl5QThZRVdaVENyTjlqR2p3SWI4MThvaDBpclE4dWVtNW91ZjJ2bmJhK2tUMU1OcjUwK2xhWlBDcUJWWWUyZkRhenZyV3owdlFkNVJxc0NGN3ZoczVFLzI1TC9laEFTUHlFWXlQTGlSclltcXRCcGJFaVM3Wmh4aEZnWHdNRVByTTlkQWxzYzdDQnlwbTI2cGpRczhNbVBWTmc2aElDYkVoU3ZhTHVqTVdOdUtubERwdUcvU0xHYVVSKzVPSlZTOEpoYmZTN0VpOVY0anBneXhlUGhOdmJFVUxMOG5ONk9tMUp1OTZGRmxKMmVrUkNRemdQcmRzQ3hJTFdFM3NwQlJSZFZReFhUNjF4NkQrMm1ZbS84RGZlYWVOMEFINERQbXNkOWhmbjJCMFpBR1BzT0NacklhSWJZNXZaMk83N1JuRnM0L2tPRDZPSktLQWJXTWw5eXRBQW5LMnZjUmF3d0w4T1BuOXdnbzJWZlJ6dlE1c1dmbnUyNFBQK044OE4vTFBpcDN3WktISXJtVjdLZXN0QUpUVisrYmZPcDFxbU9xSnI4eDBOYWgxZjlmU2Q2Q2NkMG1SaGxQdFJhb2FXaE9TWGlZVWVQdTZTSjFNMEQ2dk1YUmxVYStzSFkybDdFVVJoM0dCN1FjdTVYOEpRd3BkWHhmK3ZmSWpHcmtHZ3Vja25mSlFvcFR4KzRNNFdxdW16MVdkM0VLZXRTaTVJSUIzZUx3YWZ5SWt3aWF0cUtiaENJQ3ZtMDllWlpaTGFXbkRhUDlsNW1VUXVCWGZqUS9LSTlMTXAyalZxRWdwaXZ5MjBuS0dpa1pzRnNMNzJUT3dKZHk1eEhzamNKaFBEa1VQUHR2WUxEd1M0aDhjWHg2RjF6em5HWE5MdlZ3d0pMRFM1TWQ2dlJIaEZvZmwyMXJvZzlGQT09LS00ektzOU83UUZ2SDRSaFl6YTl2U3VBPT0%3D--760033ce0a3819a145734516110ceaa7d90219b4;
51
222
  path=/; HttpOnly
52
223
  - request_method=POST; path=/
53
224
  body:
54
225
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154590751300","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/74/66/13/0b/7466130b-6233-45fe-983f-06d2fc1cf70c","@type":"oa:Annotation","hasBody":"_:g70154590751300","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
226
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g69926420683480","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
227
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/bar/44/88/5a/75/44885a75-6c5b-4da8-8871-bb60932e42f7","@type":"oa:Annotation","hasBody":"_:g69926420683480","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
228
  http_version:
58
- recorded_at: Fri, 19 Jun 2015 18:38:54 GMT
229
+ recorded_at: Mon, 03 Aug 2015 22:11:48 GMT
59
230
  - request:
60
231
  method: get
61
232
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +246,7 @@ http_interactions:
75
246
  message: Temporary Redirect
76
247
  headers:
77
248
  Date:
78
- - Fri, 19 Jun 2015 18:38:54 GMT
249
+ - Mon, 03 Aug 2015 22:11:48 GMT
79
250
  Server:
80
251
  - Apache/2
81
252
  Location:
@@ -83,7 +254,7 @@ http_interactions:
83
254
  Cache-Control:
84
255
  - max-age=21600
85
256
  Expires:
86
- - Sat, 20 Jun 2015 00:38:54 GMT
257
+ - Tue, 04 Aug 2015 04:11:48 GMT
87
258
  Content-Length:
88
259
  - '240'
89
260
  Content-Type:
@@ -99,7 +270,7 @@ http_interactions:
99
270
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
271
  </body></html>
101
272
  http_version:
102
- recorded_at: Fri, 19 Jun 2015 18:38:54 GMT
273
+ recorded_at: Mon, 03 Aug 2015 22:11:48 GMT
103
274
  - request:
104
275
  method: get
105
276
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +292,7 @@ http_interactions:
121
292
  message: OK
122
293
  headers:
123
294
  Date:
124
- - Fri, 19 Jun 2015 18:38:54 GMT
295
+ - Mon, 03 Aug 2015 22:11:48 GMT
125
296
  Server:
126
297
  - Apache/2
127
298
  Last-Modified:
@@ -135,7 +306,7 @@ http_interactions:
135
306
  Cache-Control:
136
307
  - max-age=21600
137
308
  Expires:
138
- - Sat, 20 Jun 2015 00:38:54 GMT
309
+ - Tue, 04 Aug 2015 04:11:48 GMT
139
310
  P3p:
140
311
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
312
  Access-Control-Allow-Origin:
@@ -1253,7 +1424,7 @@ http_interactions:
1253
1424
 
1254
1425
 
1255
1426
  http_version:
1256
- recorded_at: Fri, 19 Jun 2015 18:38:55 GMT
1427
+ recorded_at: Mon, 03 Aug 2015 22:11:48 GMT
1257
1428
  - request:
1258
1429
  method: get
1259
1430
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1444,7 @@ http_interactions:
1273
1444
  message: Temporary Redirect
1274
1445
  headers:
1275
1446
  Date:
1276
- - Fri, 19 Jun 2015 18:38:55 GMT
1447
+ - Mon, 03 Aug 2015 22:11:48 GMT
1277
1448
  Server:
1278
1449
  - Apache/2
1279
1450
  Location:
@@ -1281,7 +1452,7 @@ http_interactions:
1281
1452
  Cache-Control:
1282
1453
  - max-age=21600
1283
1454
  Expires:
1284
- - Sat, 20 Jun 2015 00:38:55 GMT
1455
+ - Tue, 04 Aug 2015 04:11:48 GMT
1285
1456
  Content-Length:
1286
1457
  - '240'
1287
1458
  Content-Type:
@@ -1297,7 +1468,7 @@ http_interactions:
1297
1468
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1469
  </body></html>
1299
1470
  http_version:
1300
- recorded_at: Fri, 19 Jun 2015 18:38:55 GMT
1471
+ recorded_at: Mon, 03 Aug 2015 22:11:48 GMT
1301
1472
  - request:
1302
1473
  method: get
1303
1474
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1490,7 @@ http_interactions:
1319
1490
  message: OK
1320
1491
  headers:
1321
1492
  Date:
1322
- - Fri, 19 Jun 2015 18:38:55 GMT
1493
+ - Mon, 03 Aug 2015 22:11:48 GMT
1323
1494
  Server:
1324
1495
  - Apache/2
1325
1496
  Last-Modified:
@@ -1333,7 +1504,7 @@ http_interactions:
1333
1504
  Cache-Control:
1334
1505
  - max-age=21600
1335
1506
  Expires:
1336
- - Sat, 20 Jun 2015 00:38:55 GMT
1507
+ - Tue, 04 Aug 2015 04:11:48 GMT
1337
1508
  P3p:
1338
1509
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1510
  Access-Control-Allow-Origin:
@@ -2451,116 +2622,5 @@ http_interactions:
2451
2622
 
2452
2623
 
2453
2624
  http_version:
2454
- recorded_at: Fri, 19 Jun 2015 18:38:55 GMT
2455
- - request:
2456
- method: get
2457
- uri: http://localhost:3000/annotations/foo/74%2F66%2F13%2F0b%2F7466130b-6233-45fe-983f-06d2fc1cf70c
2458
- body:
2459
- encoding: US-ASCII
2460
- string: ''
2461
- headers:
2462
- Accept:
2463
- - application/x-turtle
2464
- Accept-Encoding:
2465
- - gzip, deflate
2466
- User-Agent:
2467
- - Ruby
2468
- response:
2469
- status:
2470
- code: 200
2471
- message: 'OK '
2472
- headers:
2473
- X-Frame-Options:
2474
- - SAMEORIGIN
2475
- X-Xss-Protection:
2476
- - 1; mode=block
2477
- X-Content-Type-Options:
2478
- - nosniff
2479
- Content-Type:
2480
- - application/x-turtle; charset=utf-8
2481
- Etag:
2482
- - W/"3541fed8ea21ad6aa87fb324e84f064a"
2483
- Cache-Control:
2484
- - max-age=0, private, must-revalidate
2485
- X-Request-Id:
2486
- - 33979598-2901-4b05-9fed-693e048c56d2
2487
- X-Runtime:
2488
- - '0.151318'
2489
- Server:
2490
- - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2491
- Date:
2492
- - Fri, 19 Jun 2015 18:38:56 GMT
2493
- Content-Length:
2494
- - '667'
2495
- Connection:
2496
- - Keep-Alive
2497
- body:
2498
- encoding: UTF-8
2499
- string: |
2500
- @prefix cnt: <http://www.w3.org/2011/content#> .
2501
- @prefix dc11: <http://purl.org/dc/elements/1.1/> .
2502
- @prefix dcmitype: <http://purl.org/dc/dcmitype/> .
2503
- @prefix oa: <http://www.w3.org/ns/oa#> .
2504
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
2505
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2506
-
2507
- <http://your.triannon-server.com/annotations/foo/74/66/13/0b/7466130b-6233-45fe-983f-06d2fc1cf70c> a oa:Annotation;
2508
- oa:hasBody [
2509
- a dcmitype:Text,
2510
- cnt:ContentAsText;
2511
- dc11:format "text/plain";
2512
- dc11:language "en";
2513
- cnt:chars "I love this!"
2514
- ];
2515
- oa:hasTarget <http://purl.stanford.edu/kq131cs7229>;
2516
- oa:motivatedBy oa:commenting .
2517
- http_version:
2518
- recorded_at: Fri, 19 Jun 2015 18:38:56 GMT
2519
- - request:
2520
- method: delete
2521
- uri: http://localhost:3000/annotations/foo/74%2F66%2F13%2F0b%2F7466130b-6233-45fe-983f-06d2fc1cf70c
2522
- body:
2523
- encoding: US-ASCII
2524
- string: ''
2525
- headers:
2526
- Accept:
2527
- - "*/*; q=0.5, application/xml"
2528
- Accept-Encoding:
2529
- - gzip, deflate
2530
- User-Agent:
2531
- - Ruby
2532
- response:
2533
- status:
2534
- code: 204
2535
- message: 'No Content '
2536
- headers:
2537
- X-Frame-Options:
2538
- - SAMEORIGIN
2539
- X-Xss-Protection:
2540
- - 1; mode=block
2541
- X-Content-Type-Options:
2542
- - nosniff
2543
- Location:
2544
- - http://localhost:3000/annotations?anno_root=foo
2545
- Cache-Control:
2546
- - no-cache
2547
- X-Request-Id:
2548
- - 6eee7ab3-dc66-4328-ac31-129a20d098bd
2549
- X-Runtime:
2550
- - '0.157934'
2551
- Server:
2552
- - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2553
- Date:
2554
- - Fri, 19 Jun 2015 18:38:56 GMT
2555
- Connection:
2556
- - Keep-Alive
2557
- Set-Cookie:
2558
- - _internal_session=OUp5akpVUVRDNjFwMjIxTndibmZpYjB4Ymx5d1Jzc09US3Rma1lIUXV5Z0dURG5MM0NZTDFrRHNIaDFQNXhrQnhrQlovRjJ3WGlORE5qYk13ZWplMXAybUNiS2VwclJ0cHo4K1RUK0lHcjNCSmpRN1ptRGpxWDdrcVlsOE9wOGJWSmRvNmttVFcyYmVxTDlWM2oxakZCNzJKS0l2YnJIUzlGekNpYWljZmFaclBTVTZ5UmFZeHM0dUhvMkt1STJmLS1kNXFhK3pqd3QyajVqSHZpWFlEY0JBPT0%3D--f306a06e64db0f1466e4bbd257a370b23f38d4dc;
2559
- path=/; HttpOnly
2560
- - request_method=DELETE; path=/
2561
- body:
2562
- encoding: UTF-8
2563
- string: ''
2564
- http_version:
2565
- recorded_at: Fri, 19 Jun 2015 18:38:56 GMT
2625
+ recorded_at: Mon, 03 Aug 2015 22:11:49 GMT
2566
2626
  recorded_with: VCR 2.9.3
@@ -0,0 +1,343 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:3000/auth/client_identity
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"clientId":"clientA","clientSecret":"secretA"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ Content-Length:
17
+ - '47'
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: 'OK '
24
+ headers:
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Etag:
34
+ - W/"84352e24e4a0dce300a56548343233d0"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - 37e6a866-a993-491a-ba97-ccf70aa63d0f
39
+ X-Runtime:
40
+ - '0.309926'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Mon, 03 Aug 2015 22:11:40 GMT
45
+ Content-Length:
46
+ - '186'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - _internal_session=WDlCc3FIa2U2SERvdUdianNwMUNxcmNJK1JzZDd6YjlmYnA2TXM1ajBJQ3BnL1liN1ludjRYUC8vcFRhWm0wYkF3QmpCNVVHaUswaFArQUNBa0ZmSG9kOTRmRWJ1TEttR1FnakhHY0YrUXNnZWZjUFNncjZraXQydTRyeWcrNkpwNTF1TmxsdzdYRWhjOUNoTmhrbkRKR3V1c3NWY0dpR2luNDJZVm1DdktlVzJXMzM0VUh1dExzakVRWk9JTW93UVN6S0JaRDE0WE5mNW5FUmlZVXAycDNxRmFuRklVcXliYi9vcUVmU09QdkRqL1IwUldpZkUxdW9aRkVZTTUvSURmaW4zT1NFYmdxNlNoNkxaTGdOUVJVWndXVTdRRmtuQXFCNHpsYSt5K2FFa3AyQVNMbXNmTnlOYmkzRzBPRlk0ZjJrY1lQd015aExNSUNuc01NNWZPV09DcnhWNmErMGFZdzl5RGJMaGs1bnJ2MVBwekl2Zkd4NTkzaWFDVnRzVmExcnREL0R6WlFFZFBjR3lLL05aSjU5a05WZDFxaW5Db3VmdmxFK1lQcC9lTzFTRzMybjFmVHJKU0dIelRyQ2RVY2dKVlZlRmhVSks4c0pVd2V3U3RMTUt2aFVMU2dRSkhES3JCSFB2dm89LS0xTUNUZ0lRaHNOcGRvUGtWYjVEcDdRPT0%3D--49bad10da1eda833597574154bcd4b4cdf301818;
51
+ path=/; HttpOnly
52
+ - request_method=POST; path=/
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"authorizationCode":"OGZBY1ZZNlhyb1JlbUhCTzEwVGFWaThwM2Z2aVFGOXlGMTZySE0wdDVTTXVrc2Vudkc2MTQrNEprQUQ2SEUxay0tSk5HQWFuTFdkUEI0TVV0cm1KSDJIUT09--e6b3f02fb9c19b06058e23c4253856c021a62eff"}'
56
+ http_version:
57
+ recorded_at: Mon, 03 Aug 2015 22:11:40 GMT
58
+ - request:
59
+ method: post
60
+ uri: http://localhost:3000/auth/login?code=OGZBY1ZZNlhyb1JlbUhCTzEwVGFWaThwM2Z2aVFGOXlGMTZySE0wdDVTTXVrc2Vudkc2MTQrNEprQUQ2SEUxay0tSk5HQWFuTFdkUEI0TVV0cm1KSDJIUT09--e6b3f02fb9c19b06058e23c4253856c021a62eff
61
+ body:
62
+ encoding: UTF-8
63
+ string: '{"userId":"","workgroups":"org:wg-A, org:wg-B"}'
64
+ headers:
65
+ Accept:
66
+ - application/json
67
+ Accept-Encoding:
68
+ - gzip, deflate
69
+ Content-Type:
70
+ - application/json
71
+ Cookie:
72
+ - _internal_session=WDlCc3FIa2U2SERvdUdianNwMUNxcmNJK1JzZDd6YjlmYnA2TXM1ajBJQ3BnL1liN1ludjRYUC8vcFRhWm0wYkF3QmpCNVVHaUswaFArQUNBa0ZmSG9kOTRmRWJ1TEttR1FnakhHY0YrUXNnZWZjUFNncjZraXQydTRyeWcrNkpwNTF1TmxsdzdYRWhjOUNoTmhrbkRKR3V1c3NWY0dpR2luNDJZVm1DdktlVzJXMzM0VUh1dExzakVRWk9JTW93UVN6S0JaRDE0WE5mNW5FUmlZVXAycDNxRmFuRklVcXliYi9vcUVmU09QdkRqL1IwUldpZkUxdW9aRkVZTTUvSURmaW4zT1NFYmdxNlNoNkxaTGdOUVJVWndXVTdRRmtuQXFCNHpsYSt5K2FFa3AyQVNMbXNmTnlOYmkzRzBPRlk0ZjJrY1lQd015aExNSUNuc01NNWZPV09DcnhWNmErMGFZdzl5RGJMaGs1bnJ2MVBwekl2Zkd4NTkzaWFDVnRzVmExcnREL0R6WlFFZFBjR3lLL05aSjU5a05WZDFxaW5Db3VmdmxFK1lQcC9lTzFTRzMybjFmVHJKU0dIelRyQ2RVY2dKVlZlRmhVSks4c0pVd2V3U3RMTUt2aFVMU2dRSkhES3JCSFB2dm89LS0xTUNUZ0lRaHNOcGRvUGtWYjVEcDdRPT0%3D--49bad10da1eda833597574154bcd4b4cdf301818;
73
+ request_method=POST
74
+ Content-Length:
75
+ - '47'
76
+ User-Agent:
77
+ - Ruby
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: 'OK '
82
+ headers:
83
+ X-Frame-Options:
84
+ - SAMEORIGIN
85
+ X-Xss-Protection:
86
+ - 1; mode=block
87
+ X-Content-Type-Options:
88
+ - nosniff
89
+ Content-Type:
90
+ - text/plain; charset=utf-8
91
+ Cache-Control:
92
+ - no-cache
93
+ X-Request-Id:
94
+ - 8a6afc6d-b493-47b6-a8a4-823dfa6b2447
95
+ X-Runtime:
96
+ - '0.168666'
97
+ Server:
98
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
99
+ Date:
100
+ - Mon, 03 Aug 2015 22:11:40 GMT
101
+ Content-Length:
102
+ - '0'
103
+ Connection:
104
+ - Keep-Alive
105
+ Set-Cookie:
106
+ - _internal_session=cm8yZFBOVWxjR3JOWG5GQkdObmJ3MVBVRUM2MVd3bU15dm1od1pyZXpCUmFVR2tiTyt1RTY0TDl4TmsvdS9zNVZESklxVVp4Q1FKLzFFazJXbnpJWWhRYjRIaXNWQ1RUWUM4ekllVWx0OGdCOWdLRW5Xejd0bWRuZEdkOXp1bXMrNkJBL3RhNytYVkhlSTZPYzBnL29Vd2dPcUdhYWhBUjdWV21vU3dhM3F2SnlhVWwxLzVDZCs1ekxTYzJlZlZUS2lMTTMyT2JESzk1N3NJMFZzSG9ZSWhDRkpyVkxsWjdFZHJUcFlaakk0enBwN3d4L1FjNUdSZUpiazQvNDRrYklxNWZ6UGZQeGlTek13T04rYmdXeS92Vy9uWHRwRXRCUVR0cTdMMzU1di9ZYXJPTzgvTS9SdURjNVNqemd3bjhIZWUzRlgwYVZsb1R5TG9JQ1lENmcxWlhnRm8zbnpvT3lQK0lBSllGVmd6SGlNSjQ2QnhUQXVOckFlaFZsL0NtbEFNa2luOExycU5CRExKRkhEMWFCNmJ4SFE1dFYyWkJMR3R6aHpBeVBoaExpM2hIN0V5Y3pmMWpuMHNEbFV5UWRQZzRkeU5WQm4zUGJwMWRoMFpJSnYvcFhnNnZlSDBGZFUwOXpzYVJsak5Jc2daUncvRlQ2YytLYjJRVlZ3a092Q0txWlg5U1BqUlBSNzkyL1NxSityaW02aUtUQTQ5YjBSZzVDdTU5VHZsVmNwN2h4a2w2cHBHenUrdGFvRW5nLS0zWTAxR0YrNkhxTHYvbkcvNmNnWWZnPT0%3D--11108283a76f7a8cfdbfc9e5c82fdfb678fa12f5;
107
+ path=/; HttpOnly
108
+ - login_user=; path=/
109
+ body:
110
+ encoding: UTF-8
111
+ string: ''
112
+ http_version:
113
+ recorded_at: Mon, 03 Aug 2015 22:11:40 GMT
114
+ - request:
115
+ method: get
116
+ uri: http://localhost:3000/auth/access_token?code=OGZBY1ZZNlhyb1JlbUhCTzEwVGFWaThwM2Z2aVFGOXlGMTZySE0wdDVTTXVrc2Vudkc2MTQrNEprQUQ2SEUxay0tSk5HQWFuTFdkUEI0TVV0cm1KSDJIUT09--e6b3f02fb9c19b06058e23c4253856c021a62eff
117
+ body:
118
+ encoding: US-ASCII
119
+ string: ''
120
+ headers:
121
+ Accept:
122
+ - application/ld+json
123
+ Accept-Encoding:
124
+ - gzip, deflate
125
+ Content-Type:
126
+ - application/ld+json
127
+ Cookie:
128
+ - _internal_session=cm8yZFBOVWxjR3JOWG5GQkdObmJ3MVBVRUM2MVd3bU15dm1od1pyZXpCUmFVR2tiTyt1RTY0TDl4TmsvdS9zNVZESklxVVp4Q1FKLzFFazJXbnpJWWhRYjRIaXNWQ1RUWUM4ekllVWx0OGdCOWdLRW5Xejd0bWRuZEdkOXp1bXMrNkJBL3RhNytYVkhlSTZPYzBnL29Vd2dPcUdhYWhBUjdWV21vU3dhM3F2SnlhVWwxLzVDZCs1ekxTYzJlZlZUS2lMTTMyT2JESzk1N3NJMFZzSG9ZSWhDRkpyVkxsWjdFZHJUcFlaakk0enBwN3d4L1FjNUdSZUpiazQvNDRrYklxNWZ6UGZQeGlTek13T04rYmdXeS92Vy9uWHRwRXRCUVR0cTdMMzU1di9ZYXJPTzgvTS9SdURjNVNqemd3bjhIZWUzRlgwYVZsb1R5TG9JQ1lENmcxWlhnRm8zbnpvT3lQK0lBSllGVmd6SGlNSjQ2QnhUQXVOckFlaFZsL0NtbEFNa2luOExycU5CRExKRkhEMWFCNmJ4SFE1dFYyWkJMR3R6aHpBeVBoaExpM2hIN0V5Y3pmMWpuMHNEbFV5UWRQZzRkeU5WQm4zUGJwMWRoMFpJSnYvcFhnNnZlSDBGZFUwOXpzYVJsak5Jc2daUncvRlQ2YytLYjJRVlZ3a092Q0txWlg5U1BqUlBSNzkyL1NxSityaW02aUtUQTQ5YjBSZzVDdTU5VHZsVmNwN2h4a2w2cHBHenUrdGFvRW5nLS0zWTAxR0YrNkhxTHYvbkcvNmNnWWZnPT0%3D--11108283a76f7a8cfdbfc9e5c82fdfb678fa12f5;
129
+ login_user=
130
+ User-Agent:
131
+ - Ruby
132
+ response:
133
+ status:
134
+ code: 200
135
+ message: 'OK '
136
+ headers:
137
+ X-Frame-Options:
138
+ - SAMEORIGIN
139
+ X-Xss-Protection:
140
+ - 1; mode=block
141
+ X-Content-Type-Options:
142
+ - nosniff
143
+ Content-Type:
144
+ - '["application/ld+json"]; charset=utf-8'
145
+ Etag:
146
+ - W/"03ac0e3f27739859c5233191f5b4019d"
147
+ Cache-Control:
148
+ - max-age=0, private, must-revalidate
149
+ X-Request-Id:
150
+ - 5adafbab-b1df-4fe3-ab21-48eb29acf25a
151
+ X-Runtime:
152
+ - '0.322008'
153
+ Server:
154
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
155
+ Date:
156
+ - Mon, 03 Aug 2015 22:11:40 GMT
157
+ Content-Length:
158
+ - '306'
159
+ Connection:
160
+ - Keep-Alive
161
+ Set-Cookie:
162
+ - _internal_session=aTI0YzlUdDZlM0NIUHNIK1M5eWN4cUF6MFpvSklsOTUycmxVeW1NTkUrM3VKTGlpUHc5VUtLZWU3Z2lQNnBLd3MvRWQ1L0J0MTZoRGhJVlRiTHlKb0RaUkhxNnRwaHRzOHR1TEhSL20vK2k1a2U5ZWtEM3NKR2pkQmI2d2F4OWJlTy9XUVdlakxHNllvZjB0cG1lanpHTTZHQXFrSVlUUzl4Z2hyQWhLSGYrU2tRZVJkL1psYW9TWlROT1lRY3hwdW8wT1pVb2srbDB6WkJ2UnFPbElqbGRDcjZZZktIRTJyR05MVkRFK25pK29VcitOMW00SU1vazU1NXpwQVg1ZXJGdllWTEFWZ25DVFA5TTRJU28zcFlBN2YxWjF5am5CbUlNVTBxY0VGOHdETWRuSlJwQ1BhbTdacHp6WHlFODdYRlNuN1ZnUTdsQTZCMlBTTWdodmUrM2RYcWk3WVY3ajRpdHp4OHRwTWNWc1N3VTl3RFljUnlhaE9taGdoQlFDTTA1Z0dLL3BKQ1ppV3k3VzI5ZVg2enNjYnRnWTRUNWQ3bUl2YkVTL1FjRG1iZ1dVVUhjWGttUFVFc0pHN0RBelRxYkZnK0FFVjRjQmRlZG4yd2lycVlOYlhXVDR4b1pVcVdQVzRLMGs5aWF4UDl3SGdtOVRpVkE1SUNQdzM0MkM3cHJWSlpUSlBscXJmeWc3YWdPbDduazBxR3c0d2EyVnhxZUNXY0ExaUdDR2ViQ00rS1psc3RxMXRFUUlaQlZBU0p6djRaUm5pczZxT1dMQVVQMG1wT3E1YVNaeFlxd3A0NzMycjdTdTlPWHJjZTgyRGtWbGJjNG5QNmNjS1pIMDhwaXQ3RTdBRTJTRVl3dngxQU1JV203VDEzWml3N0gwTjIvN0lsNHBYRGpSYlJiM0VBQ2srb01hQVVZMkhFYVpUS3NENU9jSzJmL0VveUpDZi9LR1AxR2tJY3FDRmliYnhnalpoV1Z1ZnFrdFBtWWg0bEM1bTdJSWkwOURNZDlLUk9vRGZMSkdmWFFHQkJIVWZjd0pvTTJ2NzM1QlUyYmVodzVGV1pTSGFRTmlhNlRzQlY1clkyWUFkaG5QMGF6dFJaU3pmRUJYZ0d4U0hGQ0ZUZGErV2hBeHdCSTk2aE0rR2MxVkREQ3dXYjdMU1YvcnBuTVQxcUFBVWlMd2xvZFl3VlpHeU9WOER1dkRlcHM3UjdjRmhiOSsrTFlFSndobDRnNm9zWWRFU1ZTTlVCdXRWV3JqU2I3WC95RXd3YVlXdVc4SUFYQzlUZThnM2xvSjNFTDVxalQ5UWIzL0d2S2djc1JJTVFIbGdMOD0tLVA3eUlPUytWWVpHVGROK2swdGtSMEE9PQ%3D%3D--fa47f9b3fed10dae1fa78543325034634fd97b64;
163
+ path=/; HttpOnly
164
+ - login_user=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000
165
+ body:
166
+ encoding: UTF-8
167
+ string: '{"accessToken":"K3ZTYkh3YmlWZWozQlhFcUZBQnRNQkZiVUVnQnFMc3ZFODlJaHpZSEVIUTB0Q01aUC9MdTNZd2tTUVlwU0NBK21FeGZYQ083TE4wUnJJVmhoenR3WVpFaWN0YjZGaUk3Mmd4OHRRNVdNc2U4b2RBNm1mc01SM2ozL2VGejU0U0ctLWFqaExSQm10cWJqSjBPay8zdkUxbGc9PQ==--05bbfd1328a65ee0c5e815360b8b07376b9269d5","tokenType":"Bearer","expiresIn":3600}'
168
+ http_version:
169
+ recorded_at: Mon, 03 Aug 2015 22:11:40 GMT
170
+ - request:
171
+ method: post
172
+ uri: http://localhost:3000/auth/client_identity
173
+ body:
174
+ encoding: UTF-8
175
+ string: '{"clientId":"clientA","clientSecret":"secretA"}'
176
+ headers:
177
+ Accept:
178
+ - application/json
179
+ Accept-Encoding:
180
+ - gzip, deflate
181
+ Content-Type:
182
+ - application/json
183
+ Authorization:
184
+ - Bearer K3ZTYkh3YmlWZWozQlhFcUZBQnRNQkZiVUVnQnFMc3ZFODlJaHpZSEVIUTB0Q01aUC9MdTNZd2tTUVlwU0NBK21FeGZYQ083TE4wUnJJVmhoenR3WVpFaWN0YjZGaUk3Mmd4OHRRNVdNc2U4b2RBNm1mc01SM2ozL2VGejU0U0ctLWFqaExSQm10cWJqSjBPay8zdkUxbGc9PQ==--05bbfd1328a65ee0c5e815360b8b07376b9269d5
185
+ Content-Length:
186
+ - '47'
187
+ User-Agent:
188
+ - Ruby
189
+ response:
190
+ status:
191
+ code: 200
192
+ message: 'OK '
193
+ headers:
194
+ X-Frame-Options:
195
+ - SAMEORIGIN
196
+ X-Xss-Protection:
197
+ - 1; mode=block
198
+ X-Content-Type-Options:
199
+ - nosniff
200
+ Content-Type:
201
+ - application/json; charset=utf-8
202
+ Etag:
203
+ - W/"9dec8b526b106916515c7ba1b8b7967e"
204
+ Cache-Control:
205
+ - max-age=0, private, must-revalidate
206
+ X-Request-Id:
207
+ - c5c4aeed-9527-4846-9894-955a30d0404b
208
+ X-Runtime:
209
+ - '0.162959'
210
+ Server:
211
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
212
+ Date:
213
+ - Mon, 03 Aug 2015 22:11:40 GMT
214
+ Content-Length:
215
+ - '186'
216
+ Connection:
217
+ - Keep-Alive
218
+ Set-Cookie:
219
+ - _internal_session=b1ZsYk5TME5Eb05GcWQ5ZHE0S3BvTTNtV05CYkgzSk1wT0dnaFc3R2hnZXhpMWR5cmQxODZGQTNmR1Vra0NxWFR5MHRGWFJWMGMxWkNtSVpCeFdyalJUTTBYVmJuVmNOOU5uUTZEbWRoblFPT0owQU56dVd6c2RwMXNMczdQbXVpTHliSHlJTExZMmYydEMrVjN3OFdLdG9Caklid2l0dDRUYnl0S0xZbjNLam5YaUs3RzhzVW1JUTBjQlZLYytFSkRyNW5QaE43ZmJJTjNwTzFTbjh0M3JUeG5idHEwYUFGZklMZTVKeHFDa3FyZEtmVUxzV3hMLzV1LzRuVnBvVTkxYVl5TWxGbEN0WmVMVm9rRUVXUkkrQVRZbkErVS9zMzJXcVRidTZMdG0rU0psMnVKM2Q1MWwvTHFwbFcxQVBvckwwQnFEajBlditITHZxWEZsL3BOQnFJOUNSNzEvT1EzVEJ6S3VZVXkyL1BCYXhPa3pWU2oxeW9oYmpqRHF3bE81WlYrNzBJNTFhV25tbFE1emVvYm03bGVJdVNLQzVRL2xNdDBvRXZ3aXg3NEFjbXFrVktScGIrTzJicDhoQmZyVm5CUFczVUREb3VFeVdUTmJuTkl3ZUN4L0xONGJhUFZPU0xsZ2RnZm89LS1laEU2VWhtT0J5cWJWSWhqejdGWTNnPT0%3D--a493d2d68cfa22fb7746aa2bcbef0d1de9f9447a;
220
+ path=/; HttpOnly
221
+ - request_method=POST; path=/
222
+ body:
223
+ encoding: UTF-8
224
+ string: '{"authorizationCode":"L3BxbENySWJHZTVFZTdNczFzSXZwVWZpTytaVUJ2ZGNQbk5RVHo3aGU4THhVQXVXZjI1UnZFeEJCNy9FMWp5Wi0tLzBYd1lzSmZGWUtUTnBzWHRpWVFYZz09--cbd90bb3aa03579c2a66438eace1e2b045b39066"}'
225
+ http_version:
226
+ recorded_at: Mon, 03 Aug 2015 22:11:40 GMT
227
+ - request:
228
+ method: post
229
+ uri: http://localhost:3000/auth/login?code=L3BxbENySWJHZTVFZTdNczFzSXZwVWZpTytaVUJ2ZGNQbk5RVHo3aGU4THhVQXVXZjI1UnZFeEJCNy9FMWp5Wi0tLzBYd1lzSmZGWUtUTnBzWHRpWVFYZz09--cbd90bb3aa03579c2a66438eace1e2b045b39066
230
+ body:
231
+ encoding: UTF-8
232
+ string: '{"userId":"","workgroups":"org:wg-A, org:wg-B"}'
233
+ headers:
234
+ Accept:
235
+ - application/json
236
+ Accept-Encoding:
237
+ - gzip, deflate
238
+ Content-Type:
239
+ - application/json
240
+ Authorization:
241
+ - Bearer K3ZTYkh3YmlWZWozQlhFcUZBQnRNQkZiVUVnQnFMc3ZFODlJaHpZSEVIUTB0Q01aUC9MdTNZd2tTUVlwU0NBK21FeGZYQ083TE4wUnJJVmhoenR3WVpFaWN0YjZGaUk3Mmd4OHRRNVdNc2U4b2RBNm1mc01SM2ozL2VGejU0U0ctLWFqaExSQm10cWJqSjBPay8zdkUxbGc9PQ==--05bbfd1328a65ee0c5e815360b8b07376b9269d5
242
+ Cookie:
243
+ - _internal_session=b1ZsYk5TME5Eb05GcWQ5ZHE0S3BvTTNtV05CYkgzSk1wT0dnaFc3R2hnZXhpMWR5cmQxODZGQTNmR1Vra0NxWFR5MHRGWFJWMGMxWkNtSVpCeFdyalJUTTBYVmJuVmNOOU5uUTZEbWRoblFPT0owQU56dVd6c2RwMXNMczdQbXVpTHliSHlJTExZMmYydEMrVjN3OFdLdG9Caklid2l0dDRUYnl0S0xZbjNLam5YaUs3RzhzVW1JUTBjQlZLYytFSkRyNW5QaE43ZmJJTjNwTzFTbjh0M3JUeG5idHEwYUFGZklMZTVKeHFDa3FyZEtmVUxzV3hMLzV1LzRuVnBvVTkxYVl5TWxGbEN0WmVMVm9rRUVXUkkrQVRZbkErVS9zMzJXcVRidTZMdG0rU0psMnVKM2Q1MWwvTHFwbFcxQVBvckwwQnFEajBlditITHZxWEZsL3BOQnFJOUNSNzEvT1EzVEJ6S3VZVXkyL1BCYXhPa3pWU2oxeW9oYmpqRHF3bE81WlYrNzBJNTFhV25tbFE1emVvYm03bGVJdVNLQzVRL2xNdDBvRXZ3aXg3NEFjbXFrVktScGIrTzJicDhoQmZyVm5CUFczVUREb3VFeVdUTmJuTkl3ZUN4L0xONGJhUFZPU0xsZ2RnZm89LS1laEU2VWhtT0J5cWJWSWhqejdGWTNnPT0%3D--a493d2d68cfa22fb7746aa2bcbef0d1de9f9447a;
244
+ request_method=POST
245
+ Content-Length:
246
+ - '47'
247
+ User-Agent:
248
+ - Ruby
249
+ response:
250
+ status:
251
+ code: 200
252
+ message: 'OK '
253
+ headers:
254
+ X-Frame-Options:
255
+ - SAMEORIGIN
256
+ X-Xss-Protection:
257
+ - 1; mode=block
258
+ X-Content-Type-Options:
259
+ - nosniff
260
+ Content-Type:
261
+ - text/plain; charset=utf-8
262
+ Cache-Control:
263
+ - no-cache
264
+ X-Request-Id:
265
+ - 132c9016-311c-4d4c-91d3-bb978e08e496
266
+ X-Runtime:
267
+ - '0.161954'
268
+ Server:
269
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
270
+ Date:
271
+ - Mon, 03 Aug 2015 22:11:40 GMT
272
+ Content-Length:
273
+ - '0'
274
+ Connection:
275
+ - Keep-Alive
276
+ Set-Cookie:
277
+ - _internal_session=MG4wU3M2Zng3ZTh2RkxYRng1Ukh0N0owWWVlbHNSakNsQXMvdWN0cVlRUzV1UGlYODJJRTA2dUxrUnZKVGRqbFNCMlU4eFEvcDA3Ry96Z3BMTU96RXB3TFdSblMxT1VZMmFPRlMza21OOVRQK0lOZlFrd29qU0RqclVKMlFHeStTR0FGRWYzU05SRjV4Z2hMakx6SmYwUjN0SFZoNXgwY3BrTlBEM2NsZHZhYkhKeU15UlBHRmwyL3RFZDBVMjV5S3R4M1Myb2RtS0tha0d1T290UFJ1cmp4TjBCdlUyUVlaeHcxV09tM0tRSkxZMWsrN3d1eVZaclc3YnVZczhWMXZINCtCa2RGa0RCeVlYVTg3V1J3ZGpHc2lhd3d6c01uQklraTB3UlVpYUpySG0vcnRRZ3NzVTFaVnVHQjJacHpiVTRwVGlaMThyYURRY0N2bG1KU0lxeFlPenc1STg5UXVmQTRJcnc3S2RDK212NmROUjY3SVhjd0hFTG5XY0xJM2VmM1Z2SGpveW53ZG9iZE5GNmRlUGVJTU9mSDBnTy9VMGdjalN6ZjdaUnI3ZXpzRTIzZVEvVnZzbi81UGRoS0l4S01zQ2ZRaEJzb3Ircy90L0JtMnI1eTFrNTVWTVdsMUNvVFJzaUMwYWtrdmNMR040b1JnaWRHdUx6cUtGQnBOL1RNaWhLekVuZEVOUmxIcXRRdGlVR2F2N1lCL2RtVDI5ejJ1UVlUL250SytMMnhGSjNaRFJpZnFKdHpTVzZzLS1yMHlzMHpEMEtiMVZqUmxXbXQ3WFZ3PT0%3D--fb8e6d4e954dfe0f44c2fe07527d604e7a259bc1;
278
+ path=/; HttpOnly
279
+ - login_user=; path=/
280
+ body:
281
+ encoding: UTF-8
282
+ string: ''
283
+ http_version:
284
+ recorded_at: Mon, 03 Aug 2015 22:11:40 GMT
285
+ - request:
286
+ method: get
287
+ uri: http://localhost:3000/auth/access_token?code=L3BxbENySWJHZTVFZTdNczFzSXZwVWZpTytaVUJ2ZGNQbk5RVHo3aGU4THhVQXVXZjI1UnZFeEJCNy9FMWp5Wi0tLzBYd1lzSmZGWUtUTnBzWHRpWVFYZz09--cbd90bb3aa03579c2a66438eace1e2b045b39066
288
+ body:
289
+ encoding: US-ASCII
290
+ string: ''
291
+ headers:
292
+ Accept:
293
+ - application/ld+json
294
+ Accept-Encoding:
295
+ - gzip, deflate
296
+ Content-Type:
297
+ - application/ld+json
298
+ Authorization:
299
+ - Bearer K3ZTYkh3YmlWZWozQlhFcUZBQnRNQkZiVUVnQnFMc3ZFODlJaHpZSEVIUTB0Q01aUC9MdTNZd2tTUVlwU0NBK21FeGZYQ083TE4wUnJJVmhoenR3WVpFaWN0YjZGaUk3Mmd4OHRRNVdNc2U4b2RBNm1mc01SM2ozL2VGejU0U0ctLWFqaExSQm10cWJqSjBPay8zdkUxbGc9PQ==--05bbfd1328a65ee0c5e815360b8b07376b9269d5
300
+ Cookie:
301
+ - _internal_session=MG4wU3M2Zng3ZTh2RkxYRng1Ukh0N0owWWVlbHNSakNsQXMvdWN0cVlRUzV1UGlYODJJRTA2dUxrUnZKVGRqbFNCMlU4eFEvcDA3Ry96Z3BMTU96RXB3TFdSblMxT1VZMmFPRlMza21OOVRQK0lOZlFrd29qU0RqclVKMlFHeStTR0FGRWYzU05SRjV4Z2hMakx6SmYwUjN0SFZoNXgwY3BrTlBEM2NsZHZhYkhKeU15UlBHRmwyL3RFZDBVMjV5S3R4M1Myb2RtS0tha0d1T290UFJ1cmp4TjBCdlUyUVlaeHcxV09tM0tRSkxZMWsrN3d1eVZaclc3YnVZczhWMXZINCtCa2RGa0RCeVlYVTg3V1J3ZGpHc2lhd3d6c01uQklraTB3UlVpYUpySG0vcnRRZ3NzVTFaVnVHQjJacHpiVTRwVGlaMThyYURRY0N2bG1KU0lxeFlPenc1STg5UXVmQTRJcnc3S2RDK212NmROUjY3SVhjd0hFTG5XY0xJM2VmM1Z2SGpveW53ZG9iZE5GNmRlUGVJTU9mSDBnTy9VMGdjalN6ZjdaUnI3ZXpzRTIzZVEvVnZzbi81UGRoS0l4S01zQ2ZRaEJzb3Ircy90L0JtMnI1eTFrNTVWTVdsMUNvVFJzaUMwYWtrdmNMR040b1JnaWRHdUx6cUtGQnBOL1RNaWhLekVuZEVOUmxIcXRRdGlVR2F2N1lCL2RtVDI5ejJ1UVlUL250SytMMnhGSjNaRFJpZnFKdHpTVzZzLS1yMHlzMHpEMEtiMVZqUmxXbXQ3WFZ3PT0%3D--fb8e6d4e954dfe0f44c2fe07527d604e7a259bc1;
302
+ login_user=
303
+ User-Agent:
304
+ - Ruby
305
+ response:
306
+ status:
307
+ code: 200
308
+ message: 'OK '
309
+ headers:
310
+ X-Frame-Options:
311
+ - SAMEORIGIN
312
+ X-Xss-Protection:
313
+ - 1; mode=block
314
+ X-Content-Type-Options:
315
+ - nosniff
316
+ Content-Type:
317
+ - '["application/ld+json"]; charset=utf-8'
318
+ Etag:
319
+ - W/"d228a969c19fa9d67c21dd34c1dd5209"
320
+ Cache-Control:
321
+ - max-age=0, private, must-revalidate
322
+ X-Request-Id:
323
+ - 5761365a-2865-468a-bd40-929d62e1f8d5
324
+ X-Runtime:
325
+ - '0.323030'
326
+ Server:
327
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
328
+ Date:
329
+ - Mon, 03 Aug 2015 22:11:41 GMT
330
+ Content-Length:
331
+ - '306'
332
+ Connection:
333
+ - Keep-Alive
334
+ Set-Cookie:
335
+ - _internal_session=S0dyRW9YaGxvc080RFd1cVRaK0t2UTJLOWxCR1NGRHd2WTNrSjY4VzZDVkNKZmhvM055b1krd3BIL0Zoc29qTGRRVVBrb25FZ3h0NTYrOFRDWks4Q2NvSC85NGgyUjJLZ25WdXB2UWVwSEdDaVhRMHFDTkJSYk1EOFgvbExKV1BxbXcxQW1EZWpoQWI2UlhHWkc0SDRrdWRSQWJZVS9LaWt5Q0VEV29LeDk4NjNtL0lDQW50TzBzYU1tdzJEaHJXeitXTTBXMWVCREZoZjBadDBMbkxSemVWcmxybXJGNE1rSElGOUVBL0h4U3Q5Y0pJUCtxamU0ZmxkS3VNTmRoK0N6L2NsWm8yYUlBQ3M0bVZjdE9pdFJjbXNrQ2Zyb3BERU1rRTVnWkowaWdSSWRKUmt0YUZOUWVWM2NIQ3BsYlNwU0xpWmJ3Q3RkQTdJeERBc3ozbVdBTnIzd1hlb1c1UGJkVG4zb0FLcC92NWlvZTFFZjhmL0xrWStmWXFoYmdxc1U0WTNhZUhTSWdoNm04MkYzMzJUYW5ESHJld3dIdkgvcUEyMmV1dDIvWVJKTmlqYjlYRGExNm9BZitxQXhseXlkUzVDVDZIUGxYY2FZQS90bTV2cGVEaHhGeEE0VkxJcWhvMk54TXg5VU5GaUdPR01LcFhnd2pVTm0wTk1MMVN0MDJTOUQzOVhUQzdMWmJqM29iTEdBMk9NSVhKOEdaM2pFUDFyY2w3WDdVbUgwZVd5WVJvTzlueDFIZDRsbytPWDkyNGY1eEVtUFZoVzlmaEZNeU4zZEovVktENmI0bDk4Y2pBb0pXRklvT0x3S2J2RzRaMWJwWDk2clcySE9FU25ub1hMcVVrejYvaGNaTTVEY1J0dG9ZbUV6a0dKSFhSZGo0SlB4b0U3SDZVeHBrOEZKOFVwWXo1Nm9FMmVya0V0VmxWbDdCOHYvbHVTakl4N1g1K3hUNWtlOVovdnArdk00dWhTMVV4QzVZS2NzL0JJRVdodXpvbUFzSGE5VXowL0RxWEFERERCU3cva0Nob2tEa2hsTGxvRUdCTGxkV213VFdwM0RZQVlUYzZiUnhyR3Znb2owdFMzWFdJUUNKczM2cVRiSXVRZVNRZ2dVeElaTWo3bjhRSmdpZzZOeFUwVExLeGNiVndMbUsyQXU5RkxLaVpTTjZUSGUvenlkRGlKelI5c3lrYUlGRGpMc2svSXhwMFpOaitTSTBGZUJQbUhFdEdoR00rZ05WSjVlUXZXSVo4WUZSeGh3YWFjQWZKY2pKaWhkYkhkdXZ5VCswUGJvelNJeWFCdDBGZGJmSC9Sb2RTeTgyVUtuST0tLWN6RTVxQTM3b2NNUTVPbXM0Z1hHWHc9PQ%3D%3D--9ebb6dac8be66d61d9e4e8e8b029e71b063af40b;
336
+ path=/; HttpOnly
337
+ - login_user=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000
338
+ body:
339
+ encoding: UTF-8
340
+ string: '{"accessToken":"SFhIVmRxWUlYbklXVU01TEVtck5yY0lRRENZSGlXek5zRURKNnIvUEQzVWpJMnlTejg4K05UL2ZLOHlVZ05iSC9rRUptMHJWdE5HL2c2MnNpNGNyeFFnVHNISWZ4WlM3dVBRMGwvUDZyWStYdmtWay9ORXZub2FGcVkwTG9mNnMtLXZWamJKSlo1MGFDbEpITUUwdHRkZ3c9PQ==--16129ed4a549ae55daca03a077917da2f28e1262","tokenType":"Bearer","expiresIn":3600}'
341
+ http_version:
342
+ recorded_at: Mon, 03 Aug 2015 22:11:41 GMT
343
+ recorded_with: VCR 2.9.3