Produced by Araxis Merge on 10/3/2017 11:16:01 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\handlers\jmeadows-sync-domain-request | jmeadows-sync-domain-request-handler-itest-spec.js | Mon Jul 10 17:46:22 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\handlers\jmeadows-sync-domain-request | jmeadows-sync-domain-request-handler-itest-spec.js | Tue Oct 3 12:49:13 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 104 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | 'use stric t'; | |
| 2 | ||
| 3 | require('. ./../../.. /env-setup '); | |
| 4 | var handle = require (global.VX _HANDLERS + 'jmeadow s-sync-dom ain-reques t/jmeadows -sync-doma in-request -handler') ; | |
| 5 | var jobUti ls = requi re(global. VX_UTILS + 'job-util s'); | |
| 6 | var dummyL ogger = re quire(glob al.VX_DUMM IES + '/du mmy-logger '); | |
| 7 | var VistaC lientDummy = require (global.VX _DUMMIES + 'vista-cl ient-dummy '); | |
| 8 | var jobSta tusUpdater Dummy = re quire(glob al.VX_DUMM IES + '/Jo bStatusUpd aterDummy' ); | |
| 9 | var testHa ndler = re quire(glob al.VX_INTT ESTS + 'fr amework/ha ndler-test -framework ').testHan dler; | |
| 10 | ||
| 11 | var testCo nfig = req uire(globa l.VX_INTTE STS + 'tes t-config') ; | |
| 12 | var vx_syn c_ip = tes tConfig.vx syncIP; | |
| 13 | // dummyLo gger = req uire('buny an').creat eLogger({ | |
| 14 | // nam e: 'test', | |
| 15 | // lev el: 'debug ' | |
| 16 | // }); | |
| 17 | ||
| 18 | var config = { | |
| 19 | jmeado ws: { | |
| 20 | do mains: ['a llergy'], | |
| 21 | al lergy: { | |
| 22 | host: vx _sync_ip, | |
| 23 | port: 54 00, | |
| 24 | path: '/ dod/allerg y', | |
| 25 | method: 'GET' | |
| 26 | } | |
| 27 | } | |
| 28 | }; | |
| 29 | ||
| 30 | var job = { | |
| 31 | type: jobUtils.j meadowsDom ainSyncReq uestType(' allergy'), | |
| 32 | patien tIdentifie r: { | |
| 33 | ty pe: 'pid', | |
| 34 | va lue: 'DOD; 0000000003 ' | |
| 35 | }, | |
| 36 | dataDo main: 'all ergy' | |
| 37 | }; | |
| 38 | ||
| 39 | describe(' jmeadows-s ync-domain -request-h andler.js' , function () { | |
| 40 | var en vironment = { | |
| 41 | vi staClient: new Vista ClientDumm y(dummyLog ger, confi g, null), | |
| 42 | jo bStatusUpd ater: jobS tatusUpdat erDummy, | |
| 43 | me trics: dum myLogger | |
| 44 | }; | |
| 45 | ||
| 46 | var ho st = vx_sy nc_ip; | |
| 47 | var port = PORT ; | |
| 48 | var tu bename = ' vx-sync-te st'; | |
| 49 | ||
| 50 | var jo bTypes = [ jobUtils.j meadowsDom ainXformVp rType('all ergy')]; | |
| 51 | ||
| 52 | testHa ndler(hand le, dummyL ogger, con fig, envir onment, ho st, port, tubename, job, jobTy pes, 30000 ); | |
| 53 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.