Produced by Araxis Merge on 8/4/2017 2:45:04 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source | .env | Thu Jun 15 19:04:28 2017 UTC |
| 2 | CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source | .env | Fri Aug 4 19:00:00 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 14 | 636 |
| Changed | 13 | 32 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # .env | |
| 2 | # Base-lev el System Environmen t Variable s | |
| 3 | ||
| 4 | # export e nv_file=$( echo '.env ' >> debug _env_load_ order.txt) | |
| 5 | ||
| 6 | # Put syst em environ ment varia bles in th is file wh ich may be common | |
| 7 | # across a ll environ ments - or which rep resent a d ocumenting type. | |
| 8 | ||
| 9 | # DO NOT s et the val ues of RAC K_ENV, RAI LS_ENV and DEPLOY_TY PE in any .env* file . | |
| 10 | # Set thos e values i n your ter minal/cons ole window or invoki ng shell s cript. | |
| 11 | ||
| 12 | ||
| 13 | ########## ########## ########## ########## ########## ########## | |
| 14 | # Applicat ion specif ic things of most in terest to the CM | |
| 15 | # which ma y need to be over-ri den in a . env.local file on | |
| 16 | # a host d eployment. | |
| 17 | ||
| 18 | # This wil l retrieve the last tag set in the git r epo for th is | |
| 19 | # git work ing direct ory. | |
| 20 | export APP _VERSION=$ (git descr ibe --abbr ev=0 --tag s) | |
| 21 | ||
| 22 | # APP_URL is the thi ng that is exposed t o the outs ide world. | |
| 23 | # The valu e shown he re is for developer' s workstat ions. Thi s | |
| 24 | # will hav e to chang e in a .en v.#{DEPLOY _TYPE} fil e for depl oyment to | |
| 25 | # other ho sts. | |
| 26 | ||
| 27 | export APP _URL="http ://localho st:4567" | |
| 28 | ||
| 29 | # Used in the rake a dmin:add_u sers task; may be ne eded for o ther outgo ing eMails . | |
| 30 | # Will cha nge based upon which host this code is r unning. | |
| 31 | ||
| 32 | # FIXME: W hy is this system en vironment variable d ifferent f rom APP_UR L ?? | |
| 33 | # T his domain name is n ot part of the relea se archite cture. It should be | |
| 34 | # s et in some .env.#{DE PLOY_TYPE} file not this one. | |
| 35 | export APP _LOGIN_URL =$APP_URL/ sign_in | |
| 36 | ||
| 37 | ||
| 38 | ########## ########## ########## ########## ########## ########## | |
| 39 | # Ruby/Rai ls related | |
| 40 | ||
| 41 | export BUN DLE_GEMFIL E='Gemfile ' | |
| 42 | ||
| 43 | # Rails lo g level. | |
| 44 | # Accept ed values: debug, in fo, warn, error, fat al, or unk nown | |
| 45 | export LOG _LEVEL=deb ug | |
| 46 | ||
| 47 | ||
| 48 | ########## ########## ########## ########## ########## ########## | |
| 49 | # redis se rver relat ed | |
| 50 | ||
| 51 | export RED IS_HOST=lo calhost | |
| 52 | export RED IS_PORT= PORT | |
| 53 | export RED IS_DB_DEFA ULT=0 | |
| 54 | ||
| 55 | export RED IS_URL=red is://$REDI S_HOST:$RE DIS_PORT/$ REDIS_DB_D EFAULT | |
| 56 | ||
| 57 | # export R EDIS_PASSW ORD=REDACT ED | |
| 58 | ||
| 59 | ||
| 60 | ########## ########## ########## ########## ########## ########## | |
| 61 | # sidekiq related | |
| 62 | ||
| 63 | export SID EKIQ_SERVE R_HOST=loc alhost | |
| 64 | export SID EKIQ_CLIEN T_HOST=loc alhost | |
| 65 | ||
| 66 | ||
| 67 | ########## ########## ########## ########## ########## ########## | |
| 68 | # Debug/Mi sc. | |
| 69 | ||
| 70 | export DEV ELOPER_TES TING=true | |
| 71 | export ENA BLE_OPENSS L_INITIALI ZER=true | |
| 72 | ||
| 73 | ||
| 74 | ########## ########## ########## ########## ########## ########## | |
| 75 | # Applicat ion functi onality sw itches | |
| 76 | ||
| 77 | export DIS PLAY_FACIL ITY_DROPDO WNS=false # Determi nes whethe r Facility dropdowns appear | |
| 78 | ||
| 79 | export ALW AYS_MINIFY _ASSETS=fa lse # Determi nes whethe r to auto- minify JS/ CSS assets | |
| 80 | ||
| 81 | ########## ########## ########## ########## ########## ########## | |
| 82 | # Applicat ion/web-se rver relat ed | |
| 83 | ||
| 84 | export PUM A_WORKERS= 0 # Number of worker s in addit ion to the Master Pr ocess | |
| 85 | export PUM A_WORKER_T IMEOUT=60 # second s | |
| 86 | ||
| 87 | export PUM A_MIN_THRE ADS=1 # thread s per mast er/workerp rocess | |
| 88 | export PUM A_MAX_THRE ADS=4 # thread s per mast er/worker process | |
| 89 | ||
| 90 | # NOTE: if PUMA_BIND is define d, these t hree value s will not be used b y Puma >>> | |
| 91 | export PUM A_HOST=0.0 .0.0 # typica l could be 127.0.0.1 if you wa nted | |
| 92 | export PUM A_PORT= PORT # Puma con vention ca lls for 92 92; using unicorn's default in stead | |
| 93 | export PUM A_PROTOCOL ='tcp://' # tcp is usually t he protoco l unles bi nd is full y exploite d | |
| 94 | ||
| 95 | ||
| 96 | export PUM A_BIND="$P UMA_PROTOC OL$PUMA_HO ST:$PUMA_P ORT" # t akes prece dence over its compo nents | |
| 97 | ||
| 98 | # NOTE: Us ed when th e protocol is "ssl:/ /" | |
| 99 | ||
| 100 | # export P UMA_SSL_KE Y_PATH=rel ative/path /from/rail s_root/key .file | |
| 101 | # export P UMA_SSL_CE RT_PATH=re lative/pat h/from/rai ls_root/ce rt.file | |
| 102 | ||
| 103 | # export P UMA_BIND=" $PUMA_PROT OCOL$PUMA_ HOST:$PUMA _PORT/?key =$PUMA_SSL _KEY_PATH& cert=$PUMA _SSL_CERT_ PATH" | |
| 104 | ||
| 105 | ||
| 106 | export PUM A_REDIRECT _LOGS=true # true: both STDOU T and STDE RR are sen t to files in the lo g director y | |
| 107 | # false: both STDO UT and STD ERR go to the consol e | |
| 108 | ||
| 109 | export PUM A_DAEMONIZ E=true # true: puts puma into the b ackground | |
| 110 | # false: keeps pum a in the f oreground (required by docker deployment ) | |
| 111 | ||
| 112 | # The reas on that PU MA_PORT is set to PORT is becaus e that is the port t hat was op ened | |
| 113 | # for the CPP team t o use on t he QA/Test server pr ovided by the CUI te am for us to | |
| 114 | # use. CU I used pas senger on port 3000; CPP used unicorn (n ow puma) o n port 456 7. | |
| 115 | ||
| 116 | ||
| 117 | ########## ########## ########## ########## ########## ########## | |
| 118 | # Configur ation for eMail not related to feedback | |
| 119 | # For exam ple user n otificatio ns, passwo rd resets, etc. | |
| 120 | ||
| 121 | # Action m ailer (e-m ail) setti ngs. | |
| 122 | # You will need to e nable less secure ap ps in your Google ac count if y ou plan | |
| 123 | # to use G Mail as yo ur e-mail SMTP serve r. | |
| 124 | # You can do that he re: https: //www.goog le.com/set tings/secu rity/lesss ecureapps | |
| 125 | ||
| 126 | export EMA IL_SANITIZ E=false | |
| 127 | export EMA IL_HOST='s mtp.gmail. com' | |
| 128 | export EMA IL_PORT= PORT | |
| 129 | export EMA IL_DOMAIN= 'gmail.com ' | |
| 130 | export EMA IL_USER='n otificatio n.cpptestu ser@gmail. com' | |
| 131 | export EMA IL_PASS=' REDACTE D
|
|
| 132 | ||
| 133 | # Sanitize Email | |
| 134 | ||
| 135 | export SAN ITIZED_EMA IL='cui.te sting@gmai l.com' | |
| 136 | ||
| 137 | ||
| 138 | ########## ########## ########## #### | |
| 139 | # Feedback integrati on with Hi pchat and Email noti fications | |
| 140 | ||
| 141 | export ENA BLE_FEEDBA CK=true | |
| 142 | ||
| 143 | ||
| 144 | ########## ########## ########## #### | |
| 145 | # Hipchat notificati on of feed back | |
| 146 | ||
| 147 | # NOTE: T he IM gate way is use d by both hipchat an d slack no tification s | |
| 148 | # SMELL: T he hostnam e may need to be cha nged to 12 7.0.0.1 | |
| 149 | export FEE DBACK_IM_G ATEWAY='dr uby://loca lhost:9999 ' | |
| 150 | ||
| 151 | export ENA BLE_FEEDBA CK_HIPCHAT =true | |
| 152 | ||
| 153 | export FEE DBACK_HIPC HAT_SERVER =evss.hipc hat.com | |
| 154 | export FEE DBACK_HIPC HAT_ROOM=' CPP Feedba ck' | |
| 155 | export FEE DBACK_HIPC HAT_TOKEN= ' R E
|
|
| 156 | ||
| 157 | ||
| 158 | ########## ########## ########## #### | |
| 159 | # slack no tification of feedba ck | |
| 160 | ||
| 161 | # NOTE: Sl ack notifi cations ar e also sen t via the FEEDBACK_I M_GATEWAY | |
| 162 | ||
| 163 | # This is for teamcu iva.slack. com | |
| 164 | export ENA BLE_FEEDBA CK_SLACK=t rue | |
| 165 | ||
| 166 | # This inc oming webh ook URL is associate d with the #feedback channel | |
| 167 | export FEE DBACK_SLAC K_WEBHOOK_ URL='https ://hooks.s lack.com/s ervices/T4 FNK5R7Z/B4 G8B518F/5S zWZInzybtB xsuYfamraJ W1' | |
| 168 | ||
| 169 | export FEE DBACK_SLAC K_CHANNEL= '#feedback ' | |
| 170 | export FEE DBACK_SLAC K_USERNAME ='feedback er' | |
| 171 | ||
| 172 | ||
| 173 | ########## ########## ########## #### | |
| 174 | # eMail no tification of feedba ck | |
| 175 | ||
| 176 | export ENA BLE_FEEDBA CK_EMAIL=t rue | |
| 177 | ||
| 178 | # multiple eMail add resses can be includ ed as a co mma separa ted list | |
| 179 | export FEE DBACK_EMAI L_TO='CPPF eedback@ DOMAIN ' | |
| 180 | export FEE DBACK_EMAI L_SUBJECT= 'CUI/CPP F eedback' | |
| 181 | ||
| 182 | export FEE DBACK_EMAI L_SANITIZE =false | |
| 183 | export FEE DBACK_EMAI L_HOST=$EM AIL_HOST | |
| 184 | export FEE DBACK_EMAI L_PORT=$EM AIL_PORT | |
| 185 | export FEE DBACK_EMAI L_DOMAIN=$ EMAIL_DOMA IN | |
| 186 | export FEE DBACK_EMAI L_USER=$EM AIL_USER | |
| 187 | export FEE DBACK_EMAI L_PASS=$EM AIL_PASS | |
| 188 | ||
| 189 | ||
| 190 | ########## ########## ########## ########## ########## ########## | |
| 191 | # Database | |
| 192 | ||
| 193 | # NOTE: Re move Postg reSQL "PG* " environm ent variab les define d in your | |
| 194 | # te rminal/con sole sessi on. | |
| 195 | ||
| 196 | export DBA DAPTER='po stgresql' | |
| 197 | export DBH OST='local host' | |
| 198 | export DBP ORT= PORT | |
| 199 | export DBN AME=' REDACTED ' | |
| 200 | export DBU SER=' REDACTED ' | |
| 201 | export DBP ASS=' REDACTED ' | |
| 202 | ||
| 203 | ||
| 204 | ########## ########## ########## ########## ########## ########## | |
| 205 | # Docker-r elated | |
| 206 | ||
| 207 | # NOTE: DB RESET, DBM IGRATE abd DBSEED ar e used by the docker deploymen t process. | |
| 208 | # Mo re specifi cally they are used by the rak e prep:db task locat ed at | |
| 209 | # li b/tasks/pr ep.rake | |
| 210 | ||
| 211 | export DBR ESET=false # Invo ke db:rese t before a pp:start | |
| 212 | export DBM IGRATE=fal se # Invo ke db:migr ate before app:start | |
| 213 | export DBS EED=false # Does rake db:s eed when t rue on doc ker contai ner startu p | |
| 214 | ||
| 215 | # Used in the Rails. root/db_do cker-compo se.yml fil e. | |
| 216 | # This is the port f or the Pos tgreSQK se rver from the host's point of view | |
| 217 | # In devel opment it is usually the same as $DBPORT . In prod uction | |
| 218 | # it can b e anything . | |
| 219 | ||
| 220 | export DOC KER_HOST_D B_PORT=$DB PORT | |
| 221 | ||
| 222 | # Used in the Rails. root/redis _docker-co mpose.yml file. | |
| 223 | # This is the port f or the red is server from the h ost's poin t of view | |
| 224 | # In devel opment it is usually the same as $REDIS_ PORT. In production | |
| 225 | # it can b e anything . | |
| 226 | ||
| 227 | export DOC KER_HOST_R EDIS_PORT= $REDIS_POR T | |
| 228 | ||
| 229 | # Used in the Rails. root/web_d ocker-comp ose.yml fi le. | |
| 230 | # This is the port f or the app lication s erver from the host' s point of view | |
| 231 | # In produ ction this port is t ypically 8 0. In dev elopment i t is usual ly | |
| 232 | # the same as $PUMA_ PORT | |
| 233 | ||
| 234 | export DOC KER_HOST_W EB_PORT=$P UMA_PORT | |
| 235 | ||
| 236 | ||
| 237 | ########## ########## ########## ########## ########## ########## | |
| 238 | # NPI Regi stry | |
| 239 | ||
| 240 | # FIXME: c hange this to NPI_LO OKUP_URL | |
| 241 | export URL _FOR_NPI_L OOKUP='htt ps://npire gistry.cms .hhs.gov' | |
| 242 | ||
| 243 | ||
| 244 | ########## ########## ########## ########## ########## ########## | |
| 245 | # Veterans Exchange API web-se rvice | |
| 246 | ||
| 247 | export VX_ API_BASE_U RL=https:/ /ehmp.vaft l.us/resou rce | |
| 248 | export VX_ API_AUTH_U RL=$VX_API _BASE_URL/ authentica tion | |
| 249 | ||
| 250 | export VX_ API_CREDEN TIALS='{"a ccessCode" : " REDACTED ","verifyC ode": " REDACTED ","site": "9E7A"}' | |
| 251 | ||
| 252 | ||
| 253 | ########## ########## ########## ########## ########## ########## | |
| 254 | # VIA API web-servic e | |
| 255 | ||
| 256 | export VIA _API_WSDL= '' | |
| 257 | export VIA _API_ENDPO INT_URL=ht tp://local host:7011/ via-webser vices/serv ices/FindP atientServ ice | |
| 258 | export VIA _API_NAMES PACE=http: // DNS . URL / | |
| 259 | ||
| 260 | # Credenti als used i n VIA oper ations | |
| 261 | ||
| 262 | export VIA _REQ_APP=" VIA!Tester " | |
| 263 | export VIA _CONS_APP_ TOKEN="VIA #Tester_ID " | |
| 264 | export VIA _CONS_APP_ PASS="iU6r W8xj1g" | |
| 265 | ||
| 266 | ||
| 267 | ########## ########## ########## ########## ########## ########## | |
| 268 | # SAML-rel ated suppo rt SSO via SSOi and id.me | |
| 269 | ||
| 270 | # This is the base U RL of the applicatio n; the por t number i s | |
| 271 | # subject to changes based upo n whether the applic ation is r unning | |
| 272 | # under do cker or no t. The IP ADDRESS is subject t o which ho st | |
| 273 | # the appl icatoin is running u nder. THe protocol while in d evelopment | |
| 274 | # is http BUT when i n producti on it will have to b e HTTPS | |
| 275 | ||
| 276 | export SAM L_ISSUER=$ APP_URL # http:/ /52.222.56 .104:4567 if on the QA/Test se rver | |
| 277 | ||
| 278 | # Relative to $APP_U RL | |
| 279 | ||
| 280 | export SAM L_CALLBACK =saml/call back | |
| 281 | export SAM L_LOGOUT=s aml/logout | |
| 282 | ||
| 283 | # This is the URL pr ovided by id.me | |
| 284 | ||
| 285 | export SAM L_METADATA _URL=https ://api.idm elabs.com/ saml/metad ata/provid er | |
| 286 | ||
| 287 | # Filename s relative to Rails. root | |
| 288 | ||
| 289 | export SAM L_CERTIFIC ATE='tmp_c erts/cpp-s aml.crt' | |
| 290 | export SAM L_KEY='tmp _certs/cpp -saml.key' | |
| 291 | ||
| 292 | # FIXME: t hese both reference port 3001 as if they might | |
| 293 | # b e leftover s from the SSOi and passenger | |
| 294 | ||
| 295 | # export S AML_RELAY= http://loc alhost:300 1/auth/log in/callbac k | |
| 296 | # export S AML_LOGOUT _RELAY=htt p://localh ost:3001/l ogout | |
| 297 | ||
| 298 | ||
| 299 | ########## ########## ########## ########## ########## ########## | |
| 300 | # Data sto rage integ ration | |
| 301 | ||
| 302 | # FIXME: W hy are the se here wi thout a va lue? | |
| 303 | ||
| 304 | # export V LER_DAS_CA CERT='' | |
| 305 | # export V LER_DAS_CE RT='' | |
| 306 | # export V LER_DAS_CI PHER_SUITE S='' | |
| 307 | # export V LER_DAS_KE YFILE='' | |
| 308 | # export V LER_DAS_KE YPASS='' | |
| 309 | # export V LER_DAS_UR L='' | |
| 310 | ||
| 311 | ||
| 312 | ########## ########## ########## ########## ########## ########## | |
| 313 | # Unknown stuff that requires documentat ion from t he | |
| 314 | # CUI feat ure set te ams. | |
| 315 | ||
| 316 | # FIXME: v ariable is too gener ic | |
| 317 | export CAL LBACK_URL= 'https:// SERVER . DOMAIN /users/aut h/saml/cal lback' | |
| 318 | ||
| 319 | # FIXME: W hy is this here with out a valu e? | |
| 320 | # export C UI_DISABLE _UNDER_REV IEW='' | |
| 321 | ||
| 322 | export IDP _CERT_FING ERPRINT='A 0:E8:07:73 :D8:A1:CD: 71:A2:16:6 E:88:01:5F :99:9E:68: A9:28:90' | |
| 323 | export IDP _TARGET_UR L='https:/ / SERVER . DOMAIN /fedredire ctjsp/fedr edirect.js p?SPID=CUI ' | |
| 324 | ||
| 325 | export ISS UER='CUI' | |
| 326 | export NAM E_IDENTIFI ER_FORMAT= 'urn:oasis :names:tc: SAML:2.0:n ameid-form at:email' | |
| 327 | ||
| 328 | # FIXME: W hy are the se here wi thout valu es? | |
| 329 | ||
| 330 | # export E NABLE_PHAS E_2='' | |
| 331 | # export P HASE_2_BOD Y_SYSTEMS= '' | |
| 332 | ||
| 333 | # export S ECRET_KEY_ BASE='' | |
| 334 | # export V BMS_UPLOAD ER_ENV='' |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.