legion-data 0.2.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rubocop-analysis.yml +28 -0
  3. data/.github/workflows/sourcehawk-scan.yml +20 -0
  4. data/.gitignore +4 -2
  5. data/.rubocop.yml +6 -14
  6. data/CHANGELOG.md +2 -9
  7. data/CODE_OF_CONDUCT.md +75 -0
  8. data/CONTRIBUTING.md +55 -0
  9. data/Gemfile +7 -1
  10. data/INDIVIDUAL_CONTRIBUTOR_LICENSE.md +30 -0
  11. data/LICENSE +201 -0
  12. data/NOTICE.txt +9 -0
  13. data/README.md +60 -23
  14. data/SECURITY.md +9 -0
  15. data/attribution.txt +1 -0
  16. data/legion-data.gemspec +22 -38
  17. data/lib/legion/data.rb +18 -21
  18. data/lib/legion/data/connection.rb +29 -26
  19. data/lib/legion/data/migration.rb +3 -3
  20. data/lib/legion/data/migrations/001_add_schema_columns.rb +1 -1
  21. data/lib/legion/data/migrations/002_add_nodes.rb +20 -0
  22. data/lib/legion/data/migrations/003_add_settings.rb +18 -0
  23. data/lib/legion/data/migrations/004_add_extensions.rb +25 -0
  24. data/lib/legion/data/migrations/005_add_runners.rb +21 -0
  25. data/lib/legion/data/migrations/006_add_functions.rb +23 -0
  26. data/lib/legion/data/migrations/007_add_default_extensions.rb +25 -0
  27. data/lib/legion/data/migrations/008_add_tasks.rb +29 -0
  28. data/lib/legion/data/model.rb +5 -2
  29. data/lib/legion/data/models/extension.rb +0 -2
  30. data/lib/legion/data/models/function.rb +2 -6
  31. data/lib/legion/data/models/node.rb +1 -3
  32. data/lib/legion/data/models/runner.rb +0 -2
  33. data/lib/legion/data/models/setting.rb +0 -0
  34. data/lib/legion/data/models/task.rb +0 -2
  35. data/lib/legion/data/models/task_log.rb +0 -0
  36. data/lib/legion/data/settings.rb +25 -19
  37. data/lib/legion/data/version.rb +1 -1
  38. data/sonar-project.properties +12 -0
  39. data/sourcehawk.yml +4 -0
  40. metadata +41 -189
  41. data/.circleci/config.yml +0 -148
  42. data/.rspec +0 -1
  43. data/Rakefile +0 -55
  44. data/bin/console +0 -14
  45. data/bin/setup +0 -8
  46. data/bitbucket-pipelines.yml +0 -26
  47. data/lib/legion/data/connections/base.rb +0 -61
  48. data/lib/legion/data/connections/jdbc.rb +0 -21
  49. data/lib/legion/data/connections/mysql.rb +0 -26
  50. data/lib/legion/data/connections/mysql2.rb +0 -11
  51. data/lib/legion/data/connections/mysql_base.rb +0 -19
  52. data/lib/legion/data/migrations/002_add_users.rb +0 -17
  53. data/lib/legion/data/migrations/003_add_groups.rb +0 -16
  54. data/lib/legion/data/migrations/004_add_chains.rb +0 -25
  55. data/lib/legion/data/migrations/005_add_envs.rb +0 -24
  56. data/lib/legion/data/migrations/006_add_dcs.rb +0 -24
  57. data/lib/legion/data/migrations/007_add_nodes.rb +0 -26
  58. data/lib/legion/data/migrations/008_add_settings.rb +0 -18
  59. data/lib/legion/data/migrations/009_add_extensions.rb +0 -25
  60. data/lib/legion/data/migrations/010_add_runners.rb +0 -21
  61. data/lib/legion/data/migrations/011_add_functions.rb +0 -29
  62. data/lib/legion/data/migrations/012_add_tasks.rb +0 -25
  63. data/lib/legion/data/migrations/013_add_task_logs.rb +0 -17
  64. data/lib/legion/data/migrations/014_add_relationships.rb +0 -27
  65. data/lib/legion/data/models/chain.rb +0 -13
  66. data/lib/legion/data/models/datacenter.rb +0 -13
  67. data/lib/legion/data/models/environment.rb +0 -13
  68. data/lib/legion/data/models/group.rb +0 -10
  69. data/lib/legion/data/models/namespace.rb +0 -14
  70. data/lib/legion/data/models/relationship.rb +0 -18
  71. data/lib/legion/data/models/user.rb +0 -10
