inferno_core 0.1.2.pre → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/inferno/apps/web/controllers/test_runs/create.rb +2 -0
- data/lib/inferno/dsl/fhir_validation.rb +1 -1
- data/lib/inferno/dsl/oauth_credentials.rb +1 -1
- data/lib/inferno/dsl/runnable.rb +6 -5
- data/lib/inferno/public/72a5cd989e6aea904540824ec865a0f8.png +0 -0
- data/lib/inferno/public/assets.json +2 -2
- data/lib/inferno/public/bundle.js +15 -15
- data/lib/inferno/public/bundle.js.LICENSE.txt +1 -1
- data/lib/inferno/repositories/session_data.rb +1 -1
- data/lib/inferno/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ea56739f5e0bcda00acbadc1a8815e644bcb829aff898455e2bc02a36afced
|
4
|
+
data.tar.gz: f07990a10b82be01c47bbfab2fb749cc7032713be49fa2619fd0b0277c053aac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 439eb983754b145dbccc5971b618912e3bb8c09754115cb8d3b6ac9a6ca49d37fbdd7dcba7e55398b0311539fbd072e3213a69628c6bdff8bd95b1a3f4920929
|
7
|
+
data.tar.gz: 02c7c884c5f21b578d1f0114e86187f7e85a3267047dde1f5719b1e53cd49bdef3a41acaad3cf54db5a01721e02dc20ad52e93b2b46ff40c5aaa9f3d8bbf3f46
|
@@ -21,6 +21,8 @@ module Inferno
|
|
21
21
|
return
|
22
22
|
end
|
23
23
|
|
24
|
+
# TODO: This test run shouldn't be created until after the inputs
|
25
|
+
# and runnable are validated
|
24
26
|
test_run = repo.create(create_params(params).merge(status: 'queued'))
|
25
27
|
missing_inputs = test_run.runnable.missing_inputs(params[:inputs])
|
26
28
|
|
@@ -31,7 +31,7 @@ module Inferno
|
|
31
31
|
instance_variable_set(:"@#{name}", value)
|
32
32
|
end
|
33
33
|
|
34
|
-
self.token_retrieval_time = DateTime.now if token_retrieval_time.blank?
|
34
|
+
self.token_retrieval_time = DateTime.now if access_token.present? && token_retrieval_time.blank?
|
35
35
|
end
|
36
36
|
|
37
37
|
# @api private
|
data/lib/inferno/dsl/runnable.rb
CHANGED
@@ -456,12 +456,13 @@ module Inferno
|
|
456
456
|
|
457
457
|
# @private
|
458
458
|
def required_inputs(prior_outputs = [])
|
459
|
-
required_inputs =
|
460
|
-
|
461
|
-
|
462
|
-
|
459
|
+
required_inputs =
|
460
|
+
inputs
|
461
|
+
.reject { |input| input_definitions[input][:optional] }
|
462
|
+
.map { |input| config.input_name(input) }
|
463
|
+
.reject { |input| prior_outputs.include?(input) }
|
463
464
|
children_required_inputs = children.flat_map { |child| child.required_inputs(prior_outputs) }
|
464
|
-
prior_outputs.concat(outputs)
|
465
|
+
prior_outputs.concat(outputs.map { |output| config.output_name(output) })
|
465
466
|
(required_inputs + children_required_inputs).flatten.uniq
|
466
467
|
end
|
467
468
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"main.js": "/public/bundle.js",
|
3
|
-
"main.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png",
|
4
3
|
"217.bundle.js": "/public/217.bundle.js",
|
5
|
-
"inferno_logo.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png"
|
4
|
+
"inferno_logo.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png",
|
5
|
+
"inferno_icon.png": "/public/72a5cd989e6aea904540824ec865a0f8.png"
|
6
6
|
}
|