celsius-primo 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/celsius-primo.gemspec +2 -1
  4. data/lib/celsius/primo/soap_api/searcher/search_brief/search_request_transformation/add_sort_by_list.rb +24 -19
  5. data/lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/add_missing_facets.rb +23 -31
  6. data/lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/process_records.rb +9 -10
  7. data/lib/celsius/primo/version.rb +1 -1
  8. data/spec/assets/adapter/search/{complex_search_request.yml → scenarios/complex_request/search_request.yml} +0 -0
  9. data/spec/assets/adapter/search/{search_result_for_complex_request.yml → scenarios/complex_request/search_result.yml} +0 -0
  10. data/spec/assets/adapter/search/{search_request_with_empty_result.yml → scenarios/empty_result/search_request.yml} +0 -0
  11. data/spec/assets/adapter/search/{empty_search_result.yml → scenarios/empty_result/search_result.yml} +0 -0
  12. data/spec/assets/adapter/search/scenarios/missing_facets/search_request.yml +66 -0
  13. data/spec/assets/adapter/search/scenarios/missing_facets/search_result.yml +158 -0
  14. data/spec/assets/adapter/search/{search_request_for_multiple_publishers.yml → scenarios/result_with_multiple_publishers/search_request.yml} +0 -0
  15. data/spec/assets/adapter/search/{search_result_with_multiple_publishers.yml → scenarios/result_with_multiple_publishers/search_result.yml} +17 -15
  16. data/spec/assets/adapter/search/{search_request.yml → scenarios/simple_request/search_request.yml} +0 -0
  17. data/spec/assets/adapter/search/{search_result.yml → scenarios/simple_request/search_result.yml} +45 -20
  18. data/spec/cassettes/Celsius_Primo_Adapter/_search/passes_the_scenario_complex_request_.yml +191 -0
  19. data/spec/cassettes/Celsius_Primo_Adapter/_search/passes_the_scenario_empty_result_.yml +88 -0
  20. data/spec/cassettes/Celsius_Primo_Adapter/_search/passes_the_scenario_missing_facets_.yml +162 -0
  21. data/spec/cassettes/Celsius_Primo_Adapter/_search/{returns_a_normalized_search_result.yml → passes_the_scenario_result_with_multiple_publishers_.yml} +46 -1484
  22. data/spec/cassettes/Celsius_Primo_Adapter/_search/passes_the_scenario_simple_request_.yml +1169 -0
  23. data/spec/celsius-primo/adapter_spec.rb +15 -12
  24. metadata +50 -23
@@ -48,7 +48,7 @@ hits:
48
48
  - '{"ht_number":null,"label":"10. Aufl. u.d.T. Kofler, Michael: Linux 2011"}'
49
49
  sourceid: PAD_ALEPH
50
50
  recordid: PAD_ALEPH000974654
51
- isbn: &1
51
+ isbn:
52
52
  - 978-3-8273-2478-8
53
53
  - '9783827324788'
54
54
  - '3827324785'
@@ -286,7 +286,10 @@ hits:
286
286
  identifier:
287
287
  - PAD01000974654
288
288
  - PAD_ALEPH000974654
289
- isbn: *1
289
+ isbn:
290
+ - 978-3-8273-2478-8
291
+ - '9783827324788'
292
+ - '3827324785'
290
293
  issn:
291
294
  language: ger
292
295
  title: 'Linux : Installation, Konfiguration, Anwendung'
@@ -339,7 +342,7 @@ hits:
339
342
  - '{"ht_number":null,"label":"10. Aufl. u.d.T. Kofler, Michael: Linux 2011"}'
340
343
  sourceid: PAD_ALEPH
341
344
  recordid: PAD_ALEPH001340422
342
- isbn: &2
345
+ isbn:
343
346
  - 978-3-8273-2877-9
344
347
  - '9783827328779'
345
348
  - '3827328772'