@@ -0,0 +1,23 @@
1
+ Sequel.migration do
2
+ up do
3
+ run "CREATE TABLE `functions` (
4
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5
+ `name` varchar(128) NOT NULL,
6
+ `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
7
+ `runner_id` int(11) unsigned NOT NULL,
8
+ `args` text,
9
+ `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
10
+ `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
11
+ PRIMARY KEY (`id`),
12
+ UNIQUE KEY `runner_id` (`runner_id`,`name`),
13
+ KEY `active` (`active`),
14
+ KEY `namespace` (`runner_id`),
15
+ KEY `name` (`name`),
16
+ CONSTRAINT `function_runner_id` FOREIGN KEY (`runner_id`) REFERENCES `runners` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
17
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;"
18
+ end
19
+
20
+ down do
21
+ drop_table :functions
22
+ end
23
+ end
@@ -0,0 +1,25 @@
1
+ Sequel.migration do
2
+ up do
3
+ lex = from(:extensions).insert(namespace: 'Legion::Extensions::Lex', name: 'lex', exchange: 'lex', uri: 'lex')
4
+ [
5
+ { extension_id: lex, namespace: 'Legion::Extensions::Lex::Runners::Register', name: 'register', queue: 'register', uri: 'register' },
6
+ { extension_id: lex, namespace: 'Legion::Extensions::Lex::Runners::Function', name: 'function', queue: 'function', uri: 'function' },
7
+ { extension_id: lex, namespace: 'Legion::Extensions::Lex::Runners::Runner', name: 'runner', queue: 'runner', uri: 'runner' },
8
+ { extension_id: lex, namespace: 'Legion::Extensions::Lex::Runners::Extension', name: 'extension', queue: 'extension', uri: 'extension' }
9
+ ].each do |row|
10
+ from(:runners).insert row
11
+ end
12
+
13
+ lex = from(:extensions).insert(namespace: 'Legion::Extensions::Node', name: 'node', exchange: 'node', uri: 'node')
14
+ [
15
+ { extension_id: lex, namespace: 'Legion::Extensions::Node::Runners::Crypt', name: 'crypt', queue: 'crypt', uri: 'crypt' }
16
+ ].each do |row|
17
+ from(:runners).insert row
18
+ end
19
+ end
20
+
21
+ down do
22
+ from(:extensions).where(namespace: 'Legion::Extensions::Lex').delete
23
+ from(:extensions).where(namespace: 'Legion::Extensions::Node').delete
24
+ end
25
+ end
@@ -0,0 +1,29 @@
1
+ Sequel.migration do
2
+ up do
3
+ run "CREATE TABLE `tasks` (
4
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5
+ `relationship_id` int(11) unsigned DEFAULT NULL,
6
+ `function_id` int(11) unsigned DEFAULT NULL,
7
+ `status` varchar(255) NOT NULL,
8
+ `parent_id` int(11) unsigned DEFAULT NULL,
9
+ `master_id` int(11) unsigned DEFAULT NULL,
10
+ `function_args` text,
11
+ `results` text,
12
+ `payload` text,
13
+ `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
14
+ `updated` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
15
+ PRIMARY KEY (`id`),
16
+ KEY `status` (`status`),
17
+ KEY `parent_id` (`parent_id`),
18
+ KEY `master_id` (`master_id`),
19
+ KEY `relationship_id` (`relationship_id`),
20
+ KEY `function_id` (`function_id`),
21
+ CONSTRAINT `parent_id` FOREIGN KEY (`parent_id`) REFERENCES `tasks` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
22
+ CONSTRAINT `master_id` FOREIGN KEY (`master_id`) REFERENCES `tasks` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
23
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;"
24
+ end
25
+
26
+ down do
27
+ drop_table :tasks
28
+ end
29
+ end
@@ -3,18 +3,20 @@ module Legion
3
3
  module Models
4
4
  class << self
5
5
  attr_reader :loaded_models
6
+
6
7
  def models
7
- %w[user group extension chain relationship function task runner task_log datacenter environment node setting]
8
+ %w[extension function task runner node setting]
8
9
  end
9
10
 
10
11
  def load
11
12
  Legion::Logging.info 'Loading Legion::Data::Models'
12
13
  @loaded_models ||= []
13
14
  require_sequel_models(models)
15
+ Legion::Settings[:data][:models][:loaded] = true
14
16
  end
