Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premium Change calculation #207

Open
wants to merge 118 commits into
base: me_carrier_boarding
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
dcf87d6
Release 1.10.21 (#39)
saimekala07 Oct 5, 2021
cb7b74e
Merge edi_codec fixed gem version.
TreyE Oct 29, 2021
a68fb54
Fix employer timeout and merge trunk GHA files.
TreyE Oct 29, 2021
7be3ae4
use any patch version of setup-node v2
markgoho Oct 29, 2021
da40e25
change workflow trigger for docs deployment
markgoho Oct 29, 2021
0156bb4
add indexing to plan model (#54)
nks2109 Dec 8, 2021
de37366
Merge pull request #51 from ideacrew/merge_subscriber_fix_and_employe…
TreyE Dec 8, 2021
2d49b24
Add puma and puma config.
TreyE May 2, 2022
d61d46f
Bringing versions even.
TreyE May 2, 2022
d19ad0a
Moving over batching code.
TreyE May 4, 2022
150917c
Add merge of docker files for local development.
TreyE May 4, 2022
327b84c
Fix build.
TreyE May 4, 2022
a078257
add build image job to trunk
markgoho May 4, 2022
c66a08b
add dockerfile
markgoho May 4, 2022
0510514
add docker config override files
markgoho May 4, 2022
4741740
persist empty log folder
markgoho May 4, 2022
7e85d8d
remove encryption check from image workflow
markgoho May 4, 2022
6af73f2
Add puma and puma config.
TreyE May 2, 2022
dd8ce90
Bringing versions even.
TreyE May 2, 2022
d604cfa
Moving over batching code.
TreyE May 4, 2022
955cf37
Add merge of docker files for local development.
TreyE May 4, 2022
d2f55f6
Fix build.
TreyE May 4, 2022
1184542
Merge branch 'dc_k8_deployment' of github.com:ideacrew/gluedb into dc…
matt--williams May 4, 2022
e080fdd
specify puma env for startup
matt--williams May 11, 2022
66b8bac
bump threads
matt--williams May 11, 2022
5164a10
add file storage uri for 1095a lookup
matt--williams Jun 2, 2022
7c9c761
add default value for file storage uri
matt--williams Jun 2, 2022
5112e29
Fix 'double ack'. (#49)
TreyE Jul 11, 2022
84edf7f
Merge branch 'trunk' of github.com:ideacrew/gluedb into trunk
TreyE Jul 11, 2022
f723f8c
config changes required to build glue update images
matt--williams Jul 18, 2022
66bde96
Use length instead of count when setting authority member on a person…
saipraveen18 Aug 9, 2022
842e8af
Merge branch 'trunk' into dc_k8_deployment
matt--williams Aug 16, 2022
cd6aaf3
certain reports require 7zip
matt--williams Aug 18, 2022
4bc5e8b
Merge branch 'dc_k8_deployment' into trunk
matt--williams Aug 18, 2022
95d0063
no need to install p7zip twice, make sure jruby in PATH
matt--williams Aug 22, 2022
d15949a
Removing unnecessary code (#122)
vkghub Sep 8, 2022
0f50921
Add osse flag. (#123)
TreyE Sep 12, 2022
7cf9fab
99304: Displays Calculated OSSE Contribution for OSSE Policies in Glu…
nks2109 Sep 15, 2022
c562f0b
Add OSSE behaviour to COR and Demographic Updates (#124)
TreyE Sep 16, 2022
304a3dd
[99333][trunk] NFP SHOP OSSE Daily Report (#126)
nks2109 Sep 23, 2022
920a177
Correct display issues for IVL OSSE policies. (#131)
TreyE Sep 26, 2022
1435f99
add update image workflow
markgoho Oct 19, 2022
3e7cd48
add dynamic run name
markgoho Oct 19, 2022
22c7274
update slack output to reference update image
markgoho Oct 20, 2022
85c18f3
100652: adding 1095A setting values and pdf templates for 2021 (#139)
nks2109 Nov 9, 2022
0a0e74f
use newer github token
markgoho Nov 21, 2022
8fe6ccf
update action versions in build workflow
markgoho Nov 21, 2022
9fed4c3
update set-output in prep step
markgoho Nov 21, 2022
80d2a3d
update actions version in image workflow
markgoho Nov 21, 2022
4c0a377
Bump docker/setup-buildx-action from 1 to 2 (#144)
dependabot[bot] Nov 21, 2022
5f45118
build a stretch-based base image
markgoho Nov 22, 2022
f723c2c
update workflow name
markgoho Nov 22, 2022
1280685
move base dockerfile
markgoho Nov 22, 2022
e1e250c
fix path to base dockerfile
markgoho Nov 22, 2022
cc5c323
add workflow dispatch trigger to base image workflow
markgoho Nov 22, 2022
98034df
use debian 9 in base glue image
markgoho Nov 22, 2022
85fc88d
fix glue update image build
matt--williams Dec 23, 2022
6f9d420
fix glue update image build pt. 2
matt--williams Dec 23, 2022
0fd4534
fix glue update image build pt. 3
matt--williams Dec 23, 2022
0692af5
fix glue update image build pt. 4
matt--williams Dec 23, 2022
ade8f2a
fix glue update image build final, actually fixed now
matt--williams Dec 23, 2022
ed5bdb7
fix image build issues
matt--williams Dec 24, 2022
603d4cb
fix tagging of glue update images
matt--williams Dec 24, 2022
6e853c0
remove redundant suffix
matt--williams Dec 24, 2022
6c5590e
jruby not needed in path here, taken care of in glue update script
matt--williams Jan 3, 2023
5c80e79
Fix specs.
TreyE Jan 4, 2023
e8c0c39
Correct access token.
TreyE Jan 4, 2023
5498b28
Reduce query window to avoid result size failure. (#148)
TreyE Jan 10, 2023
88638eb
100953 Added 2022 1095A templates and IRS settings (#152)
raghuramg Jan 17, 2023
83ddfd5
add lftp to enable ftps
matt--williams Mar 16, 2023
78a226c
add package to format spreadsheets as requested by dchbx
matt--williams Apr 18, 2023
ce8c178
get npm installed
matt--williams Apr 18, 2023
3019bca
really get npm installed
matt--williams Apr 18, 2023
b11a67c
update rspec runner to use ubuntu-22.04 (#162)
polographer Apr 27, 2023
2a46fc8
rebranding carrier kaiser to kaiser permanente (#161)
nks2109 Apr 28, 2023
34d3abc
fixing sources.list to point to debian archive (#164)
polographer May 1, 2023
b5ec190
add reports image build, tag image workflow, and repository dispatch …
matt--williams May 23, 2023
76d3935
specify correct repo
matt--williams May 23, 2023
10798d0
add prod update image tag
matt--williams May 23, 2023
e1769a1
reference inputs and not outputs
matt--williams May 23, 2023
5e19694
make sure correct branch is specified on checkout
matt--williams May 24, 2023
9604a4e
make sure correct registry is referenced for all tags
matt--williams May 24, 2023
2d798f4
use correct tag
matt--williams May 24, 2023
c05ec65
checkout sha instead of branch to avoid surprises
matt--williams May 24, 2023
9f04afb
don't overthink it, branch is sufficient
matt--williams May 24, 2023
45c80d3
tag existing image without creating new digest
matt--williams May 25, 2023
10be9f3
specify correct repo
matt--williams May 25, 2023
bb9ffbe
push glue images to ghcr
matt--williams May 25, 2023
a10d111
convert file format from dos to unix
matt--williams May 25, 2023
6224b72
remove unnecessary line
matt--williams May 25, 2023
34ec2b8
correct image reference format
matt--williams May 25, 2023
94adb01
need ghcr login to pull image
matt--williams Jun 14, 2023
428f98d
helps if you specify the registry url
matt--williams Jun 14, 2023
ed4c22e
Add error reporting on policy report failure. (#168)
TreyE Jul 3, 2023
54e9835
correct hios id variable name (#169)
mdkaraman Aug 28, 2023
de81370
Port proper scaling for batch from me_carrier_boarding.
TreyE Sep 19, 2023
cc83724
Revert incorrect script.
TreyE Sep 19, 2023
ef2f1b6
Fix download source.
TreyE Jan 12, 2024
05afb41
Add missing file to spec download.
TreyE Jan 12, 2024
751c909
Updating missing file list.
TreyE Jan 12, 2024
bc7fdb6
add 2023 1095A templates and IRS settings (#172)
saipraveen18 Jan 12, 2024
7814caf
moving irs reporting server changes to trunk (#170)
nks2109 Feb 15, 2024
f08406a
1095a aptc & monthly calculation fix (#177)
nks2109 Feb 28, 2024
5d72912
update H41 manifest file generation is missing element namespaces (#180)
nks2109 Mar 6, 2024
fdb5d37
fixing xml validation filepath for H36 EOM and H41 EOY (#178)
nks2109 Mar 6, 2024
94f455f
updating family to policy association script to handle aggregation qu…
nks2109 Mar 6, 2024
21d4a8d
cms pbp report file name modification (#184)
nks2109 Mar 12, 2024
f8565b6
irs h41 eoy reporting file name modification (#183)
nks2109 Mar 15, 2024
9fc206e
cms irs h36 eom report file name modification (#182)
nks2109 Mar 15, 2024
27e1c9d
add environment variable driven configuration for irs reports (#185)
nks2109 Mar 15, 2024
633d47f
gdb update fix (#173)
kvootla Mar 18, 2024
55a6bff
fix for directory name typo (#186)
nks2109 Mar 19, 2024
430eef4
fix typo preventing enrollment event batch processor from starting af…
matt--williams Mar 20, 2024
995083f
Merge pull request #55 from ideacrew/180365353-fix-missing-terms (#187)
mdkaraman Mar 27, 2024
768bcbd
Merge dependent drop APTC changes to DC. (#190)
TreyE Apr 1, 2024
afbb56b
add admin autolock feature (#193)
saipraveen18 Apr 12, 2024
0b06e10
Fixed Start Date Bug on Glue (#201)
jayreddy519 Jun 12, 2024
b0fefab
Premium Change calculation
jayreddy519 Jun 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions .docker/base/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
FROM debian:stretch

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
libffi-dev \
libgdbm3 \
libssl1.0-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

# skip installing gem documentation
RUN mkdir -p /usr/local/etc \
&& { \
echo 'install: --no-document'; \
echo 'update: --no-document'; \
} >> /usr/local/etc/gemrc

ENV RUBY_MAJOR 2.1
ENV RUBY_VERSION 2.1.10
ENV RUBY_DOWNLOAD_SHA256 5be9f8d5d29d252cd7f969ab7550e31bbb001feb4a83532301c0dd3b5006e148
ENV RUBYGEMS_VERSION 2.6.12
ENV BUNDLER_VERSION 1.15.1

# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
RUN set -ex \
\
&& buildDeps=' \
autoconf \
bison \
dpkg-dev \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
wget \
xz-utils \
' \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
\
&& wget -O ruby.tar.xz "https://cache.ruby-lang.org/pub/ruby/${RUBY_MAJOR%-rc}/ruby-$RUBY_VERSION.tar.xz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum -c - \
\
&& mkdir -p /usr/src/ruby \
&& tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.xz \
\
&& cd /usr/src/ruby \
\
# hack in "ENABLE_PATH_CHECK" disabling to suppress:
# warning: Insecure world writable dir
&& { \
echo '#define ENABLE_PATH_CHECK 0'; \
echo; \
cat file.c; \
} > file.c.new \
&& mv file.c.new file.c \
\
&& autoconf \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
--build="$gnuArch" \
--disable-install-doc \
--enable-shared \
&& make -j "$(nproc)" \
&& make install \
\
&& dpkg-query --show --showformat '${package}\n' \
| grep -P '^libreadline\d+$' \
| xargs apt-mark manual \
&& apt-get purge -y --auto-remove $buildDeps \
&& cd / \
&& rm -r /usr/src/ruby \
\
&& gem update --system "$RUBYGEMS_VERSION" \
&& gem install bundler --version "$BUNDLER_VERSION" --force \
&& rm -r /root/.gem/

# install things globally, for great justice
# and don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_PATH="$GEM_HOME" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
# adjust permissions of a few directories for running "gem install" as an arbitrary user
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

CMD [ "irb" ]
99 changes: 99 additions & 0 deletions .docker/config/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
source 'https://rubygems.org'

gem 'rake', '10.4.2'
gem 'rails', '3.2.22.5'

gem "mongoid", "~> 3.1.7"
gem "origin", "~> 1.1.0"
gem "aasm", "~> 3.0.26"
gem "nokogiri", "~> 1.6.8.1"
gem "bunny", '1.4.1'
gem 'amq-protocol', '2.0.1'
gem 'jquery-rails', '3.1.3'
gem 'jquery-ui-rails', '5.0.5'
gem 'virtus', "~> 1.0.5"
gem 'spreadsheet', '1.0.4'
gem 'ruby-ole', '1.2.11.7'
gem 'openhbx_cv2', git: "https://github.com/ideacrew/openhbx_cv2.git", branch: "trunk"
gem "interactor", "~> 3.1.0"
gem 'interactor-rails', '2.0.2'
gem "psych", "2.0.5"

group :development do
gem 'capistrano', '2.15.4'
gem 'yard', '0.8.7.6'
end

group 'development', 'test' do
gem 'rspec', '3.3.0'
gem 'rspec-core', '3.3.2'
end

group :development, :assets, :test do
gem 'libv8', "~> 3.16.14.17"
gem 'therubyracer', '0.12.2', :platforms => :ruby
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'less-rails-bootstrap', '3.2.0'
gem 'designmodo-flatuipro-rails', path: "designmodo-flatuipro-rails"
end

group :development, :assets do
gem 'uglifier', '~> 3.0.4'
gem 'font-awesome-rails', '4.2.0.0'
gem "rails_best_practices", "~> 1.17.0"
end

group :development, :test do
gem "parallel_tests", "~> 2.13.0"
end

group :test do
gem 'test-unit', "~> 3.2.3"
gem 'mongoid-rspec', "~> 1.13.0"
gem 'rspec-rails', '3.3.3'
gem 'rspec-collection_matchers', '1.1.2'
gem 'capybara', '2.4.4'
gem 'factory_girl_rails', '4.5.0'
gem 'factory_girl', '4.5.0'
gem 'database_cleaner', '1.5.3'
gem 'ci_reporter', '2.0.0'
gem 'savon', '~> 2.7.0'
gem 'simplecov', "~> 0.12.0", :require => false
gem 'rspec_junit_formatter', "~> 0.2.3"
end

group :production do
gem 'unicorn', '4.8.2'
gem 'eye', '0.6.4'
gem 'celluloid', '0.15.2'
gem 'nio4r', '1.1.1'
end

gem 'ruby-progressbar', '~> 1.10.0'
gem "haml", "~> 4.0.7"
gem 'kaminari', '0.16.3'
gem 'bootstrap-kaminari-views', '0.0.5'
gem "pd_x12", "~> 1.5.4"
gem 'carrierwave-mongoid', '0.7.1', :require => 'carrierwave/mongoid'
gem 'devise', '3.3.0'
gem "rsec", "~> 0.4.2"
gem "mongoid_auto_increment", '0.1.2'
gem 'american_date', '1.1.0'
gem 'cancancan', '~> 1.15.0'
gem 'oj', "~> 2.18.0"
gem 'roo', '2.1.0'
gem 'bh', "~> 1.3.6"
gem 'nokogiri-happymapper', "~> 0.5.9", :require => 'happymapper'
# Upgraded prawn to fix inverted text issue, Ref: https://github.com/prawnpdf/prawn-templates/issues/19
gem 'prawn', '~> 2.2'
gem 'prawn-templates', '~> 0.1.2'
gem 'forkr', '1.0.2'
gem 'edi_codec', path: "edi_codec"
gem 'ibsciss-middleware', git: "https://github.com/ideacrew/ruby-middleware.git", branch: "trunk", :require => "middleware"
gem 'rgl', '0.5.2'
gem 'aws-sdk', "~> 2.2.4"

# configuration support

gem "config", '1.0.0'
9 changes: 9 additions & 0 deletions .docker/config/database.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require File.join(File.dirname(__FILE__), "..", "lib/ojdbc7-12.1.0.2.0.jar")
Sequel::Model.plugin(:schema)
Sequel::Model.raise_on_save_failure = false # Do not throw exceptions on failure
Sequel::Model.db = case Padrino.env
when :development then Sequel.connect("B2B_URI")
when :production then Sequel.connect("B2B_URI")
when :test then Sequel.connect("B2B_URI")
when :cte then Sequel.connect("B2B_URI")
end
Loading
Loading