82. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/4/2017 8:04:35 AM 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.

82.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\subsystems\asu asu-process-itest-spec.js Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\subsystems\asu asu-process-itest-spec.js Tue Oct 3 17:18:06 2017 UTC

82.2 Comparison summary

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

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

82.4 Active regular expressions

No regular expressions were active.

82.5 Comparison detail

  1   'use stric t';
  2  
  3   var logger ;
  4   var asu_pr ocess = re quire('./a su-process ');
  5  
  6   describe(' Asu test',  function  () {
  7  
  8       before Each(funct ion () {
  9           lo gger = req uire('buny an').creat eLogger({
  10                name: 'a su-process -spec.js'
  11           }) ;
  12       });
  13  
  14       it.ski p('call ja va end poi nt', funct ion (done)  {
  15           va r jsonPara ms = {
  16                'userCla ssUids': [
  17                    'urn :va:asu-cl ass:9E7A:5 61'
  18                ],
  19                'docDefU id': 'urn: va:doc-def :9E7A:3',
  20                'docStat us': 'COMP LETED',
  21                'roleNam es': [
  22                    'AUT HOR/DICTAT OR',
  23                    'EXP ECTED SIGN ER',
  24                    'EXP ECTED COSI GNER',
  25                    'ATT ENDING PHY SICIAN'
  26                ],
  27                'actionN ames': [
  28                    'VIE W',
  29                    'EDI T RECORD',
  30                    'PRI NT RECORD' ]
  31           };
  32           va r httpConf ig = {
  33                'timeout ': 30000,
  34                'url': ' /asu/rules /getDocPer missions',
  35                'port':  9000
  36           };
  37             httpConfig .baseUrl =  'http:// IP             '.replace( /:\d{4}$/,  ':' + htt pConfig.po rt);
  38           ht tpConfig.l ogger = lo gger;
  39  
  40           va r expected Response =  '[{"actio nName":"VI EW","hasPe rmission": true},{"ac tionName": "EDIT RECO RD","hasPe rmission": false},{"a ctionName" :"PRINT RE CORD","has Permission ":true}]';
  41  
  42           as u_process. evaluate(j sonParams,  null, htt pConfig, n ull, logge r, functio n (error,  response)  {
  43                done();
  44                console. log('call  java end p oint %j ',  response) ;
  45                expect(r esponse).t o.eql(JSON .parse(exp ectedRespo nse));
  46           }) ;
  47       });
  48   });
  49