15
17
 
16
18
  def require_sequel_models(files = models)
17
- Dir[File.dirname(__FILE__) + 'models/*.rb'].each { |file| puts file }
19
+ # Dir["#{File.dirname(__FILE__)}models/*.rb"].each { |file| puts file }
18
20
  files.each { |file| load_sequel_model(file) }
19
21
  end
20
22
 
@@ -23,6 +25,7 @@ module Legion
23
25
  require_relative "models/#{model}"
24
26
  @loaded_models << model
25
27
  Legion::Logging.debug("Successfully loaded #{model}")
28
+ model
26
29
  rescue LoadError => e
27
30
  Legion::Logging.fatal("Failed to load #{model}")
28
31
  raise e unless Legion::Settings[:data][:models][:continue_on_fail]
@@ -5,8 +5,6 @@ module Legion
5
5
  module Model
6
6
  class Extension < Sequel::Model
7
7
  one_to_many :runners
8
- many_to_one :user_owner, class: Legion::Data::Model::User
9
- many_to_one :group_owner, class: Legion::Data::Model::Group
10
8
  end
11
9
  end
12
10
  end
@@ -1,16 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'relationship'
4
-
5
3
  module Legion
6
4
  module Data
7
5
  module Model
8
6
  class Function < Sequel::Model
9
7
  many_to_one :runner
10
- one_to_many :trigger_relationships, class: 'Legion::Data::Model::Relationship', key: :trigger_id
11
- one_to_many :action_relationships, class: 'Legion::Data::Model::Relationship', key: :action_id
12
- many_to_one :user_owner, class: Legion::Data::Model::User
13
- many_to_one :group_owner, class: Legion::Data::Model::Group
8
+ # one_to_many :trigger_relationships, class: 'Legion::Data::Model::Relationship', key: :trigger_id
9
+ # one_to_many :action_relationships, class: 'Legion::Data::Model::Relationship', key: :action_id
14
10
  end
15
11
  end
16
12
  end
@@ -4,9 +4,7 @@ module Legion
4
4
  module Data
5
5
  module Model
6
6
  class Node < Sequel::Model
7
- many_to_one :environment
8
- many_to_one :datacenter
9
- one_to_many :task_log
7
+ # one_to_many :task_log
10
8
  end
11
9
  end
12
10
  end
@@ -9,8 +9,6 @@ module Legion
9
9
  one_to_many :task
10
10
  one_to_many :functions
11
11
  many_to_one :extension
12
- many_to_one :user_owner, class: Legion::Data::Model::User
13
- many_to_one :group_owner, class: Legion::Data::Model::Group
14
12
  end
15
13
  end
16
14
  end
File without changes
@@ -10,8 +10,6 @@ module Legion
10
10
  one_to_many :children, key: :parent_id, class: self
11
11
  many_to_one :master, class: self
12
12
  one_to_many :slave, key: :master_id, class: self
13
- many_to_one :user_owner, class: Legion::Data::Model::User
14
- many_to_one :group_owner, class: Legion::Data::Model::Group
15
13
  end
16
14
  end
17
15
  end
File without changes
@@ -3,39 +3,40 @@ module Legion
3
3
  module Settings
4
4
  def self.default
5
5
  {
6
- connected: false,
7
- cache: cache,
6
+ connected: false,
7
+ cache: cache,
8
8
  connection: connection,
9
- creds: creds,
9
+ creds: creds,
10
10
  migrations: migrations,
11
- models: models
12
-
11
+ models: models,
12
+ connect_on_start: true
13
13
  }
14
14
  end
15
15
 
16
16
  def self.models
17
17
  {
18
18
  continue_on_load_fail: false,
19
- autoload: true
19
+ autoload: true
20
20
  }
21
21
  end
22
22
 
23
23
  def self.migrations
24
24
  {
25
25
  continue_on_fail: false,
26
- auto_migrate: true,
27
- ran: false,
28
- version: nil
26
+ auto_migrate: true,
27
+ ran: false,
28
+ version: nil
29
29
  }
30
30
  end
31
31
 
32
32
  def self.connection
33
33
  {
34
- log: false,
34
+ log: false,
35
35
  log_connection_info: false,
36
- log_warn_duration: 1,
37
- sql_log_level: 'debug',
38
- max_connections: 32
36
+ log_warn_duration: 1,
37
+ sql_log_level: 'debug',
38
+ max_connections: 10,
39
+ preconnect: false
39
40
  }
