Produced by Araxis Merge on 10/4/2017 8:38:10 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 | solr-smart-client.zip\solr-smart-client\tools | patient-solr-status.js | Mon Aug 28 19:30:59 2017 UTC |
| 2 | solr-smart-client.zip\solr-smart-client\tools | patient-solr-status.js | Wed Oct 4 13:26:21 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 56 |
| Changed | 2 | 76 |
| 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 | var async = require( 'async'); | |
| 4 | var reques t = requir e('request '); | |
| 5 | ||
| 6 | // These a re the 37 patients s ynced by ' gradle syn cCache' | |
| 7 | var pids = [ | |
| 8 | ' SIT E
|
|
| 9 | ' SIT E
|
|
| 10 | ' SIT E
|
|
| 11 | ' SIT E
|
|
| 12 | ' SIT E
|
|
| 13 | ' SIT E
|
|
| 14 | ' SIT E
|
|
| 15 | ' SIT E
|
|
| 16 | ' SIT E
|
|
| 17 | ' SIT E
|
|
| 18 | ' SIT E
|
|
| 19 | ' SIT E
|
|
| 20 | ' SIT E
|
|
| 21 | ' SIT E
|
|
| 22 | ' SIT E
|
|
| 23 | ' SIT E
|
|
| 24 | ' SIT E
|
|
| 25 | ' SIT E
|
|
| 26 | ' SIT E
|
|
| 27 | ' SIT E
|
|
| 28 | ' SIT E
|
|
| 29 | ' SIT E
|
|
| 30 | ' SIT E
|
|
| 31 | ' SITE ;1', | |
| 32 | ' SIT E
|
|
| 33 | ' SIT E
|
|
| 34 | ' SIT E
|
|
| 35 | ' SIT E
|
|
| 36 | ' SIT E
|
|
| 37 | ' SIT E
|
|
| 38 | ' SIT E
|
|
| 39 | ' SIT E
|
|
| 40 | ' SIT E
|
|
| 41 | ' SIT E
|
|
| 42 | ' SIT E
|
|
| 43 | ' SIT E
|
|
| 44 | ' SIT E
|
|
| 45 | ]; | |
| 46 | ||
| 47 | var failed = []; | |
| 48 | async.each Limit(pids , 20, func tion(pid, callback) { | |
| 49 | request( { | |
| 50 | url: 'http :// IP /sync/comb inedstat/' + pid | |
| 51 | }, funct ion(error, response, body) { | |
| 52 | body = JSON.pars e(body); | |
| 53 | if (!b ody.syncCo mpleted || !body.sol rSyncCompl eted) { | |
| 54 | fail ed.push(pi d + ': syn cCompleted : ' + !!bo dy.syncCom pleted + ' solrSync Completed: ' + !!bod y.solrSync Completed + ' hasEr ror: ' + ! !body.hasE rror); | |
| 55 | } | |
| 56 | return callback( error); | |
| 57 | }); | |
| 58 | }, functio n(error) { | |
| 59 | console. log(); | |
| 60 | if (erro r) { | |
| 61 | consol e.log(erro r); | |
| 62 | } | |
| 63 | console. log(failed ); | |
| 64 | console. log(); | |
| 65 | process. exit(); | |
| 66 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.