1.0.0 • Published 3 years ago

caec-admin-web v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

Centralized Authorization for Emergency Care

This application allows VA administrators to adjudicate Emergency Notifications for the purpose of determining if the Claim will be billed and paid by VA.

Deployment

This current supports two different types of deployment:

  1. Via Docker images. This is the primary deployment method.
  2. Serverless. This was original for demos and is depreciated.

Configuration

The Docker deployment uses the config.json file in the public folder for defaults and values used for all environments. In this project, public/config.json is not ignored and is part of deployment.

IMPORTANT: be careful when committing that you don't commit values in public/config.json you set for development.

Docker

To configure Docker, there are two places you can configure the application: in public/config.json and in the caec-infra repo.

Defaults and Non-environment Specific Configuration

For configuration that not environment specific or that is used for most environments, use the /public/config.json file. Because overrides are done via environment variables, prefer a flat structure in this file.

Environment Specific Configuration

You can setup default for local dev in /public/config.json, but the actual configuration will need to be in caec-infra.

There are two places you will need configure:

  • The web.yml file in the web folder. You define environment variables for the task here.
  • The <env>-caec-admin-web.json file, in the same folder is where you define the values to use.

Serverless

You do environment configurations in the .env/ folder, updating the .env/<env>/public/config.json for each environment.