Produced by Araxis Merge on 10/3/2017 11:15:45 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\scripts | testFullStack.sh | Tue Jan 10 16:20:50 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\scripts | testFullStack.sh | Mon Oct 2 20:02:40 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 228 |
| Changed | 3 | 6 |
| 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 | #!/bin/bas h | |
| 2 | # | |
| 3 | # | |
| 4 | # --nodepl oy will no t deploy a ny of the VMs but wi ll just re set Vista and JDS | |
| 5 | # --full will de ploy the w hole eHMP stack (Vis ta, JDS, S OLR, Mocks , and VXSy nc) | |
| 6 | # --destro y will de stroy and deploy the whole eHM P stack | |
| 7 | # | |
| 8 | # Will at minimum re set the Vi sta and JD S before r unning all tests for eHMP, RDK , and eHMP -UI | |
| 9 | # The test files wil l be logge d to the c urrent dir ectory. VM s will onl y be updat ed if git changes | |
| 10 | # are foun d unless - -nodeploy is specifi ed | |
| 11 | # | |
| 12 | # | |
| 13 | ||
| 14 | pushd . | |
| 15 | ||
| 16 | #Cleanup | |
| 17 | rm -Rf ~/P rojects/vi stacore/eh mp/product /productio n/vx-sync/ scripts/te stLogs | |
| 18 | ||
| 19 | #Setup eHM P | |
| 20 | cd ~/Proje cts/vistac ore/ehmp/p roduct | |
| 21 | #./update. cookbooks. sh | |
| 22 | ehmpUpdate d=$(git pu ll | grep 'up-to-dat e') | |
| 23 | ||
| 24 | #Deploy VX Sync | |
| 25 | if [[ ( $* != *--nod eploy* ) | | ( -n "$e hmpUpdated " ) ]]; th en | |
| 26 | if [[ $* == *--destroy * ]]; then | |
| 27 | grad le destroy VXSync des troyJDS de stroyPanor ama destro yKodak des troymocks destroysol r deploypa norama dep loyKodak d eploysolr deployjds deploymock sdev deplo yvxsyncdev | |
| 28 | rese t | |
| 29 | el if [[ $* = = *--full* ]]; then | |
| 30 | grad le deployp anorama de ployKodak deploysolr deployjds deploymoc ksdev depl oyvxsyncde v | |
| 31 | rese t | |
| 32 | el se | |
| 33 | push d . | |
| 34 | cd . /productio n/vx-sync | |
| 35 | ./sc ripts/vmKi ck.sh | |
| 36 | popd | |
| 37 | curl -s "h ttp:// IP /data/doLo ad?sites=9 E7A,C877" | |
| 38 | grad le deployv xsyncdev | |
| 39 | fi | |
| 40 | else | |
| 41 | pu shd . | |
| 42 | cd ./product ion/vx-syn c | |
| 43 | ./ scripts/vm Kick.sh | |
| 44 | cu rl -s "htt p:// IP /data/doLo ad?sites=9 E7A,C877" | |
| 45 | po pd | |
| 46 | fi | |
| 47 | mkdir ~/Pr ojects/vis tacore/ehm p/product/ production /vx-sync/s cripts/tes tLogs | |
| 48 | pushd ~/Pr ojects/vis tacore/ehm p/product/ production /vx-sync | |
| 49 | date "+%T Running VX Sync Unit Tests" | |
| 50 | npm test > ~/Project s/vistacor e/ehmp/pro duct/produ ction/vx-s ync/script s/testLogs /vxSyncUni tTests.log | |
| 51 | popd | |
| 52 | ||
| 53 | url="http: // IP /statusod/ 9E7A" | |
| 54 | timeout=0 | |
| 55 | curl -f -v -s $url - -raw &> ~/ Projects/v istacore/e hmp/produc t/producti on/vx-sync /scripts/t estLogs/so urce.html | |
| 56 | teststring =$(awk '/i nProgress| 404/' ~/Pr ojects/vis tacore/ehm p/product/ production /vx-sync/s cripts/tes tLogs/sour ce.html) | |
| 57 | date "+%T Waiting fo r Operatio nal Data" | |
| 58 | until [ -z "$teststr ing" -o $t imeout -gt 600 ] ; d o | |
| 59 | printf "." | |
| 60 | let "t imeout += 20" | |
| 61 | sleep 20 | |
| 62 | cu rl -f -v - s $url --r aw &> ~/Pr ojects/vis tacore/ehm p/product/ production /vx-sync/s cripts/tes tLogs/sour ce.html | |
| 63 | te ststring=$ (awk '/inP rogress|40 4/' ~/Proj ects/vista core/ehmp/ product/pr oduction/v x-sync/scr ipts/testL ogs/source .html) | |
| 64 | done | |
| 65 | if [ $time out -gt 60 0 ]; then | |
| 66 | pr intf "Oper ational Da ta load ti med out\n" | |
| 67 | ex it 1 | |
| 68 | fi | |
| 69 | rm -f ~/Pr ojects/vis tacore/ehm p/product/ production /vx-sync/s cripts/tes tLogs/sour ce.html | |
| 70 | ||
| 71 | date "+%T Running VX Sync Inte gration Te sts" | |
| 72 | gradle vxs yncIntTest s > ~/Proj ects/vista core/ehmp/ product/pr oduction/v x-sync/scr ipts/testL ogs/vxSync IntTests.l og | |
| 73 | date "+%T Running VX Sync Acce ptance Tes ts" | |
| 74 | gradle acc eptanceTes t > ~/Proj ects/vista core/ehmp/ product/pr oduction/v x-sync/scr ipts/testL ogs/vxSync Acceptance Tests.log | |
| 75 | date "+%T Running Sy nc Cache" | |
| 76 | gradle syn cCache > ~ /Projects/ vistacore/ ehmp/produ ct/product ion/vx-syn c/scripts/ testLogs/s yncCache.l og | |
| 77 | ||
| 78 | #Setup RDK | |
| 79 | cd ~/Proje cts/vistac ore/rdk/pr oduct | |
| 80 | ./update.c ookbooks.s h | |
| 81 | rdkUpdated =$(git pul l | grep ' up-to-date ') | |
| 82 | ||
| 83 | #Deploy RD K | |
| 84 | if [[ ( $* != *--nod eploy* ) & & ( -n "$r dkUpdated" ) ]]; the n | |
| 85 | da te "+%T de ploying RD K" | |
| 86 | gr adle deplo yrdkdev | |
| 87 | fi | |
| 88 | date "+%T Running RD K Unit Tes ts" | |
| 89 | gradle tes t > ~/Proj ects/vista core/ehmp/ product/pr oduction/v x-sync/scr ipts/testL ogs/rdkUni tTests.log | |
| 90 | date "+%T Running RD K Acceptan ce Tests" | |
| 91 | gradle acc eptanceTes tStable > ~/Projects /vistacore /ehmp/prod uct/produc tion/vx-sy nc/scripts /testLogs/ rdkAccepta nceTests.l og | |
| 92 | ||
| 93 | #Setup ADK | |
| 94 | cd ~/Proje cts/vistac ore/adk/pr oduct | |
| 95 | ./update.c ookbooks.s h | |
| 96 | adkUpdated =$(git pul l | grep ' up-to-date ') | |
| 97 | ||
| 98 | #Build ADK | |
| 99 | if [[ ( $* != *--nod eploy* ) & & ( -n "$a dkUpdated" ) ]]; the n | |
| 100 | gr adle build | |
| 101 | fi | |
| 102 | ||
| 103 | #Setup eHM P-UI | |
| 104 | cd ~/Proje cts/vistac ore/ehmp-u i/product | |
| 105 | ./update.c ookbooks.s h | |
| 106 | ehmpuiUpda ted=$(git pull | gre p 'up-to-d ate') | |
| 107 | ||
| 108 | #Deploy eH MP-UI | |
| 109 | if [[ ( $* != *--nod eploy* ) & & ( -n "$e hmpuiUpdat ed" ) ]]; then | |
| 110 | gr adle build | |
| 111 | da te "+%T de ploying eH MP-UI" | |
| 112 | gr adle deplo yehmp-uilo caldev | |
| 113 | fi | |
| 114 | date "+%T Running eH MP-UI Acce ptance Tes ts" | |
| 115 | gradle acc eptanceTes t > ~/Proj ects/vista core/ehmp/ product/pr oduction/v x-sync/scr ipts/testL ogs/ehmp-u iAccTests. log | |
| 116 | ||
| 117 | popd |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.