192. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 2/21/2018 6:58:23 AM Central 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.

192.1 Files compared

# Location File Last Modified
1 CUI-CPP-v2.4.0-source-archive.zip .env Thu Dec 21 03:33:17 2017 UTC
2 CUI-CPP-v2.4.0-source-archive.zip .env Tue Feb 13 15:34:21 2018 UTC

192.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 16 786
Changed 15 40
Inserted 0 0
Removed 0 0

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

192.4 Active regular expressions

No regular expressions were active.

192.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  PORT ; using un icorn's de fault inst ead
  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 EMA IL_SANITIZ E=false
  161   export EMA IL_HOST='s mtp.gmail. com'
  162   export EMA IL_PORT= PORT
  163   export EMA IL_DOMAIN= 'gmail.com '
  164   export EMA IL_USER='n otificatio n.cpptestu ser@gmail. com'
  165   export EMA IL_PASS='F lyingDrago ns'
  166  
  167   # Sanitize  Email
  168  
  169   export SAN ITIZED_EMA IL='cui.te sting@gmai l.com'
  170  
  171  
  172   ########## ########## ########## ####
  173   # Feedback  integrati on with Hi pchat and  Email noti fications
  174  
  175   export ENA BLE_FEEDBA CK=true
  176  
  177  
  178   ########## ########## ########## ####
  179   # Hipchat  notificati on of feed back
  180  
  181   # NOTE:  T he IM gate way is use d by both  hipchat an d slack no tification s
  182   # SMELL: T he hostnam e may need  to be cha nged to 12 7.0.0.1
  183   export FEE DBACK_IM_G ATEWAY='dr uby://loca lhost: PORT '
  184  
  185   export ENA BLE_FEEDBA CK_HIPCHAT =true
  186  
  187   export FEE DBACK_HIPC HAT_SERVER =evss.hipc hat.com
  188   export FEE DBACK_HIPC HAT_ROOM=' CPP Feedba ck'
  189   export FEE DBACK_HIPC HAT_TOKEN= ' R E
