163. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/24/2018 2:24:59 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.

163.1 Files compared

# Location File Last Modified
1 CUI-v2.5.0-release-source.zip .env Fri Mar 23 17:02:06 2018 UTC
2 CUI-v2.5.0-release-source.zip .env Fri May 18 15:38:28 2018 UTC

163.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 13 864
Changed 13 32
Inserted 0 0
Removed 0 0

163.3 Comparison options

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

163.4 Active regular expressions

No regular expressions were active.

163.5 Comparison detail

  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   # Performa nce monito ring
  15  
  16   # Refer to  the newre lic_rpm ge m for docu mentation  on this va riable
  17   export NEW _RELIC_AGE NT_ENABLED =false
  18  
  19  
  20   ########## ########## ########## ########## ########## ##########
  21   # Applicat ion specif ic things  of most in terest to  the CM
  22   # which ma y need to  be over-ri den in a . env.local  file on
  23   # a host d eployment.
  24  
  25   # This wil l retrieve  the last  tag set in  the git r epo for th is
  26   # git work ing direct ory.
  27   export APP _VERSION=$ (git descr ibe --abbr ev=0 --tag s)-$(git r ev-parse - -short HEA D)
  28  
  29   # APP_URL  is the thi ng that is  exposed t o the outs ide world.
  30   # The valu e shown he re is for  developer' s workstat ions.  Thi s
  31   # will hav e to chang e in a .en v.#{DEPLOY _TYPE} fil e for depl oyment to
  32   # other ho sts.
  33  
  34   export APP _URL="http ://localho st:4567"
  35  
  36   # Used in  the rake a dmin:add_u sers task;  may be ne eded for o ther outgo ing eMails .
  37   # Will cha nge based  upon which  host this  code is r unning.
  38  
  39   # FIXME: W hy is this  system en vironment  variable d ifferent f rom APP_UR L ??
  40   #        T his domain  name is n ot part of  the relea se archite cture.  It  should be
  41   #        s et in some  .env.#{DE PLOY_TYPE}  file not  this one.
  42   export APP _LOGIN_URL =$APP_URL/ sign_in
  43  
  44  
  45   ########## ########## ########## ########## ########## ##########
  46   # The port ion of the  url that  claims are  posted to
  47   export CLA IMS_API_UR L='/api/v1 /claims'
  48  
  49  
  50   ########## ########## ########## ########## ########## ##########
  51   # Ruby/Rai ls related
  52  
  53   export BUN DLE_GEMFIL E='Gemfile '
  54  
  55   # Rails lo g level.
  56   #   Accept ed values:  debug, in fo, warn,  error, fat al, or unk nown
  57   export LOG _LEVEL=deb ug
  58  
  59  
  60   ########## ########## ########## ########## ########## ##########
  61   # redis se rver relat ed
  62  
  63   export RED IS_HOST=lo calhost
  64   export RED IS_PORT= PORT
  65   export RED IS_DB_DEFA ULT=0
  66  
  67   export RED IS_URL=red is://$REDI S_HOST:$RE DIS_PORT/$ REDIS_DB_D EFAULT
  68  
  69   # export R EDIS_PASSW ORD=f9b5e0 5ca222ce11 c134c03640 07fc74b14f 72b68f3469 3bb68527cb edc3b743c6 93064eafa7 c86cdf1c82 79bfc32cb5 1168dfb7e9 50cad2c7f6 de9c970e83 51
  70  
  71  
  72   ########## ########## ########## ########## ########## ##########
  73   # sidekiq  related
  74  
  75   export SID EKIQ_SERVE R_HOST=loc alhost
  76   export SID EKIQ_CLIEN T_HOST=loc alhost
  77  
  78  
  79   ########## ########## ########## ########## ########## ##########
  80   # Debug/Mi sc.
  81  
  82   export DEV ELOPER_TES TING=true
  83   export ENA BLE_OPENSS L_INITIALI ZER=false
  84  
  85  
  86   ########## ########## ########## ########## ########## ##########
  87   # Applicat ion functi onality sw itches
  88  
  89   export DIS PLAY_FACIL ITY_DROPDO WNS=false   # Determi nes whethe r Facility  dropdowns  appear
  90  
  91   export ALW AYS_MINIFY _ASSETS=fa lse         # Determi nes whethe r to auto- minify JS/ CSS assets
  92  
  93  
  94   ########## ########## ########## ########## ########## ##########
  95   # Applicat ion/web-se rver relat ed
  96  
  97   export PUM A_WORKERS= 0            # Number  of worker s in addit ion to the  Master Pr ocess
  98   export PUM A_WORKER_T IMEOUT=60    # second s
  99  
  100   export PUM A_MIN_THRE ADS=1        # thread s per mast er/workerp rocess
  101   export PUM A_MAX_THRE ADS=4        # thread s per mast er/worker  process
  102  
  103   # NOTE: if  PUMA_BIND  is define d, these t hree value s will not  be used b y Puma >>>
  104   export PUM A_HOST=0.0 .0.0         # typica l could be  127.0.0.1  if you wa nted
  105   export PUM A_PORT= PORT              # Puma con vention ca lls for 92 92; using  unicorn's  default in stead
  106   export PUM A_PROTOCOL ='tcp://'    # tcp is  usually t he protoco l unles bi nd is full y exploite d
  107  
  108   export PUM A_BIND="$P UMA_PROTOC OL$PUMA_HO ST:$PUMA_P ORT"   # t akes prece dence over  its compo nents
  109  
  110   # NOTE: Us ed when th e protocol  is "ssl:/ /"
  111   ########## ########## ########## ########## ########## ######
  112   ########## ### PUMA S SL BIND AT TRIBUTES # ########## ######
  113   #
  114   # server.k ey and ser ver.crt ar e generate d self-sig ned
  115   # files th at are req uired to b e present  in ssl fol der
  116   # if appli cation is  being depl oyed in 'p roduction'  mode.
  117   # These va riables wi ll be over ridden by  the respec tive
  118   # 'platfor m' files t o point to  the appro priate fil es.
  119   #
  120   ########## ########## ########## ########## ########## ######
  121   export PUM A_SSL_KEY_ PATH="./ss l/server.k ey"
  122   export PUM A_SSL_CERT _PATH="./s sl/server. crt"
  123  
  124   # FIX_ME:  Do we need  the below  variable?
  125   # export P UMA_BIND=" $PUMA_PROT OCOL$PUMA_ HOST:$PUMA _PORT/?key =$PUMA_SSL _KEY_PATH& cert=$PUMA _SSL_CERT_ PATH"
  126  
  127   export PUM A_REDIRECT _LOGS=true   # true:  both STDOU T and STDE RR are sen t to files  in the lo g director y
  128                                      # false:  both STDO UT and STD ERR go to  the consol e
  129  
  130   export PUM A_DAEMONIZ E=true       # true:  puts puma  into the b ackground
  131                                      # false:  keeps pum a in the f oreground  (required  by docker  deployment )
  132  
  133   # The reas on that PU MA_PORT is  set to 45 67 is beca use that i s the port  that was  opened
  134   # for the  CPP team t o use on t he QA/Test  server pr ovided by  the CUI te am for us  to
  135   # use.  CU I used pas senger on  port 3000;  CPP used  unicorn (n ow puma) o n port 456 7.
  136  
  137  
  138   ########## ########## ########## ########## ########## ######
  139   ## PUMA SS L BIND ATT RIBUTES
  140   #
  141   # server.k ey and ser ver.crt ar e generate d self-sig ned
  142   # files th at are req uired to b e present  in ssl fol der
  143   # if appli cation is  being depl oyed in 'p roduction'  mode.
  144   # These va riables wi ll be over ridden by  the respec tive
  145   # 'platfor m' files t o point to  the appro priate fil es.
  146  
  147   export PUM A_SSL_BIND _KEY="./ss l/server.k ey"
  148   export PUM A_SSL_BIND _CERT="./s sl/server. crt"
  149  
  150  
  151   ########## ########## ########## ########## ########## ##########
  152   # Configur ation for  eMail not  related to  feedback
  153   # For exam ple user n otificatio ns, passwo rd resets,  etc.
  154  
  155   # Action m ailer (e-m ail) setti ngs.
  156   # You will  need to e nable less  secure ap ps in your  Google ac count if y ou plan
  157   # to use G Mail as yo ur e-mail  SMTP serve r.
  158   # You can  do that he re: https: //www.goog le.com/set tings/secu rity/lesss ecureapps
  159  
  160   export ACC OUNT_MGMT_ INBOX= P I                 '
  161   export EMA IL_SANITIZ E=false
  162   export EMA IL_HOST='s mtp.gmail. com'
  163   export EMA IL_PORT= PORT
  164   export EMA IL_DOMAIN= 'gmail.com '
  165   export EMA IL_USER='n otificatio n.cpptestu ser@gmail. com'
  166   export EMA IL_PASS='F lyingDrago ns'
  167  
  168   # Sanitize  Email
  169  
  170   export SAN ITIZED_EMA IL='cui.te sting@gmai l.com'
  171  
  172  
  173   ########## ########## ########## ####
  174   # Feedback  integrati on with Hi pchat and  Email noti fications
  175  
  176   export ENA BLE_FEEDBA CK=true
  177  
  178  
  179   ########## ########## ########## ####
  180   # Hipchat  notificati on of feed back
  181  
  182   # NOTE:  T he IM gate way is use d by both  hipchat an d slack no tification s
  183   # SMELL: T he hostnam e may need  to be cha nged to 12 7.0.0.1
  184   export FEE DBACK_IM_G ATEWAY='dr uby://loca lhost:9999 '
  185  
  186   export ENA BLE_FEEDBA CK_HIPCHAT =true
  187  
  188   export FEE DBACK_HIPC HAT_SERVER =evss.hipc hat.com
  189   export FEE DBACK_HIPC HAT_ROOM=' CPP Feedba ck'
  190   export FEE DBACK_HIPC HAT_TOKEN= 'kwKVOmF2E 4ZixBOrLOd k9zbOpOOzr nDzWhxDbUb G'
  191  
  192  
  193   ########## ########## ########## ####
  194   # slack no tification  of feedba ck
  195  
  196   # NOTE: Sl ack notifi cations ar e also sen t via the  FEEDBACK_I M_GATEWAY
  197  
  198   # This is  for teamcu iva.slack. com
  199   export ENA BLE_FEEDBA CK_SLACK=t rue
  200  
  201   # This inc oming webh ook URL is  associate d with the  #feedback  channel
  202   export FEE DBACK_SLAC K_WEBHOOK_ URL='https ://hooks.s lack.com/s ervices/T4 FNK5R7Z/B4 G8B518F/5S zWZInzybtB xsuYfamraJ W1'
  203  
  204   export FEE DBACK_SLAC K_CHANNEL= '#feedback '
  205   export FEE DBACK_SLAC K_USERNAME ='feedback er'
  206  
  207  
  208   ########## ########## ########## ####
  209   # eMail no tification  of feedba ck
  210  
  211   export ENA BLE_FEEDBA CK_EMAIL=t rue
  212  
  213   # multiple  eMail add resses can  be includ ed as a co mma separa ted list
  214   export FEE DBACK_EMAI L_TO_CPP=
