495. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/16/2017 4:03:33 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.

495.1 Files compared

# Location File Last Modified
1 CUI-CPP-v2.3.1-release.zip .env Fri Oct 20 20:13:45 2017 UTC
2 CUI-CPP-v2.3.1-release.zip .env Thu Nov 16 19:17:25 2017 UTC

495.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 18 704
Changed 17 42
Inserted 0 0
Removed 0 0

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

495.4 Active regular expressions

No regular expressions were active.

495.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 45 67 is beca use that i s the port  that was  opened
  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.  CU I used pas senger on  port 3000;  CPP used  unicorn (n ow puma) o n port 456 7.
  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='n otificatio n.cpptestu ser@gmail. com'
  142   export EMA IL_PASS='F lyingDrago ns'
  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= ' AI '
  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 FEE DBACK_EMAI L_TO='
P II'                                       '
  191   export FEE DBACK_EMAI L_SUBJECT= 'CUI/CPP F eedback'
  192  
  193   export FEE DBACK_EMAI L_SANITIZE =false
  194   export FEE DBACK_EMAI L_HOST=$EM AIL_HOST
  195   export FEE DBACK_EMAI L_PORT=$EM AIL_PORT
  196   export FEE DBACK_EMAI L_DOMAIN=$ EMAIL_DOMA IN
  197   export FEE DBACK_EMAI L_USER=$EM AIL_USER
  198   export FEE DBACK_EMAI L_PASS=$EM AIL_PASS
  199  
  200  
  201   ########## ########## ########## ########## ########## ##########
  202   # Database
  203  
  204   # NOTE: Re move Postg reSQL "PG* " environm ent variab les define d in your
  205   #       te rminal/con sole sessi on.
  206  
  207   export DBA DAPTER='po stgresql'
  208   export DBH OST='local host'
  209   export DBP ORT= PORT
  210   export DBN AME='drtur botax'
  211   export DBU SER=' AI '
  212   export DBP ASS=' AI '
  213  
  214  
  215   ########## ########## ########## ########## ########## ##########
  216   # Docker-r elated
  217  
  218   # NOTE: DB RESET, DBM IGRATE abd  DBSEED ar e used by  the docker  deploymen t process.
  219   #       Mo re specifi cally they  are used  by the rak e prep:db  task locat ed at
  220   #       li b/tasks/pr ep.rake
  221  
  222   export DBR ESET=false     # Invo ke db:rese t before a pp:start
  223   export DBM IGRATE=fal se  # Invo ke db:migr ate before  app:start
  224   export DBS EED=false      # Does  rake db:s eed when t rue on doc ker contai ner startu p
  225  
  226   # Used in  the Rails. root/db_do cker-compo se.yml fil e.
  227   # This is  the port f or the Pos tgreSQK se rver from  the host's  point of  view
  228   # In devel opment it  is usually  the same  as $DBPORT .  In prod uction
  229   # it can b e anything .
  230  
  231   export DOC KER_HOST_D B_PORT=$DB PORT
  232  
  233   # Used in  the Rails. root/redis _docker-co mpose.yml  file.
  234   # This is  the port f or the red is server  from the h ost's poin t of view
  235   # In devel opment it  is usually  the same  as $REDIS_ PORT.  In  production
  236   # it can b e anything .
  237  
  238   export DOC KER_HOST_R EDIS_PORT= $REDIS_POR T
  239  
  240   # Used in  the Rails. root/web_d ocker-comp ose.yml fi le.
  241   # This is  the port f or the app lication s erver from  the host' s point of  view
  242   # In produ ction this  port is t ypically 8 0.  In dev elopment i t is usual ly
  243   # the same  as $PUMA_ PORT
  244  
  245   export DOC KER_HOST_W EB_PORT=$P UMA_PORT
  246  
  247  
  248   ########## ########## ########## ########## ########## ##########
  249   # NPI Regi stry
  250  
  251   # FIXME: c hange this  to NPI_LO OKUP_URL
  252   export URL _FOR_NPI_L OOKUP='htt ps://npire gistry.cms .hhs.gov'
  253  
  254  
  255   ########## ########## ########## ########## ########## ##########
  256   # Veterans  Exchange  API web-se rvice
  257  
  258   export VX_ API_BASE_U RL=https:/ /ehmp.vaft l.us/resou rce
  259   export VX_ API_AUTH_U RL=$VX_API _BASE_URL/ authentica tion
  260  
  261   export VX_ API_CREDEN TIALS='{"a ccessCode" : " AI      ","verifyC ode": " AI      !!","site" : " VsID "}'
  262  
  263  
  264   ########## ########## ########## ########## ########## ##########
  265   # VIA API  web-servic e
  266  
  267   # false: u se the dat abase mode ls; true:  use the VI A_API mode ls
  268   export VIA _ACTIVE_FO R_CPP=fals e
  269  
  270  
  271   # false: b ypass the  Vista logi n page aft er user lo gs into CU I;
  272   # true:  e nforce Vis ta login a fter user  logs into  CUI
  273   export VIA _ACTIVE_FO R_CUI=fals e
  274  
  275  
  276   # root-lev el path fo r VIA_API  service
  277   export VIA _API_URL=h ttps:// URL /via-webse rvices/ser vices/
  278  
  279   # URL path names for  VIA_API se rvice.
  280   # NOTE: th ese two va lues will  be the sam e in a pro duction sy stem but d ifferent w hen using
  281   # the `via _soap_emul ator` util ity.  VIA_ API_ROOT_E NDPOINT is  the servi ce endpoin t that
  282   # the VIA_ API servic e hits to  communicat e with VIS TA, and wi ll be loca lhost or s ome other
  283   # non-prod uction tes t URL if u sing the s imulator.
  284   # VIA_API_ XML_NAMESP ACE is the  value of  xmlns:ns2  XML attrib utes and s hould alwa ys be a *. va.gov URL .
  285   export VIA _API_ROOT_ ENDPOINT=h ttp:// DNS          . URL         /
  286   export VIA _API_NAMES PACE=http: // DNS          . URL         /
  287   export VIA _API_XML_N AMESPACE=h ttp:// DNS          . URL         /
  288  
  289   # Requesti ng app use d in VIA w eb-service
  290   export VIA _REQ_APP=" VIA!Tester "
  291  
  292   # Consumin g app toke n used to  authentica te with VI A web-serv ice
  293   export VIA _CONS_APP_ TOKEN="
