uc3-dmp-provenance 0.0.12 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-provenance/finder.rb +9 -1
- data/lib/uc3-dmp-provenance/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 447ff9f477af2166e1f5cbe01bb241e6b441c300c7003d8f51e202e44ddcafb5
|
4
|
+
data.tar.gz: 0740ef24b381143e68820c1d29887b5e307b66d4ce6e316e191e0d4ca4453541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d2dc971ade242f5b93a8ad07b5766c1117f400f21d74166cdc2b7c8f1b9756a26e6f4388d0448303b63fe942b134eabe946f92244d4389d7b62cb652555c691
|
7
|
+
data.tar.gz: 25fa3320ec8645356df0435d669877165cbb9f2b04dbe017b11caa60737b983eb43a219419e35988a8e1795a036c470994f69be3d86f4b8ae8dafd63fba33f9d
|
@@ -37,7 +37,15 @@ module Uc3DmpProvenance
|
|
37
37
|
key: { PK: Helper.append_pk_prefix(provenance: client_name), SK: Helper::SK_PROVENANCE_PREFIX },
|
38
38
|
logger:
|
39
39
|
)
|
40
|
-
resp.nil? || resp.empty? ? nil
|
40
|
+
return nil if resp.nil? || resp.empty? ? nil
|
41
|
+
|
42
|
+
# Fetch the list of RORs the provenance may access
|
43
|
+
key = "/uc3/dmp/tool/provenance/#{client_name}/ror_list"
|
44
|
+
ssm_val = Uc3DmpApiCore::SsmReader.fetch_value(key:, logger:)
|
45
|
+
return resp if ssm_val.nil?
|
46
|
+
|
47
|
+
resp['ror_list'] = JSON.parse(ssm_val)
|
48
|
+
resp
|
41
49
|
end
|
42
50
|
|
43
51
|
# Fetch the Provenance by it's PK.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uc3-dmp-provenance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Riley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.5.13
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: DMPTool gem that provides support for Provenance records
|