uc3-dmp-provenance 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '085e7cad87be83e14f9a1b3e2126b8bc252f50bd70e42b81b4c6a6ba8d54b2e0'
4
- data.tar.gz: 6d768084f7f5662a46d885b58dd682dc67deb723ea32eb6c0c42648af235bde1
3
+ metadata.gz: 447ff9f477af2166e1f5cbe01bb241e6b441c300c7003d8f51e202e44ddcafb5
4
+ data.tar.gz: 0740ef24b381143e68820c1d29887b5e307b66d4ce6e316e191e0d4ca4453541
5
5
  SHA512:
6
- metadata.gz: 43cd0fadd767cb64d614ca5e179cf3ef0e355f848a1e10cdb840eaaa76c4a6d6ed8d074148df24ff2f03b58f607cb88880d5e2fb7e463e932762b459626c24f2
7
- data.tar.gz: e3f59a2d7ef8483edf0bd461b656a7f2187ea1287848fa7908f4c6c33c2cbf14c3738fdef154095937231db3378628430a71e735d2ce38a03d6ee5950f91f4c9
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 : resp
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpProvenance
4
- VERSION = '0.0.13'
4
+ VERSION = '0.0.14'
5
5
  end
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.13
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: 2024-05-29 00:00:00.000000000 Z
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.4.22
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