uc3-dmp-provenance 0.0.13 → 0.0.15
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: fa860f2d0b1f76b57832f76f59fca7a37d484ff23ebf36b18a0f0518c65eb7fd
|
4
|
+
data.tar.gz: cc0c3dea17b33199d70fb95c1106a8bd2de5a294c8fd95d548ed75192d07c3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b024d2c07783b10bae0b21ae735ac3101638582f95e2b7176bc4532e8e65c75b930ed6ba460b870d71d2f1393dae40e8f6f6985cec51503c545aa81ef2537365
|
7
|
+
data.tar.gz: 0aa8d70ad411dd1fffe781ffe24439792186e67d3a391e29b613ae05e42a065e8c238db5baa8d8ea7eea8905d7b9553eff63f2f72806c29d9565aba30c5430e2
|
@@ -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?
|
40
|
+
return nil if resp.nil? || resp.empty?
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Riley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
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
|