@cloudant/couchbackup 2.9.9-SNAPSHOT.98 → 2.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.scannerwork/report-task.txt +2 -2
- package/.scannerwork/scanner-report/analysis-warnings.pb +2 -2
- package/.scannerwork/scanner-report/analysis.log +1 -1
- package/.scannerwork/scanner-report/changesets-2.pb +1 -0
- package/.scannerwork/scanner-report/changesets-3.pb +1 -0
- package/.scannerwork/scanner-report/changesets-30.pb +1 -0
- package/.scannerwork/scanner-report/changesets-32.pb +1 -0
- package/.scannerwork/scanner-report/changesets-33.pb +1 -0
- package/.scannerwork/scanner-report/changesets-35.pb +1 -0
- package/.scannerwork/scanner-report/changesets-38.pb +1 -0
- package/.scannerwork/scanner-report/changesets-39.pb +1 -0
- package/.scannerwork/scanner-report/changesets-45.pb +1 -0
- package/.scannerwork/scanner-report/changesets-47.pb +1 -0
- package/.scannerwork/scanner-report/component-1.pb +1 -2
- package/.scannerwork/scanner-report/component-18.pb +1 -1
- package/.scannerwork/scanner-report/component-19.pb +1 -1
- package/.scannerwork/scanner-report/component-2.pb +1 -1
- package/.scannerwork/scanner-report/component-20.pb +1 -1
- package/.scannerwork/scanner-report/component-21.pb +1 -1
- package/.scannerwork/scanner-report/component-22.pb +1 -1
- package/.scannerwork/scanner-report/component-23.pb +1 -1
- package/.scannerwork/scanner-report/component-24.pb +1 -1
- package/.scannerwork/scanner-report/component-25.pb +1 -1
- package/.scannerwork/scanner-report/component-26.pb +1 -1
- package/.scannerwork/scanner-report/component-27.pb +1 -1
- package/.scannerwork/scanner-report/component-28.pb +1 -1
- package/.scannerwork/scanner-report/component-29.pb +1 -1
- package/.scannerwork/scanner-report/component-3.pb +1 -0
- package/.scannerwork/scanner-report/component-30.pb +1 -0
- package/.scannerwork/scanner-report/component-31.pb +1 -1
- package/.scannerwork/scanner-report/component-32.pb +1 -0
- package/.scannerwork/scanner-report/component-33.pb +1 -0
- package/.scannerwork/scanner-report/component-34.pb +1 -1
- package/.scannerwork/scanner-report/component-35.pb +1 -0
- package/.scannerwork/scanner-report/component-36.pb +1 -1
- package/.scannerwork/scanner-report/component-37.pb +1 -1
- package/.scannerwork/scanner-report/component-38.pb +1 -0
- package/.scannerwork/scanner-report/component-39.pb +1 -0
- package/.scannerwork/scanner-report/component-4.pb +1 -1
- package/.scannerwork/scanner-report/component-40.pb +1 -0
- package/.scannerwork/scanner-report/component-45.pb +1 -0
- package/.scannerwork/scanner-report/component-47.pb +1 -0
- package/.scannerwork/scanner-report/component-49.pb +1 -1
- package/.scannerwork/scanner-report/component-50.pb +1 -1
- package/.scannerwork/scanner-report/component-52.pb +1 -1
- package/.scannerwork/scanner-report/component-55.pb +1 -1
- package/.scannerwork/scanner-report/component-56.pb +1 -1
- package/.scannerwork/scanner-report/component-57.pb +1 -1
- package/.scannerwork/scanner-report/component-58.pb +1 -1
- package/.scannerwork/scanner-report/component-59.pb +1 -1
- package/.scannerwork/scanner-report/component-60.pb +1 -1
- package/.scannerwork/scanner-report/component-61.pb +1 -1
- package/.scannerwork/scanner-report/component-62.pb +1 -1
- package/.scannerwork/scanner-report/component-63.pb +1 -1
- package/.scannerwork/scanner-report/component-64.pb +1 -1
- package/.scannerwork/scanner-report/component-65.pb +1 -1
- package/.scannerwork/scanner-report/component-66.pb +1 -1
- package/.scannerwork/scanner-report/component-67.pb +1 -1
- package/.scannerwork/scanner-report/component-68.pb +1 -1
- package/.scannerwork/scanner-report/component-69.pb +1 -1
- package/.scannerwork/scanner-report/coverages-18.pb +0 -0
- package/.scannerwork/scanner-report/coverages-19.pb +0 -0
- package/.scannerwork/scanner-report/coverages-20.pb +0 -0
- package/.scannerwork/scanner-report/coverages-21.pb +0 -0
- package/.scannerwork/scanner-report/coverages-22.pb +0 -0
- package/.scannerwork/scanner-report/coverages-23.pb +0 -0
- package/.scannerwork/scanner-report/coverages-24.pb +0 -0
- package/.scannerwork/scanner-report/coverages-25.pb +0 -0
- package/.scannerwork/scanner-report/coverages-26.pb +0 -0
- package/.scannerwork/scanner-report/coverages-27.pb +0 -0
- package/.scannerwork/scanner-report/coverages-28.pb +0 -0
- package/.scannerwork/scanner-report/coverages-29.pb +0 -0
- package/.scannerwork/scanner-report/coverages-31.pb +0 -0
- package/.scannerwork/scanner-report/coverages-32.pb +0 -0
- package/.scannerwork/scanner-report/coverages-34.pb +0 -0
- package/.scannerwork/scanner-report/coverages-35.pb +0 -0
- package/.scannerwork/scanner-report/coverages-36.pb +0 -0
- package/.scannerwork/scanner-report/coverages-37.pb +0 -0
- package/.scannerwork/scanner-report/coverages-38.pb +0 -0
- package/.scannerwork/scanner-report/coverages-39.pb +0 -0
- package/.scannerwork/scanner-report/coverages-45.pb +0 -0
- package/.scannerwork/scanner-report/coverages-47.pb +0 -0
- package/.scannerwork/scanner-report/coverages-49.pb +0 -0
- package/.scannerwork/scanner-report/coverages-52.pb +0 -0
- package/.scannerwork/scanner-report/coverages-55.pb +0 -0
- package/.scannerwork/scanner-report/coverages-56.pb +0 -0
- package/.scannerwork/scanner-report/coverages-57.pb +0 -0
- package/.scannerwork/scanner-report/coverages-58.pb +0 -0
- package/.scannerwork/scanner-report/coverages-59.pb +0 -0
- package/.scannerwork/scanner-report/coverages-60.pb +0 -0
- package/.scannerwork/scanner-report/coverages-61.pb +0 -0
- package/.scannerwork/scanner-report/coverages-62.pb +0 -0
- package/.scannerwork/scanner-report/coverages-63.pb +0 -0
- package/.scannerwork/scanner-report/coverages-64.pb +0 -0
- package/.scannerwork/scanner-report/coverages-65.pb +0 -0
- package/.scannerwork/scanner-report/coverages-66.pb +0 -0
- package/.scannerwork/scanner-report/coverages-67.pb +0 -0
- package/.scannerwork/scanner-report/coverages-68.pb +0 -0
- package/.scannerwork/scanner-report/duplications-22.pb +3 -0
- package/.scannerwork/scanner-report/duplications-26.pb +0 -2
- package/.scannerwork/scanner-report/duplications-28.pb +3 -0
- package/.scannerwork/scanner-report/duplications-29.pb +2 -0
- package/.scannerwork/scanner-report/duplications-31.pb +0 -2
- package/.scannerwork/scanner-report/duplications-34.pb +2 -1
- package/.scannerwork/scanner-report/duplications-37.pb +2 -0
- package/.scannerwork/scanner-report/duplications-47.pb +2 -0
- package/.scannerwork/scanner-report/duplications-49.pb +2 -0
- package/.scannerwork/scanner-report/duplications-56.pb +2 -0
- package/.scannerwork/scanner-report/duplications-60.pb +0 -2
- package/.scannerwork/scanner-report/duplications-62.pb +0 -3
- package/.scannerwork/scanner-report/duplications-63.pb +2 -0
- package/.scannerwork/scanner-report/duplications-64.pb +0 -3
- package/.scannerwork/scanner-report/duplications-67.pb +0 -2
- package/.scannerwork/scanner-report/measures-18.pb +0 -0
- package/.scannerwork/scanner-report/measures-19.pb +0 -0
- package/.scannerwork/scanner-report/measures-2.pb +0 -0
- package/.scannerwork/scanner-report/measures-20.pb +0 -0
- package/.scannerwork/scanner-report/measures-21.pb +0 -0
- package/.scannerwork/scanner-report/measures-22.pb +0 -0
- package/.scannerwork/scanner-report/measures-23.pb +0 -0
- package/.scannerwork/scanner-report/measures-24.pb +0 -0
- package/.scannerwork/scanner-report/measures-25.pb +0 -0
- package/.scannerwork/scanner-report/measures-26.pb +0 -0
- package/.scannerwork/scanner-report/measures-27.pb +0 -0
- package/.scannerwork/scanner-report/measures-28.pb +0 -0
- package/.scannerwork/scanner-report/measures-29.pb +0 -0
- package/.scannerwork/scanner-report/measures-30.pb +15 -0
- package/.scannerwork/scanner-report/measures-31.pb +0 -0
- package/.scannerwork/scanner-report/measures-32.pb +0 -0
- package/.scannerwork/scanner-report/measures-34.pb +0 -0
- package/.scannerwork/scanner-report/measures-35.pb +0 -0
- package/.scannerwork/scanner-report/measures-36.pb +0 -0
- package/.scannerwork/scanner-report/measures-37.pb +0 -0
- package/.scannerwork/scanner-report/measures-38.pb +0 -0
- package/.scannerwork/scanner-report/measures-39.pb +0 -0
- package/.scannerwork/scanner-report/measures-45.pb +0 -0
- package/.scannerwork/scanner-report/measures-47.pb +0 -0
- package/.scannerwork/scanner-report/measures-49.pb +0 -0
- package/.scannerwork/scanner-report/measures-50.pb +0 -0
- package/.scannerwork/scanner-report/measures-52.pb +0 -0
- package/.scannerwork/scanner-report/measures-55.pb +0 -0
- package/.scannerwork/scanner-report/measures-56.pb +0 -0
- package/.scannerwork/scanner-report/measures-57.pb +0 -0
- package/.scannerwork/scanner-report/measures-58.pb +0 -0
- package/.scannerwork/scanner-report/measures-59.pb +0 -0
- package/.scannerwork/scanner-report/measures-60.pb +0 -0
- package/.scannerwork/scanner-report/measures-61.pb +0 -0
- package/.scannerwork/scanner-report/measures-62.pb +0 -0
- package/.scannerwork/scanner-report/measures-63.pb +0 -0
- package/.scannerwork/scanner-report/measures-64.pb +0 -0
- package/.scannerwork/scanner-report/measures-65.pb +0 -0
- package/.scannerwork/scanner-report/measures-66.pb +0 -0
- package/.scannerwork/scanner-report/measures-67.pb +0 -0
- package/.scannerwork/scanner-report/measures-68.pb +0 -0
- package/.scannerwork/scanner-report/measures-69.pb +0 -0
- package/.scannerwork/scanner-report/metadata.pb +0 -0
- package/.scannerwork/scanner-report/source-18.txt +18 -160
- package/.scannerwork/scanner-report/source-19.txt +81 -35
- package/.scannerwork/scanner-report/source-2.txt +56 -509
- package/.scannerwork/scanner-report/source-20.txt +20 -115
- package/.scannerwork/scanner-report/source-21.txt +352 -32
- package/.scannerwork/scanner-report/source-22.txt +99 -84
- package/.scannerwork/scanner-report/source-23.txt +44 -92
- package/.scannerwork/scanner-report/source-24.txt +73 -22
- package/.scannerwork/scanner-report/source-25.txt +128 -66
- package/.scannerwork/scanner-report/source-26.txt +130 -66
- package/.scannerwork/scanner-report/source-27.txt +584 -123
- package/.scannerwork/scanner-report/source-28.txt +209 -246
- package/.scannerwork/scanner-report/source-29.txt +209 -15
- package/.scannerwork/scanner-report/source-30.txt +293 -0
- package/.scannerwork/scanner-report/source-31.txt +18 -158
- package/.scannerwork/scanner-report/{source-53.txt → source-32.txt} +7 -14
- package/.scannerwork/scanner-report/source-34.txt +109 -168
- package/.scannerwork/scanner-report/source-35.txt +68 -0
- package/.scannerwork/scanner-report/source-36.txt +19 -401
- package/.scannerwork/scanner-report/source-37.txt +121 -118
- package/.scannerwork/scanner-report/source-38.txt +68 -0
- package/.scannerwork/scanner-report/source-39.txt +147 -0
- package/.scannerwork/scanner-report/source-4.txt +155 -155
- package/.scannerwork/scanner-report/{source-6.txt → source-40.txt} +154 -154
- package/.scannerwork/scanner-report/source-45.txt +418 -0
- package/.scannerwork/scanner-report/source-47.txt +175 -0
- package/.scannerwork/scanner-report/source-49.txt +173 -18
- package/.scannerwork/scanner-report/source-50.txt +167 -244
- package/.scannerwork/scanner-report/source-52.txt +93 -47
- package/.scannerwork/scanner-report/source-55.txt +27 -49
- package/.scannerwork/scanner-report/source-56.txt +75 -12
- package/.scannerwork/scanner-report/source-57.txt +107 -78
- package/.scannerwork/scanner-report/source-58.txt +104 -22
- package/.scannerwork/scanner-report/source-59.txt +91 -136
- package/.scannerwork/scanner-report/source-60.txt +151 -118
- package/.scannerwork/scanner-report/source-61.txt +89 -19
- package/.scannerwork/scanner-report/source-62.txt +40 -105
- package/.scannerwork/scanner-report/source-63.txt +56 -44
- package/.scannerwork/scanner-report/source-64.txt +22 -112
- package/.scannerwork/scanner-report/source-65.txt +64 -131
- package/.scannerwork/scanner-report/source-66.txt +14 -608
- package/.scannerwork/scanner-report/source-67.txt +141 -202
- package/.scannerwork/scanner-report/source-68.txt +253 -64
- package/.scannerwork/scanner-report/source-69.txt +509 -293
- package/.scannerwork/scanner-report/symbols-18.pb +14 -144
- package/.scannerwork/scanner-report/symbols-19.pb +68 -14
- package/.scannerwork/scanner-report/symbols-20.pb +10 -33
- package/.scannerwork/scanner-report/symbols-21.pb +494 -20
- package/.scannerwork/scanner-report/symbols-22.pb +76 -41
- package/.scannerwork/scanner-report/symbols-23.pb +42 -58
- package/.scannerwork/scanner-report/symbols-24.pb +60 -18
- package/.scannerwork/scanner-report/symbols-25.pb +116 -46
- package/.scannerwork/scanner-report/symbols-26.pb +111 -43
- package/.scannerwork/scanner-report/symbols-27.pb +1241 -113
- package/.scannerwork/scanner-report/symbols-28.pb +342 -302
- package/.scannerwork/scanner-report/symbols-29.pb +417 -13
- package/.scannerwork/scanner-report/symbols-31.pb +16 -152
- package/.scannerwork/scanner-report/symbols-32.pb +9 -0
- package/.scannerwork/scanner-report/symbols-34.pb +97 -180
- package/.scannerwork/scanner-report/symbols-35.pb +36 -0
- package/.scannerwork/scanner-report/symbols-36.pb +11 -610
- package/.scannerwork/scanner-report/symbols-37.pb +97 -111
- package/.scannerwork/scanner-report/symbols-38.pb +45 -0
- package/.scannerwork/scanner-report/symbols-39.pb +85 -0
- package/.scannerwork/scanner-report/symbols-45.pb +610 -0
- package/.scannerwork/scanner-report/symbols-47.pb +153 -0
- package/.scannerwork/scanner-report/symbols-49.pb +180 -17
- package/.scannerwork/scanner-report/symbols-52.pb +28 -45
- package/.scannerwork/scanner-report/symbols-55.pb +19 -35
- package/.scannerwork/scanner-report/symbols-56.pb +44 -9
- package/.scannerwork/scanner-report/symbols-57.pb +33 -69
- package/.scannerwork/scanner-report/symbols-58.pb +30 -11
- package/.scannerwork/scanner-report/symbols-59.pb +57 -110
- package/.scannerwork/scanner-report/symbols-60.pb +136 -94
- package/.scannerwork/scanner-report/symbols-61.pb +41 -9
- package/.scannerwork/scanner-report/symbols-62.pb +14 -76
- package/.scannerwork/scanner-report/symbols-63.pb +41 -42
- package/.scannerwork/scanner-report/symbols-64.pb +18 -97
- package/.scannerwork/scanner-report/symbols-65.pb +46 -85
- package/.scannerwork/scanner-report/symbols-66.pb +13 -1253
- package/.scannerwork/scanner-report/symbols-67.pb +125 -417
- package/.scannerwork/scanner-report/symbols-68.pb +354 -60
- package/.scannerwork/scanner-report/syntax-highlightings-18.pb +22 -211
- package/.scannerwork/scanner-report/syntax-highlightings-19.pb +75 -24
- package/.scannerwork/scanner-report/syntax-highlightings-2.pb +55 -3721
- package/.scannerwork/scanner-report/syntax-highlightings-20.pb +16 -95
- package/.scannerwork/scanner-report/syntax-highlightings-21.pb +600 -34
- package/.scannerwork/scanner-report/syntax-highlightings-22.pb +128 -86
- package/.scannerwork/scanner-report/syntax-highlightings-23.pb +47 -98
- package/.scannerwork/scanner-report/syntax-highlightings-24.pb +81 -21
- package/.scannerwork/scanner-report/syntax-highlightings-25.pb +101 -62
- package/.scannerwork/scanner-report/syntax-highlightings-26.pb +189 -56
- package/.scannerwork/scanner-report/syntax-highlightings-27.pb +815 -141
- package/.scannerwork/scanner-report/syntax-highlightings-28.pb +217 -173
- package/.scannerwork/scanner-report/syntax-highlightings-29.pb +301 -15
- package/.scannerwork/scanner-report/syntax-highlightings-30.pb +659 -0
- package/.scannerwork/scanner-report/syntax-highlightings-31.pb +34 -185
- package/.scannerwork/scanner-report/syntax-highlightings-32.pb +48 -0
- package/.scannerwork/scanner-report/syntax-highlightings-34.pb +152 -195
- package/.scannerwork/scanner-report/syntax-highlightings-35.pb +95 -0
- package/.scannerwork/scanner-report/syntax-highlightings-36.pb +30 -619
- package/.scannerwork/scanner-report/syntax-highlightings-37.pb +189 -96
- package/.scannerwork/scanner-report/syntax-highlightings-38.pb +110 -0
- package/.scannerwork/scanner-report/syntax-highlightings-39.pb +191 -0
- package/.scannerwork/scanner-report/syntax-highlightings-4.pb +90 -91
- package/.scannerwork/scanner-report/{syntax-highlightings-5.pb → syntax-highlightings-40.pb} +96 -96
- package/.scannerwork/scanner-report/syntax-highlightings-45.pb +648 -0
- package/.scannerwork/scanner-report/syntax-highlightings-47.pb +214 -0
- package/.scannerwork/scanner-report/syntax-highlightings-49.pb +196 -34
- package/.scannerwork/scanner-report/syntax-highlightings-50.pb +843 -223
- package/.scannerwork/scanner-report/syntax-highlightings-52.pb +97 -69
- package/.scannerwork/scanner-report/syntax-highlightings-55.pb +34 -65
- package/.scannerwork/scanner-report/syntax-highlightings-56.pb +57 -15
- package/.scannerwork/scanner-report/syntax-highlightings-57.pb +88 -64
- package/.scannerwork/scanner-report/syntax-highlightings-58.pb +84 -30
- package/.scannerwork/scanner-report/syntax-highlightings-59.pb +96 -186
- package/.scannerwork/scanner-report/syntax-highlightings-60.pb +201 -185
- package/.scannerwork/scanner-report/syntax-highlightings-61.pb +87 -21
- package/.scannerwork/scanner-report/syntax-highlightings-62.pb +24 -128
- package/.scannerwork/scanner-report/syntax-highlightings-63.pb +45 -49
- package/.scannerwork/scanner-report/syntax-highlightings-64.pb +20 -152
- package/.scannerwork/scanner-report/syntax-highlightings-65.pb +62 -158
- package/.scannerwork/scanner-report/syntax-highlightings-66.pb +15 -857
- package/.scannerwork/scanner-report/syntax-highlightings-67.pb +168 -286
- package/.scannerwork/scanner-report/syntax-highlightings-68.pb +240 -65
- package/.scannerwork/scanner-report/syntax-highlightings-69.pb +3487 -398
- package/CHANGES.md +4 -0
- package/README.md +1 -1
- package/package.json +5 -5
- package/test-16-results.xml +144 -144
- package/test-18-results.xml +152 -152
- package/{test-19-results.xml → test-20-results.xml} +154 -154
- package/test-iam-18-results.xml +49 -49
- package/.scannerwork/scanner-report/changesets-10.pb +0 -2
- package/.scannerwork/scanner-report/changesets-11.pb +0 -1
- package/.scannerwork/scanner-report/changesets-14.pb +0 -1
- package/.scannerwork/scanner-report/changesets-16.pb +0 -1
- package/.scannerwork/scanner-report/changesets-17.pb +0 -1
- package/.scannerwork/scanner-report/changesets-50.pb +0 -1
- package/.scannerwork/scanner-report/changesets-51.pb +0 -1
- package/.scannerwork/scanner-report/changesets-53.pb +0 -1
- package/.scannerwork/scanner-report/changesets-54.pb +0 -1
- package/.scannerwork/scanner-report/changesets-69.pb +0 -1
- package/.scannerwork/scanner-report/component-10.pb +0 -2
- package/.scannerwork/scanner-report/component-11.pb +0 -1
- package/.scannerwork/scanner-report/component-12.pb +0 -1
- package/.scannerwork/scanner-report/component-14.pb +0 -1
- package/.scannerwork/scanner-report/component-16.pb +0 -1
- package/.scannerwork/scanner-report/component-17.pb +0 -1
- package/.scannerwork/scanner-report/component-5.pb +0 -1
- package/.scannerwork/scanner-report/component-51.pb +0 -1
- package/.scannerwork/scanner-report/component-53.pb +0 -1
- package/.scannerwork/scanner-report/component-54.pb +0 -1
- package/.scannerwork/scanner-report/component-6.pb +0 -1
- package/.scannerwork/scanner-report/coverages-14.pb +0 -0
- package/.scannerwork/scanner-report/coverages-16.pb +0 -0
- package/.scannerwork/scanner-report/coverages-17.pb +0 -0
- package/.scannerwork/scanner-report/coverages-50.pb +0 -0
- package/.scannerwork/scanner-report/coverages-51.pb +0 -0
- package/.scannerwork/scanner-report/coverages-53.pb +0 -0
- package/.scannerwork/scanner-report/duplications-17.pb +0 -2
- package/.scannerwork/scanner-report/duplications-50.pb +0 -3
- package/.scannerwork/scanner-report/measures-11.pb +0 -0
- package/.scannerwork/scanner-report/measures-12.pb +0 -0
- package/.scannerwork/scanner-report/measures-14.pb +0 -0
- package/.scannerwork/scanner-report/measures-16.pb +0 -0
- package/.scannerwork/scanner-report/measures-17.pb +0 -0
- package/.scannerwork/scanner-report/measures-51.pb +0 -0
- package/.scannerwork/scanner-report/measures-53.pb +0 -0
- package/.scannerwork/scanner-report/measures-6.pb +0 -0
- package/.scannerwork/scanner-report/source-11.txt +0 -56
- package/.scannerwork/scanner-report/source-12.txt +0 -167
- package/.scannerwork/scanner-report/source-14.txt +0 -114
- package/.scannerwork/scanner-report/source-16.txt +0 -118
- package/.scannerwork/scanner-report/source-17.txt +0 -75
- package/.scannerwork/scanner-report/source-5.txt +0 -509
- package/.scannerwork/scanner-report/source-51.txt +0 -366
- package/.scannerwork/scanner-report/symbols-14.pb +0 -28
- package/.scannerwork/scanner-report/symbols-16.pb +0 -30
- package/.scannerwork/scanner-report/symbols-17.pb +0 -42
- package/.scannerwork/scanner-report/symbols-50.pb +0 -394
- package/.scannerwork/scanner-report/symbols-51.pb +0 -494
- package/.scannerwork/scanner-report/symbols-53.pb +0 -14
- package/.scannerwork/scanner-report/syntax-highlightings-11.pb +0 -82
- package/.scannerwork/scanner-report/syntax-highlightings-12.pb +0 -949
- package/.scannerwork/scanner-report/syntax-highlightings-14.pb +0 -138
- package/.scannerwork/scanner-report/syntax-highlightings-16.pb +0 -113
- package/.scannerwork/scanner-report/syntax-highlightings-17.pb +0 -78
- package/.scannerwork/scanner-report/syntax-highlightings-51.pb +0 -630
- package/.scannerwork/scanner-report/syntax-highlightings-53.pb +0 -54
- package/.scannerwork/scanner-report/syntax-highlightings-6.pb +0 -3747
- package/test-14-results.xml +0 -509
- /package/.scannerwork/scanner-report/{coverages-11.pb → coverages-2.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-10.pb → coverages-3.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-69.pb → coverages-30.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-54.pb → coverages-33.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-10.pb → duplications-2.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-11.pb → duplications-3.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-69.pb → duplications-30.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-14.pb → duplications-33.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-16.pb → duplications-35.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-51.pb → duplications-38.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-53.pb → duplications-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-54.pb → duplications-45.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-51.pb → issues-21.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-37.pb → issues-25.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-50.pb → issues-28.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-54.pb → issues-33.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-10.pb → measures-3.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-54.pb → measures-33.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-5.pb → measures-40.pb} +0 -0
- /package/.scannerwork/scanner-report/{source-10.txt → source-3.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-54.txt → source-33.txt} +0 -0
- /package/.scannerwork/scanner-report/{symbols-11.pb → symbols-2.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-10.pb → symbols-3.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-69.pb → symbols-30.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-54.pb → symbols-33.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-10.pb → syntax-highlightings-3.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-54.pb → syntax-highlightings-33.pb} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright © 2017 IBM Corp. All rights reserved.
|
|
1
|
+
// Copyright © 2017, 2018 IBM Corp. All rights reserved.
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -12,24 +12,179 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
// Small script which backs up a Cloudant or CouchDB database to an S3
|
|
16
|
+
// bucket, using an intermediary file on disk.
|
|
17
|
+
//
|
|
18
|
+
// The script generates the backup object name by combining together the path
|
|
19
|
+
// part of the database URL and the current time.
|
|
20
|
+
|
|
16
21
|
'use strict';
|
|
17
22
|
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
const stream = require('stream');
|
|
24
|
+
const fs = require('fs');
|
|
25
|
+
const url = require('url');
|
|
26
|
+
|
|
27
|
+
const AWS = require('aws-sdk');
|
|
28
|
+
const couchbackup = require('@cloudant/couchbackup');
|
|
29
|
+
const debug = require('debug')('s3-backup');
|
|
30
|
+
const tmp = require('tmp');
|
|
31
|
+
const VError = require('verror').VError;
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
Main function, run from base of file.
|
|
35
|
+
*/
|
|
36
|
+
function main() {
|
|
37
|
+
const argv = require('yargs')
|
|
38
|
+
.usage('Usage: $0 [options]')
|
|
39
|
+
.example('$0 -s https://user:pass@host/db -b <bucket>', 'Backup db to bucket')
|
|
40
|
+
.options({
|
|
41
|
+
source: { alias: 's', nargs: 1, demandOption: true, describe: 'Source database URL' },
|
|
42
|
+
bucket: { alias: 'b', nargs: 1, demandOption: true, describe: 'Destination bucket' },
|
|
43
|
+
prefix: { alias: 'p', nargs: 1, describe: 'Prefix for backup object key', default: 'couchbackup' },
|
|
44
|
+
s3url: { nargs: 1, describe: 'S3 endpoint URL' },
|
|
45
|
+
awsprofile: { nargs: 1, describe: 'The profile section to use in the ~/.aws/credentials file', default: 'default' }
|
|
46
|
+
})
|
|
47
|
+
.help('h').alias('h', 'help')
|
|
48
|
+
.epilog('Copyright (C) IBM 2017')
|
|
49
|
+
.argv;
|
|
50
|
+
|
|
51
|
+
const sourceUrl = argv.source;
|
|
52
|
+
const backupBucket = argv.bucket;
|
|
53
|
+
const backupName = new url.URL(sourceUrl).pathname.split('/').filter(function(x) { return x; }).join('-');
|
|
54
|
+
const backupKeyPrefix = `${argv.prefix}-${backupName}`;
|
|
55
|
+
|
|
56
|
+
const backupKey = `${backupKeyPrefix}-${new Date().toISOString()}`;
|
|
57
|
+
const backupTmpFile = tmp.fileSync();
|
|
58
|
+
|
|
59
|
+
const s3Endpoint = argv.s3url;
|
|
60
|
+
const awsProfile = argv.awsprofile;
|
|
61
|
+
|
|
62
|
+
// Creds are from ~/.aws/credentials, environment etc. (see S3 docs).
|
|
63
|
+
const awsOpts = {
|
|
64
|
+
signatureVersion: 'v4',
|
|
65
|
+
credentials: new AWS.SharedIniFileCredentials({ profile: awsProfile })
|
|
66
|
+
};
|
|
67
|
+
if (typeof s3Endpoint !== 'undefined') {
|
|
68
|
+
awsOpts.endpoint = new AWS.Endpoint(s3Endpoint);
|
|
69
|
+
}
|
|
70
|
+
const s3 = new AWS.S3(awsOpts);
|
|
71
|
+
|
|
72
|
+
debug(`Creating a new backup of ${s(sourceUrl)} at ${backupBucket}/${backupKey}...`);
|
|
73
|
+
bucketAccessible(s3, backupBucket)
|
|
74
|
+
.then(() => {
|
|
75
|
+
return createBackupFile(sourceUrl, backupTmpFile.name);
|
|
76
|
+
})
|
|
77
|
+
.then(() => {
|
|
78
|
+
return uploadNewBackup(s3, backupTmpFile.name, backupBucket, backupKey);
|
|
79
|
+
})
|
|
80
|
+
.then(() => {
|
|
81
|
+
debug('Backup successful!');
|
|
82
|
+
backupTmpFile.removeCallback();
|
|
83
|
+
debug('done.');
|
|
84
|
+
})
|
|
85
|
+
.catch((reason) => {
|
|
86
|
+
debug(`Error: ${reason}`);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Return a promise that resolves if the bucket is available and
|
|
92
|
+
* rejects if not.
|
|
93
|
+
*
|
|
94
|
+
* @param {any} s3 S3 client object
|
|
95
|
+
* @param {any} bucketName Bucket name
|
|
96
|
+
* @returns Promise
|
|
97
|
+
*/
|
|
98
|
+
function bucketAccessible(s3, bucketName) {
|
|
99
|
+
return new Promise(function(resolve, reject) {
|
|
100
|
+
const params = {
|
|
101
|
+
Bucket: bucketName
|
|
102
|
+
};
|
|
103
|
+
s3.headBucket(params, function(err, data) {
|
|
104
|
+
if (err) {
|
|
105
|
+
reject(new VError(err, 'S3 bucket not accessible'));
|
|
106
|
+
} else {
|
|
107
|
+
resolve();
|
|
108
|
+
}
|
|
33
109
|
});
|
|
34
110
|
});
|
|
35
|
-
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Use couchbackup to create a backup of the specified database to a file path.
|
|
115
|
+
*
|
|
116
|
+
* @param {any} sourceUrl Database URL
|
|
117
|
+
* @param {any} backupTmpFilePath Path to write file
|
|
118
|
+
* @returns Promise
|
|
119
|
+
*/
|
|
120
|
+
function createBackupFile(sourceUrl, backupTmpFilePath) {
|
|
121
|
+
return new Promise((resolve, reject) => {
|
|
122
|
+
couchbackup.backup(
|
|
123
|
+
sourceUrl,
|
|
124
|
+
fs.createWriteStream(backupTmpFilePath),
|
|
125
|
+
(err) => {
|
|
126
|
+
if (err) {
|
|
127
|
+
return reject(new VError(err, 'CouchBackup process failed'));
|
|
128
|
+
}
|
|
129
|
+
debug('couchbackup to file done; uploading to S3');
|
|
130
|
+
resolve('creating backup file complete');
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Upload a backup file to an S3 bucket.
|
|
138
|
+
*
|
|
139
|
+
* @param {any} s3 Object store client
|
|
140
|
+
* @param {any} backupTmpFilePath Path of backup file to write.
|
|
141
|
+
* @param {any} bucket Object store bucket name
|
|
142
|
+
* @param {any} key Object store key name
|
|
143
|
+
* @returns Promise
|
|
144
|
+
*/
|
|
145
|
+
function uploadNewBackup(s3, backupTmpFilePath, bucket, key) {
|
|
146
|
+
return new Promise((resolve, reject) => {
|
|
147
|
+
debug(`Uploading from ${backupTmpFilePath} to ${bucket}/${key}`);
|
|
148
|
+
|
|
149
|
+
function uploadFromStream(s3, bucket, key) {
|
|
150
|
+
const pass = new stream.PassThrough();
|
|
151
|
+
|
|
152
|
+
const params = {
|
|
153
|
+
Bucket: bucket,
|
|
154
|
+
Key: key,
|
|
155
|
+
Body: pass
|
|
156
|
+
};
|
|
157
|
+
s3.upload(params, function(err, data) {
|
|
158
|
+
debug('S3 upload done');
|
|
159
|
+
if (err) {
|
|
160
|
+
debug(err);
|
|
161
|
+
reject(new VError(err, 'Upload failed'));
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
debug('Upload succeeded');
|
|
165
|
+
debug(data);
|
|
166
|
+
resolve();
|
|
167
|
+
}).httpUploadProgress = (progress) => {
|
|
168
|
+
debug(`S3 upload progress: ${progress}`);
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
return pass;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
const inputStream = fs.createReadStream(backupTmpFilePath);
|
|
175
|
+
const s3Stream = uploadFromStream(s3, bucket, key);
|
|
176
|
+
inputStream.pipe(s3Stream);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Remove creds from a URL, e.g., before logging
|
|
182
|
+
*
|
|
183
|
+
* @param {string} url URL to safen
|
|
184
|
+
*/
|
|
185
|
+
function s(originalUrl) {
|
|
186
|
+
const parts = new url.URL(originalUrl);
|
|
187
|
+
return url.format(parts, { auth: false });
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
main();
|
|
@@ -1,244 +1,167 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
done();
|
|
169
|
-
}).catch(err => {
|
|
170
|
-
// Handle assertion errors
|
|
171
|
-
done(err);
|
|
172
|
-
});
|
|
173
|
-
}).timeout(longTestTimeout);
|
|
174
|
-
|
|
175
|
-
it('should retry request if HTTP request gets timed out', function(done) {
|
|
176
|
-
const couch = nock(url)
|
|
177
|
-
.post('/_bulk_get')
|
|
178
|
-
.query(true)
|
|
179
|
-
.delay(1000)
|
|
180
|
-
.reply(200, { results: { docs: [{ id: '1', ok: { _id: '1' } }] } })
|
|
181
|
-
.post('/_bulk_get')
|
|
182
|
-
.query(true)
|
|
183
|
-
.reply(200, { results: { docs: [{ id: '1', ok: { _id: '1' } }, { id: '2', ok: { _id: '2' } }] } });
|
|
184
|
-
|
|
185
|
-
timeoutDb.service.postBulkGet({ db: db.db, revs: true, docs: [] }).then(response => {
|
|
186
|
-
assert.ok(response);
|
|
187
|
-
assert.ok(response.result);
|
|
188
|
-
assert.ok(response.result.results);
|
|
189
|
-
assert.ok(response.result.results.docs);
|
|
190
|
-
assert.strictEqual(response.result.results.docs.length, 2);
|
|
191
|
-
assert.ok(couch.isDone());
|
|
192
|
-
done();
|
|
193
|
-
}).catch(err => {
|
|
194
|
-
done(err);
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
it('should callback with error code ESOCKETTIMEDOUT if 3 HTTP requests gets timed out', function(done) {
|
|
199
|
-
// Increase the timeout for this test to allow for the delays
|
|
200
|
-
this.timeout(3000);
|
|
201
|
-
const couch = nock(url)
|
|
202
|
-
.post('/_bulk_get')
|
|
203
|
-
.query(true)
|
|
204
|
-
.delay(1000)
|
|
205
|
-
.times(3)
|
|
206
|
-
.reply(200, { ok: true });
|
|
207
|
-
|
|
208
|
-
timeoutDb.service.postBulkGet({ db: db.db, revs: true, docs: [] }).then(response => {
|
|
209
|
-
done(new Error('Successful response when error expected.'));
|
|
210
|
-
}).catch(err => {
|
|
211
|
-
err = error.convertResponseError(err);
|
|
212
|
-
// Note axios returns ECONNABORTED rather than ESOCKETTIMEDOUT
|
|
213
|
-
// See https://github.com/axios/axios/issues/2710 via https://github.com/axios/axios/issues/1543`
|
|
214
|
-
assert.strictEqual(err.statusText, 'ECONNABORTED');
|
|
215
|
-
assert.strictEqual(err.message, `timeout of 500ms exceeded: post ${url}/_bulk_get ECONNABORTED`);
|
|
216
|
-
assert.ok(couch.isDone());
|
|
217
|
-
done();
|
|
218
|
-
}).catch(err => {
|
|
219
|
-
// Handle assertion errors
|
|
220
|
-
done(err);
|
|
221
|
-
});
|
|
222
|
-
});
|
|
223
|
-
describe('#unit Check credentials', function() {
|
|
224
|
-
it('should properly decode username and password', function(done) {
|
|
225
|
-
const username = 'user%123';
|
|
226
|
-
const password = 'colon:at@321';
|
|
227
|
-
const url = `http://${encodeURIComponent(username)}:${encodeURIComponent(password)}@localhost:7777/testdb`;
|
|
228
|
-
const sessionUrl = 'http://localhost:7777';
|
|
229
|
-
const couch = nock(sessionUrl)
|
|
230
|
-
.post('/_session', { username: username, password: password })
|
|
231
|
-
.reply(200, { ok: true }, { 'Set-Cookie': 'AuthSession=ABC123DEF4356;' })
|
|
232
|
-
.get('/')
|
|
233
|
-
.reply(200);
|
|
234
|
-
const db = request.client(url, { parallelism: 1 });
|
|
235
|
-
db.service.getServerInformation().then(response => {
|
|
236
|
-
assert.ok(response);
|
|
237
|
-
assert.ok(couch.isDone());
|
|
238
|
-
done();
|
|
239
|
-
}).catch(err => {
|
|
240
|
-
done(err);
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
});
|
|
244
|
-
});
|
|
1
|
+
<testsuites name="test-iam">
|
|
2
|
+
<testsuite name="Basic backup and restore using API" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:13:25" time="4.722">
|
|
3
|
+
<testcase classname="test-iam.Basic backup and restore using API" name="should backup animaldb to a file correctly" time="1.076">
|
|
4
|
+
<system-out><![CDATA[{ total: 15 }
|
|
5
|
+
]]></system-out>
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase classname="test-iam.Basic backup and restore using API" name="should restore animaldb to a database correctly" time="1.935">
|
|
8
|
+
<system-out><![CDATA[{ total: 15 }
|
|
9
|
+
]]></system-out>
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase classname="test-iam.Basic backup and restore using API" name="should execute a shallow mode backup successfully" time="0.588">
|
|
12
|
+
<system-out><![CDATA[{ total: 11 }
|
|
13
|
+
]]></system-out>
|
|
14
|
+
</testcase>
|
|
15
|
+
</testsuite>
|
|
16
|
+
<testsuite name="Basic backup and restore using API Buffer size tests using API" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:13:30" time="11.35">
|
|
17
|
+
<testcase classname="test-iam.Basic backup and restore using API Buffer size tests using API" name="should backup/restore animaldb with the same buffer size" time="3.758">
|
|
18
|
+
<system-out><![CDATA[{ total: 15 }
|
|
19
|
+
{ total: 15 }
|
|
20
|
+
]]></system-out>
|
|
21
|
+
</testcase>
|
|
22
|
+
<testcase classname="test-iam.Basic backup and restore using API Buffer size tests using API" name="should backup/restore animaldb with backup buffer > restore buffer" time="3.331">
|
|
23
|
+
<system-out><![CDATA[{ total: 15 }
|
|
24
|
+
{ total: 15 }
|
|
25
|
+
]]></system-out>
|
|
26
|
+
</testcase>
|
|
27
|
+
<testcase classname="test-iam.Basic backup and restore using API Buffer size tests using API" name="should backup/restore animaldb with backup buffer < restore buffer" time="3.466">
|
|
28
|
+
<system-out><![CDATA[{ total: 15 }
|
|
29
|
+
{ total: 15 }
|
|
30
|
+
]]></system-out>
|
|
31
|
+
</testcase>
|
|
32
|
+
</testsuite>
|
|
33
|
+
<testsuite name="Basic backup and restore using CLI" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:13:41" time="5.456">
|
|
34
|
+
<testcase classname="test-iam.Basic backup and restore using CLI" name="should backup animaldb to a file correctly" time="1.376">
|
|
35
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
36
|
+
]]></system-out>
|
|
37
|
+
</testcase>
|
|
38
|
+
<testcase classname="test-iam.Basic backup and restore using CLI" name="should restore animaldb to a database correctly" time="2.27">
|
|
39
|
+
</testcase>
|
|
40
|
+
<testcase classname="test-iam.Basic backup and restore using CLI" name="should execute a shallow mode backup successfully" time="1.023">
|
|
41
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
42
|
+
]]></system-out>
|
|
43
|
+
</testcase>
|
|
44
|
+
</testsuite>
|
|
45
|
+
<testsuite name="Basic backup and restore using CLI Buffer size tests using CLI" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:13:46" time="14.538">
|
|
46
|
+
<testcase classname="test-iam.Basic backup and restore using CLI Buffer size tests using CLI" name="should backup/restore animaldb with the same buffer size" time="4.416">
|
|
47
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
48
|
+
]]></system-out>
|
|
49
|
+
</testcase>
|
|
50
|
+
<testcase classname="test-iam.Basic backup and restore using CLI Buffer size tests using CLI" name="should backup/restore animaldb with backup buffer > restore buffer" time="4.891">
|
|
51
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
52
|
+
]]></system-out>
|
|
53
|
+
</testcase>
|
|
54
|
+
<testcase classname="test-iam.Basic backup and restore using CLI Buffer size tests using CLI" name="should backup/restore animaldb with backup buffer < restore buffer" time="4.445">
|
|
55
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
56
|
+
]]></system-out>
|
|
57
|
+
</testcase>
|
|
58
|
+
</testsuite>
|
|
59
|
+
<testsuite name="Compression tests using API" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:14:01" time="6.894">
|
|
60
|
+
<testcase classname="test-iam.Compression tests using API" name="should backup animaldb to a compressed file" time="0.805">
|
|
61
|
+
<system-out><![CDATA[{ total: 15 }
|
|
62
|
+
]]></system-out>
|
|
63
|
+
</testcase>
|
|
64
|
+
<testcase classname="test-iam.Compression tests using API" name="should backup and restore animaldb via a compressed file" time="3.177">
|
|
65
|
+
<system-out><![CDATA[{ total: 15 }
|
|
66
|
+
{ total: 15 }
|
|
67
|
+
]]></system-out>
|
|
68
|
+
</testcase>
|
|
69
|
+
<testcase classname="test-iam.Compression tests using API" name="should backup and restore animaldb via a compressed stream" time="2.12">
|
|
70
|
+
<system-out><![CDATA[{ total: 15 }
|
|
71
|
+
{ total: 15 }
|
|
72
|
+
]]></system-out>
|
|
73
|
+
</testcase>
|
|
74
|
+
</testsuite>
|
|
75
|
+
<testsuite name="Compression tests using CLI" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:14:08" time="8.216">
|
|
76
|
+
<testcase classname="test-iam.Compression tests using CLI" name="should backup animaldb to a compressed file" time="1.343">
|
|
77
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
78
|
+
]]></system-out>
|
|
79
|
+
</testcase>
|
|
80
|
+
<testcase classname="test-iam.Compression tests using CLI" name="should backup and restore animaldb via a compressed file" time="3.483">
|
|
81
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
82
|
+
]]></system-out>
|
|
83
|
+
</testcase>
|
|
84
|
+
<testcase classname="test-iam.Compression tests using CLI" name="should backup and restore animaldb via a compressed stream" time="2.603">
|
|
85
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
86
|
+
]]></system-out>
|
|
87
|
+
</testcase>
|
|
88
|
+
</testsuite>
|
|
89
|
+
<testsuite name="End to end backup and restore using API" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:14:16" time="338.081">
|
|
90
|
+
<testcase classname="test-iam.End to end backup and restore using API" name="should backup and restore animaldb" time="2.235">
|
|
91
|
+
<system-out><![CDATA[{ total: 15 }
|
|
92
|
+
{ total: 15 }
|
|
93
|
+
]]></system-out>
|
|
94
|
+
</testcase>
|
|
95
|
+
<testcase classname="test-iam.End to end backup and restore using API" name="should backup and restore largedb1g #slow" time="335.079">
|
|
96
|
+
<system-out><![CDATA[{ total: 522948 }
|
|
97
|
+
{ total: 522948 }
|
|
98
|
+
]]></system-out>
|
|
99
|
+
</testcase>
|
|
100
|
+
</testsuite>
|
|
101
|
+
<testsuite name="End to end backup and restore using CLI" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:19:54" time="546.226">
|
|
102
|
+
<testcase classname="test-iam.End to end backup and restore using CLI" name="should backup and restore animaldb" time="2.692">
|
|
103
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
104
|
+
]]></system-out>
|
|
105
|
+
</testcase>
|
|
106
|
+
<testcase classname="test-iam.End to end backup and restore using CLI" name="should backup and restore largedb1g #slow" time="542.752">
|
|
107
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
108
|
+
]]></system-out>
|
|
109
|
+
</testcase>
|
|
110
|
+
</testsuite>
|
|
111
|
+
<testsuite name="Encryption tests" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:00" time="4.007">
|
|
112
|
+
<testcase classname="test-iam.Encryption tests" name="should backup and restore animaldb via an encrypted file" time="3.751">
|
|
113
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
114
|
+
]]></system-out>
|
|
115
|
+
</testcase>
|
|
116
|
+
</testsuite>
|
|
117
|
+
<testsuite name="Write error tests" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:04" time="0.264">
|
|
118
|
+
<testcase classname="test-iam.Write error tests" name="calls callback with error set when stream is not writeable" time="0.007">
|
|
119
|
+
</testcase>
|
|
120
|
+
</testsuite>
|
|
121
|
+
<testsuite name="Event tests" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:05" time="2.197">
|
|
122
|
+
<testcase classname="test-iam.Event tests" name="should get a finished event when using stdout" time="0.8">
|
|
123
|
+
</testcase>
|
|
124
|
+
<testcase classname="test-iam.Event tests" name="should get a finished event when using file output" time="0.876">
|
|
125
|
+
</testcase>
|
|
126
|
+
</testsuite>
|
|
127
|
+
<testsuite name="Resume tests using API" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:07" time="5.08">
|
|
128
|
+
<testcase classname="test-iam.Resume tests using API" name="should create a log file" time="0.821">
|
|
129
|
+
<system-out><![CDATA[{ total: 15 }
|
|
130
|
+
]]></system-out>
|
|
131
|
+
</testcase>
|
|
132
|
+
<testcase classname="test-iam.Resume tests using API" name="should restore corrupted animaldb to a database correctly" time="1.825">
|
|
133
|
+
<system-out><![CDATA[{ total: 15 }
|
|
134
|
+
]]></system-out>
|
|
135
|
+
</testcase>
|
|
136
|
+
<testcase classname="test-iam.Resume tests using API" name="should restore resumed animaldb with blank line to a database correctly" time="1.661">
|
|
137
|
+
<system-out><![CDATA[{ total: 15 }
|
|
138
|
+
]]></system-out>
|
|
139
|
+
</testcase>
|
|
140
|
+
</testsuite>
|
|
141
|
+
<testsuite name="Resume tests using CLI" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:12" time="6.615">
|
|
142
|
+
<testcase classname="test-iam.Resume tests using CLI" name="should create a log file" time="1.26">
|
|
143
|
+
<system-out><![CDATA[Backup process close 0 null
|
|
144
|
+
]]></system-out>
|
|
145
|
+
</testcase>
|
|
146
|
+
<testcase classname="test-iam.Resume tests using CLI" name="should restore corrupted animaldb to a database correctly" time="2.364">
|
|
147
|
+
</testcase>
|
|
148
|
+
<testcase classname="test-iam.Resume tests using CLI" name="should restore resumed animaldb with blank line to a database correctly" time="2.221">
|
|
149
|
+
</testcase>
|
|
150
|
+
</testsuite>
|
|
151
|
+
<testsuite name="Resume tests" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:18" time="33.183">
|
|
152
|
+
<testcase classname="test-iam.Resume tests" name="should correctly backup and restore backup10m" time="16.164">
|
|
153
|
+
<system-out><![CDATA[Backup process close null SIGTERM
|
|
154
|
+
Backup process close 0 null
|
|
155
|
+
]]></system-out>
|
|
156
|
+
</testcase>
|
|
157
|
+
<testcase classname="test-iam.Resume tests" name="should correctly backup and restore backup10m using --output" time="16.499">
|
|
158
|
+
<system-out><![CDATA[Backup process close null SIGTERM
|
|
159
|
+
Backup process close 0 null
|
|
160
|
+
]]></system-out>
|
|
161
|
+
</testcase>
|
|
162
|
+
</testsuite>
|
|
163
|
+
<testsuite name="Longer spool changes checks" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-05-03T16:29:52" time="65.733">
|
|
164
|
+
<testcase classname="test-iam.Longer spool changes checks" name="#slow should keep collecting changes (25M)" time="65.473">
|
|
165
|
+
</testcase>
|
|
166
|
+
</testsuite>
|
|
167
|
+
</testsuites>
|