D ACTE D
'
  190  
  191  
  192   ########## ########## ########## ####
  193   # slack no tification  of feedba ck
  194  
  195   # NOTE: Sl ack notifi cations ar e also sen t via the  FEEDBACK_I M_GATEWAY
  196  
  197   # This is  for teamcu iva.slack. com
  198   export ENA BLE_FEEDBA CK_SLACK=t rue
  199  
  200   # This inc oming webh ook URL is  associate d with the  #feedback  channel
  201   export FEE DBACK_SLAC K_WEBHOOK_ URL='https ://hooks.s lack.com/s ervices/T4 FNK5R7Z/B4 G8B518F/5S zWZInzybtB xsuYfamraJ W1'
  202  
  203   export FEE DBACK_SLAC K_CHANNEL= '#feedback '
  204   export FEE DBACK_SLAC K_USERNAME ='feedback er'
  205  
  206  
  207   ########## ########## ########## ####
  208   # eMail no tification  of feedba ck
  209  
  210   export ENA BLE_FEEDBA CK_EMAIL=t rue
  211  
  212   # multiple  eMail add resses can  be includ ed as a co mma separa ted list
  213   export FEE DBACK_EMAI L_TO_CPP=' CPPFeedbac k@ DOMAIN '
  214   export FEE DBACK_EMAI L_TO_CUI=' CUISupport @ DOMAIN '
  215   export FEE DBACK_EMAI L_SUBJECT= 'CUI/CPP F eedback'
  216  
  217   export FEE DBACK_EMAI L_SANITIZE =false
  218   export FEE DBACK_EMAI L_HOST=$EM AIL_HOST
  219   export FEE DBACK_EMAI L_PORT=$EM AIL_PORT
  220   export FEE DBACK_EMAI L_DOMAIN=$ EMAIL_DOMA IN
  221   export FEE DBACK_EMAI L_USER=$EM AIL_USER
  222   export FEE DBACK_EMAI L_PASS=$EM AIL_PASS
  223  
  224  
  225   ########## ########## ########## ########## ########## ##########
  226   # Database
  227  
  228   # NOTE: Re move Postg reSQL "PG* " environm ent variab les define d in your
  229   #       te rminal/con sole sessi on.
  230  
  231   export DBA DAPTER='po stgresql'
  232   export DBH OST='local host'
  233   export DBP ORT= PORT
  234   export DBN AME='drtur botax'
  235   export DBU SER='deap'
  236   export DBP ASS='blue- sea'
  237  
  238  
  239   ########## ########## ########## ########## ########## ##########
  240   # Docker-r elated
  241  
  242   # NOTE: DB RESET, DBM IGRATE abd  DBSEED ar e used by  the docker  deploymen t process.
  243   #       Mo re specifi cally they  are used  by the rak e prep:db  task locat ed at
  244   #       li b/tasks/pr ep.rake
  245  
  246   export DBR ESET=false     # Invo ke db:rese t before a pp:start
  247   export DBM IGRATE=fal se  # Invo ke db:migr ate before  app:start
  248   export DBS EED=false      # Does  rake db:s eed when t rue on doc ker contai ner startu p
  249  
  250   # Used in  the Rails. root/db_do cker-compo se.yml fil e.
  251   # This is  the port f or the Pos tgreSQK se rver from  the host's  point of  view
  252   # In devel opment it  is usually  the same  as $DBPORT .  In prod uction
  253   # it can b e anything .
  254  
  255   export DOC KER_HOST_D B_PORT=$DB PORT
  256  
  257   # Used in  the Rails. root/redis _docker-co mpose.yml  file.
  258   # This is  the port f or the red is server  from the h ost's poin t of view
  259   # In devel opment it  is usually  the same  as $REDIS_ PORT.  In  production
  260   # it can b e anything .
  261  
  262   export DOC KER_HOST_R EDIS_PORT= $REDIS_POR T
  263  
  264   # Used in  the Rails. root/web_d ocker-comp ose.yml fi le.
  265   # This is  the port f or the app lication s erver from  the host' s point of  view
  266   # In produ ction this  port is t ypically 8 0.  In dev elopment i t is usual ly
  267   # the same  as $PUMA_ PORT
  268  
  269   export DOC KER_HOST_W EB_PORT=$P UMA_PORT
  270  
  271  
  272   ########## ########## ########## ########## ########## ##########
  273   # NPI Regi stry
  274  
  275   # FIXME: c hange this  to NPI_LO OKUP_URL
  276   export URL _FOR_NPI_L OOKUP='htt ps://npire gistry.cms .hhs.gov'
  277  
  278  
  279   ########## ########## ########## ########## ########## ##########
  280   # Veterans  Exchange  API web-se rvice
  281  
  282   export VX_ API_BASE_U RL=https:/ /ehmp.vaft l.us/resou rce
  283   export VX_ API_AUTH_U RL=$VX_API _BASE_URL/ authentica tion
  284  
  285   export VX_ API_CREDEN TIALS='{"a ccessCode" : " USER    ","verifyC ode": " PW        ","site":  " SIT E
