-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP reorganize inferno * wip * working * require runnables to require their imported runnables * make bin/console work when used as gem * update config for puma * update suite loading * remove real suites * add initial gemspec * add missing require to fixture suite * correct dry-system version * only use in-memory db until db config is updated * add factories to gem * rename console command * make db configurable in suite repos * fix rack config * update logging path * ignore coverage for migrations * update gemspec * update readme and package-lock.json
- Loading branch information
1 parent
bce89e9
commit 1d604fa
Showing
175 changed files
with
239 additions
and
3,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
LOAD_DEV_SUITES=true | ||
LOAD_UI_SUITES=true | ||
VALIDATOR_URL=https://inferno.healthit.gov/validatorapi | ||
JS_HOST=http://localhost:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
LOAD_DEV_SUITES=true | ||
VALIDATOR_URL=https://example.com/validatorapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 0.0.1 | ||
|
||
* Initial gem release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'pry' | ||
require_relative '../lib/inferno' | ||
|
||
Inferno::Application.finalize! | ||
|
||
Pry.start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'lib/inferno/version' | ||
require 'rake' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'inferno_core' | ||
spec.version = Inferno::VERSION | ||
spec.authors = ['Stephen MacVicar', 'Robert Scanlon', 'Chase Zhou'] | ||
spec.email = ['inferno@groups.mitre.org'] | ||
spec.date = Time.now.utc.strftime('%Y-%m-%d') | ||
spec.summary = 'Inferno Core is an open source tool for testing data exchanges enabled by the FHIR standand' | ||
spec.description = 'Inferno Core is an open source tool for testing data exchanges enabled by the FHIR standand' | ||
spec.homepage = 'https://github.com/inferno_community/inferno-core' | ||
spec.license = 'Apache 2.0' | ||
spec.add_runtime_dependency 'activesupport' | ||
spec.add_runtime_dependency 'blueprinter' | ||
spec.add_runtime_dependency 'dotenv' | ||
spec.add_runtime_dependency 'dry-system', '0.18.1' | ||
spec.add_runtime_dependency 'faraday' | ||
spec.add_runtime_dependency 'fhir_client' | ||
spec.add_runtime_dependency 'hanami-controller', '~> 1.3' | ||
spec.add_runtime_dependency 'hanami-router', '~> 1.3' | ||
spec.add_runtime_dependency 'oj' | ||
spec.add_runtime_dependency 'pry' | ||
spec.add_runtime_dependency 'pry-byebug' | ||
spec.add_runtime_dependency 'puma' | ||
spec.add_runtime_dependency 'rake' | ||
spec.add_runtime_dependency 'sequel' | ||
spec.add_runtime_dependency 'sqlite3' | ||
spec.add_development_dependency 'codecov' | ||
spec.add_development_dependency 'database_cleaner-sequel' | ||
spec.add_development_dependency 'factory_bot' | ||
spec.add_development_dependency 'rack-test' | ||
spec.add_development_dependency 'rspec' | ||
spec.add_development_dependency 'rubocop', '~> 1.9' | ||
spec.add_development_dependency 'rubocop-rake' | ||
spec.add_development_dependency 'rubocop-rspec' | ||
spec.add_development_dependency 'rubocop-sequel' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'webmock' | ||
spec.add_development_dependency 'yard' | ||
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0') | ||
spec.metadata['homepage_uri'] = spec.homepage | ||
spec.metadata['source_code_uri'] = 'https://github.com/inferno_community/inferno-core' | ||
spec.metadata['changelog_uri'] = 'https://github.com/inferno_community/inferno-core/CHANGELOG.md' | ||
spec.files = [ | ||
'lib/inferno.rb', | ||
'LICENSE.txt', | ||
Dir['lib/inferno/**/*.rb'], | ||
'bin/inferno-console', | ||
Dir['lib/inferno/public/*.png'], | ||
Dir['lib/inferno/public/*.ico'], | ||
Dir['lib/inferno/public/*.js'], | ||
'lib/inferno/public/bundle.js.LICENSE.txt', | ||
'lib/inferno/public/assets.json', | ||
'spec/support/factory_bot.rb', | ||
Dir['spec/support/factories/**.*.rb'] | ||
].flatten | ||
|
||
spec.bindir = 'bin' | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.require_paths = ['lib', 'spec'] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
require 'active_support/all' | ||
require 'dotenv' | ||
require 'dry/system/container' | ||
require 'sequel' | ||
require_relative 'inferno/config/application' | ||
require_relative 'inferno/dsl' | ||
require_relative 'inferno/entities' | ||
require_relative 'inferno/exceptions' | ||
require_relative 'inferno/repositories' | ||
require_relative 'inferno/spec_support' | ||
require_relative 'inferno/test_runner' | ||
require_relative 'inferno/version' | ||
|
||
module Inferno | ||
end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ENV['APP_ENV'] ||= 'development' | ||
|
||
root_path = Dir.pwd | ||
|
||
Dotenv.load(File.join(root_path, '.env'), File.join(root_path, ".env.#{ENV['APP_ENV']}")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.