Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Stage Bonnie 5.1.6 to TEST #2215

Merged
merged 9 commits into from
Apr 9, 2024
Merged
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/coverage-frontend
.DS_Store
/node_modules
/bonnie-data

# Ignore IDE configuration files.
.idea
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ADD bonnie.conf /etc/nginx/sites-enabled/bonnie.conf

COPY --chown=app:app . /home/app/bonnie

RUN bash -lc "rvm install ruby-${RUBY_VERSION} && rvm --default use ruby-${RUBY_VERSION}"

RUN rm -f /etc/service/nginx/down \
&& rm -f /etc/nginx/sites-enabled/default \
Expand All @@ -20,6 +19,9 @@ RUN rm -f /etc/service/nginx/down \
&& apt-get install shared-mime-info -y

RUN su - app -c "cd /home/app/bonnie \
&& rvm autolibs disable \
&& rvm install ruby-${RUBY_VERSION} \
&& rvm --default use ruby-${RUBY_VERSION} \
&& curl -O https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \
&& gem install bundler -v 2.1.4 \
&& bundle install \
Expand Down
14 changes: 14 additions & 0 deletions app/assets/stylesheets/landing.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
.decommissioning-banner {
display: flex;
align-items: center;
padding: 2rem;
background-color: white;
margin-left: 13%;
margin-right: 6%;
> div {
flex-direction: column;
text-align: left;
padding-left: 30px;
}
}

.container {
padding: 1em;
}
Expand Down
11 changes: 11 additions & 0 deletions app/views/home/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
<%= render 'layouts/framebreaker' %>
</head>
<body>
<div role="alert" class="decommissioning-banner">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="orange" class="bi bi-exclamation-triangle" viewBox="0 0 16 16">
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.15.15 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.2.2 0 0 1-.054.06.1.1 0 0 1-.066.017H1.146a.1.1 0 0 1-.066-.017.2.2 0 0 1-.054-.06.18.18 0 0 1 .002-.183L7.884 2.073a.15.15 0 0 1 .054-.057m1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767z"/>
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/>
</svg>
<div>
<h4>Bonnie will no longer be accessible after June 28, 2024.</h4>
<p>Please begin to transfer and test your measure(s) in <a href="https://www.emeasuretool.cms.gov/madie-mvp">MADiE</a> and contact the <a href="https://oncprojectracking.healthit.gov/support/projects/BONNIE">Help Desk</a> if you encounter any issues.</p>
<p>See <a href="https://www.emeasuretool.cms.gov/news-alerts/mat-and-bonnie-migration-action-needed">this communication from CMS</a> for more information.</p>
</div>
</div>
<div class="landing-masthead">
<div class="container">
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion config/bonnie.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defaults: &defaults
version: 5.1.5
version: 5.1.6
enable_logging: true
enable_rationale: true
check_crosswalk: false
Expand Down
29 changes: 29 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: "3"
services:
bonnie:
image: bonnie-qdm
# build:
# context: .
ports:
- "3000:80"
depends_on:
- "bonnie-mongo"
environment:
- SAML_IDP_METADATA=${SAML_IDP_METADATA}
- SAML_SP_ENTITY_ID=${SAML_SP_ENTITY_ID}
- SAML_ASSERTION_CONSUMER_SERVICE_URL=${SAML_ASSERTION_CONSUMER_SERVICE_URL}
- SAML_SP_CERT=${SAML_SP_CERT}
- SAML_SP_KEY=${SAML_SP_KEY}
- BONNIE_PATIENT_CONV_URL=${BONNIE_PATIENT_CONV_URL}
- MONGODB_URI=${MONGODB_URI}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- PASSENGER_APP_ENV=${PASSENGER_APP_ENV}

bonnie-mongo:
image: mongodb/mongodb-community-server:4.4.25-ubuntu2004
restart: always
container_name: 'bonnie-mongo'
ports:
- "27017:27017"
volumes:
- ./bonnie-data/data:/data/db
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bonnie",
"version": "5.1.5",
"version": "5.1.6",
"description": "A tool for testing electronic clinical quality measures",
"main": "index.js",
"repository": "[email protected]:MeasureAuthoringTool/bonnie.git",
Expand Down
Loading