"}'
  286  
  287   ########## ########## ########## ########## ########## ##########
  288   # MVI API  web-servic e
  289   MVI_API_UR L="https:/ / SERVER : PORT /psim_webs ervice/dev /"
  290  
  291   ########## ########## ########## ########## ########## ##########
  292   # VIA API  web-servic e
  293  
  294   # false: u se the dat abase mode ls; true:  use the VI A_API mode ls
  295   export VIA _ACTIVE_FO R_CPP=fals e
  296  
  297  
  298   # false: b ypass the  Vista logi n page aft er user lo gs into CU I;
  299   # true:  e nforce Vis ta login a fter user  logs into  CUI
  300   export VIA _ACTIVE_FO R_CUI=fals e
  301  
  302  
  303   # root-lev el path fo r VIA_API  service
  304   export VIA _API_URL=h ttps:// SERVER:POR T /via-webse rvices/ser vices/
  305  
  306   # URL path names for  VIA_API se rvice.
  307   # NOTE: th ese two va lues will  be the sam e in a pro duction sy stem but d ifferent w hen using
  308   # the `via _soap_emul ator` util ity.  VIA_ API_ROOT_E NDPOINT is  the servi ce endpoin t that
  309   # the VIA_ API servic e hits to  communicat e with VIS TA, and wi ll be loca lhost or s ome other
  310   # non-prod uction tes t URL if u sing the s imulator.
  311   # VIA_API_ XML_NAMESP ACE is the  value of  xmlns:ns2  XML attrib utes and s hould alwa ys be a *. DNS       URL.
  312   export VIA _API_ROOT_ ENDPOINT=h ttp:// DNS          . URL         /
  313   export VIA _API_NAMES PACE=http: // DNS          . URL         /
  314   export VIA _API_XML_N AMESPACE=h ttp:// DNS          . URL         /
  315  
  316   # Requesti ng app use d in VIA w eb-service
  317   export VIA _REQ_APP=" VIA!Tester "
  318  
  319   # Consumin g app toke n used to  authentica te with VI A web-serv ice
  320   export VIA _CONS_APP_ TOKEN="VIA #Tester_ID "
  321  
  322   # Consumin g app pass word used  to authent icate VIA  web-servic e
  323   export VIA _CONS_APP_ PASS=" REDACTED "
  324  
  325  
  326   ########## ########## ########## ########## ########## ##########
  327   # SAML-rel ated suppo rt SSO via  SSOi and  id.me
  328  
  329   # This is  the base U RL of the  applicatio n; the por t number i s
  330   # subject  to changes  based upo n whether  the applic ation is r unning
  331   # under do cker or no t.  The IP ADDRESS is  subject t o which ho st
  332   # the appl icatoin is  running u nder.  THe  protocol  while in d evelopment
  333   # is http  BUT when i n producti on it will  have to b e HTTPS
  334  
  335   export SAM L_ISSUER=$ APP_URL       # http:// IP : PORT  if on the  QA/Test s erver
  336  
  337   # Relative  to $APP_U RL
  338  
  339   export SAM L_CALLBACK =saml/call back
  340   export SAM L_LOGOUT=s aml/logout
  341  
  342   # This is  the URL pr ovided by  id.me
  343  
  344   export SAM L_METADATA _URL=https ://api.idm elabs.com/ saml/metad ata/provid er
  345  
  346   # Filename s relative  to Rails. root
  347  
  348   export SAM L_CERTIFIC ATE='tmp_c erts/cpp-s aml.crt'
  349   export SAM L_KEY='tmp _certs/cpp -saml.key'
  350  
  351   # FIXME: t hese both  reference  port 3001  as if they  might
  352   #        b e leftover s from the  SSOi and  passenger
  353  
  354   # export S AML_RELAY= http://loc alhost:300 1/auth/log in/callbac k
  355   # export S AML_LOGOUT _RELAY=htt p://localh ost:3001/l ogout
  356  
  357  
  358   ########## ########## ########## ########## ########## ##########
  359   # Data sto rage integ ration
  360  
  361   # FIXME: W hy are the se here wi thout a va lue?
  362  
  363   # export V LER_DAS_CA CERT=''
  364   # export V LER_DAS_CE RT=''
  365   # export V LER_DAS_CI PHER_SUITE S=''
  366   # export V LER_DAS_KE YFILE=''
  367   # export V LER_DAS_KE YPASS=''
  368   # export V LER_DAS_UR L=''
  369  
  370  
  371   ########## ########## ########## ########## ########## ##########
  372   # Unknown  stuff that  requires  documentat ion from t he
  373   # CUI feat ure set te ams.
  374  
  375   # FIXME: v ariable is  too gener ic
  376   export CAL LBACK_URL= 'https:// SERVER /users/aut h/saml/cal lback'
  377  
  378   # FIXME: W hy is this  here with out a valu e?
  379   # export C UI_DISABLE _UNDER_REV IEW=''
  380  
  381   export IDP _CERT_FING ERPRINT=' R E
D
A
C T E D '
  382   export IDP _TARGET_UR L='https:/ / SERVER /fedredire ctjsp/fedr edirect.js p?SPID=CUI '
  383  
  384   export ISS UER='CUI'
  385   export NAM E_IDENTIFI ER_FORMAT= 'urn:oasis :names:tc: SAML:2.0:n ameid-form at:email'
  386  
  387   # FIXME: W hy are the se here wi thout valu es?
  388  
  389   # export E NABLE_PHAS E_2=''
  390   # export P HASE_2_BOD Y_SYSTEMS= ''
  391  
  392   # export S ECRET_KEY_ BASE=''
  393   # export V BMS_UPLOAD ER_ENV=''
  394  
  395  
  396   ########## ########## ########## ########## ########## ##########
  397   # News and  Training  Material W ebsite
  398  
  399   export NTM _ENABLED=t rue
  400  
  401   export NTM _S3_ENABLE D=false
  402   export NTM _S3_TOKEN= unknown_to _be_provid ed
  403   export NTM _S3_BUCKET =unknown_t o_be_provi ded
  404  
  405   # NOTE: wh en NTM_S3_ ENABLED is  false; us e the loca l filesyst em
  406   #       ro oted at Ra ils.root/p ublic
  407   export NTM _ROOT_DIR= news_and_t raining_ma terial
  408   export NTM _NEWS_DIR= news_archi ve
  409   export NTM _TM_DIR=tr aining_mat erial
  410   export NTM _CUI_DIR=c ui
  411   export NTM _CPP_DIR=c pp
  412  
  413