@@ -552,7 +555,10 @@ hits:
552
555
  identifier:
553
556
  - PAD01001340422
554
557
  - PAD_ALEPH001340422
555
- isbn: *2
558
+ isbn:
559
+ - 978-3-8273-2877-9
560
+ - '9783827328779'
561
+ - '3827328772'
556
562
  issn:
557
563
  language: ger
558
564
  title: 'Linux 2010 : Debian, Fedora, openSUSE, Ubuntu'
@@ -575,7 +581,7 @@ hits:
575
581
  publisher: 'München [u.a.] : Addison-Wesley'
576
582
  creationdate: '2009'
577
583
  format: '511 S. : Ill., graph. Darst.'
578
- subject: &4
584
+ subject:
579
585
  - Ubuntu
580
586
  - Server
581
587
  language: ger
@@ -603,7 +609,7 @@ hits:
603
609
  general: TWP
604
610
  sourceid: PAD_ALEPH
605
611
  recordid: PAD_ALEPH001332926
606
- isbn: &3
612
+ isbn:
607
613
  - 978-3-8273-2774-1
608
614
  - '9783827327741'
609
615
  - '3827327741'
@@ -734,12 +740,17 @@ hits:
734
740
  identifier:
735
741
  - PAD01001332926
736
742
  - PAD_ALEPH001332926
737
- isbn: *3
743
+ isbn:
744
+ - 978-3-8273-2774-1
745
+ - '9783827327741'
746
+ - '3827327741'
738
747
  issn:
739
748
  language: ger
740
749
  title: 'Ubuntu-Server : Installation, Konfiguration, Administration'
741
750
  publisher: Addison-Wesley
742
- subject: *4
751
+ subject:
752
+ - Ubuntu
753
+ - Server
743
754
  placeOfPublication: München [u.a.]
744
755
  - _type: record
745
756
  _source:
@@ -774,7 +785,7 @@ hits:
774
785
  general: TWY
775
786
  sourceid: PAD_ALEPH
776
787
  recordid: PAD_ALEPH000831395
777
- isbn: &5
788
+ isbn:
778
789
  - 3-8273-1762-2
779
790
  - '9783827317629'
780
791
  - '3827317622'
@@ -835,7 +846,10 @@ hits:
835
846
  identifier:
836
847
  - PAD01000831395
837
848
  - PAD_ALEPH000831395
838
- isbn: *5
849
+ isbn:
850
+ - 3-8273-1762-2
851
+ - '9783827317629'
852
+ - '3827317622'
839
853
  issn:
840
854
  language: ger
841
855
  title: 'MySQL : Einführung, Programmierung, Referenz'
@@ -854,7 +868,7 @@ hits:
854
868
  display:
855
869
  type: print
856
870
  title: Linux für Studenten
857
- creator: &6
871
+ creator:
858
872
  - Kofler, Michael
859
873
  - Plate, Jürgen
860
874
  publisher: 'München [u.a.] : Pearson Studium'
@@ -883,7 +897,7 @@ hits:
883
897
  general: TWR
884
898
  sourceid: PAD_ALEPH
885
899
  recordid: PAD_ALEPH000969442
886
- isbn: &7
900
+ isbn:
887
901
  - 978-3-8273-7205-5
888
902
  - '9783827372055'
889
903
  - '3827372054'
@@ -1128,7 +1142,9 @@ hits:
1128
1142
  lad01: '{"author_statement":["Michael Kofler ; Jürgen Plate"],"person_creator_display":["Kofler,
1129
1143
  Michael","Plate, Jürgen"]}'
1130
1144
  _id: PAD_ALEPH000969442
1131
- creator: *6
1145
+ creator:
1146
+ - Kofler, Michael
1147
+ - Plate, Jürgen
1132
1148
  created: '2006'
1133
1149
  description: 'DVDs u.d.T.: Debian GNU-Linux 3.1r2 "Sarge"'
