221. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/2/2019 1:07:33 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.

221.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ARS_Frontend\ars-app\fpps-app-server\server\routes\disapproveClaim disapprove.js Wed Mar 27 19:18:18 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\ARS_Frontend\ars-app\fpps-app-server\server\routes\disapproveClaim disapprove.js Fri Mar 29 17:54:59 2019 UTC

221.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 162
Changed 1 4
Inserted 0 0
Removed 0 0

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

221.4 Active regular expressions

No regular expressions were active.

221.5 Comparison detail

  1   const expr ess = requ ire("expre ss");
  2   const rout er = expre ss.Router( );
  3   const rest  = require ("../../re st/rest");
  4  
  5   router.pos t("/", (re q, res) =>  {
  6     rest
  7       .postR esource(
  8         proc ess.env.EN D_POINT_BA SE_URI + p rocess.env .DISAPPROV E_CLAIM,
  9         req. body.body
  10       )
  11       .then( data => {
  12         res. status(dat a.response .statusCod e).json(da ta.respons eBody);
  13       });
  14  
  15     // var r equestData  = req.bod y.body;
  16     // conso le.log("Re quest body  is   " +  JSON.strin gify(reque stData));
  17     // getAc cessToken(
  18     //    pr ocess.env. END_POINT_ BASE_URI +  process.e nv.TOKEN_R EQUEST
  19     // ).the n(response  => {
  20     //    ac cess_token  = "Bearer  " + respo nse["acces s_token"];
  21     //    co nsole.log( "Inside no de");
  22     //    ge tResource(
  23     //             acce ss_token,
  24     //             proc ess.env.EN D_POINT_BA SE_URI + p rocess.env .DISAPPROV E_CLAIM,
  25     //             requ estData
  26     //    ). then(respo nse => {
  27     //             resp onse.toStr ing("utf-8 ");
  28     //             cons ole.log(
  29     //                      "Respo nse is --- -----" + J SON.string ify(respon se) + "--- -----"
  30     //             ), r es.status( 200).json( response);
  31     //    }) ;
  32     // });
  33   });
  34  
  35   // functio n getAcces sToken(url ) {
  36   //   let f ullAuthent ication =  "Basic " +  btoa(user name + ":"  + passwor d);
  37   //   let a rgs = {
  38   //     par ameters: {
  39   //       g rant_type:  "password ",
  40   //         username:  " AI ",
  41   //         password:  " AI "
  42   //     },
  43   //     hea ders: {
  44   //       A uthorizati on: fullAu thenticati on,
  45   //       " Content-Ty pe": "appl ication/js on"
  46   //     }
  47   //   };
  48  
  49   //   let m akeRestCal l = functi on() {
  50   //     ret urn new Pr omise(func tion(resol ve, reject ) {
  51   //       c lient.post (url, args , function (data, res ponse) {
  52   //          resolve(d ata);
  53   //       } );
  54   //     });
  55   //   };
  56  
  57   //   let p romise = m akeRestCal l();
  58  
  59   //   retur n promise;
  60   // }
  61  
  62   // functio n getResou rce(access _token, ur l, request Data) {
  63   //   var a rgs = {
  64   //     hea ders: {
  65   //       A uthorizati on: access _token,
  66   //       " Content-Ty pe": "appl ication/js on"
  67   //     },
  68   //     dat a: request Data
  69   //   };
  70  
  71   //   const  makeRestC all = func tion() {
  72   //     ret urn new Pr omise(func tion(resol ve, reject ) {
  73   //       c lient.post (url, args , function (data, res ponse) {
  74   //          resolve(d ata);
  75   //       } );
  76   //     });
  77   //   };
  78  
  79   //   let p romise = m akeRestCal l();
  80   //   retur n promise;
  81   // }
  82  
  83   module.exp orts = rou ter;