894. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/3/2017 11:16:04 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.

894.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\subsystems\hdr hdr-client-spec.js Tue Jan 10 16:20:50 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\subsystems\hdr hdr-client-spec.js Tue Oct 3 13:22:11 2017 UTC

894.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 116
Changed 3 8
Inserted 0 0
Removed 0 0

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

894.4 Active regular expressions

No regular expressions were active.

894.5 Comparison detail

  1   'use stric t';
  2  
  3   // var _ =  require(' underscore ');
  4   // var for mat = requ ire('util' ).format;
  5   // var que rystring =  require(' querystrin g');
  6  
  7   require('. ./../../.. /env-setup ');
  8   var log =  require(gl obal.VX_DU MMIES + 'd ummy-logge r');
  9   var HdrCli ent = requ ire(global .VX_SUBSYS TEMS + 'hd r/hdr-clie nt');
  10  
  11   var config  = {
  12       hdr: {
  13           pu bsubConfig : {
  14                  host: ' IP          ',
  15                  port:  PORT ,
  16                protocol : 'http',
  17                  path: 'rep ositories. URL         /fpds/vpr/ ',
  18                server:  'HMPTest',
  19                clientNa me: 'eHMP' ,
  20                _type: ' json',
  21                identifi er: 'USVHA ',
  22                extractS chema: '3. 001',
  23                maxBatch Size: 500,
  24                timeout:  6000
  25           },
  26           hd rSites: {
  27                '84F0' :  {
  28                    stat ionNumber:  578
  29                }
  30           }
  31       }
  32   };
  33  
  34   describe(' hdr-client .js', func tion() {
  35       var hd rClient =  new HdrCli ent(log, l og, config );
  36  
  37       it('co nstruct ge tStationId BySiteId',  function( ) {
  38           va r siteId =  '84F0';
  39           va r stationI d = hdrCli ent.getSta tionIdBySi teId(siteI d);
  40           ex pect(stati onId).toEq ual(578);
  41           si teId = 'FH DH';
  42           st ationId =  hdrClient. getStation IdBySiteId (siteId);
  43           ex pect(stati onId).toEq ual(undefi ned);
  44           si teId = und efined;
  45           st ationId =  hdrClient. getStation IdBySiteId (siteId);
  46           ex pect(stati onId).toEq ual(undefi ned);
  47       });
  48  
  49       it('co nstruct re solvedIden tifier', f unction()  {
  50           va r expected Identifier  = '5-578- USVHA';
  51           va r resolved Identifier  = hdrClie nt._getHDR ResolvedId entifier(5 ,578);
  52           ex pect(resol vedIdentif ier).toEqu al(expecte dIdentifie r);
  53  
  54       });
  55  
  56       it('co nstruct HD R Base URL ', functio n() {
  57             var expect edUrl = 'h ttp:// IP                /repositor ies. URL         /fpds/vpr/ ';
  58           va r resolved Url = hdrC lient._get HDRBaseUrl ();
  59           ex pect(resol vedUrl).to Equal(expe ctedUrl);
  60  
  61       });
  62   });