1134
1150
  edition:
@@ -1136,7 +1152,11 @@ hits:
1136
1152
  identifier:
1137
1153
  - PAD01000969442
1138
1154
  - PAD_ALEPH000969442
1139
- isbn: *7
1155
+ isbn:
1156
+ - 978-3-8273-7205-5
1157
+ - '9783827372055'
1158
+ - '3827372054'
1159
+ - 3-8273-7205-4
1140
1160
  issn:
1141
1161
  language: ger
1142
1162
  title: Linux für Studenten
@@ -1155,7 +1175,7 @@ hits:
1155
1175
  display:
1156
1176
  type: print
1157
1177
  title: 'PHP 5.3 & MySQL 5.1 : Grundlagen, Programmiertechniken, Beispiele'
1158
- creator: &8
1178
+ creator:
1159
1179
  - Kofler, Michael
1160
1180
  - "Öggl, Bernd"
1161
1181
  publisher: 'München [u.a.] : Addison-Wesley'
@@ -1185,7 +1205,7 @@ hits:
1185
1205
  - TYD
1186
1206
  sourceid: PAD_ALEPH
1187
1207
  recordid: PAD_ALEPH001104019
1188
- isbn: &9
1208
+ isbn:
1189
1209
  - 978-3-8273-2633-1
1190
1210
  - '9783827326331'
1191
1211
  - '3827326338'
@@ -1425,7 +1445,9 @@ hits:
1425
1445
  lad01: '{"author_statement":["Michael Kofler ; Bernd Öggl"],"person_creator_display":["Kofler,
1426
1446
  Michael","Öggl, Bernd"]}'
1427
1447
  _id: PAD_ALEPH001104019
1428
- creator: *8
1448
+ creator:
1449
+ - Kofler, Michael
1450
+ - "Öggl, Bernd"
1429
1451
  created: '2008'
1430
1452
  description:
1431
1453
  edition:
@@ -1433,7 +1455,10 @@ hits:
1433
1455
  identifier:
1434
1456
  - PAD01001104019
1435
1457
  - PAD_ALEPH001104019
1436
- isbn: *9
1458
+ isbn:
1459
+ - 978-3-8273-2633-1
1460
+ - '9783827326331'
1461
+ - '3827326338'
1437
1462
  issn:
1438
1463
  language: ger
1439
1464
  title: 'PHP 5.3 & MySQL 5.1 : Grundlagen, Programmiertechniken, Beispiele'
@@ -1464,12 +1489,12 @@ facets:
1464
1489
  facet_topic:
1465
1490
  _type: terms
1466
1491
  terms:
1467
- - term: Linux
1468
- count: 3
1469
1492
  - term: PHP 5.3
1470
1493
  count: 1
1471
1494
  - term: MySQL
1472
1495
  count: 1
1496
+ - term: LINUX
1497
+ count: 3
1473
1498
  - term: Ubuntu
1474
1499
  count: 1
1475
1500
  - term: Server
