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
@@ -0,0 +1,170 @@
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/"03a0df1275d7accdb3ac97d4acb38f54"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - 8d8538f3-be4d-4644-8813-ccb1ce15c350
39
+ X-Runtime:
40
+ - '0.169544'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Mon, 03 Aug 2015 22:11:54 GMT
45
+ Content-Length:
46
+ - '186'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - _internal_session=OGpwM0N1Q3R0SmI1WExYUjVwaTRMNVd5bXUvbEVVT1dnNFFaRVN4ekJJcHlCRDgvSDA2S05XZ0lFSEtmdmtyVm11TmRtVWRleUx6TUFPOXgyckRSUlArYmN5N2tKQy9ucW80YlNrbmdERGNDUG1RWjFVa25kdEFYY01WUStpVzdWQ3JvNFlGV1dJdDd1Mjl2b3NWbDBrUEpuUlFydVk3bnJERG5PdUtNaXpxNzl4ZlU2Q2ZUYWl5Z0J6b243WXRjNVJWbEtqM1hNOHFRTHQxN3lrUFF1WEpwQ3hmeEhVcGVqQ3pJMEdzeHVvV3RZUzNQNS9LOG1GQ1pFb3JVckptWDBlWkhaVnBvR05MNjNlUVV3cWVhV1FBcmRNR21YYmsrRzFTVWx6enJTN1Vsc1ZnbHJVbU5hTC96SjA5ZkZ1ZFRzdEFpaUc4aVZaZXJrM2wvcHZwQ0oxaXI1YmxrY21wSENMQkpFNjFveVcxVXlMYWc2R0RwWTlDL1cxZTU0YUVubjV3bFB2bzNaMnIrc3BOcWlMYWx6d0kvM1AwSlpHNDZZVUhRUWtBMHZjNDV2dzJLV2FySXg4emNoMDRXaG5QREdqQkltRDc3cHJEY1I3dDhZTXRwUjBZRE83QWZZYU9HQThJR3lMQk9tZkE9LS1tOGVXT01QYWgvaE1UWkQrcnpWN3NRPT0%3D--bb09ef9356bc0003d3bf4f371eaebe095838dbd6;
51
+ path=/; HttpOnly
52
+ - request_method=POST; path=/
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"authorizationCode":"dUs4SkEwN3phSTltV1RhM3FFRzFPOXlVckV3cHVoUmxjRzY0TWNJejJrQVVMc2c0cmJyZGZBWEFFbHlnQU9pTy0tN2FWMC9NSUFXQ0IrRWpWN0QrK1JPZz09--0a5f06fc7540e67350a7824102f23629ead794e1"}'
56
+ http_version:
57
+ recorded_at: Mon, 03 Aug 2015 22:11:54 GMT
58
+ - request:
59
+ method: post
60
+ uri: http://localhost:3000/auth/login?code=dUs4SkEwN3phSTltV1RhM3FFRzFPOXlVckV3cHVoUmxjRzY0TWNJejJrQVVMc2c0cmJyZGZBWEFFbHlnQU9pTy0tN2FWMC9NSUFXQ0IrRWpWN0QrK1JPZz09--0a5f06fc7540e67350a7824102f23629ead794e1
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=OGpwM0N1Q3R0SmI1WExYUjVwaTRMNVd5bXUvbEVVT1dnNFFaRVN4ekJJcHlCRDgvSDA2S05XZ0lFSEtmdmtyVm11TmRtVWRleUx6TUFPOXgyckRSUlArYmN5N2tKQy9ucW80YlNrbmdERGNDUG1RWjFVa25kdEFYY01WUStpVzdWQ3JvNFlGV1dJdDd1Mjl2b3NWbDBrUEpuUlFydVk3bnJERG5PdUtNaXpxNzl4ZlU2Q2ZUYWl5Z0J6b243WXRjNVJWbEtqM1hNOHFRTHQxN3lrUFF1WEpwQ3hmeEhVcGVqQ3pJMEdzeHVvV3RZUzNQNS9LOG1GQ1pFb3JVckptWDBlWkhaVnBvR05MNjNlUVV3cWVhV1FBcmRNR21YYmsrRzFTVWx6enJTN1Vsc1ZnbHJVbU5hTC96SjA5ZkZ1ZFRzdEFpaUc4aVZaZXJrM2wvcHZwQ0oxaXI1YmxrY21wSENMQkpFNjFveVcxVXlMYWc2R0RwWTlDL1cxZTU0YUVubjV3bFB2bzNaMnIrc3BOcWlMYWx6d0kvM1AwSlpHNDZZVUhRUWtBMHZjNDV2dzJLV2FySXg4emNoMDRXaG5QREdqQkltRDc3cHJEY1I3dDhZTXRwUjBZRE83QWZZYU9HQThJR3lMQk9tZkE9LS1tOGVXT01QYWgvaE1UWkQrcnpWN3NRPT0%3D--bb09ef9356bc0003d3bf4f371eaebe095838dbd6;
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
+ - 245f64a4-5dd2-45f6-87dc-6986bdeddb2e
95
+ X-Runtime:
96
+ - '0.167964'
97
+ Server:
98
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
99
+ Date:
100
+ - Mon, 03 Aug 2015 22:11:54 GMT
101
+ Content-Length:
102
+ - '0'
103
+ Connection:
104
+ - Keep-Alive
105
+ Set-Cookie:
106
+ - _internal_session=L0xtTmkwWWp6YWxPcHZMUXhBVGlIdy93cngzalBxeU5ET2lYb2hGSksxdkpGbmVHbm1KS0EvNjZSWEgrQ1hDMnpIVHk3UFVjSGRsOGEra00xbExGSi9kVlN5c1RWTmFEWjBMMzM0MVAvMzg1MURTMTB3TC9MT1JTTlIvUmU0c0xiRUhMVUFrVGw2cUlGSnk5VjZwZURKYTBEdnRjWDZDWXlwSTZwYzd6ck5ZQnM3ak1iU1NsYkN2YTFxR1J2M1FHZjhWQ2U3amZObUNlcGlpSE92dDNmVnlXMzFtZzRlbGgwU2FKLzk2eFc3bHIrTnZCRzJYaENrVFpGeHJ0cmF5c1VFK0x3Y3o3VkFZcDZZVXVkUlA4MTh3OHltOGhNSW13SHhVNi9iNVhqU0tZKy9ZcFl6eXhESHphVnRsWjNZZ2hZa2FqVUhxNWkvdnpsempvS3A1bS9YeWRqc0tWYU96UCtteHE2bERIdnBCbGd0UXlQYU1ZNDlpdHhYTHNXSzcvb09aV1NXbHJ2cTVzck9nQkZhdWwvaWMzT1RUQ2ZIUHdKZHlyOVByaEw2OGxMeWh5eUgvMTVLekt4L1dObFYxVVNKMmVEemVzb3pHdWZya0hRZU1OM1lsSVJQNmNwSk45c2xqc1Y5cFh1d0ZWMXljOWdqMGVOblRkS1V6K00vbXJYQzVreTF5WERROXRYSlVXZDE0VkJCU1FMbjVWQk90RjVkcFV2cDRlUU91cnY2dWNTQ045VVc4MTJicmlEd0NmLS1lNEFEbUxVK1psMWJ6T3YxRW1DM0t3PT0%3D--74acebdf170ccd5b4564e1ac33014005978def8a;
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:54 GMT
114
+ - request:
115
+ method: get
116
+ uri: http://localhost:3000/auth/access_token?code=dUs4SkEwN3phSTltV1RhM3FFRzFPOXlVckV3cHVoUmxjRzY0TWNJejJrQVVMc2c0cmJyZGZBWEFFbHlnQU9pTy0tN2FWMC9NSUFXQ0IrRWpWN0QrK1JPZz09--0a5f06fc7540e67350a7824102f23629ead794e1
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=L0xtTmkwWWp6YWxPcHZMUXhBVGlIdy93cngzalBxeU5ET2lYb2hGSksxdkpGbmVHbm1KS0EvNjZSWEgrQ1hDMnpIVHk3UFVjSGRsOGEra00xbExGSi9kVlN5c1RWTmFEWjBMMzM0MVAvMzg1MURTMTB3TC9MT1JTTlIvUmU0c0xiRUhMVUFrVGw2cUlGSnk5VjZwZURKYTBEdnRjWDZDWXlwSTZwYzd6ck5ZQnM3ak1iU1NsYkN2YTFxR1J2M1FHZjhWQ2U3amZObUNlcGlpSE92dDNmVnlXMzFtZzRlbGgwU2FKLzk2eFc3bHIrTnZCRzJYaENrVFpGeHJ0cmF5c1VFK0x3Y3o3VkFZcDZZVXVkUlA4MTh3OHltOGhNSW13SHhVNi9iNVhqU0tZKy9ZcFl6eXhESHphVnRsWjNZZ2hZa2FqVUhxNWkvdnpsempvS3A1bS9YeWRqc0tWYU96UCtteHE2bERIdnBCbGd0UXlQYU1ZNDlpdHhYTHNXSzcvb09aV1NXbHJ2cTVzck9nQkZhdWwvaWMzT1RUQ2ZIUHdKZHlyOVByaEw2OGxMeWh5eUgvMTVLekt4L1dObFYxVVNKMmVEemVzb3pHdWZya0hRZU1OM1lsSVJQNmNwSk45c2xqc1Y5cFh1d0ZWMXljOWdqMGVOblRkS1V6K00vbXJYQzVreTF5WERROXRYSlVXZDE0VkJCU1FMbjVWQk90RjVkcFV2cDRlUU91cnY2dWNTQ045VVc4MTJicmlEd0NmLS1lNEFEbUxVK1psMWJ6T3YxRW1DM0t3PT0%3D--74acebdf170ccd5b4564e1ac33014005978def8a;
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/"3d06ba77580789f3e46015ce7dcaeb26"
147
+ Cache-Control:
148
+ - max-age=0, private, must-revalidate
149
+ X-Request-Id:
150
+ - e2939b74-4e1f-4992-a5d6-13fe0edf1017
151
+ X-Runtime:
152
+ - '0.335072'
153
+ Server:
154
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
155
+ Date:
156
+ - Mon, 03 Aug 2015 22:11:54 GMT
157
+ Content-Length:
158
+ - '306'
159
+ Connection:
160
+ - Keep-Alive
161
+ Set-Cookie:
162
+ - _internal_session=N3lKWG11SEpqbS9VRFVjdlA2UDYxVHFMc0JzN2llMWdFYWZMbWFwKzBuUWhyWWZuUThMcklJdnUxSEoxdURNU2o3MjBSYkgrb3FGM0E2aFlCQldpWkR0VEpOWjE2R1NlTXM5bWJIUDk4eE5jcGRJNWpYelI1czU2VkMyMHlPeWtHLy96K0xSeHpuOUxZL3FrMGNxcHRlRElRSERQNjAyS3VUeEdPdWk4S0NxU09qRC81RzRQYzVXNXIrTjdnY1lBOXkxUGhzWlZaV1YvZkpmdkVpaGxpczJaRzdvdi96OExVVU5TQS9WeStVQlBLcnUxNUlsQXk2V2lHZmZrWXRvS1V2dmpBbGlBQ0FBTmNtS0YyWU9vditHa1MxUHhSVjRONzNIUGZaZC8yRUx5YVRyOWkwUW5MVlhpL1lXRXB1eE5lSmdYVmtvSUhxcVREb0xLOXJXQnMrc0kxckJsTjBaSlpsZ1hkVldNU0l4dXNuSVpJK0NWbTY5a3Mza25aK2NrWTYxVEhIRVpyWU1aRmd2NW9uRVJZRmxoaG1NUTA2Z1Jidm5kSSt5aVhpTmV5S0h2M3czMG5ydzhVdmpxZHJMbnhtTm5YcktZU3h3OVU5ZjY1cXJTcHlmSDROY0tPSXp5em9YdktlWVlDOSswWG5ycFFiRWZrY3dGY2pxaUZKN3JIUW5lTDhxbWg0NFJOZk1YSXd6SjJacGFaaXZNNE9qYURTRGhXRmt4YmhzdkZXRVlQRGV5c0F1aW5rM3NCaDY0L0RqczNOT3V5R0YvbWlueXlhcS9nV2x1bSt0SDNWOEQrTFlFVlN0U0c0WGlEaVdVMWM1WFZBQUNnYlR2S2VFS21hREJ6RHpQa0xMc2dlUnBYODFLbW14QmtiVXVHUk5NNkk0bHhMc0loZjYxTDZ5Q1dXQ0N5VVdZR3QySENLMXBqVm5PYkNJMzJLY3pKMk8rN3FneERHOEFCRm9oczhiV2ZSY2VFN25IN001RHp6K1ZWc0lIakprSnlpUFhCb2ZWMzcwZWw3b0dkTUNvakNSd3pETXY2TE5JOUJFSGp3TXFDanJlZFJkdDk0L3JOMGZISExmMVhJNTdtTUxkTXYvRjZ0YStyR1FYMTVSdVhwUDVZcWJYYkp2WUVVSHJibUV1UTA3eVMvdGlHUmtvaGZiU2NyY0hKenN1elpFVnFPR3RHMUV4VjBCbHMrUmszdStNRWVFQVVnSHNPaThkOE5FYzl2WUhZc0xYZmZORWkzQmtDekUwS29NZG16MHFWNmd4ajdvMFVMYStvRkhzTlJCWERIakR6Njd5OXJQM0V4ZUU2QjZyaElKUXZmMD0tLWtNRkZaeUF6V1NjcmowK21PcEdYZEE9PQ%3D%3D--10265555ca1505b9c72ccb1db12d3f99096c01d8;
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":"ZXczWTRWK1J4R1N6YVNpRzc0OVdUcXU2WDZUczZvWkptKzNEOFp1YzFpT0tQYVVTK0VTK3Y2ZklRWlRyZ0Rjajg5WE9Pc3ZPS0lCQ29tKy9ZdWVZNU1lSFdrdFd2c092UW5nTU1Oa3ZoZzJSdXFsem0vQ3BlenR4ZW1HTVllYkMtLUdBbCtKUUg5VWU4TTFqLzNDdWtzNWc9PQ==--95bd488b40924ec4600f00a6712f1e0d82aec9cb","tokenType":"Bearer","expiresIn":3600}'
168
+ http_version:
169
+ recorded_at: Mon, 03 Aug 2015 22:11:54 GMT
170
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,170 @@
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/"e668c9a3195c830c729d39e6fe0ad80d"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - f94213a8-252e-4f9b-b0db-87211ee13316
39
+ X-Runtime:
40
+ - '0.171148'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Mon, 03 Aug 2015 22:11:54 GMT
45
+ Content-Length:
46
+ - '186'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - _internal_session=Vlk5ckQ2K3FNSDVZQXFPUzFmQmxUeWRyUVprRzltaERGejFudk1PSjJLd08yMklzRlhEOWgvZzNoZVhBbWtwRStDeFdyOGpIREQzTU4wc1hNdkhtY1lTcnZFaUJtb3NvS0s5aSt1MFdwUDMxdURXU2NGeHYvcDZLNHlneWh2dzZMMVdrQ0VrREovcWFVc1Z2eVYxK3FvU0M3UGVwdTNEckgvSUZuMVhJNUhlb2NIZkdBS1Y0OEp4c0VxMkpWdll1dXVvSWZQREFnRS9wTkNyQXZrK3VvUmd6S3pOVFUrSjgzRmdERUVIUDRyRnI3OXFjcWpPaGV5b0FNejFWZFJ2RkJCSHVQZ3dVdjV5NW0zaFJCb1htWmhBc3NucEFrT3NvTzVuQnd5dlMrYktkeVhGMGZldUVKNXlra3Z2V3h2M0VpbGlOSjhwNmRsczNQb2I1bmdyOEhrNHFoVGxXcEtUMkJlRG4zZHR5dTNWbmRoSXlTOStEdWhWTXNKNk1xSDhDSzZwc0hpOHlxZEVrcUEyVzQ1SWtUUUI5UHQ2K3dPYUIvbmFCTng3VHNXUnpxN3haNGFVTkVnTElCbFoxak9YbHRILzREdUkvK2lSQXpqV21LQmhFbExmUUNkRmV3aXZHSktEWEtiZmhYVVk9LS10ZGRCY09TOUFOVkRPVjBuWm43ZDlnPT0%3D--5ffbfc40d967df854f64480fb0fa88ec84eedec2;
51
+ path=/; HttpOnly
52
+ - request_method=POST; path=/
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"authorizationCode":"dE5WUjhjUmpYQVM3NVdqZU9RSlIwT0NFRVBFQzk3NVQzdEtrbm11SEdpYjJuNitnWm5MQ0ZUWUFhcTQwQ1FzVS0tUXAyMGNMeEdBVWxPMWFuQ2FGSk1Edz09--17a56a6d5df49851f2563f29f3cb19a59025e0bd"}'
56
+ http_version:
57
+ recorded_at: Mon, 03 Aug 2015 22:11:54 GMT
58
+ - request:
59
+ method: post
60
+ uri: http://localhost:3000/auth/login?code=dE5WUjhjUmpYQVM3NVdqZU9RSlIwT0NFRVBFQzk3NVQzdEtrbm11SEdpYjJuNitnWm5MQ0ZUWUFhcTQwQ1FzVS0tUXAyMGNMeEdBVWxPMWFuQ2FGSk1Edz09--17a56a6d5df49851f2563f29f3cb19a59025e0bd
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=Vlk5ckQ2K3FNSDVZQXFPUzFmQmxUeWRyUVprRzltaERGejFudk1PSjJLd08yMklzRlhEOWgvZzNoZVhBbWtwRStDeFdyOGpIREQzTU4wc1hNdkhtY1lTcnZFaUJtb3NvS0s5aSt1MFdwUDMxdURXU2NGeHYvcDZLNHlneWh2dzZMMVdrQ0VrREovcWFVc1Z2eVYxK3FvU0M3UGVwdTNEckgvSUZuMVhJNUhlb2NIZkdBS1Y0OEp4c0VxMkpWdll1dXVvSWZQREFnRS9wTkNyQXZrK3VvUmd6S3pOVFUrSjgzRmdERUVIUDRyRnI3OXFjcWpPaGV5b0FNejFWZFJ2RkJCSHVQZ3dVdjV5NW0zaFJCb1htWmhBc3NucEFrT3NvTzVuQnd5dlMrYktkeVhGMGZldUVKNXlra3Z2V3h2M0VpbGlOSjhwNmRsczNQb2I1bmdyOEhrNHFoVGxXcEtUMkJlRG4zZHR5dTNWbmRoSXlTOStEdWhWTXNKNk1xSDhDSzZwc0hpOHlxZEVrcUEyVzQ1SWtUUUI5UHQ2K3dPYUIvbmFCTng3VHNXUnpxN3haNGFVTkVnTElCbFoxak9YbHRILzREdUkvK2lSQXpqV21LQmhFbExmUUNkRmV3aXZHSktEWEtiZmhYVVk9LS10ZGRCY09TOUFOVkRPVjBuWm43ZDlnPT0%3D--5ffbfc40d967df854f64480fb0fa88ec84eedec2;
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
+ - f2a77d90-b76c-42d5-a254-5aefad9ebce3
95
+ X-Runtime:
96
+ - '0.177954'
97
+ Server:
98
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
99
+ Date:
100
+ - Mon, 03 Aug 2015 22:11:55 GMT
101
+ Content-Length:
102
+ - '0'
103
+ Connection:
104
+ - Keep-Alive
105
+ Set-Cookie:
106
+ - _internal_session=V2R0TzdCSnh4Q1Avd1FTWk1xd0c0TnJHQytsZGFGZ1VhLzcyR1h0dHZBRUV1dEZCTzRKZTBPR3JVemxyN080bHFRZHRtcitxNG82aHJSRDRJSE9YSXN1Vnc3amVRNGlsb05rL25NdWIzWTJOUDVwK1BuWFVoeTQrM3Z5bTAwb21MUWlzUmZ6M0pZUUt2S0VXbFRLVVF6N3dEMC9Kb3VzNkNFcy9hU093dlpMR052NWU5NEZsb25GYVVPc1YzOWFkcnJsMmFjc0F3aXFXUWpmZDRaNXhMNUNvdDN2QTJjeGhUSzM5RlAxVXZXNlNrWmpJeld4RUZzbk83aHZmbi9mVUljZ0lVYWhQUzhCTFFvMEQ4Q05FWldERzViNmVxRjlteXhPM21oRE9Gb2lsSjBqSHZ4elljbnkxbnNYMlZvUnRXOXBoK3FUVmtRcmR6MElpNldKTkNhc1NKYmhzRFpsU3VTRnA1UFkxazdjc0hiRHVWajRGOWRlYVdIOUJRZFNJN1JUeGhvZFM5R1dYT3VYNmlacWNHRzFJWm1oWlNac3VoZVBQNDlaTnNiWk1xVWxHOFJVcWhKVmFncnZKcllNZEFMNlkwdWlrWWxTeHJ2SjRJdXFNa05obUhsOVBqV095UVY0NUR4RkR1SFpzTjlSYTlwS1Ewc0MwWDdURmxScDViTlBSbS9LSzhmNlRwSm01U2U3eHBtTkZmbTIxRksxbGFlNTdIRmhlUHdIeWJER2pxS2ZKMjAwc3FBdm5hK3dELS1Zb0hPYXgrWDZnTVdmbE4vQnJLV1JnPT0%3D--ae525bd482201f947fe704d37da68fd8be7cb3d5;
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:55 GMT
114
+ - request:
115
+ method: get
116
+ uri: http://localhost:3000/auth/access_token?code=dE5WUjhjUmpYQVM3NVdqZU9RSlIwT0NFRVBFQzk3NVQzdEtrbm11SEdpYjJuNitnWm5MQ0ZUWUFhcTQwQ1FzVS0tUXAyMGNMeEdBVWxPMWFuQ2FGSk1Edz09--17a56a6d5df49851f2563f29f3cb19a59025e0bd
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=V2R0TzdCSnh4Q1Avd1FTWk1xd0c0TnJHQytsZGFGZ1VhLzcyR1h0dHZBRUV1dEZCTzRKZTBPR3JVemxyN080bHFRZHRtcitxNG82aHJSRDRJSE9YSXN1Vnc3amVRNGlsb05rL25NdWIzWTJOUDVwK1BuWFVoeTQrM3Z5bTAwb21MUWlzUmZ6M0pZUUt2S0VXbFRLVVF6N3dEMC9Kb3VzNkNFcy9hU093dlpMR052NWU5NEZsb25GYVVPc1YzOWFkcnJsMmFjc0F3aXFXUWpmZDRaNXhMNUNvdDN2QTJjeGhUSzM5RlAxVXZXNlNrWmpJeld4RUZzbk83aHZmbi9mVUljZ0lVYWhQUzhCTFFvMEQ4Q05FWldERzViNmVxRjlteXhPM21oRE9Gb2lsSjBqSHZ4elljbnkxbnNYMlZvUnRXOXBoK3FUVmtRcmR6MElpNldKTkNhc1NKYmhzRFpsU3VTRnA1UFkxazdjc0hiRHVWajRGOWRlYVdIOUJRZFNJN1JUeGhvZFM5R1dYT3VYNmlacWNHRzFJWm1oWlNac3VoZVBQNDlaTnNiWk1xVWxHOFJVcWhKVmFncnZKcllNZEFMNlkwdWlrWWxTeHJ2SjRJdXFNa05obUhsOVBqV095UVY0NUR4RkR1SFpzTjlSYTlwS1Ewc0MwWDdURmxScDViTlBSbS9LSzhmNlRwSm01U2U3eHBtTkZmbTIxRksxbGFlNTdIRmhlUHdIeWJER2pxS2ZKMjAwc3FBdm5hK3dELS1Zb0hPYXgrWDZnTVdmbE4vQnJLV1JnPT0%3D--ae525bd482201f947fe704d37da68fd8be7cb3d5;
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/"1fb15bec8405ab6808dec024adf9b30c"
147
+ Cache-Control:
148
+ - max-age=0, private, must-revalidate
149
+ X-Request-Id:
150
+ - 380130f2-049e-487c-b7e6-ca8d10a81c6c
151
+ X-Runtime:
152
+ - '0.328371'
153
+ Server:
154
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
155
+ Date:
156
+ - Mon, 03 Aug 2015 22:11:55 GMT
157
+ Content-Length:
158
+ - '306'
159
+ Connection:
160
+ - Keep-Alive
161
+ Set-Cookie:
162
+ - _internal_session=UiswUGFxaGsxazQzdTluT3JQV2hYYVJ4RXNmVHhtOWgwM01Qcm51UGVPQStWcWY2YVdqWC9wUG9YeFZYOUpwaTc4S3BFd29zeUZWd09HS0hnbVlSZ3NUUUhNZVhsVngybUdVVjM5T0U1dkt4azBPbEhBQTBLOWkrSHBvVWV2cWI0TTQvaVZhNnNISkRjVW1jQjNCSE9PS2V2R2tidFNGTzREWVZuMkVwTEZWR05GR2xYMUtjMnJxK2YySzhrOUNWQnlCRUtieHRlZ3BGUmYvR1dXWVJhRjRZZlU5R1dEUllXREZydmM0cUZ5L0g1K3VKZG9RblFhMlgvNndGZUFBcTlFakRSallSTXIyMEY0Sk9nU3p0YlExNEVNU2NQcXJhYjd3a0ZGb0lQdU5MaWJycFcvZTZReUMyWkQ4cUcwUG5tdHNnMU1VWmpwZjUvbEx1TXBIWlVudFh1d1R2TVNicXptZzRheHVmMWdzL3dWV1cvWFZETUduRmowUjVUdzNpcU5DN0ZwTXdVWVNjWnNqMzdKWXpJOG5iVk9MdEVvNUxvRGl3SEVXbzg5MzltdGdoUGNFKzQ4dkZQbmpYZ2xxNnBFUmFJYWVkbUl6dGZIejhBVHdaSVp5NklqWGRIUGFSS0tyS1pKZ2xWa3IvNGJPM0ZET2Izb1QwNHVaUEY4cW1vTWtRNCsyZzJSY1BBSlk3R1lXMVBsajdVeEFxTGE5VTBra1Z1V2FUdTBKTkVWbDNocy8vQ3Q5OFU1VnhSVkQ5L2k2QzNWMkpxZG1iRHZnUHZHcVpFT0VOU0c4blVsL011V3ZFbFZCekdRME1STHVsV1RTYzhYWHJPd3Z6Sk5oMy8wTFh3VXh5V0RSc1dra3NESFlBSFEvbm00YmRWQnE4UzRoOE4xOFcrNjV1NWdWQVNFS1pudERJeXY0STFIS1loVmhRYTRCajBlWFhLemxLNHRBYWdwNnN2RGdSZk43WThjNi9iMnNhMmJlZllHeVd0QVo2QkNmenhERHQycFl1WjV5WGRNK2dydFJtY1VHSGd3VVRoSUM3ZXlLbW5NbHdaSE5RSTc5SXdTZEdiblY5K05OREhsSXVsdmtJREFrTXhOa0xldGd4WmhQMFZ0dU16UTVhSDcvcmttSnArYTEzZHM5U3VJM1RUVk9kOEZLWGZmZ1JKODhNVzlJK01zRmVMUTVCbFBHZVRnRTRRTmYxekxCd1Rja0lPbUdTNGw3TDhrbXRNeFJnUHVRWmh1VExmT2dCK1VXajl4dEQ3NW1wQitabU95bmtoZzVZY2UvK1NPZFcyc3hSbEg3b1c1TkFoUVdoVUpML05zND0tLSsvTzdLMzEvcE9JSTdBUVc0VkthVUE9PQ%3D%3D--730ccc829e8b84bd966c1ac131521e876aca3b3a;
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":"MS9uU1BJM3lEdkpNSUtRNWQySTlTN3ZlT1E1elpMTHNSMmZDMGpreHhNUlg3QVR5TzB1WDY4VVYrM3pjNUx1ZHdhTmRXT0JUT1JUeDhJQmVUR3padDlCcmdscllLSE52ekd0MUpGWlNxVDRjaFJKcm82RThLZXNDKzhtT0tZckstLXBxTHFqY0dXNDUvWU9TWVQzQnB2K2c9PQ==--ae991d85c5d3e278091d8d0df07008f3a12c7bc4","tokenType":"Bearer","expiresIn":3600}'
168
+ http_version:
169
+ recorded_at: Mon, 03 Aug 2015 22:11:55 GMT
170
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,170 @@
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/"bb05d98c39114f6cbeb7e9f9e4212dc5"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - 24096228-ad96-4c39-acd2-b3e764c42395
39
+ X-Runtime:
40
+ - '0.168724'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Mon, 03 Aug 2015 22:11:55 GMT
45
+ Content-Length:
46
+ - '186'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - _internal_session=U0NodmFDSXZXTXd3NG05dG1NM2NtdWcxdVhzVE8wbWdTcS9ZZzNzaW1MdzRrMWNhZW9PNXA1M0Fmem80aGROZ1NvcXZVU1JFRVR3dXg3TWVqMXRUMDdoYVN2UUNvbkN6VG91WEkwUHBLdzEwaXF2VEUrSHl1bjBWSG9UZm9Rc29EYlB2TjdSK3loUDg3ZCtIQUI1Vm8zbW9WNWpDVDdRMG5pM2xaNllIRWNUOTdTZFFsS3p1U29RaFlOTUFlbmpmdGpSYzJnTExDeDlVQXhoUXpzb0x3bnNJcDlDRk1XYkQ2Vm1kaUxKUmR3RXVscUovTzZqSmd4OVR1RUJTSkhCRThRMTdmVlhQUXhwMTF6dXlERnB1ZHEyS21xTzc5Q0J0ZXJYbjlvV3FTTzBSNVduem1jMEZPZGl3cXZ0Wi9NTWNwRUwrUEZKOVBrZC9YbDBNQWVKdDZxUm5FbE85MzZsNm5iOXhjMk1zNklmWlhiMFViM2t5VXJRSXp5NkVOWGY3MXpuTjliZ21hUDY5OFZoUjBvaGFZN0VQVnF5NmUxRHlyT3p6RHFxQ3dENThEdmJXSVk3ZTR6d1MwVDNOWFV0SVF3Z3V6aW91SkxYazlUK05kZ1ppQ05JT3BRWmJzS0NJbGdtb2tMaDQ0Umc9LS1RMm9BbFdPcyt6eVJQMnBEVGVPMlhBPT0%3D--36b38b70d24872c1f639bb090e88878c8dfcf439;
51
+ path=/; HttpOnly
52
+ - request_method=POST; path=/
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"authorizationCode":"WmRGOUtKQTltLzdDejhGWWZJYU9sUTFnSTJTY0l3dmlncGlPWDVkNVVzMlB1WGtVbkNNVndjUVZ0bVpkYXlOQi0tNkZaYWNGVHh0ZWJJaGRQYVA1UmVnUT09--a89e0950dcd9c93e4a706f248fbddf219a72d5fd"}'
56
+ http_version:
57
+ recorded_at: Mon, 03 Aug 2015 22:11:55 GMT
58
+ - request:
59
+ method: post
60
+ uri: http://localhost:3000/auth/login?code=WmRGOUtKQTltLzdDejhGWWZJYU9sUTFnSTJTY0l3dmlncGlPWDVkNVVzMlB1WGtVbkNNVndjUVZ0bVpkYXlOQi0tNkZaYWNGVHh0ZWJJaGRQYVA1UmVnUT09--a89e0950dcd9c93e4a706f248fbddf219a72d5fd
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=U0NodmFDSXZXTXd3NG05dG1NM2NtdWcxdVhzVE8wbWdTcS9ZZzNzaW1MdzRrMWNhZW9PNXA1M0Fmem80aGROZ1NvcXZVU1JFRVR3dXg3TWVqMXRUMDdoYVN2UUNvbkN6VG91WEkwUHBLdzEwaXF2VEUrSHl1bjBWSG9UZm9Rc29EYlB2TjdSK3loUDg3ZCtIQUI1Vm8zbW9WNWpDVDdRMG5pM2xaNllIRWNUOTdTZFFsS3p1U29RaFlOTUFlbmpmdGpSYzJnTExDeDlVQXhoUXpzb0x3bnNJcDlDRk1XYkQ2Vm1kaUxKUmR3RXVscUovTzZqSmd4OVR1RUJTSkhCRThRMTdmVlhQUXhwMTF6dXlERnB1ZHEyS21xTzc5Q0J0ZXJYbjlvV3FTTzBSNVduem1jMEZPZGl3cXZ0Wi9NTWNwRUwrUEZKOVBrZC9YbDBNQWVKdDZxUm5FbE85MzZsNm5iOXhjMk1zNklmWlhiMFViM2t5VXJRSXp5NkVOWGY3MXpuTjliZ21hUDY5OFZoUjBvaGFZN0VQVnF5NmUxRHlyT3p6RHFxQ3dENThEdmJXSVk3ZTR6d1MwVDNOWFV0SVF3Z3V6aW91SkxYazlUK05kZ1ppQ05JT3BRWmJzS0NJbGdtb2tMaDQ0Umc9LS1RMm9BbFdPcyt6eVJQMnBEVGVPMlhBPT0%3D--36b38b70d24872c1f639bb090e88878c8dfcf439;
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
+ - e81540a0-b07b-4f62-a355-40f4d591cf94
95
+ X-Runtime:
96
+ - '0.168742'
97
+ Server:
98
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
99
+ Date:
100
+ - Mon, 03 Aug 2015 22:11:55 GMT
101
+ Content-Length:
102
+ - '0'
103
+ Connection:
104
+ - Keep-Alive
105
+ Set-Cookie:
106
+ - _internal_session=RGNUVEtienpVc01zck5DUVdrTmdvcHdXck5UT1d6NEtmMmxFOG1hWkpNZGFNN2pRWXcwbDBFbXJvVElwVkxrSU5sRURvUUlmTHdrUGJOampxQzcyUDJ5VFd2MVZwR0FQUVI3NWJCQ2NOaTNQVXhnVWZ1TDk5OXV4STV6WWtibjNvMEw5OW04QmlITDcrT25uNEV6ZDMxMC9wNmFjYm1YMDBkS01Rdjc5Wnk1eEVYQllDWGF6Qml2Q3lBYmpkTUZMMVJOenZXWGVaek00UHJlWDhjSjlzRUljb2MxRm5iTHZZV09iN1lwUVBoUnBuNlFiVTdQZXhSdHpwSmhZSWw3R0lzdGx2amgvWjVMVXNkNUtHbGtVZXIzQUtNdnFScXBlRU84c2ZkbUNOYlJrZTN4KzIxL1V1TkJiTHlCenhXWkJZamlkRjI4M2VraGhCaDZUZHdGRGliR0ZHMFlYbmpuS2pCMm1FVWw3cXRVK0E0ZHZEeDZucmpwUVpSOFNBV0g0THhTYWNudkkzbEY2c1d5MWNOTURmVHJ0eDFrVTRYeFF3V29PR0lGWE01S2tObFRPU01mYjE3d09kR0R4WXRBSUF2NG9VRTI0VGxOc2ZOU3RiSTRHY2NUSERBWXRGU1QwYTluVlkyV3NoTmgwK2Nha2UvTFdoUW9BdnJ2QitreXQrOFJyZUhGOHUwam5NTldCOElOU2QwbldGTkNCUEpyWmRvUy9pOFBHdEJKWDFhRkw0Rkh1aGtUSGtJKzdtYm40LS15VVZGbzV1ejhwc2I0ZXFza3RvRUdBPT0%3D--1a6a8f71be33ce5d789af4bb49697ea321f1236f;
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:55 GMT
114
+ - request:
115
+ method: get
116
+ uri: http://localhost:3000/auth/access_token?code=WmRGOUtKQTltLzdDejhGWWZJYU9sUTFnSTJTY0l3dmlncGlPWDVkNVVzMlB1WGtVbkNNVndjUVZ0bVpkYXlOQi0tNkZaYWNGVHh0ZWJJaGRQYVA1UmVnUT09--a89e0950dcd9c93e4a706f248fbddf219a72d5fd
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=RGNUVEtienpVc01zck5DUVdrTmdvcHdXck5UT1d6NEtmMmxFOG1hWkpNZGFNN2pRWXcwbDBFbXJvVElwVkxrSU5sRURvUUlmTHdrUGJOampxQzcyUDJ5VFd2MVZwR0FQUVI3NWJCQ2NOaTNQVXhnVWZ1TDk5OXV4STV6WWtibjNvMEw5OW04QmlITDcrT25uNEV6ZDMxMC9wNmFjYm1YMDBkS01Rdjc5Wnk1eEVYQllDWGF6Qml2Q3lBYmpkTUZMMVJOenZXWGVaek00UHJlWDhjSjlzRUljb2MxRm5iTHZZV09iN1lwUVBoUnBuNlFiVTdQZXhSdHpwSmhZSWw3R0lzdGx2amgvWjVMVXNkNUtHbGtVZXIzQUtNdnFScXBlRU84c2ZkbUNOYlJrZTN4KzIxL1V1TkJiTHlCenhXWkJZamlkRjI4M2VraGhCaDZUZHdGRGliR0ZHMFlYbmpuS2pCMm1FVWw3cXRVK0E0ZHZEeDZucmpwUVpSOFNBV0g0THhTYWNudkkzbEY2c1d5MWNOTURmVHJ0eDFrVTRYeFF3V29PR0lGWE01S2tObFRPU01mYjE3d09kR0R4WXRBSUF2NG9VRTI0VGxOc2ZOU3RiSTRHY2NUSERBWXRGU1QwYTluVlkyV3NoTmgwK2Nha2UvTFdoUW9BdnJ2QitreXQrOFJyZUhGOHUwam5NTldCOElOU2QwbldGTkNCUEpyWmRvUy9pOFBHdEJKWDFhRkw0Rkh1aGtUSGtJKzdtYm40LS15VVZGbzV1ejhwc2I0ZXFza3RvRUdBPT0%3D--1a6a8f71be33ce5d789af4bb49697ea321f1236f;
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/"a8977985146473f533b5c829b08ff5f7"
147
+ Cache-Control:
148
+ - max-age=0, private, must-revalidate
149
+ X-Request-Id:
150
+ - 13f042b1-ce1a-4dbc-b4e3-51734b2343a9
151
+ X-Runtime:
152
+ - '0.327122'
153
+ Server:
154
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
155
+ Date:
156
+ - Mon, 03 Aug 2015 22:11:56 GMT
157
+ Content-Length:
158
+ - '306'
159
+ Connection:
160
+ - Keep-Alive
161
+ Set-Cookie:
162
+ - _internal_session=VStjUUpST2JYa2t5M0NQeE94dDR4Tkg2K1pQNThVaWNQM0w2Q2U0UWwxeUpvNEtkcVJ4MENnb284L0J5OXRUOUZTTVY3T0ZxT204NHpDMlE2V3Y0aHdvSXlzSXltbmJkQ3cvT3FZVllEOHg1T1NkTnFNbmVDSGo5U3l5MkovUVJqNFNtd1FGT2xBclR6U2xxV1JEc28rYUxlbWFwVEVLOWdXOFBhWnI0d2EzMEJJcHJjaUJBd0xaWkdwN1YwZHlTR1hBNEVGNVFWU2t0MmQ4RUtUT1Y1ZnRlWEpZTXRPQS9hTFZXa3pXN3dmUUQvSXZ4VEZ6Ky9hOEY5SnV1K2lZWnhab0VMK2RaYzcxeThTNG1wZFRlV0UwZVphbXpOT0JMUW9XWVdPNWhkL2taRUdkbEtFSTRuMHpNMUlZa0UrMHVGTitnOVd2RXFuRUk0c1ZCL0VPVlJaRjBVTURSdmtJdVRxSXk3NXdsL0ZZcmJtWDdNZ3YvNzdqQzJuUzY2WEZiK05GWmlhNEZSWjFVUTZvc1hMTlB5T0MyOWYrbTg2VWZudkdxem5xM3lJNlJwTERNWmE5akE5eTFwRmlSYlNlWmRxdUk3U3RJcHN4emJkNzI5NTdzNGZGcW1BNDViL2FoR29IeC8weFZCbnphQlpLczh4NEFlMnVPSVp5TjB2VFZLRHVoMndqNVRjemo2STRFOWlXK05pSHlBVGhQRHdlUHN5REh6QU5BcTBqZW11R1FRdVl2bDZGa3IwaXhmQ0Y3SzBzU0V0cGphYXlibkhscjJaRHpOckF5aGxycSt1T1VSM0lHcWZEdnJKdXRVOEtZN2lBcFBDdkFEdTBTZzJiQ3c1STVwUVN6dnU3djZjd2lFa0tzb0Y3ZGlTL0ZCWURFaGpmcGNzZXpQOTRFWklJQWRGTVkvY1g5MkVyU0t3dklVbjJoaXk1UGd6Q1BQNUNVK2JsWWRXRWVsNldMQ0toYmF1Q1cyUnpHWWpqM0V4VEhzWFhoaGc3alRJMUhSaCtvNWcwZmt1T2prb0pySEpaMXMwNGlyRnB2ZUw0Q1BPNkU0ZGJjcWVlVWEycjBCOUNKd3dFS24zSG8zOTZvUHJsTUh2Z0Q5TW1mamlPaS92d1poWWEyYWJUZDVMK0ZacTM4T01DbTNkeVl0VUVSdU5zb3hOVTFmVUExeUtiOG9KWVFYenhZb0dxY2NRNlZZanBRZmNQUXJUbXE4Q2VRSC9sbEs4KzRlUWxXSWNPSjI1NXFTQktwUnVMSjJwMVdOWXNNL3ZDR0tZY05nUVVNZGJiWTRlUy9mT2tlT1c5a2NSSFZBSlFva0pkWkJuYz0tLUxuTEVob3pHUEhMQ2ZENVYya0prV0E9PQ%3D%3D--89354b82ee46efc8b374225a0bb7013ca3a8fe65;
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":"ZnA3aVVEcVZBdkdXeGRkNUx4eE5xempvN0k2bTJ5Wm56TTRxa1lCT0FWL08zVWFtLzVVMDRJMzFyRWZRbEI3WSsrZGZSTGo5bVlzSDFCSVc2Qzg4SVhvKzdNVGNnOGtYSE1ybkd0NDNTbGorQ0NlcTRuUDZzeXdML2VZa2dOdUctLS9pZGF4S2M0RU5NTzN0RnFNdTY4TGc9PQ==--0abfbfa06e77d3016b0551888981009c01923d99","tokenType":"Bearer","expiresIn":3600}'
168
+ http_version:
169
+ recorded_at: Mon, 03 Aug 2015 22:11:56 GMT
170
+ recorded_with: VCR 2.9.3