587. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/14/2017 1:29:04 PM Eastern Standard 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.

587.1 Files compared

# Location File Last Modified
1 CUI-CPP-v2.3.2-source.zip .env Mon Nov 20 23:19:07 2017 UTC
2 CUI-CPP-v2.3.2-source.zip .env Thu Dec 14 15:58:06 2017 UTC

587.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 20 692
Changed 19 56
Inserted 0 0
Removed 0 0

587.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

587.4 Active regular expressions

No regular expressions were active.

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