@@ -0,0 +1,191 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://primo.kobv.de/primo_library/libweb/webservices/services/searcher
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:impl="http://primo.kobv.de/PrimoWebServices/services/searcher" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://xml.apache.org/xml-soap">
11
+ <env:Body>
12
+ <impl:searchBrief>
13
+ <searchRequestStr>
14
+ <![CDATA[
15
+ <searchRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents">
16
+ <PrimoSearchRequest xmlns="http://www.exlibris.com/primo/xsd/search/request">
17
+ <QueryTerms>
18
+ <BoolOpeator>AND</BoolOpeator>
19
+ <QueryTerm>
20
+ <IndexField>facet_creator</IndexField>
21
+ <PrecisionOperator>exact</PrecisionOperator>
22
+ <Value>Gehrke, Frank</Value>
23
+ </QueryTerm>
24
+ <QueryTerm>
25
+ <IndexField>any</IndexField>
26
+ <PrecisionOperator>contains</PrecisionOperator>
27
+ <Value>linux</Value>
28
+ </QueryTerm>
29
+ <QueryTerm>
30
+ <IndexField>creator</IndexField>
31
+ <PrecisionOperator>contains</PrecisionOperator>
32
+ <Value>gehrke</Value>
33
+ </QueryTerm>
34
+ <QueryTerm>
35
+ <IndexField>title</IndexField>
36
+ <PrecisionOperator>contains</PrecisionOperator>
37
+ <Value>linux</Value>
38
+ </QueryTerm>
39
+ <QueryTerm>
40
+ <IndexField>sub</IndexField>
41
+ <PrecisionOperator>contains</PrecisionOperator>
42
+ <Value>linux</Value>
43
+ </QueryTerm>
44
+ <QueryTerm>
45
+ <IndexField>cdate</IndexField>
46
+ <PrecisionOperator>contains</PrecisionOperator>
47
+ <Value>2002</Value>
48
+ </QueryTerm>
49
+ <QueryTerm>
50
+ <IndexField>any</IndexField>
51
+ <PrecisionOperator>contains</PrecisionOperator>
52
+ <Value>TWR11793</Value>
53
+ </QueryTerm>
54
+ <QueryTerm>
55
+ <IndexField>facet_creationdate</IndexField>
56
+ <PrecisionOperator>contains</PrecisionOperator>
57
+ <Value>[2002 TO 2002]</Value>
58
+ </QueryTerm>
59
+ </QueryTerms>
60
+ <StartIndex>1</StartIndex>
61
+ <BulkSize>20</BulkSize>
62
+ <DidUMeanEnabled>false</DidUMeanEnabled>
63
+ <HighlightingEnabled>false</HighlightingEnabled>
64
+ <Languages>
65
+ <Language>ger</Language>
66
+ <Language>eng</Language>
67
+ </Languages>
68
+ <SortByList>
69
+ <SortField>scdate</SortField>
70
+ </SortByList>
71
+ <Locations>
72
+ <uic:Location type="local" value="scope:(PAD_ALEPH)"/>
73
+ </Locations>
74
+ </PrimoSearchRequest>
75
+ <onCampus>false</onCampus>
76
+ <institution>PAD</institution>
77
+ </searchRequest>
78
+ ]]>
79
+ </searchRequestStr>
80
+ </impl:searchBrief>
81
+ </env:Body>
82
+ </env:Envelope>
83
+ headers:
84
+ Content-Type:
85
+ - application/xml
86
+ Soapaction:
87
+ - searchBrief
88
+ Accept-Encoding:
89
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
90
+ Accept:
91
+ - "*/*"
92
+ User-Agent:
93
+ - Ruby
94
+ response:
95
+ status:
96
+ code: 200
97
+ message: OK
98
+ headers:
99
+ Server:
100
+ - Apache-Coyote/1.1
101
+ Set-Cookie:
102
+ - JSESSIONID=DC47B89CF915E08A62D83861297EFCD8; Path=/primo_library/libweb/;
103
+ HttpOnly
104
+ Vary:
105
+ - Accept-Encoding
106
+ Content-Type:
107
+ - text/xml;charset=utf-8
108
+ Transfer-Encoding:
109
+ - chunked
110
+ Date:
111
+ - Fri, 23 Jan 2015 09:19:24 GMT
112
+ body:
113
+ encoding: UTF-8
114
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
115
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><ns1:searchBriefResponse
116
+ soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://primo.kobv.de/PrimoWebServices/services/searcher\"><searchBriefReturn
117
+ xsi:type=\"soapenc:string\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\">&lt;sear:SEGMENTS
118
+ xmlns:sear=&quot;http://www.exlibrisgroup.com/xsd/jaguar/search&quot;&gt;&lt;sear:JAGROOT&gt;&lt;sear:RESULT&gt;&lt;sear:QUERYTRANSFORMS/&gt;&lt;sear:FACETLIST
119
+ ACCURATE_COUNTERS=&quot;true&quot;&gt;&lt;sear:FACET NAME=&quot;creator&quot;
120
+ COUNT=&quot;3&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;Klappheck, G&#xFC;nter&quot;
121
+ VALUE=&quot;1&quot;/&gt;&lt;sear:FACET_VALUES KEY=&quot;Gehrke, Frank&quot;
122
+ VALUE=&quot;1&quot;/&gt;&lt;sear:FACET_VALUES KEY=&quot;Glinsky, Peter&quot;
123
+ VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET NAME=&quot;lang&quot;
124
+ COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;ger&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
125
+ NAME=&quot;rtype&quot; COUNT=&quot;2&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;books&quot;
126
+ VALUE=&quot;1&quot;/&gt;&lt;sear:FACET_VALUES KEY=&quot;other&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
127
+ NAME=&quot;topic&quot; COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;SuSE
128
+ LINUX 8.x&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
129
+ NAME=&quot;tlevel&quot; COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;printmedia&quot;
130
+ VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET NAME=&quot;creationdate&quot;
131
+ COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;2002&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
132
+ NAME=&quot;fmt&quot; COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;767
133
+ S. : Ill. ; 25 cm + 1 CD-ROM (12 cm)&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
134
+ NAME=&quot;local15&quot; COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;TWR&quot;
135
+ VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET NAME=&quot;local31&quot;
136
+ COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;monograph&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET
137
+ NAME=&quot;local32&quot; COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;other&quot;
138
+ VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;sear:FACET NAME=&quot;local33&quot;
139
+ COUNT=&quot;1&quot;&gt;&lt;sear:FACET_VALUES KEY=&quot;print&quot; VALUE=&quot;1&quot;/&gt;&lt;/sear:FACET&gt;&lt;/sear:FACETLIST&gt;&lt;sear:DOCSET
140
+ HIT_TIME=&quot;71&quot; TOTALHITS=&quot;1&quot; FIRSTHIT=&quot;1&quot; LASTHIT=&quot;1&quot;
141
+ TOTAL_TIME=&quot;94&quot; IS_LOCAL=&quot;true&quot;&gt;&lt;sear:DOC ID=&quot;15234536&quot;
142
+ RANK=&quot;0.9016624&quot; NO=&quot;1&quot; SEARCH_ENGINE=&quot;Local Search
143
+ Engine&quot; SEARCH_ENGINE_TYPE=&quot;Local Search Engine&quot;&gt;&lt;PrimoNMBib
144
+ xmlns=&quot;http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib&quot;&gt;\n&lt;record&gt;\n&lt;control&gt;\n&lt;sourcerecordid&gt;000857752&lt;/sourcerecordid&gt;
145
+ \n&lt;sourceid&gt;PAD_ALEPH&lt;/sourceid&gt; \n&lt;recordid&gt;PAD_ALEPH000857752&lt;/recordid&gt;
146
+ \n&lt;originalsourceid&gt;PAD01&lt;/originalsourceid&gt; \n&lt;ilsapiid&gt;PAD01000857752&lt;/ilsapiid&gt;
147
+ \n&lt;sourcesystem&gt;Aleph&lt;/sourcesystem&gt; \n&lt;/control&gt;\n&lt;display&gt;\n&lt;type&gt;print&lt;/type&gt;
148
+ \n&lt;title&gt;Linux - das Buch : [SuSE Linux 8.x]&lt;/title&gt; \n&lt;creator&gt;Klappheck,
149
+ G&#xFC;nter&lt;/creator&gt; \n&lt;creator&gt;Glinsky, Peter&lt;/creator&gt;
150
+ \n&lt;creator&gt;Gehrke, Frank&lt;/creator&gt; \n&lt;edition&gt;1. Aufl.&lt;/edition&gt;
151
+ \n&lt;publisher&gt;D&#xFC;sseldorf : Sybex&lt;/publisher&gt; \n&lt;creationdate&gt;2002&lt;/creationdate&gt;
152
+ \n&lt;format&gt;767 S. : Ill. ; 25 cm + 1 CD-ROM (12 cm)&lt;/format&gt; \n&lt;subject&gt;SuSE
153
+ LINUX 8.x&lt;/subject&gt; \n&lt;description&gt;CD-ROM u.d.T.: Linux&lt;/description&gt;
154
+ \n&lt;language&gt;ger&lt;/language&gt; \n&lt;lds01&gt;{&quot;ht_number&quot;:null,&quot;label&quot;:&quot;Das
155
+ Buch - viel Wissen&quot;,&quot;volume_count&quot;:null,&quot;label_additions&quot;:null}&lt;/lds01&gt;
156
+ \n&lt;lds02&gt;Linux - das Buch : [SuSE Linux 8.x]&lt;/lds02&gt; \n&lt;lds10&gt;TWR11793&lt;/lds10&gt;
157
+ \n&lt;/display&gt;\n&lt;search&gt;\n&lt;creatorcontrib&gt;Klappheck, G&#xFC;nter&lt;/creatorcontrib&gt;
158
+ \n&lt;creatorcontrib&gt;Glinsky, Peter&lt;/creatorcontrib&gt; \n&lt;creatorcontrib&gt;Gehrke,
159
+ Frank&lt;/creatorcontrib&gt; \n&lt;creatorcontrib&gt;Klappheck, G&#xFC;nther&lt;/creatorcontrib&gt;
160
+ \n&lt;title&gt;Linux - das Buch : [SuSE Linux 8.x]&lt;/title&gt; \n&lt;title&gt;Linux&lt;/title&gt;
161
+ \n&lt;title&gt;&amp;lt;&amp;lt;Das&gt;&gt; Buch - viel Wissen&lt;/title&gt;
162
+ \n&lt;description&gt;CD-ROM u.d.T.: Linux&lt;/description&gt; \n&lt;subject&gt;SuSE
163
+ LINUX 8.x&lt;/subject&gt; \n&lt;general&gt;TWR&lt;/general&gt; \n&lt;sourceid&gt;PAD_ALEPH&lt;/sourceid&gt;
164
+ \n&lt;recordid&gt;PAD_ALEPH000857752&lt;/recordid&gt; \n&lt;isbn&gt;3-8155-0186-5&lt;/isbn&gt;
165
+ \n&lt;isbn&gt;9783815501863&lt;/isbn&gt; \n&lt;isbn&gt;3815501865&lt;/isbn&gt;
166
+ \n&lt;rsrctype&gt;print&lt;/rsrctype&gt; \n&lt;format&gt;767 S. : Ill. ; 25
167
+ cm + 1 CD-ROM (12 cm)&lt;/format&gt; \n&lt;creationdate&gt;2002&lt;/creationdate&gt;
168
+ \n&lt;searchscope&gt;PAD_ALEPH&lt;/searchscope&gt; \n&lt;scope&gt;PAD_ALEPH&lt;/scope&gt;
169
+ \n&lt;lsr02&gt;false&lt;/lsr02&gt; \n&lt;lsr03&gt;false&lt;/lsr03&gt; \n&lt;lsr04&gt;true&lt;/lsr04&gt;
170
+ \n&lt;lsr05&gt;HT013404430&lt;/lsr05&gt; \n&lt;lsr09&gt;20030107&lt;/lsr09&gt;
171
+ \n&lt;lsr10&gt;TWR11793&lt;/lsr10&gt; \n&lt;lsr15&gt;TWR&lt;/lsr15&gt; \n&lt;lsr31&gt;monograph&lt;/lsr31&gt;
172
+ \n&lt;lsr32&gt;other&lt;/lsr32&gt; \n&lt;lsr33&gt;print&lt;/lsr33&gt; \n&lt;lsr34&gt;D&#xFC;sseldorf
173
+ : Sybex&lt;/lsr34&gt; \n&lt;/search&gt;\n&lt;sort&gt;\n&lt;title&gt;Linux
174
+ - das Buch : [SuSE Linux 8.x]&lt;/title&gt; \n&lt;creationdate&gt;2002&lt;/creationdate&gt;
175
+ \n&lt;author&gt;Klappheck, G&#xFC;nter&lt;/author&gt; \n&lt;lso01&gt;20030107&lt;/lso01&gt;
176
+ \n&lt;lso03&gt;TWR&lt;/lso03&gt; \n&lt;lso48&gt;PAD01000857752&lt;/lso48&gt;
177
+ \n&lt;/sort&gt;\n&lt;facets&gt;\n&lt;language&gt;ger&lt;/language&gt; \n&lt;creationdate&gt;2002&lt;/creationdate&gt;
178
+ \n&lt;topic&gt;SuSE LINUX 8.x&lt;/topic&gt; \n&lt;toplevel&gt;printmedia&lt;/toplevel&gt;
179
+ \n&lt;rsrctype&gt;other&lt;/rsrctype&gt; \n&lt;rsrctype&gt;books&lt;/rsrctype&gt;
180
+ \n&lt;creatorcontrib&gt;Klappheck, G&#xFC;nter&lt;/creatorcontrib&gt; \n&lt;creatorcontrib&gt;Glinsky,
181
+ Peter&lt;/creatorcontrib&gt; \n&lt;creatorcontrib&gt;Gehrke, Frank&lt;/creatorcontrib&gt;
182
+ \n&lt;format&gt;767 S. : Ill. ; 25 cm + 1 CD-ROM (12 cm)&lt;/format&gt; \n&lt;lfc15&gt;TWR&lt;/lfc15&gt;
183
+ \n&lt;lfc31&gt;monograph&lt;/lfc31&gt; \n&lt;lfc32&gt;other&lt;/lfc32&gt;
184
+ \n&lt;lfc33&gt;print&lt;/lfc33&gt; \n&lt;frbrgroupid&gt;282155386&lt;/frbrgroupid&gt;&lt;frbrtype&gt;6&lt;/frbrtype&gt;&lt;/facets&gt;\n&lt;delivery&gt;\n&lt;delcategory&gt;physical_item&lt;/delcategory&gt;
185
+ \n&lt;/delivery&gt;\n&lt;addata&gt;\n&lt;lad01&gt;{&quot;author_statement&quot;:[&quot;G&#xFC;nter
186
+ Klappheck ; Peter Glinsky ; Frank Gehrke&quot;],&quot;person_creator_display&quot;:[&quot;Klappheck,
187
+ G&#xFC;nter&quot;,&quot;Glinsky, Peter&quot;,&quot;Gehrke, Frank&quot;]}&lt;/lad01&gt;
188
+ \n&lt;/addata&gt;\n&lt;/record&gt;&lt;/PrimoNMBib&gt;&lt;sear:LINKS&gt;&lt;sear:thumbnail/&gt;&lt;/sear:LINKS&gt;&lt;/sear:DOC&gt;&lt;/sear:DOCSET&gt;&lt;/sear:RESULT&gt;&lt;sear:searchToken&gt;0&lt;/sear:searchToken&gt;&lt;/sear:JAGROOT&gt;&lt;/sear:SEGMENTS&gt;</searchBriefReturn></ns1:searchBriefResponse></soapenv:Body></soapenv:Envelope>"
189
+ http_version:
190
+ recorded_at: Fri, 23 Jan 2015 09:19:22 GMT
191
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://primo.kobv.de/primo_library/libweb/webservices/services/searcher
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:impl="http://primo.kobv.de/PrimoWebServices/services/searcher" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://xml.apache.org/xml-soap">
11
+ <env:Body>
12
+ <impl:searchBrief>
13
+ <searchRequestStr>
14
+ <![CDATA[
15
+ <searchRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents">
16
+ <PrimoSearchRequest xmlns="http://www.exlibris.com/primo/xsd/search/request">
17
+ <QueryTerms>
18
+ <BoolOpeator>AND</BoolOpeator>
19
+ <QueryTerm>
20
+ <IndexField>any</IndexField>
21
+ <PrecisionOperator>contains</PrecisionOperator>
22
+ <Value>fooobasdasd</Value>
23
+ </QueryTerm>
24
+ </QueryTerms>
25
+ <StartIndex>1</StartIndex>
26
+ <BulkSize>20</BulkSize>
27
+ <DidUMeanEnabled>false</DidUMeanEnabled>
28
+ <HighlightingEnabled>false</HighlightingEnabled>
29
+ <Languages>
30
+ <Language>ger</Language>
31
+ <Language>eng</Language>
32
+ </Languages>
33
+ <SortByList>
34
+ <SortField>relevance</SortField>
35
+ </SortByList>
36
+ <Locations>
37
+ <uic:Location type="local" value="scope:(PAD_ALEPH)"/>
38
+ </Locations>
39
+ </PrimoSearchRequest>
40
+ <onCampus>false</onCampus>
41
+ <institution>PAD</institution>
42
+ </searchRequest>
43
+ ]]>
44
+ </searchRequestStr>
45
+ </impl:searchBrief>
46
+ </env:Body>
47
+ </env:Envelope>
48
+ headers:
49
+ Content-Type:
50
+ - application/xml
51
+ Soapaction:
52
+ - searchBrief
53
+ Accept-Encoding:
54
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
+ Accept:
56
+ - "*/*"
57
+ User-Agent:
58
+ - Ruby
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: OK
63
+ headers:
64
+ Server:
65
+ - Apache-Coyote/1.1
66
+ Set-Cookie:
67
+ - JSESSIONID=726C9506A01F41AFE7AE6D6A6E2F6643; Path=/primo_library/libweb/;
68
+ HttpOnly
69
+ Vary:
70
+ - Accept-Encoding
71
+ Content-Type:
72
+ - text/xml;charset=utf-8
73
+ Transfer-Encoding:
74
+ - chunked
75
+ Date:
76
+ - Fri, 23 Jan 2015 09:19:24 GMT
77
+ body:
78
+ encoding: UTF-8
79
+ string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
80
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:searchBriefResponse
81
+ soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://primo.kobv.de/PrimoWebServices/services/searcher"><searchBriefReturn
82
+ xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">&lt;sear:SEGMENTS
83
+ xmlns:sear=&quot;http://www.exlibrisgroup.com/xsd/jaguar/search&quot;&gt;&lt;sear:JAGROOT&gt;&lt;sear:RESULT&gt;&lt;sear:QUERYTRANSFORMS/&gt;&lt;sear:FACETLIST/&gt;&lt;sear:DOCSET
84
+ HIT_TIME=&quot;58&quot; TOTALHITS=&quot;0&quot; FIRSTHIT=&quot;1&quot; LASTHIT=&quot;0&quot;
85
+ TOTAL_TIME=&quot;68&quot; IS_LOCAL=&quot;true&quot;/&gt;&lt;/sear:RESULT&gt;&lt;sear:searchToken&gt;0&lt;/sear:searchToken&gt;&lt;/sear:JAGROOT&gt;&lt;/sear:SEGMENTS&gt;</searchBriefReturn></ns1:searchBriefResponse></soapenv:Body></soapenv:Envelope>
86
+ http_version:
87
+ recorded_at: Fri, 23 Jan 2015 09:19:22 GMT
88
+ recorded_with: VCR 2.9.3