40
41
  end
41
42
 
@@ -43,20 +44,25 @@ module Legion
43
44
  {
44
45
  username: 'legion',
45
46
  password: 'legion',
46
- database: 'legion',
47
- host: '127.0.0.1',
48
- port: 3306,
49
- debug: false
47
+ database: 'legionio',
48
+ host: '127.0.0.1',
49
+ port: 3306
50
50
  }
51
51
  end
52
52
 
53
53
  def self.cache
54
54
  {
55
- connected: false,
55
+ connected: false,
56
56
  auto_enable: Legion::Settings[:cache][:connected],
57
- ttl: 60
57
+ ttl: 60
58
58
  }
59
59
  end
60
60
  end
61
61
  end
62
62
  end
63
+
64
+ begin
65
+ Legion::Settings.merge_settings('data', Legion::Data::Settings.default) if Legion.const_defined?('Settings')
66
+ rescue StandardError => e
67
+ Legion::Logging.fatal(e.message) if Legion::Logging.method_defined?(:fatal)
68
+ end
@@ -1,5 +1,5 @@
1
1
  module Legion
2
2
  module Data
3
- VERSION = '0.2.0'.freeze
3
+ VERSION = '1.2.0'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,12 @@
1
+ sonar.projectKey=legion-io_legion-data
2
+ sonar.organization=legion-io
3
+ sonar.projectName=Legion::Data
4
+ sonar.sources=.
5
+ sonar.exclusions=vendor/**
6
+ sonar.coverage.exclusions=spec/**
7
+ sonar.ruby.coverage.reportPath=coverage/.resultset.json
8
+ sonar.ruby.file.suffixes=rb,ruby
9
+ sonar.ruby.coverage.framework=RSpec
10
+ sonar.ruby.rubocopConfig=.rubocop.yml
11
+ sonar.ruby.rubocop.reportPath=rubocop-result.json
12
+ sonar.ruby.rubocop.filePath=.
data/sourcehawk.yml ADDED
@@ -0,0 +1,4 @@
1
+
2
+ config-locations:
3
+ - https://raw.githubusercontent.com/optum/.github/main/sourcehawk.yml
4
+
metadata CHANGED
@@ -1,155 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-27 00:00:00.000000000 Z
11
+ date: 2021-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: codecov
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec_junit_formatter
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rubocop-md
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop-performance
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rubocop-rspec
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: rubocop-sequel
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
13
  - !ruby/object:Gem::Dependency
154
14
  name: legion-logging
155
15
  requirement: !ruby/object:Gem::Requirement
@@ -206,74 +66,66 @@ dependencies:
206
66
  - - ">="
207
67
  - !ruby/object:Gem::Version
208
68
  version: '0'
209
- description: The Legion connect gem
69
+ description: A LegionIO gem to connect to a persistent data store
210
70
  email:
211
71
  - matthewdiverson@gmail.com
72
+ - ruby@optum.com
212
73
  executables: []
213
74
  extensions: []
214
- extra_rdoc_files: []
75
+ extra_rdoc_files:
76
+ - README.md
77
+ - LICENSE
78
+ - CHANGELOG.md
215
79
  files:
216
- - ".circleci/config.yml"
80
+ - ".github/workflows/rubocop-analysis.yml"
81
+ - ".github/workflows/sourcehawk-scan.yml"
217
82
  - ".gitignore"
218
- - ".rspec"
219
83
  - ".rubocop.yml"
220
84
  - CHANGELOG.md
85
+ - CODE_OF_CONDUCT.md
86
+ - CONTRIBUTING.md
221
87
  - Gemfile
88
+ - INDIVIDUAL_CONTRIBUTOR_LICENSE.md
89
+ - LICENSE
90
+ - NOTICE.txt
222
91
  - README.md
223
- - Rakefile
224
- - bin/console
225
- - bin/setup
226
- - bitbucket-pipelines.yml
92
+ - SECURITY.md
93
+ - attribution.txt
227
94
  - legion-data.gemspec
228
95
  - lib/legion/data.rb
229
96
  - lib/legion/data/connection.rb
230
- - lib/legion/data/connections/base.rb
231
- - lib/legion/data/connections/jdbc.rb
232
- - lib/legion/data/connections/mysql.rb
233
- - lib/legion/data/connections/mysql2.rb
234
- - lib/legion/data/connections/mysql_base.rb
235
97
  - lib/legion/data/migration.rb
236
98
  - lib/legion/data/migrations/001_add_schema_columns.rb
237
- - lib/legion/data/migrations/002_add_users.rb
238
- - lib/legion/data/migrations/003_add_groups.rb
239
- - lib/legion/data/migrations/004_add_chains.rb
240
- - lib/legion/data/migrations/005_add_envs.rb
241
- - lib/legion/data/migrations/006_add_dcs.rb
242
- - lib/legion/data/migrations/007_add_nodes.rb
243
- - lib/legion/data/migrations/008_add_settings.rb
244
- - lib/legion/data/migrations/009_add_extensions.rb
245
- - lib/legion/data/migrations/010_add_runners.rb
246
- - lib/legion/data/migrations/011_add_functions.rb
247
- - lib/legion/data/migrations/012_add_tasks.rb
248
- - lib/legion/data/migrations/013_add_task_logs.rb
249
- - lib/legion/data/migrations/014_add_relationships.rb
99
+ - lib/legion/data/migrations/002_add_nodes.rb
100
+ - lib/legion/data/migrations/003_add_settings.rb
101
+ - lib/legion/data/migrations/004_add_extensions.rb
102
+ - lib/legion/data/migrations/005_add_runners.rb
103
+ - lib/legion/data/migrations/006_add_functions.rb
104
+ - lib/legion/data/migrations/007_add_default_extensions.rb
105
+ - lib/legion/data/migrations/008_add_tasks.rb
250
106
  - lib/legion/data/model.rb
251
- - lib/legion/data/models/chain.rb
252
- - lib/legion/data/models/datacenter.rb
253
- - lib/legion/data/models/environment.rb
254
107
  - lib/legion/data/models/extension.rb
255
108
  - lib/legion/data/models/function.rb
256
- - lib/legion/data/models/group.rb
257
- - lib/legion/data/models/namespace.rb
258
109
  - lib/legion/data/models/node.rb
259
- - lib/legion/data/models/relationship.rb
260
110
  - lib/legion/data/models/runner.rb
261
111
  - lib/legion/data/models/setting.rb
262
112
  - lib/legion/data/models/task.rb
263
113
  - lib/legion/data/models/task_log.rb
264
- - lib/legion/data/models/user.rb
265
114
  - lib/legion/data/settings.rb
266
115
  - lib/legion/data/version.rb
267
- homepage: https://bitbucket.org/legion-io/legion-data
268
- licenses: []
116
+ - sonar-project.properties
117
+ - sourcehawk.yml
118
+ homepage: https://github.com/Optum/legion-data
119
+ licenses:
120
+ - Apache-2.0
269
121
  metadata:
270
- bug_tracker_uri: https://bitbucket.org/legion-io/legion-data/issues?status=new&status=open
271
- changelog_uri: https://bitbucket.org/legion-io/legion-data/src/CHANGELOG.md
272
- documentation_uri: https://bitbucket.org/legion-io/legion-data
273
- homepage_uri: https://bitbucket.org/legion-io/legion-data
274
- source_code_uri: https://bitbucket.org/legion-io/legion-data
275
- wiki_uri: https://bitbucket.org/legion-io/legion-data/wiki/Home
276
- post_install_message:
122
+ bug_tracker_uri: https://github.com/Optum/legion-data/issues
123
+ changelog_uri: https://github.com/Optum/legion-data/src/main/CHANGELOG.md
124
+ documentation_uri: https://github.com/Optum/legion-data
125
+ homepage_uri: https://github.com/Optum/LegionIO
126
+ source_code_uri: https://github.com/Optum/legion-data
127
+ wiki_uri: https://github.com/Optum/legion-data/wiki
128
+ post_install_message:
277
129
  rdoc_options: []
278
130
  require_paths:
279
131
  - lib
@@ -281,15 +133,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
133
  requirements:
282
134
  - - ">="
283
135
  - !ruby/object:Gem::Version
284
- version: '0'
136
+ version: '2.5'
285
137
  required_rubygems_version: !ruby/object:Gem::Requirement
286
138
  requirements:
287
139
  - - ">="
288
140
  - !ruby/object:Gem::Version
289
141
  version: '0'
290
142
  requirements: []
291
- rubygems_version: 3.0.3
292
- signing_key:
143
+ rubygems_version: 3.1.6
144
+ signing_key:
293
145
  specification_version: 4
294
- summary: Used by Legion to connect to the database
146
+ summary: Manages the connects to the backend database
295
147
  test_files: []