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

220.1 Files compared

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

220.2 Comparison summary

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

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

220.4 Active regular expressions

No regular expressions were active.

220.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_CLAIMS,
  9         req. body
  10       )
  11       .then( data => {
  12         res. status(dat a.response .statusCod e).json(da ta.respons eBody);
  13       });
  14   });
  15  
  16   module.exp orts = rou ter;
  17  
  18   // router. post("/",  (req, res)  => {
  19   //   // co nsole.log( "Getting d etails for  reasons/d escription s:"+JSON.s tringify(r eq.body.bo dy));
  20   //   conso le.log("re quest reac hed claims .js on nod e");
  21   //   var r equestData  = req.bod y.body;
  22   //   conso le.log("re quest body  from disa pproved cl aims   " +  requestDa ta);
  23   //   getAc cessToken(
  24   //     pro cess.env.E ND_POINT_B ASE_URI +  process.en v.TOKEN_RE QUEST
  25   //   ).the n(response  => {
  26   //     acc ess_token  = "Bearer  " + respon se["access _token"];
  27   //     con sole.log(" Inside nod eserver");
  28   //     get Resource(
  29   //       a ccess_toke n,
  30   //       p rocess.env .END_POINT _BASE_URI  + process. env.DISAPP ROVE_CLAIM S,
  31   //       r equestData
  32   //     ).t hen(respon se => {
  33   //       r esponse.to String("ut f-8");
  34   //       c onsole.log (
  35   //          "Response  is ------ --" + JSON .stringify (response)  + "------ --"
  36   //       ) ,
  37   //          res.statu s(200).jso n(response );
  38   //     });
  39   //   });
  40   // });
  41  
  42   // functio n getAcces sToken(url ) {
  43   //   let f ullAuthent ication =  "Basic " +  btoa(user name + ":"  + passwor d);
  44   //   let a rgs = {
  45   //     par ameters: {
  46   //       g rant_type:  "password ",
  47   //         username:  " AI ",
  48   //         password:  " AI "
  49   //     },
  50   //     hea ders: {
  51   //       A uthorizati on: fullAu thenticati on,
  52   //       " Content-Ty pe": "appl ication/js on"
  53   //     }
  54   //   };
  55  
  56   //   let m akeRestCal l = functi on() {
  57   //     ret urn new Pr omise(func tion(resol ve, reject ) {
  58   //       c lient.post (url, args , function (data, res ponse) {
  59   //          resolve(d ata);
  60   //       } );
  61   //     });
  62   //   };
  63  
  64   //   let p romise = m akeRestCal l();
  65  
  66   //   retur n promise;
  67   // }
  68  
  69   // functio n getResou rce(access _token, ur l, request Data) {
  70   //   var a rgs = {
  71   //     hea ders: {
  72   //       A uthorizati on: access _token,
  73   //       " Content-Ty pe": "appl ication/js on"
  74   //     },
  75   //     dat a: request Data
  76   //   };
  77  
  78   //   const  makeRestC all = func tion() {
  79   //     ret urn new Pr omise(func tion(resol ve, reject ) {
  80   //       c lient.post (url, args , function (data, res ponse) {
  81   //          resolve(d ata);
  82   //       } );
  83   //     });
  84   //   };
  85  
  86   //   let p romise = m akeRestCal l();
  87   //   retur n promise;
  88   // }