P II                   '
  215   export FEE DBACK_EMAI L_TO_CUI= P I                 '
  216   export FEE DBACK_EMAI L_SUBJECT= 'CUI/CPP F eedback'
  217  
  218   export FEE DBACK_EMAI L_SANITIZE =false
  219   export FEE DBACK_EMAI L_HOST=$EM AIL_HOST
  220   export FEE DBACK_EMAI L_PORT=$EM AIL_PORT
  221   export FEE DBACK_EMAI L_DOMAIN=$ EMAIL_DOMA IN
  222   export FEE DBACK_EMAI L_USER=$EM AIL_USER
  223   export FEE DBACK_EMAI L_PASS=$EM AIL_PASS
  224  
  225  
  226   ########## ########## ########## ########## ########## ##########
  227   # Database
  228  
  229   # NOTE: Re move Postg reSQL "PG* " environm ent variab les define d in your
  230   #       te rminal/con sole sessi on.
  231  
  232   export DBA DAPTER='po stgresql'
  233   export DBH OST='local host'
  234   export DBP ORT= PORT
  235   export DBN AME='drtur botax'
  236   export DBU SER='deap'
  237   export DBP ASS='blue- sea'
  238  
  239  
  240   ########## ########## ########## ########## ########## ##########
  241   # Docker-r elated
  242  
  243   # NOTE: DB RESET, DBM IGRATE abd  DBSEED ar e used by  the docker  deploymen t process.
  244   #       Mo re specifi cally they  are used  by the rak e prep:db  task locat ed at
  245   #       li b/tasks/pr ep.rake
  246  
  247   export DBR ESET=false     # Invo ke db:rese t before a pp:start
  248   export DBM IGRATE=fal se  # Invo ke db:migr ate before  app:start
  249   export DBS EED=false      # Does  rake db:s eed when t rue on doc ker contai ner startu p
  250  
  251   # Used in  the Rails. root/db_do cker-compo se.yml fil e.
  252   # This is  the port f or the Pos tgreSQK se rver from  the host's  point of  view
  253   # In devel opment it  is usually  the same  as $DBPORT .  In prod uction
  254   # it can b e anything .
  255  
  256   export DOC KER_HOST_D B_PORT=$DB PORT
  257  
  258   # Used in  the Rails. root/redis _docker-co mpose.yml  file.
  259   # This is  the port f or the red is server  from the h ost's poin t of view
  260   # In devel opment it  is usually  the same  as $REDIS_ PORT.  In  production
  261   # it can b e anything .
  262  
  263   export DOC KER_HOST_R EDIS_PORT= $REDIS_POR T
  264  
  265   # Used in  the Rails. root/web_d ocker-comp ose.yml fi le.
  266   # This is  the port f or the app lication s erver from  the host' s point of  view
  267   # In produ ction this  port is t ypically 8 0.  In dev elopment i t is usual ly
  268   # the same  as $PUMA_ PORT
  269  
  270   export DOC KER_HOST_W EB_PORT=$P UMA_PORT
  271  
  272  
  273   ########## ########## ########## ########## ########## ##########
  274   # NPI Regi stry
  275  
  276   # FIXME: c hange this  to NPI_LO OKUP_URL
  277   export URL _FOR_NPI_L OOKUP='htt ps://npire gistry.cms .hhs.gov'
  278  
  279  
  280   ########## ########## ########## ########## ########## ##########
  281   # Veterans  Exchange  API web-se rvice
  282  
  283   export VX_ API_BASE_U RL=https:/ / DNS
  284   export VX_ API_AUTH_U RL=$VX_API _BASE_URL/ authentica tion
  285  
  286   export VX_ API_CREDEN TIALS='{"a ccessCode" : "pu1234" ,"verifyCo de": "pu12 34!!","sit e": "9E7A" }'
  287  
  288   ########## ########## ########## ########## ########## ##########
  289   # MVI API  web-servic e
  290   MVI_API_UR L="https:/ /URL.PORT"
  291  
  292   ########## ########## ########## ########## ########## ##########
  293   # VIA API  web-servic e
  294  
  295   # false: u se the dat abase mode ls; true:  use the VI A_API mode ls
  296   export VIA _ACTIVE_FO R_CPP=fals e
  297  
  298  
  299   # false: b ypass the  Vista logi n page aft er user lo gs into CU I;
  300   # true:  e nforce Vis ta login a fter user  logs into  CUI
  301   export VIA _ACTIVE_FO R_CUI=fals e
  302  
  303  
  304   # root-lev el path fo r VIA_API  service
  305   export VIA _API_URL=h ttps:// DNS 
  306  
  307   # URL path names for  VIA_API se rvice.
  308   # NOTE: th ese two va lues will  be the sam e in a pro duction sy stem but d ifferent w hen using
  309   # the `via _soap_emul ator` util ity.  VIA_ API_ROOT_E NDPOINT is  the servi ce endpoin t that
  310   # the VIA_ API servic e hits to  communicat e with VIS TA, and wi ll be loca lhost or s ome other
  311   # non-prod uction tes t URL if u sing the s imulator.
  312   # VIA_API_ XML_NAMESP ACE is the  value of  xmlns:ns2  XML attrib utes and s hould alwa ys be a *. va.gov URL .
  313   export VIA _API_ROOT_ ENDPOINT=h ttp:// DNS        
  314   export VIA _API_NAMES PACE=http: // DNS        
  315   export VIA _API_XML_N AMESPACE=h ttp:// DNS        
  316  
  317   # Requesti ng app use d in VIA w eb-service
  318   export VIA _REQ_APP=" VIA!Tester "
  319  
  320   # Consumin g app toke n used to  authentica te with VI A web-serv ice
  321   export VIA _CONS_APP_ TOKEN="VIA #Tester_ID "
  322  
  323   # Consumin g app pass word used  to authent icate VIA  web-servic e
  324   export VIA _CONS_APP_ PASS="iU6r W8xj1g"
  325  
  326   ########## ########## ########## ########## ########## ##########
  327   # VISTA_CL INIC_CACHE _AGE_IN_DA YS
  328   # The amou nt of time  that clin ics are ca ched.
  329  
  330   export VIS TA_CLINIC_ CACHE_AGE_ IN_DAYS=7
  331  
  332   ########## ########## ########## ########## ########## ##########
  333   # DAS API  web-servic e
  334  
  335   # false: u se public/ fake_docst ore; true:  store on  DAS
  336   export DAS _ACTIVE_FO R_CUI=fals e
  337  
  338   # This all ows separa te storage  for diffe rent envir onments
  339   export DAS _APP_NAME= "CUI"
  340   export DAS _API_URL=" https://da s-test.va. gov"
  341  
  342   ########## ########## ########## ########## ########## ##########
  343   # SAML-rel ated suppo rt SSO via  SSOi and  id.me
  344  
  345   # This is  the base U RL of the  applicatio n; the por t number i s
  346   # subject  to changes  based upo n whether  the applic ation is r unning
  347   # under do cker or no t.  The IP ADDRESS is  subject t o which ho st
  348   # the appl icatoin is  running u nder.  THe  protocol  while in d evelopment
  349   # is http  BUT when i n producti on it will  have to b e HTTPS
  350  
  351   export SAM L_ISSUER=$ APP_URL      # http:/ /52.222.56 .104:4567  if on the  QA/Test se rver
  352  
  353   # Relative  to $APP_U RL
  354  
  355   export SAM L_CALLBACK =saml/call back
  356   export SAM L_LOGOUT=s aml/logout
  357  
  358   # This is  the URL pr ovided by  id.me
  359  
  360   export SAM L_METADATA _URL=https ://api.idm elabs.com/ saml/metad ata/provid er
  361  
  362   # Filename s relative  to Rails. root
  363  
  364   export SAM L_CERTIFIC ATE='tmp_c erts/cpp-s aml.crt'
  365   export SAM L_KEY='tmp _certs/cpp -saml.key'
  366  
  367   # FIXME: t hese both  reference  port 3001  as if they  might
  368   #        b e leftover s from the  SSOi and  passenger
  369  
  370   # export S AML_RELAY= http://loc alhost:300 1/auth/log in/callbac k
  371   # export S AML_LOGOUT _RELAY=htt p://localh ost:3001/l ogout
  372  
  373  
  374   ########## ########## ########## ########## ########## ##########
  375   # Data sto rage integ ration
  376  
  377   # FIXME: W hy are the se here wi thout a va lue?
  378  
  379   # export V LER_DAS_CA CERT=''
  380   # export V LER_DAS_CE RT=''
  381   # export V LER_DAS_CI PHER_SUITE S=''
  382   # export V LER_DAS_KE YFILE=''
  383   # export V LER_DAS_KE YPASS=''
  384   # export V LER_DAS_UR L=''
  385  
  386  
  387   ########## ########## ########## ########## ########## ##########
  388   # Unknown  stuff that  requires  documentat ion from t he
  389   # CUI feat ure set te ams.
  390  
  391   # FIXME: v ariable is  too gener ic
  392   export CAL LBACK_URL= 'https:// DNS    
  393  
  394   # FIXME: W hy is this  here with out a valu e?
  395   # export C UI_DISABLE _UNDER_REV IEW=''
  396  
  397   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'
  398   export IDP _TARGET_UR L='https:/ /
