relaton 1.18.2 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton/config.rb +11 -4
- data/lib/relaton/db.rb +4 -4
- data/lib/relaton/db_cache.rb +2 -1
- data/lib/relaton/registry.rb +4 -5
- data/lib/relaton/util.rb +1 -4
- data/lib/relaton/version.rb +1 -1
- data/relaton.gemspec +27 -27
- data/spec/relaton/config_spec.rb +2 -2
- data/spec/relaton/db_spec.rb +23 -21
- data/spec/relaton/registry_spec.rb +2 -2
- data/spec/relaton/util_spec.rb +0 -3
- data/spec/relaton_spec.rb +2 -2
- data/spec/vcr_cassetes/3gpp_tr_00_01u_umts_3_0_0.yml +15 -15
- data/spec/vcr_cassetes/api_relaton_org.yml +7 -7
- data/spec/vcr_cassetes/api_relaton_org_unavailable.yml +12 -12
- data/spec/vcr_cassetes/cc_dir_10005_2019.yml +15 -15
- data/spec/vcr_cassetes/cie_001_1980.yml +212 -212
- data/spec/vcr_cassetes/doi_10_6028_nist_ir_8245.yml +6 -6
- data/spec/vcr_cassetes/ecma_6.yml +130 -130
- data/spec/vcr_cassetes/en_10160_1999.yml +10163 -10153
- data/spec/vcr_cassetes/gb_t_20223_2006.yml +387 -387
- data/spec/vcr_cassetes/ieee_528_2019.yml +2150 -2135
- data/spec/vcr_cassetes/iso_111111119115_1.yml +75 -0
- data/spec/vcr_cassetes/iso_19115_1.yml +1422 -1281
- data/spec/vcr_cassetes/iso_19115_1_2.yml +19 -19
- data/spec/vcr_cassetes/iso_19115_1_std.yml +1442 -1279
- data/spec/vcr_cassetes/iso_19115_all_parts.yml +8 -8
- data/spec/vcr_cassetes/iso_19133_2005.yml +7 -7
- data/spec/vcr_cassetes/iso_combined_applied.yml +16 -16
- data/spec/vcr_cassetes/iso_combined_included.yml +15 -15
- data/spec/vcr_cassetes/iso_dis.yml +7 -7
- data/spec/vcr_cassetes/ogc_19_025r1.yml +17 -17
- data/spec/vcr_cassetes/omg_ami4ccm_1_0.yml +996 -961
- data/spec/vcr_cassetes/rfc_8341.yml +25 -23
- metadata +57 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0ddaf211c05222758cc04c4183f57c326c45d3a3edb2ae24e1abb6c394db5f
|
4
|
+
data.tar.gz: 9757e439532532367945ce41b14f5b7941f8e141615c5a8f690422d9f8b77654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ad04fc9310b0d477df6243411f9aa2e5740a47e231eec23d45270d60aecf5633e600fd629d2e315b7b284bc7a3304c0df7370a7418c64181b7ac46565b65c5a
|
7
|
+
data.tar.gz: 2bd8e7681cb05369277bfc3f84f9741d75fe79a44d311863e2b563010bb94b14c8414903e0941ced1b67448032a5a3d94172c1773f605f58b80b27be421b6d9a
|
data/lib/relaton/config.rb
CHANGED
@@ -1,18 +1,25 @@
|
|
1
1
|
module Relaton
|
2
2
|
module Config
|
3
|
-
|
3
|
+
def configure
|
4
|
+
yield configuration if block_given?
|
5
|
+
end
|
6
|
+
|
7
|
+
def configuration
|
8
|
+
@configuration ||= self::Configuration.new
|
9
|
+
end
|
4
10
|
end
|
5
11
|
extend Config
|
6
12
|
|
7
|
-
class Configuration < RelatonBib::Configuration
|
8
|
-
PROGNAME = "relaton".freeze
|
13
|
+
class Configuration # < RelatonBib::Configuration
|
9
14
|
|
10
15
|
attr_accessor :use_api, :api_host
|
11
16
|
|
12
17
|
def initialize
|
13
|
-
super
|
18
|
+
# super
|
14
19
|
@use_api = false
|
15
20
|
@api_host = "https://api.relaton.org"
|
16
21
|
end
|
17
22
|
end
|
23
|
+
|
24
|
+
extend Config
|
18
25
|
end
|
data/lib/relaton/db.rb
CHANGED
@@ -112,7 +112,7 @@ module Relaton
|
|
112
112
|
rescue RelatonBib::RequestError => e
|
113
113
|
args[3].call e
|
114
114
|
rescue StandardError => e
|
115
|
-
Util.error "
|
115
|
+
Util.error "`#{args[0]}` -- #{e.message}"
|
116
116
|
args[3].call nil
|
117
117
|
end
|
118
118
|
@queues[stdclass] = { queue: SizedQueue.new(threads * 2), workers_pool: wp }
|
@@ -435,8 +435,8 @@ module Relaton
|
|
435
435
|
return fetch_entry(code, year, opts, stdclass, **args) if !entry || opts[:no_cache]
|
436
436
|
|
437
437
|
if entry&.match?(/^not_found/)
|
438
|
-
Util.
|
439
|
-
"ignore cache please use `no-cache` option."
|
438
|
+
Util.info "not found in cache, if you wish to " \
|
439
|
+
"ignore cache please use `no-cache` option.", key: code
|
440
440
|
return
|
441
441
|
end
|
442
442
|
entry
|
@@ -522,7 +522,7 @@ module Relaton
|
|
522
522
|
next if db.check_version?(fdir)
|
523
523
|
|
524
524
|
FileUtils.rm_rf(fdir, secure: true)
|
525
|
-
Util.
|
525
|
+
Util.info "cache #{fdir}: version is obsolete and cache is cleared."
|
526
526
|
end
|
527
527
|
db
|
528
528
|
end
|
data/lib/relaton/db_cache.rb
CHANGED
@@ -20,7 +20,7 @@ module Relaton
|
|
20
20
|
return unless new_dir && @ext == "xml"
|
21
21
|
|
22
22
|
if File.exist? new_dir
|
23
|
-
Util.
|
23
|
+
Util.info "target directory exists `#{new_dir}`"
|
24
24
|
return
|
25
25
|
end
|
26
26
|
|
@@ -216,6 +216,7 @@ module Relaton
|
|
216
216
|
File.open file, File::RDWR | File::CREAT, encoding: "UTF-8" do |f|
|
217
217
|
Timeout.timeout(10) { f.flock File::LOCK_EX }
|
218
218
|
f.write content
|
219
|
+
f.flock File::LOCK_UN
|
219
220
|
end
|
220
221
|
end
|
221
222
|
end
|
data/lib/relaton/registry.rb
CHANGED
@@ -30,9 +30,7 @@ module Relaton
|
|
30
30
|
require "#{b}/processor"
|
31
31
|
register Kernel.const_get "#{camel_case(b)}::Processor"
|
32
32
|
rescue LoadError => e
|
33
|
-
Util.error
|
34
|
-
Util.error("Error: #{e.message}")
|
35
|
-
Util.error("Error: #{e.backtrace.join "\n"}")
|
33
|
+
Util.error "backend #{b} not present\n#{e.message}\n#{e.backtrace.join "\n"}"
|
36
34
|
end
|
37
35
|
end
|
38
36
|
|
@@ -97,11 +95,12 @@ module Relaton
|
|
97
95
|
# @return [Symbol, nil] standard class name
|
98
96
|
#
|
99
97
|
def class_by_ref(ref)
|
98
|
+
ref = ref.match(/^\w+\((.*)\)$/) ? Regexp.last_match(1) : ref
|
100
99
|
@processors.each do |class_name, processor|
|
101
|
-
return class_name if /^(urn:)?#{processor.prefix}
|
100
|
+
return class_name if /^(urn:)?#{processor.prefix}\b/i.match?(ref) ||
|
102
101
|
processor.defaultprefix.match(ref)
|
103
102
|
end
|
104
|
-
Util.
|
103
|
+
Util.info "`#{ref}` does not have a recognised prefix", key: ref
|
105
104
|
nil
|
106
105
|
end
|
107
106
|
|
data/lib/relaton/util.rb
CHANGED
data/lib/relaton/version.rb
CHANGED
data/relaton.gemspec
CHANGED
@@ -29,31 +29,31 @@ Gem::Specification.new do |spec|
|
|
29
29
|
# spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
30
30
|
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
31
31
|
|
32
|
-
spec.add_dependency "relaton-3gpp", "~> 1.
|
33
|
-
spec.add_dependency "relaton-bipm", "~> 1.
|
34
|
-
spec.add_dependency "relaton-bsi", "~> 1.
|
35
|
-
spec.add_dependency "relaton-calconnect", "~> 1.
|
36
|
-
spec.add_dependency "relaton-ccsds", "~> 1.
|
37
|
-
spec.add_dependency "relaton-cen", "~> 1.
|
38
|
-
spec.add_dependency "relaton-cie", "~> 1.
|
39
|
-
spec.add_dependency "relaton-doi", "~> 1.
|
40
|
-
spec.add_dependency "relaton-ecma", "~> 1.
|
41
|
-
spec.add_dependency "relaton-etsi", "~> 1.
|
42
|
-
spec.add_dependency "relaton-gb", "~> 1.
|
43
|
-
spec.add_dependency "relaton-iana", "~> 1.
|
44
|
-
spec.add_dependency "relaton-iec", "~> 1.
|
45
|
-
spec.add_dependency "relaton-ieee", "~> 1.
|
46
|
-
spec.add_dependency "relaton-ietf", "~> 1.
|
47
|
-
spec.add_dependency "relaton-iho", "~> 1.
|
48
|
-
spec.add_dependency "relaton-isbn", "~> 1.
|
49
|
-
spec.add_dependency "relaton-iso", "~> 1.
|
50
|
-
spec.add_dependency "relaton-itu", "~> 1.
|
51
|
-
spec.add_dependency "relaton-jis", "~> 1.
|
52
|
-
spec.add_dependency "relaton-nist", "~> 1.
|
53
|
-
spec.add_dependency "relaton-oasis", "~> 1.
|
54
|
-
spec.add_dependency "relaton-ogc", "~> 1.
|
55
|
-
spec.add_dependency "relaton-omg", "~> 1.
|
56
|
-
spec.add_dependency "relaton-un", "~> 1.
|
57
|
-
spec.add_dependency "relaton-w3c", "~> 1.
|
58
|
-
spec.add_dependency "relaton-xsf", "~> 1.
|
32
|
+
spec.add_dependency "relaton-3gpp", "~> 1.19.0"
|
33
|
+
spec.add_dependency "relaton-bipm", "~> 1.19.0"
|
34
|
+
spec.add_dependency "relaton-bsi", "~> 1.19.1"
|
35
|
+
spec.add_dependency "relaton-calconnect", "~> 1.19.0"
|
36
|
+
spec.add_dependency "relaton-ccsds", "~> 1.19.0"
|
37
|
+
spec.add_dependency "relaton-cen", "~> 1.19.0"
|
38
|
+
spec.add_dependency "relaton-cie", "~> 1.19.0"
|
39
|
+
spec.add_dependency "relaton-doi", "~> 1.19.0"
|
40
|
+
spec.add_dependency "relaton-ecma", "~> 1.19.0"
|
41
|
+
spec.add_dependency "relaton-etsi", "~> 1.19.0"
|
42
|
+
spec.add_dependency "relaton-gb", "~> 1.19.0"
|
43
|
+
spec.add_dependency "relaton-iana", "~> 1.19.0"
|
44
|
+
spec.add_dependency "relaton-iec", "~> 1.19.0"
|
45
|
+
spec.add_dependency "relaton-ieee", "~> 1.19.0"
|
46
|
+
spec.add_dependency "relaton-ietf", "~> 1.19.0"
|
47
|
+
spec.add_dependency "relaton-iho", "~> 1.19.0"
|
48
|
+
spec.add_dependency "relaton-isbn", "~> 1.19.0"
|
49
|
+
spec.add_dependency "relaton-iso", "~> 1.19.0"
|
50
|
+
spec.add_dependency "relaton-itu", "~> 1.19.0"
|
51
|
+
spec.add_dependency "relaton-jis", "~> 1.19.0"
|
52
|
+
spec.add_dependency "relaton-nist", "~> 1.19.0"
|
53
|
+
spec.add_dependency "relaton-oasis", "~> 1.19.0"
|
54
|
+
spec.add_dependency "relaton-ogc", "~> 1.19.0"
|
55
|
+
spec.add_dependency "relaton-omg", "~> 1.19.0"
|
56
|
+
spec.add_dependency "relaton-un", "~> 1.19.0"
|
57
|
+
spec.add_dependency "relaton-w3c", "~> 1.19.0"
|
58
|
+
spec.add_dependency "relaton-xsf", "~> 1.19.0"
|
59
59
|
end
|
data/spec/relaton/config_spec.rb
CHANGED
@@ -3,8 +3,8 @@ describe Relaton do
|
|
3
3
|
|
4
4
|
it "configure" do
|
5
5
|
described_class.configure do |conf|
|
6
|
-
conf.
|
6
|
+
conf.use_api = true
|
7
7
|
end
|
8
|
-
expect(described_class.configuration.
|
8
|
+
expect(described_class.configuration.use_api).to be true
|
9
9
|
end
|
10
10
|
end
|
data/spec/relaton/db_spec.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
RSpec.describe Relaton::Db do
|
2
|
-
before(:each) do
|
3
|
-
Relaton.instance_variable_set :@configuration, nil
|
2
|
+
before(:each) do |example|
|
3
|
+
# Relaton.instance_variable_set :@configuration, nil
|
4
4
|
FileUtils.rm_rf %w[testcache testcache2]
|
5
|
+
|
6
|
+
if example.metadata[:vcr]
|
7
|
+
# Force to download index file
|
8
|
+
require "relaton/index"
|
9
|
+
allow_any_instance_of(Relaton::Index::Type).to receive(:actual?).and_return(false)
|
10
|
+
allow_any_instance_of(Relaton::Index::FileIO).to receive(:check_file).and_return(nil)
|
11
|
+
end
|
5
12
|
end
|
6
13
|
|
7
14
|
subject { Relaton::Db.new nil, nil }
|
@@ -28,8 +35,8 @@ RSpec.describe Relaton::Db do
|
|
28
35
|
expect(subject).to_not receive(:fetch_entry)
|
29
36
|
entry = subject.send :new_bib_entry, "ISO 123", nil, {}, :relaton_iso, db: db, id: "ISO(ISO 123)"
|
30
37
|
expect(entry).to be_nil
|
31
|
-
end.to output("[relaton] (ISO 123) not found in cache, if you wish " \
|
32
|
-
"to ignore cache please use `no-cache` option.\n").
|
38
|
+
end.to output("[relaton] INFO: (ISO 123) not found in cache, if you wish " \
|
39
|
+
"to ignore cache please use `no-cache` option.\n").to_stderr_from_any_process
|
33
40
|
end
|
34
41
|
|
35
42
|
it "ignore cache" do
|
@@ -125,9 +132,10 @@ RSpec.describe Relaton::Db do
|
|
125
132
|
|
126
133
|
it "warn if moving in existed dir" do
|
127
134
|
expect(File).to receive(:exist?).with("new_cache_dir").and_return true
|
135
|
+
allow(File).to receive(:exist?).and_call_original
|
128
136
|
expect do
|
129
137
|
expect(db.mv("new_cache_dir")).to be_nil
|
130
|
-
end.to output(/\[relaton\]
|
138
|
+
end.to output(/\[relaton\] INFO: target directory exists/).to_stderr_from_any_process
|
131
139
|
end
|
132
140
|
|
133
141
|
it "clear" do
|
@@ -221,12 +229,10 @@ RSpec.describe Relaton::Db do
|
|
221
229
|
expect(bib).to be_instance_of RelatonIsoBib::IsoBibliographicItem
|
222
230
|
end
|
223
231
|
|
224
|
-
it "when no local db" do
|
232
|
+
it "when no local db", vcr: "iso_19115_1" do
|
225
233
|
db = Relaton::Db.new "testcache", nil
|
226
|
-
|
227
|
-
|
228
|
-
expect(bib).to be_instance_of RelatonIsoBib::IsoBibliographicItem
|
229
|
-
end
|
234
|
+
bib = db.fetch("ISO 19115-1", nil, {})
|
235
|
+
expect(bib).to be_instance_of RelatonIsoBib::IsoBibliographicItem
|
230
236
|
end
|
231
237
|
|
232
238
|
it "document with net retries" do
|
@@ -241,12 +247,10 @@ RSpec.describe Relaton::Db do
|
|
241
247
|
end
|
242
248
|
end
|
243
249
|
|
244
|
-
it "fetch std" do
|
250
|
+
it "fetch std", vcr: "iso_19115_1_std" do
|
245
251
|
db = Relaton::Db.new "testcache", nil
|
246
|
-
|
247
|
-
|
248
|
-
expect(bib).to be_instance_of RelatonIsoBib::IsoBibliographicItem
|
249
|
-
end
|
252
|
+
bib = db.fetch_std("ISO 19115-1", nil, :relaton_iso, {})
|
253
|
+
expect(bib).to be_instance_of RelatonIsoBib::IsoBibliographicItem
|
250
254
|
end
|
251
255
|
|
252
256
|
context "async fetch" do
|
@@ -281,12 +285,10 @@ RSpec.describe Relaton::Db do
|
|
281
285
|
end
|
282
286
|
end
|
283
287
|
|
284
|
-
it "prefix not found" do
|
288
|
+
it "prefix not found", vcr: "rfc_unsuccess" do
|
285
289
|
result = ""
|
286
|
-
|
287
|
-
|
288
|
-
Timeout.timeout(5) { result = queue.pop }
|
289
|
-
end
|
290
|
+
subject.fetch_async("ABC 123456") { |r| queue << r }
|
291
|
+
Timeout.timeout(5) { result = queue.pop }
|
290
292
|
expect(result).to be_nil
|
291
293
|
end
|
292
294
|
|
@@ -299,7 +301,7 @@ RSpec.describe Relaton::Db do
|
|
299
301
|
|
300
302
|
it "handle other errors" do
|
301
303
|
expect(subject).to receive(:fetch).and_raise Errno::EACCES
|
302
|
-
log_io = Relaton.
|
304
|
+
log_io = Relaton.logger_pool[:default].instance_variable_get(:@logdev)
|
303
305
|
expect(log_io).to receive(:write).with("[relaton] ERROR: `ISO REF` -- Permission denied\n")
|
304
306
|
subject.fetch_async("ISO REF") { |r| queue << r }
|
305
307
|
result = Timeout.timeout(5) { queue.pop }
|
@@ -4,8 +4,8 @@ RSpec.describe Relaton::Registry do
|
|
4
4
|
it "outputs backend not present" do
|
5
5
|
stub_const "Relaton::Registry::SUPPORTED_GEMS", ["not_supported_gem"]
|
6
6
|
expect { Relaton::Registry.clone.instance }.to output(
|
7
|
-
|
8
|
-
).
|
7
|
+
/\[relaton\] ERROR: backend not_supported_gem not present/,
|
8
|
+
).to_stderr_from_any_process
|
9
9
|
end
|
10
10
|
|
11
11
|
it "finds ISO processor" do
|
data/spec/relaton/util_spec.rb
CHANGED
data/spec/relaton_spec.rb
CHANGED
@@ -7,8 +7,8 @@ RSpec.describe Relaton::Db do
|
|
7
7
|
|
8
8
|
it "rejects an illegal reference prefix" do
|
9
9
|
expect { @db.fetch("XYZ XYZ", nil, {}) }.to output(
|
10
|
-
|
11
|
-
).
|
10
|
+
/\[relaton\] INFO: \(XYZ XYZ\) `XYZ XYZ` does not have a recognised prefix/,
|
11
|
+
).to_stderr_from_any_process
|
12
12
|
end
|
13
13
|
|
14
14
|
context "gets an ISO reference" do
|
@@ -39,21 +39,21 @@ http_interactions:
|
|
39
39
|
X-Xss-Protection:
|
40
40
|
- 1; mode=block
|
41
41
|
X-Github-Request-Id:
|
42
|
-
-
|
42
|
+
- CD58:195DC9:1851007:1B12828:66834B38
|
43
43
|
Accept-Ranges:
|
44
44
|
- bytes
|
45
45
|
Date:
|
46
|
-
-
|
46
|
+
- Tue, 02 Jul 2024 00:35:04 GMT
|
47
47
|
Via:
|
48
48
|
- 1.1 varnish
|
49
49
|
X-Served-By:
|
50
|
-
- cache-
|
50
|
+
- cache-iad-kjyo7100070-IAD
|
51
51
|
X-Cache:
|
52
52
|
- MISS
|
53
53
|
X-Cache-Hits:
|
54
54
|
- '0'
|
55
55
|
X-Timer:
|
56
|
-
-
|
56
|
+
- S1719880505.804958,VS0,VE136
|
57
57
|
Vary:
|
58
58
|
- Authorization,Accept-Encoding,Origin
|
59
59
|
Access-Control-Allow-Origin:
|
@@ -61,13 +61,13 @@ http_interactions:
|
|
61
61
|
Cross-Origin-Resource-Policy:
|
62
62
|
- cross-origin
|
63
63
|
X-Fastly-Request-Id:
|
64
|
-
-
|
64
|
+
- c3e33f9bb7486a02cf37ff38c06f235a56d5a37e
|
65
65
|
Expires:
|
66
|
-
-
|
66
|
+
- Tue, 02 Jul 2024 00:40:04 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
70
|
-
encoding:
|
70
|
+
encoding: ASCII-8BIT
|
71
71
|
base64_string: |
|
72
72
|
UEsDBBQAAAAIADpyb1dm2jZFNLUHABZeUAANABwAaW5kZXgtdjEueWFtbFVU
|
73
73
|
CQADENNUZX3TVGV1eAsAAQTpAwAABH8AAACM/cGuLTuOJArO31fkD0TeLblc
|
@@ -11299,7 +11299,7 @@ http_interactions:
|
|
11299
11299
|
HgMUAAAACAA6cm9XZto2RTS1BwAWXlAADQAYAAAAAAABAAAApIEAAAAAaW5k
|
11300
11300
|
ZXgtdjEueWFtbFVUBQADENNUZXV4CwABBOkDAAAEfwAAAFBLBQYAAAAAAQAB
|
11301
11301
|
AFMAAAB7tQcAAAA=
|
11302
|
-
recorded_at:
|
11302
|
+
recorded_at: Tue, 02 Jul 2024 00:35:04 GMT
|
11303
11303
|
- request:
|
11304
11304
|
method: get
|
11305
11305
|
uri: https://raw.githubusercontent.com/relaton/relaton-data-3gpp/main/data/TR_00.01U_UMTS_3.0.0.yaml
|
@@ -11341,21 +11341,21 @@ http_interactions:
|
|
11341
11341
|
X-Xss-Protection:
|
11342
11342
|
- 1; mode=block
|
11343
11343
|
X-Github-Request-Id:
|
11344
|
-
-
|
11344
|
+
- 5F40:377495:18D9156:1B9A557:66834B3B
|
11345
11345
|
Accept-Ranges:
|
11346
11346
|
- bytes
|
11347
11347
|
Date:
|
11348
|
-
-
|
11348
|
+
- Tue, 02 Jul 2024 00:35:08 GMT
|
11349
11349
|
Via:
|
11350
11350
|
- 1.1 varnish
|
11351
11351
|
X-Served-By:
|
11352
|
-
- cache-
|
11352
|
+
- cache-iad-kjyo7100141-IAD
|
11353
11353
|
X-Cache:
|
11354
11354
|
- MISS
|
11355
11355
|
X-Cache-Hits:
|
11356
11356
|
- '0'
|
11357
11357
|
X-Timer:
|
11358
|
-
-
|
11358
|
+
- S1719880508.930735,VS0,VE109
|
11359
11359
|
Vary:
|
11360
11360
|
- Authorization,Accept-Encoding,Origin
|
11361
11361
|
Access-Control-Allow-Origin:
|
@@ -11363,9 +11363,9 @@ http_interactions:
|
|
11363
11363
|
Cross-Origin-Resource-Policy:
|
11364
11364
|
- cross-origin
|
11365
11365
|
X-Fastly-Request-Id:
|
11366
|
-
-
|
11366
|
+
- 6537aa1a8f67104b532c279c1423debc8cffa949
|
11367
11367
|
Expires:
|
11368
|
-
-
|
11368
|
+
- Tue, 02 Jul 2024 00:40:08 GMT
|
11369
11369
|
Source-Age:
|
11370
11370
|
- '0'
|
11371
11371
|
body:
|
@@ -11406,5 +11406,5 @@ http_interactions:
|
|
11406
11406
|
bWVldGluZzogU01HLTI4CiAgZnJlZXplX3N0YWdlMl9tZWV0aW5nOiBTTUct
|
11407
11407
|
MjgKICBmcmVlemVfc3RhZ2UzX21lZXRpbmc6IFNNRy0yOAogIGNsb3NlX21l
|
11408
11408
|
ZXRpbmc6IFNQLTI4CiAgcHJvamVjdF9lbmQ6ICcxOTk5LTAyLTEyJwo=
|
11409
|
-
recorded_at:
|
11409
|
+
recorded_at: Tue, 02 Jul 2024 00:35:07 GMT
|
11410
11410
|
recorded_with: VCR 6.2.0
|
@@ -27,19 +27,19 @@ http_interactions:
|
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Tue, 02 Jul 2024 00:36:16 GMT
|
31
31
|
X-Amzn-Requestid:
|
32
|
-
-
|
32
|
+
- 2dce17dd-ff9f-48ee-9be2-ac488142e6f1
|
33
33
|
Access-Control-Allow-Origin:
|
34
34
|
- "*"
|
35
35
|
Access-Control-Allow-Headers:
|
36
36
|
- Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token
|
37
37
|
X-Amz-Apigw-Id:
|
38
|
-
-
|
38
|
+
- aQi5fGInIAMEHMw=
|
39
39
|
Access-Control-Allow-Methods:
|
40
40
|
- GET, POST, OPTIONS
|
41
41
|
X-Amzn-Trace-Id:
|
42
|
-
- Root=1-
|
42
|
+
- Root=1-66834b6f-7aaa82fa7d574fb150fe1376;Parent=30669936625fb50e;Sampled=0;lineage=521d48d5:0
|
43
43
|
X-Cache:
|
44
44
|
- Miss from cloudfront
|
45
45
|
Via:
|
@@ -47,9 +47,9 @@ http_interactions:
|
|
47
47
|
X-Amz-Cf-Pop:
|
48
48
|
- ATL59-P4
|
49
49
|
X-Amz-Cf-Id:
|
50
|
-
-
|
50
|
+
- arBU4oeje543ao4nrU2rNuOZfRzJjsWt7XL1GxEZC2E5LVgUk8Kpvg==
|
51
51
|
body:
|
52
|
-
encoding:
|
52
|
+
encoding: ASCII-8BIT
|
53
53
|
base64_string: |
|
54
54
|
PGJpYmRhdGEgdHlwZT0ic3RhbmRhcmQiPgogIDxmZXRjaGVkPjIwMjEtMDct
|
55
55
|
MTE8L2ZldGNoZWQ+CiAgPHRpdGxlIHR5cGU9InRpdGxlLWludHJvIiBmb3Jt
|
@@ -117,5 +117,5 @@ http_interactions:
|
|
117
117
|
dHJ1Y3R1cmVkaWRlbnRpZmllciB0eXBlPSJJU08iPgogICAgICA8cHJvamVj
|
118
118
|
dC1udW1iZXI+SVNPIDE5MTE1PC9wcm9qZWN0LW51bWJlcj4KICAgIDwvc3Ry
|
119
119
|
dWN0dXJlZGlkZW50aWZpZXI+CiAgPC9leHQ+CjwvYmliZGF0YT4=
|
120
|
-
recorded_at:
|
120
|
+
recorded_at: Tue, 02 Jul 2024 00:36:16 GMT
|
121
121
|
recorded_with: VCR 6.2.0
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- text/plain; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"2eafd0f5698a3a201c6cf813f4391f9d16291aa97a68f5482495da8ae30e5465"
|
35
35
|
Strict-Transport-Security:
|
36
36
|
- max-age=31536000
|
37
37
|
X-Content-Type-Options:
|
@@ -41,21 +41,21 @@ http_interactions:
|
|
41
41
|
X-Xss-Protection:
|
42
42
|
- 1; mode=block
|
43
43
|
X-Github-Request-Id:
|
44
|
-
-
|
44
|
+
- BAA2:82723:18F14B0:1BB2C8D:66834B2F
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Tue, 02 Jul 2024 00:36:22 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-iad-kjyo7100027-IAD
|
53
53
|
X-Cache:
|
54
54
|
- HIT
|
55
55
|
X-Cache-Hits:
|
56
56
|
- '0'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1719880582.209660,VS0,VE1
|
59
59
|
Vary:
|
60
60
|
- Authorization,Accept-Encoding,Origin
|
61
61
|
Access-Control-Allow-Origin:
|
@@ -63,11 +63,11 @@ http_interactions:
|
|
63
63
|
Cross-Origin-Resource-Policy:
|
64
64
|
- cross-origin
|
65
65
|
X-Fastly-Request-Id:
|
66
|
-
-
|
66
|
+
- 5afe6203994afe24522caa94c151e23564ccf44e
|
67
67
|
Expires:
|
68
|
-
-
|
68
|
+
- Tue, 02 Jul 2024 00:41:22 GMT
|
69
69
|
Source-Age:
|
70
|
-
- '
|
70
|
+
- '86'
|
71
71
|
body:
|
72
72
|
encoding: ASCII-8BIT
|
73
73
|
base64_string: |
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
ZDogSVNPIDE5MTE1LTI6MjAxOQogIHR5cGU6IElTTwogIHByaW1hcnk6IHRy
|
106
106
|
dWUKLSBpZDogSVNPIDE5MTE1LTI6MjAxOShFKQogIHR5cGU6IGlzby1yZWZl
|
107
107
|
cmVuY2UKLSBpZDogdXJuOmlzbzpzdGQ6aXNvOjE5MTE1Oi0yOnN0YWdlLTkw
|
108
|
-
|
108
|
+
LjkzCiAgdHlwZTogVVJOCmRvY251bWJlcjogJzE5MTE1JwpkYXRlOgotIHR5
|
109
109
|
cGU6IHB1Ymxpc2hlZAogIHZhbHVlOiAyMDE5LTAxCmNvbnRyaWJ1dG9yOgot
|
110
110
|
IG9yZ2FuaXphdGlvbjoKICAgIG5hbWU6CiAgICAtIGNvbnRlbnQ6IEludGVy
|
111
111
|
bmF0aW9uYWwgT3JnYW5pemF0aW9uIGZvciBTdGFuZGFyZGl6YXRpb24KICAg
|
@@ -113,7 +113,7 @@ http_interactions:
|
|
113
113
|
dy5pc28ub3JnCiAgcm9sZToKICAtIHR5cGU6IHB1Ymxpc2hlcgplZGl0aW9u
|
114
114
|
OgogIGNvbnRlbnQ6ICcyJwpyZXZkYXRlOiAyMDE5LTAxCmxhbmd1YWdlOgot
|
115
115
|
IGVuCi0gZnIKc2NyaXB0OgotIExhdG4KZG9jc3RhdHVzOgogIHN0YWdlOgog
|
116
|
-
|
116
|
+
ICAgdmFsdWU6ICc5MCcKICBzdWJzdGFnZToKICAgIHZhbHVlOiAnOTMnCmNv
|
117
117
|
cHlyaWdodDoKLSBvd25lcjoKICAtIG5hbWU6CiAgICAtIGNvbnRlbnQ6IElT
|
118
118
|
TwogIGZyb206ICcyMDE5JwpyZWxhdGlvbjoKLSB0eXBlOiBvYnNvbGV0ZXMK
|
119
119
|
ICBiaWJpdGVtOgogICAgaWQ6IElTTzE5MTE1LTItMjAwOQogICAgdHlwZTog
|
@@ -125,7 +125,7 @@ http_interactions:
|
|
125
125
|
cGU6IHN0YW5kYXJkCiAgICBkb2NpZDoKICAgIC0gaWQ6IElTTyAxOTExNS0y
|
126
126
|
OjIwMTkvQW1kIDE6MjAyMgogICAgICB0eXBlOiBJU08KICAgICAgcHJpbWFy
|
127
127
|
eTogdHJ1ZQogICAgZGF0ZToKICAgIC0gdHlwZTogY2lyY3VsYXRlZAogICAg
|
128
|
-
|
128
|
+
ICB2YWx1ZTogJzIwMjQtMDYtMTEnCiAgICBmb3JtYXR0ZWRyZWY6CiAgICAg
|
129
129
|
IGNvbnRlbnQ6IElTTyAxOTExNS0yOjIwMTkvQW1kIDE6MjAyMgogICAgICBm
|
130
130
|
b3JtYXQ6IHRleHQvcGxhaW4KcGxhY2U6Ci0gR2VuZXZhCmRvY3R5cGU6CiAg
|
131
131
|
dHlwZTogaW50ZXJuYXRpb25hbC1zdGFuZGFyZAplZGl0b3JpYWxncm91cDoK
|
@@ -136,5 +136,5 @@ http_interactions:
|
|
136
136
|
c3RydWN0dXJlZGlkZW50aWZpZXI6CiAgcHJvamVjdF9udW1iZXI6IElTTyAx
|
137
137
|
OTExNQogIHBhcnQ6ICcyJwogIHR5cGU6IElTTwpleHQ6CiAgc2NoZW1hLXZl
|
138
138
|
cnNpb246IHYxLjAuMAo=
|
139
|
-
recorded_at:
|
139
|
+
recorded_at: Tue, 02 Jul 2024 00:36:22 GMT
|
140
140
|
recorded_with: VCR 6.2.0
|
@@ -39,21 +39,21 @@ http_interactions:
|
|
39
39
|
X-Xss-Protection:
|
40
40
|
- 1; mode=block
|
41
41
|
X-Github-Request-Id:
|
42
|
-
-
|
42
|
+
- BA06:1725:70117A:7B1952:66834B31
|
43
43
|
Accept-Ranges:
|
44
44
|
- bytes
|
45
45
|
Date:
|
46
|
-
-
|
46
|
+
- Tue, 02 Jul 2024 00:34:57 GMT
|
47
47
|
Via:
|
48
48
|
- 1.1 varnish
|
49
49
|
X-Served-By:
|
50
|
-
- cache-
|
50
|
+
- cache-iad-kjyo7100078-IAD
|
51
51
|
X-Cache:
|
52
52
|
- MISS
|
53
53
|
X-Cache-Hits:
|
54
54
|
- '0'
|
55
55
|
X-Timer:
|
56
|
-
-
|
56
|
+
- S1719880498.602611,VS0,VE94
|
57
57
|
Vary:
|
58
58
|
- Authorization,Accept-Encoding,Origin
|
59
59
|
Access-Control-Allow-Origin:
|
@@ -61,13 +61,13 @@ http_interactions:
|
|
61
61
|
Cross-Origin-Resource-Policy:
|
62
62
|
- cross-origin
|
63
63
|
X-Fastly-Request-Id:
|
64
|
-
-
|
64
|
+
- 2e2b9b644fb2caa31651d8966fa269cce6a0eae1
|
65
65
|
Expires:
|
66
|
-
-
|
66
|
+
- Tue, 02 Jul 2024 00:39:57 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
70
|
-
encoding:
|
70
|
+
encoding: ASCII-8BIT
|
71
71
|
base64_string: |
|
72
72
|
UEsDBBQAAAAIAPtwJ1hKI92FugUAALwsAAANABwAaW5kZXgtdjEueWFtbFVU
|
73
73
|
CQADOrCaZTqwmmV1eAsAAQTpAwAABH8AAACF2M+KHDcQBvC7n2JeYOMu/W3t
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
v0P93/v7P1BLAQIeAxQAAAAIAPtwJ1hKI92FugUAALwsAAANABgAAAAAAAEA
|
107
107
|
AACkgQAAAABpbmRleC12MS55YW1sVVQFAAM6sJpldXgLAAEE6QMAAAR/AAAA
|
108
108
|
UEsFBgAAAAABAAEAUwAAAAEGAAAAAA==
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Tue, 02 Jul 2024 00:34:57 GMT
|
110
110
|
- request:
|
111
111
|
method: get
|
112
112
|
uri: https://raw.githubusercontent.com/relaton/relaton-data-calconnect/main/data/CC_DIR_10005_2019.yaml
|
@@ -146,21 +146,21 @@ http_interactions:
|
|
146
146
|
X-Xss-Protection:
|
147
147
|
- 1; mode=block
|
148
148
|
X-Github-Request-Id:
|
149
|
-
-
|
149
|
+
- 5436:14BE99:173F563:1A009FB:66834B31
|
150
150
|
Accept-Ranges:
|
151
151
|
- bytes
|
152
152
|
Date:
|
153
|
-
-
|
153
|
+
- Tue, 02 Jul 2024 00:34:57 GMT
|
154
154
|
Via:
|
155
155
|
- 1.1 varnish
|
156
156
|
X-Served-By:
|
157
|
-
- cache-
|
157
|
+
- cache-iad-kjyo7100179-IAD
|
158
158
|
X-Cache:
|
159
159
|
- MISS
|
160
160
|
X-Cache-Hits:
|
161
161
|
- '0'
|
162
162
|
X-Timer:
|
163
|
-
-
|
163
|
+
- S1719880498.777717,VS0,VE134
|
164
164
|
Vary:
|
165
165
|
- Authorization,Accept-Encoding,Origin
|
166
166
|
Access-Control-Allow-Origin:
|
@@ -168,9 +168,9 @@ http_interactions:
|
|
168
168
|
Cross-Origin-Resource-Policy:
|
169
169
|
- cross-origin
|
170
170
|
X-Fastly-Request-Id:
|
171
|
-
-
|
171
|
+
- 40fa794845e107f0b6cd3753f17f50b128481bb5
|
172
172
|
Expires:
|
173
|
-
-
|
173
|
+
- Tue, 02 Jul 2024 00:39:57 GMT
|
174
174
|
Source-Age:
|
175
175
|
- '0'
|
176
176
|
body:
|
@@ -202,5 +202,5 @@ http_interactions:
|
|
202
202
|
YW1lOgogICAgLSBjb250ZW50OiBDYWxDb25uZWN0CiAgZnJvbTogJzIwMTkn
|
203
203
|
CmRvY3R5cGU6CiAgdHlwZTogZGlyZWN0aXZlCmVkaXRvcmlhbGdyb3VwOgot
|
204
204
|
IG5hbWU6IFBVQkxJU0gKZXh0OgogIHNjaGVtYS12ZXJzaW9uOiB2MS4wLjAK
|
205
|
-
recorded_at:
|
205
|
+
recorded_at: Tue, 02 Jul 2024 00:34:57 GMT
|
206
206
|
recorded_with: VCR 6.2.0
|