soar_sc_core 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/providers/auditing.rb +9 -2
- data/lib/soar_sc_core/version.rb +1 -1
- data/soar_sc_core.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f26da578a3f102ab854c896934b883ea1cdcfc39
|
4
|
+
data.tar.gz: 83ef38a3e4e197eae1d5e1cb87e0bdec534aa896
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1906f078acdbfbbcdd710b04c470c3ca61ab79efc19db7c7f0c02a82c4e6bd06d6412abef56554975565ea07e69561e0570e094f0970edc49e97c85cbcd96987
|
7
|
+
data.tar.gz: 9ce4a0fee61062fa8ae0705c3c730c8593b1ef3bea1faea185f1c32d90bd87c00bda32cccef95f10fefdfa0b683a28ddd102c7189b93eb1f76713eb7e8c05bf5
|
data/lib/providers/auditing.rb
CHANGED
@@ -56,11 +56,18 @@ module SoarSc
|
|
56
56
|
}
|
57
57
|
} unless defined? DEFAULT_AUDITING_CONFIGURATION; DEFAULT_AUDITING_CONFIGURATION.freeze
|
58
58
|
|
59
|
-
def self.bootstrap(configuration)
|
59
|
+
def self.bootstrap(configuration, with_identifier = false)
|
60
60
|
begin
|
61
61
|
merged_configuration = self.merge_configuration_with_auditing_defaults(configuration)
|
62
62
|
self.validate_auditing_provider_configuration(merged_configuration['auditing'])
|
63
|
-
|
63
|
+
if with_identifier
|
64
|
+
SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
|
65
|
+
.new(merged_configuration['auditing'],
|
66
|
+
SoarSc::environment['IDENTIFIER'])
|
67
|
+
else
|
68
|
+
SoarSc::auditing = SoarSc::Providers.const_get(merged_configuration['auditing']['provider'])
|
69
|
+
.new(merged_configuration['auditing'])
|
70
|
+
end
|
64
71
|
self.generate_instance_flow_id
|
65
72
|
SoarSc::auditing.service_identifier = SoarSc::environment['IDENTIFIER']
|
66
73
|
self.bootstrap_analytics
|
data/lib/soar_sc_core/version.rb
CHANGED
data/soar_sc_core.gemspec
CHANGED
@@ -73,5 +73,5 @@ Gem::Specification.new do |spec|
|
|
73
73
|
spec.add_development_dependency "bundler", "~> 1.12"
|
74
74
|
spec.add_development_dependency "rake", "~> 10.0"
|
75
75
|
spec.add_development_dependency "rspec", "~> 3.0"
|
76
|
-
spec.add_development_dependency "byebug", '~>
|
76
|
+
spec.add_development_dependency "byebug", '~> 10'
|
77
77
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_sc_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst Van Graan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml
|
@@ -478,14 +478,14 @@ dependencies:
|
|
478
478
|
requirements:
|
479
479
|
- - "~>"
|
480
480
|
- !ruby/object:Gem::Version
|
481
|
-
version: '
|
481
|
+
version: '10'
|
482
482
|
type: :development
|
483
483
|
prerelease: false
|
484
484
|
version_requirements: !ruby/object:Gem::Requirement
|
485
485
|
requirements:
|
486
486
|
- - "~>"
|
487
487
|
- !ruby/object:Gem::Version
|
488
|
-
version: '
|
488
|
+
version: '10'
|
489
489
|
description: Service component core aggregations for simple inclusion into service
|
490
490
|
components
|
491
491
|
email:
|