A
I
"
  294  
  295   # Consumin g app pass word used  to authent icate VIA  web-servic e
  296   export VIA _CONS_APP_ PASS=" AI "
  297  
  298  
  299   ########## ########## ########## ########## ########## ##########
  300   # SAML-rel ated suppo rt SSO via  SSOi and  id.me
  301  
  302   # This is  the base U RL of the  applicatio n; the por t number i s
  303   # subject  to changes  based upo n whether  the applic ation is r unning
  304   # under do cker or no t.  The IP ADDRESS is  subject t o which ho st
  305   # the appl icatoin is  running u nder.  THe  protocol  while in d evelopment
  306   # is http  BUT when i n producti on it will  have to b e HTTPS
  307  
  308   export SAM L_ISSUER=$ APP_URL      # http:/ /52.222.56 .104:4567  if on the  QA/Test se rver
  309  
  310   # Relative  to $APP_U RL
  311  
  312   export SAM L_CALLBACK =saml/call back
  313   export SAM L_LOGOUT=s aml/logout
  314  
  315   # This is  the URL pr ovided by  id.me
  316  
  317   export SAM L_METADATA _URL=https ://api.idm elabs.com/ saml/metad ata/provid er
  318  
  319   # Filename s relative  to Rails. root
  320  
  321   export SAM L_CERTIFIC ATE='tmp_c erts/cpp-s aml.crt'
  322   export SAM L_KEY='tmp _certs/cpp -saml.key'
  323  
  324   # FIXME: t hese both  reference  port 3001  as if they  might
  325   #        b e leftover s from the  SSOi and  passenger
  326  
  327   # export S AML_RELAY= http://loc alhost: PORT /auth/logi n/callback
  328   # export S AML_LOGOUT _RELAY=htt p://localh ost: PORT /logout
  329  
  330  
  331   ########## ########## ########## ########## ########## ##########
  332   # Data sto rage integ ration
  333  
  334   # FIXME: W hy are the se here wi thout a va lue?
  335  
  336   # export V LER_DAS_CA CERT=''
  337   # export V LER_DAS_CE RT=''
  338   # export V LER_DAS_CI PHER_SUITE S=''
  339   # export V LER_DAS_KE YFILE=''
  340   # export V LER_DAS_KE YPASS=''
  341   # export V LER_DAS_UR L=''
  342  
  343  
  344   ########## ########## ########## ########## ########## ##########
  345   # Unknown  stuff that  requires  documentat ion from t he
  346   # CUI feat ure set te ams.
  347  
  348   # FIXME: v ariable is  too gener ic
  349   export CAL LBACK_URL= 'https:// DNS           /users/aut h/saml/cal lback'
  350  
  351   # FIXME: W hy is this  here with out a valu e?
  352   # export C UI_DISABLE _UNDER_REV IEW=''
  353  
  354   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'
  355   export IDP _TARGET_UR L='https:/ / DNS /fedredire ctjsp/fedr edirect.js p?SPID=CUI '
  356  
  357   export ISS UER='CUI'
  358   export NAM E_IDENTIFI ER_FORMAT= 'urn:oasis :names:tc: SAML:2.0:n ameid-form at:email'
  359  
  360   # FIXME: W hy are the se here wi thout valu es?
  361  
  362   # export E NABLE_PHAS E_2=''
  363   # export P HASE_2_BOD Y_SYSTEMS= ''
  364  
  365   # export S ECRET_KEY_ BASE=''
  366   # export V BMS_UPLOAD ER_ENV=''
  367  
  368  
  369   ########## ########## ########## ########## ########## ##########
  370   # Performa nce monito ring
  371  
  372   # Refer to  the newre lic_rpm ge m for docu mentation  on this va riable
  373   export NEW _RELIC_AGE NT_ENABLED =false