D NS        
  399  
  400   export ISS UER='CUI'
  401   export NAM E_IDENTIFI ER_FORMAT= 'urn:oasis :names:tc: SAML:2.0:n ameid-form at:email'
  402  
  403   # FIXME: W hy are the se here wi thout valu es?
  404  
  405   # export E NABLE_PHAS E_2=''
  406   # export P HASE_2_BOD Y_SYSTEMS= ''
  407  
  408   # export S ECRET_KEY_ BASE=''
  409   # export V BMS_UPLOAD ER_ENV=''
  410  
  411  
  412   ########## ########## ########## ########## ########## ##########
  413   # News and  Training  Material W ebsite
  414  
  415   export NTM _ENABLED=t rue
  416  
  417   export NTM _S3_ENABLE D=false
  418   export NTM _S3_TOKEN= unknown_to _be_provid ed
  419   export NTM _S3_BUCKET =unknown_t o_be_provi ded
  420  
  421   # NOTE: wh en NTM_S3_ ENABLED is  false; us e the loca l filesyst em
  422   #       ro oted at Ra ils.root/p ublic
  423   export NTM _ROOT_DIR= news_and_t raining_ma terial
  424   export NTM _NEWS_DIR= news_archi ve
  425   export NTM _TM_DIR=tr aining_mat erial
  426   export NTM _CUI_DIR=c ui
  427   export NTM _CPP_DIR=c pp
  428  
  429  
  430   ########## ########## ########## ########## ########## ##########
  431   # Turn off  CPP featu res prior  to depreca ting code
  432   # TODO: re move this  once CPP c ode is del eted
  433  
  434   export CPP _DISABLED= true
  435  
  436   ########## ########## ########## ########## ########## ########## ########## ########## #
  437   ## DAS Sit e-To-Site  Connection
  438   ## Default  Values: W ill be ove rridden by  the appro priate pla tform spec ific files
  439   ########## ########## ########## ########## ########## ########## ########## ########## #
  440   export DAS _HOST="das -test.va.g ov"
  441   export DAS _IP="127.0 .0.1"
  442  
  443   ########## ########## ########## ########## ########## ########## ########## ##########
  444   ## MVI Sit e-To-Site  Connection
  445   ## Default  Values: W ill be ove rridden by  the appro priate pla tform spec ific files
  446   ########## ########## ########## ########## ########## ########## ########## ##########
  447   export MVI _HOST="pre prod.servi ces.eauth. va.gov"
  448   export MVI _IP=" IP "