@cloudant/couchbackup 2.9.9-SNAPSHOT.99 → 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-36.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/changesets-49.pb +1 -0
- package/.scannerwork/scanner-report/changesets-64.pb +1 -0
- package/.scannerwork/scanner-report/changesets-66.pb +1 -0
- package/.scannerwork/scanner-report/changesets-68.pb +1 -0
- package/.scannerwork/scanner-report/component-1.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 -1
- package/.scannerwork/scanner-report/component-30.pb +1 -1
- package/.scannerwork/scanner-report/component-31.pb +1 -1
- package/.scannerwork/scanner-report/component-32.pb +1 -1
- package/.scannerwork/scanner-report/component-33.pb +1 -1
- package/.scannerwork/scanner-report/component-34.pb +1 -1
- package/.scannerwork/scanner-report/component-35.pb +1 -1
- package/.scannerwork/scanner-report/component-36.pb +1 -0
- package/.scannerwork/scanner-report/component-37.pb +1 -1
- package/.scannerwork/scanner-report/component-38.pb +1 -1
- package/.scannerwork/scanner-report/component-39.pb +1 -1
- package/.scannerwork/scanner-report/component-4.pb +1 -1
- package/.scannerwork/scanner-report/component-40.pb +1 -1
- package/.scannerwork/scanner-report/component-45.pb +1 -0
- package/.scannerwork/scanner-report/component-47.pb +1 -1
- package/.scannerwork/scanner-report/component-49.pb +1 -0
- package/.scannerwork/scanner-report/component-50.pb +1 -1
- package/.scannerwork/scanner-report/component-52.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 -0
- package/.scannerwork/scanner-report/component-67.pb +1 -1
- package/.scannerwork/scanner-report/component-68.pb +1 -0
- package/.scannerwork/scanner-report/component-69.pb +1 -0
- package/.scannerwork/scanner-report/coverages-19.pb +0 -0
- package/.scannerwork/scanner-report/coverages-2.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-3.pb +0 -0
- package/.scannerwork/scanner-report/coverages-30.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-33.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-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/duplications-20.pb +0 -2
- package/.scannerwork/scanner-report/duplications-22.pb +3 -0
- package/.scannerwork/scanner-report/duplications-28.pb +3 -0
- package/.scannerwork/scanner-report/duplications-29.pb +2 -0
- package/.scannerwork/scanner-report/duplications-3.pb +0 -2
- package/.scannerwork/scanner-report/duplications-30.pb +2 -0
- package/.scannerwork/scanner-report/duplications-31.pb +0 -2
- package/.scannerwork/scanner-report/duplications-33.pb +0 -3
- package/.scannerwork/scanner-report/duplications-34.pb +3 -0
- 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-63.pb +2 -0
- package/.scannerwork/scanner-report/duplications-65.pb +0 -2
- package/.scannerwork/scanner-report/duplications-66.pb +0 -0
- package/.scannerwork/scanner-report/duplications-67.pb +0 -2
- package/.scannerwork/scanner-report/duplications-68.pb +0 -0
- package/.scannerwork/scanner-report/issues-28.pb +4 -0
- package/.scannerwork/scanner-report/issues-33.pb +2 -3
- 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-3.pb +0 -0
- package/.scannerwork/scanner-report/measures-30.pb +0 -0
- package/.scannerwork/scanner-report/measures-31.pb +0 -0
- package/.scannerwork/scanner-report/measures-32.pb +0 -0
- package/.scannerwork/scanner-report/measures-33.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-4.pb +0 -0
- package/.scannerwork/scanner-report/measures-40.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-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/metadata.pb +0 -0
- package/.scannerwork/scanner-report/source-19.txt +84 -18
- package/.scannerwork/scanner-report/source-2.txt +39 -401
- package/.scannerwork/scanner-report/source-20.txt +15 -274
- package/.scannerwork/scanner-report/source-21.txt +348 -18
- package/.scannerwork/scanner-report/source-22.txt +91 -35
- package/.scannerwork/scanner-report/source-23.txt +43 -346
- package/.scannerwork/scanner-report/source-24.txt +73 -16
- package/.scannerwork/scanner-report/source-25.txt +125 -51
- package/.scannerwork/scanner-report/source-26.txt +136 -9
- package/.scannerwork/scanner-report/source-27.txt +598 -41
- package/.scannerwork/scanner-report/source-28.txt +187 -99
- package/.scannerwork/scanner-report/source-29.txt +203 -25
- package/.scannerwork/scanner-report/source-3.txt +52 -200
- package/.scannerwork/scanner-report/source-30.txt +254 -108
- package/.scannerwork/scanner-report/source-31.txt +17 -127
- package/.scannerwork/scanner-report/source-32.txt +6 -96
- package/.scannerwork/scanner-report/source-33.txt +27 -224
- package/.scannerwork/scanner-report/source-34.txt +114 -125
- package/.scannerwork/scanner-report/source-35.txt +37 -61
- package/.scannerwork/scanner-report/source-36.txt +36 -0
- package/.scannerwork/scanner-report/source-37.txt +120 -52
- package/.scannerwork/scanner-report/source-38.txt +48 -36
- package/.scannerwork/scanner-report/source-39.txt +125 -92
- package/.scannerwork/scanner-report/source-4.txt +509 -625
- package/.scannerwork/scanner-report/source-40.txt +393 -51
- package/.scannerwork/scanner-report/source-45.txt +418 -0
- package/.scannerwork/scanner-report/source-47.txt +175 -509
- package/.scannerwork/scanner-report/source-49.txt +190 -0
- package/.scannerwork/scanner-report/source-50.txt +167 -281
- package/.scannerwork/scanner-report/source-52.txt +94 -21
- package/.scannerwork/scanner-report/source-56.txt +73 -35
- package/.scannerwork/scanner-report/source-57.txt +111 -93
- package/.scannerwork/scanner-report/source-58.txt +88 -74
- package/.scannerwork/scanner-report/source-59.txt +94 -14
- package/.scannerwork/scanner-report/source-60.txt +147 -133
- package/.scannerwork/scanner-report/source-61.txt +83 -59
- package/.scannerwork/scanner-report/source-62.txt +33 -157
- package/.scannerwork/scanner-report/source-63.txt +56 -99
- package/.scannerwork/scanner-report/source-64.txt +41 -509
- package/.scannerwork/scanner-report/source-65.txt +65 -160
- package/.scannerwork/scanner-report/source-66.txt +31 -0
- package/.scannerwork/scanner-report/source-67.txt +144 -170
- package/.scannerwork/scanner-report/source-68.txt +281 -0
- package/{test-19-results.xml → .scannerwork/scanner-report/source-69.txt} +139 -139
- package/.scannerwork/scanner-report/symbols-19.pb +68 -9
- package/.scannerwork/scanner-report/symbols-2.pb +19 -610
- package/.scannerwork/scanner-report/symbols-20.pb +9 -485
- package/.scannerwork/scanner-report/symbols-21.pb +494 -11
- package/.scannerwork/scanner-report/symbols-22.pb +76 -42
- package/.scannerwork/scanner-report/symbols-23.pb +43 -494
- package/.scannerwork/scanner-report/symbols-24.pb +60 -17
- package/.scannerwork/scanner-report/symbols-25.pb +116 -36
- package/.scannerwork/scanner-report/symbols-26.pb +112 -9
- package/.scannerwork/scanner-report/symbols-27.pb +1253 -44
- package/.scannerwork/scanner-report/symbols-28.pb +385 -103
- package/.scannerwork/scanner-report/symbols-29.pb +417 -26
- package/.scannerwork/scanner-report/symbols-3.pb +29 -417
- package/.scannerwork/scanner-report/symbols-30.pb +486 -85
- package/.scannerwork/scanner-report/symbols-31.pb +17 -102
- package/.scannerwork/scanner-report/symbols-32.pb +9 -77
- package/.scannerwork/scanner-report/symbols-33.pb +26 -393
- package/.scannerwork/scanner-report/symbols-34.pb +97 -116
- package/.scannerwork/scanner-report/symbols-35.pb +36 -60
- package/.scannerwork/scanner-report/symbols-36.pb +11 -0
- package/.scannerwork/scanner-report/symbols-37.pb +102 -30
- package/.scannerwork/scanner-report/symbols-38.pb +44 -18
- package/.scannerwork/scanner-report/symbols-39.pb +85 -28
- 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 -0
- package/.scannerwork/scanner-report/symbols-52.pb +28 -18
- package/.scannerwork/scanner-report/symbols-56.pb +42 -13
- package/.scannerwork/scanner-report/symbols-57.pb +33 -59
- package/.scannerwork/scanner-report/symbols-58.pb +30 -42
- package/.scannerwork/scanner-report/symbols-59.pb +58 -13
- package/.scannerwork/scanner-report/symbols-60.pb +129 -111
- package/.scannerwork/scanner-report/symbols-61.pb +41 -45
- package/.scannerwork/scanner-report/symbols-62.pb +14 -143
- package/.scannerwork/scanner-report/symbols-63.pb +42 -30
- package/.scannerwork/scanner-report/symbols-64.pb +18 -0
- package/.scannerwork/scanner-report/symbols-65.pb +45 -152
- package/.scannerwork/scanner-report/symbols-66.pb +14 -0
- package/.scannerwork/scanner-report/symbols-67.pb +126 -180
- package/.scannerwork/scanner-report/syntax-highlightings-19.pb +70 -15
- package/.scannerwork/scanner-report/syntax-highlightings-2.pb +58 -624
- package/.scannerwork/scanner-report/syntax-highlightings-20.pb +14 -623
- package/.scannerwork/scanner-report/syntax-highlightings-21.pb +596 -25
- package/.scannerwork/scanner-report/syntax-highlightings-22.pb +119 -43
- package/.scannerwork/scanner-report/syntax-highlightings-23.pb +46 -594
- package/.scannerwork/scanner-report/syntax-highlightings-24.pb +74 -27
- package/.scannerwork/scanner-report/syntax-highlightings-25.pb +98 -59
- package/.scannerwork/scanner-report/syntax-highlightings-26.pb +189 -14
- package/.scannerwork/scanner-report/syntax-highlightings-27.pb +843 -66
- package/.scannerwork/scanner-report/syntax-highlightings-28.pb +269 -163
- package/.scannerwork/scanner-report/syntax-highlightings-29.pb +291 -28
- package/.scannerwork/scanner-report/syntax-highlightings-3.pb +76 -304
- package/.scannerwork/scanner-report/syntax-highlightings-30.pb +610 -142
- package/.scannerwork/scanner-report/syntax-highlightings-31.pb +27 -191
- package/.scannerwork/scanner-report/syntax-highlightings-32.pb +13 -123
- package/.scannerwork/scanner-report/syntax-highlightings-33.pb +29 -290
- package/.scannerwork/scanner-report/syntax-highlightings-34.pb +147 -99
- package/.scannerwork/scanner-report/syntax-highlightings-35.pb +55 -70
- package/.scannerwork/scanner-report/syntax-highlightings-36.pb +59 -0
- package/.scannerwork/scanner-report/syntax-highlightings-37.pb +200 -76
- package/.scannerwork/scanner-report/syntax-highlightings-38.pb +85 -57
- package/.scannerwork/scanner-report/syntax-highlightings-39.pb +156 -103
- package/.scannerwork/scanner-report/syntax-highlightings-4.pb +3396 -536
- package/.scannerwork/scanner-report/syntax-highlightings-40.pb +3526 -727
- package/.scannerwork/scanner-report/syntax-highlightings-45.pb +648 -0
- package/.scannerwork/scanner-report/syntax-highlightings-47.pb +199 -3733
- package/.scannerwork/scanner-report/syntax-highlightings-49.pb +225 -0
- package/.scannerwork/scanner-report/syntax-highlightings-50.pb +863 -199
- package/.scannerwork/scanner-report/syntax-highlightings-52.pb +108 -20
- package/.scannerwork/scanner-report/syntax-highlightings-56.pb +57 -21
- package/.scannerwork/scanner-report/syntax-highlightings-57.pb +85 -89
- package/.scannerwork/scanner-report/syntax-highlightings-58.pb +77 -80
- package/.scannerwork/scanner-report/syntax-highlightings-59.pb +103 -15
- package/.scannerwork/scanner-report/syntax-highlightings-60.pb +166 -136
- package/.scannerwork/scanner-report/syntax-highlightings-61.pb +81 -60
- package/.scannerwork/scanner-report/syntax-highlightings-62.pb +17 -206
- package/.scannerwork/scanner-report/syntax-highlightings-63.pb +44 -79
- package/.scannerwork/scanner-report/syntax-highlightings-64.pb +39 -3736
- package/.scannerwork/scanner-report/syntax-highlightings-65.pb +64 -183
- package/.scannerwork/scanner-report/syntax-highlightings-66.pb +45 -0
- package/.scannerwork/scanner-report/syntax-highlightings-67.pb +154 -166
- package/.scannerwork/scanner-report/syntax-highlightings-68.pb +285 -0
- package/.scannerwork/scanner-report/{syntax-highlightings-43.pb → syntax-highlightings-69.pb} +98 -99
- package/CHANGES.md +4 -0
- package/README.md +1 -1
- package/package.json +4 -4
- package/test-16-results.xml +152 -152
- package/test-18-results.xml +156 -156
- package/{.scannerwork/scanner-report/source-43.txt → test-20-results.xml} +144 -144
- package/test-iam-18-results.xml +50 -50
- package/.scannerwork/scanner-report/changesets-4.pb +0 -1
- package/.scannerwork/scanner-report/changesets-5.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-6.pb +0 -1
- package/.scannerwork/scanner-report/component-42.pb +0 -1
- package/.scannerwork/scanner-report/component-43.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-4.pb +0 -0
- package/.scannerwork/scanner-report/coverages-5.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/coverages-54.pb +0 -0
- package/.scannerwork/scanner-report/coverages-6.pb +0 -0
- package/.scannerwork/scanner-report/duplications-32.pb +0 -3
- package/.scannerwork/scanner-report/duplications-5.pb +0 -3
- package/.scannerwork/scanner-report/duplications-51.pb +0 -2
- package/.scannerwork/scanner-report/duplications-54.pb +0 -2
- package/.scannerwork/scanner-report/issues-29.pb +0 -3
- package/.scannerwork/scanner-report/measures-43.pb +0 -0
- package/.scannerwork/scanner-report/measures-5.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-54.pb +0 -0
- package/.scannerwork/scanner-report/measures-6.pb +0 -0
- package/.scannerwork/scanner-report/source-42.txt +0 -509
- package/.scannerwork/scanner-report/source-5.txt +0 -131
- package/.scannerwork/scanner-report/source-51.txt +0 -92
- package/.scannerwork/scanner-report/source-53.txt +0 -129
- package/.scannerwork/scanner-report/source-54.txt +0 -75
- package/.scannerwork/scanner-report/source-6.txt +0 -100
- package/.scannerwork/scanner-report/symbols-4.pb +0 -1254
- package/.scannerwork/scanner-report/symbols-5.pb +0 -97
- package/.scannerwork/scanner-report/symbols-51.pb +0 -44
- package/.scannerwork/scanner-report/symbols-53.pb +0 -33
- package/.scannerwork/scanner-report/symbols-54.pb +0 -42
- package/.scannerwork/scanner-report/symbols-6.pb +0 -69
- package/.scannerwork/scanner-report/syntax-highlightings-42.pb +0 -3748
- package/.scannerwork/scanner-report/syntax-highlightings-5.pb +0 -182
- package/.scannerwork/scanner-report/syntax-highlightings-51.pb +0 -90
- package/.scannerwork/scanner-report/syntax-highlightings-53.pb +0 -129
- package/.scannerwork/scanner-report/syntax-highlightings-54.pb +0 -78
- package/.scannerwork/scanner-report/syntax-highlightings-6.pb +0 -105
- package/test-14-results.xml +0 -509
- /package/.scannerwork/scanner-report/{coverages-50.pb → coverages-68.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-4.pb → duplications-26.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-50.pb → duplications-36.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-53.pb → duplications-45.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-6.pb → duplications-64.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-23.pb → issues-21.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-34.pb → issues-25.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-42.pb → measures-69.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-50.pb → symbols-68.pb} +0 -0
|
@@ -1,509 +1,175 @@
|
|
|
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
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
]]></system-out>
|
|
177
|
-
</testcase>
|
|
178
|
-
</testsuite>
|
|
179
|
-
<testsuite name="Encryption tests" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:20" time="4.097">
|
|
180
|
-
<testcase classname="test.Encryption tests" name="should backup and restore animaldb via an encrypted file" time="3.831">
|
|
181
|
-
<system-out><![CDATA[Backup process close 0 null
|
|
182
|
-
]]></system-out>
|
|
183
|
-
</testcase>
|
|
184
|
-
</testsuite>
|
|
185
|
-
<testsuite name="Write error tests" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:24" time="0.268">
|
|
186
|
-
<testcase classname="test.Write error tests" name="calls callback with error set when stream is not writeable" time="0.01">
|
|
187
|
-
</testcase>
|
|
188
|
-
</testsuite>
|
|
189
|
-
<testsuite name="Event tests" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:24" time="2.307">
|
|
190
|
-
<testcase classname="test.Event tests" name="should get a finished event when using stdout" time="0.882">
|
|
191
|
-
</testcase>
|
|
192
|
-
<testcase classname="test.Event tests" name="should get a finished event when using file output" time="0.902">
|
|
193
|
-
</testcase>
|
|
194
|
-
</testsuite>
|
|
195
|
-
<testsuite name="Resume tests using API" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:26" time="5.194">
|
|
196
|
-
<testcase classname="test.Resume tests using API" name="should create a log file" time="0.914">
|
|
197
|
-
<system-out><![CDATA[{ total: 15 }
|
|
198
|
-
]]></system-out>
|
|
199
|
-
</testcase>
|
|
200
|
-
<testcase classname="test.Resume tests using API" name="should restore corrupted animaldb to a database correctly" time="1.728">
|
|
201
|
-
<system-out><![CDATA[{ total: 15 }
|
|
202
|
-
]]></system-out>
|
|
203
|
-
</testcase>
|
|
204
|
-
<testcase classname="test.Resume tests using API" name="should restore resumed animaldb with blank line to a database correctly" time="1.765">
|
|
205
|
-
<system-out><![CDATA[{ total: 15 }
|
|
206
|
-
]]></system-out>
|
|
207
|
-
</testcase>
|
|
208
|
-
</testsuite>
|
|
209
|
-
<testsuite name="Resume tests using CLI" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:32" time="7.793">
|
|
210
|
-
<testcase classname="test.Resume tests using CLI" name="should create a log file" time="1.377">
|
|
211
|
-
<system-out><![CDATA[Backup process close 0 null
|
|
212
|
-
]]></system-out>
|
|
213
|
-
</testcase>
|
|
214
|
-
<testcase classname="test.Resume tests using CLI" name="should restore corrupted animaldb to a database correctly" time="3.285">
|
|
215
|
-
</testcase>
|
|
216
|
-
<testcase classname="test.Resume tests using CLI" name="should restore resumed animaldb with blank line to a database correctly" time="2.348">
|
|
217
|
-
</testcase>
|
|
218
|
-
</testsuite>
|
|
219
|
-
<testsuite name="Resume tests" tests="2" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:41:39" time="33.55">
|
|
220
|
-
<testcase classname="test.Resume tests" name="should correctly backup and restore backup10m" time="16.44">
|
|
221
|
-
<system-out><![CDATA[Backup process close null SIGTERM
|
|
222
|
-
Backup process close 0 null
|
|
223
|
-
]]></system-out>
|
|
224
|
-
</testcase>
|
|
225
|
-
<testcase classname="test.Resume tests" name="should correctly backup and restore backup10m using --output" time="16.583">
|
|
226
|
-
<system-out><![CDATA[Backup process close null SIGTERM
|
|
227
|
-
Backup process close 0 null
|
|
228
|
-
]]></system-out>
|
|
229
|
-
</testcase>
|
|
230
|
-
</testsuite>
|
|
231
|
-
<testsuite name="#unit Configuration" tests="12" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:13" time="0.01">
|
|
232
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_URL env variable" time="0">
|
|
233
|
-
</testcase>
|
|
234
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_DATABASE env variable" time="0">
|
|
235
|
-
</testcase>
|
|
236
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_BUFFER_SIZE env variable" time="0">
|
|
237
|
-
</testcase>
|
|
238
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_PARALLELISM env variable" time="0">
|
|
239
|
-
</testcase>
|
|
240
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_REQUEST_TIMEOUT env variable" time="0.001">
|
|
241
|
-
</testcase>
|
|
242
|
-
<testcase classname="test.#unit Configuration" name="respects the CLOUDANT_IAM_API_KEY env variable" time="0">
|
|
243
|
-
</testcase>
|
|
244
|
-
<testcase classname="test.#unit Configuration" name="respects the CLOUDANT_IAM_TOKEN_URL env variable" time="0">
|
|
245
|
-
</testcase>
|
|
246
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_LOG env variable" time="0.001">
|
|
247
|
-
</testcase>
|
|
248
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_RESUME env variable" time="0">
|
|
249
|
-
</testcase>
|
|
250
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_OUTPUT env variable" time="0">
|
|
251
|
-
</testcase>
|
|
252
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_MODE env variable" time="0">
|
|
253
|
-
</testcase>
|
|
254
|
-
<testcase classname="test.#unit Configuration" name="respects the COUCH_QUIET env variable" time="0">
|
|
255
|
-
</testcase>
|
|
256
|
-
</testsuite>
|
|
257
|
-
<testsuite name="#unit Fatal errors using API for backup" tests="10" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:13" time="0.084">
|
|
258
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate when DB does not exist" time="0.01">
|
|
259
|
-
</testcase>
|
|
260
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on BulkGetError" time="0.011">
|
|
261
|
-
</testcase>
|
|
262
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on Unauthorized existence check" time="0.004">
|
|
263
|
-
</testcase>
|
|
264
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on Forbidden no _reader" time="0.005">
|
|
265
|
-
</testcase>
|
|
266
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on _bulk_get HTTPFatalError" time="0.014">
|
|
267
|
-
</testcase>
|
|
268
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on NoLogFileName" time="0">
|
|
269
|
-
</testcase>
|
|
270
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on LogDoesNotExist" time="0.001">
|
|
271
|
-
</testcase>
|
|
272
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on IncompleteChangesInLogFile" time="0.008">
|
|
273
|
-
</testcase>
|
|
274
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on _changes HTTPFatalError" time="0.014">
|
|
275
|
-
</testcase>
|
|
276
|
-
<testcase classname="test.#unit Fatal errors using API for backup" name="should terminate on SpoolChangesError" time="0.014">
|
|
277
|
-
</testcase>
|
|
278
|
-
</testsuite>
|
|
279
|
-
<testsuite name="#unit Fatal errors using API for restore" tests="9" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:13" time="0.115">
|
|
280
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on Unauthorized db existence check" time="0.006">
|
|
281
|
-
</testcase>
|
|
282
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on Forbidden no _writer" time="0.012">
|
|
283
|
-
</testcase>
|
|
284
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on RestoreDatabaseNotFound" time="0.005">
|
|
285
|
-
</testcase>
|
|
286
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on notEmptyDBErr when database is not empty" time="0.005">
|
|
287
|
-
</testcase>
|
|
288
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on notEmptyDBErr when database is not new" time="0.005">
|
|
289
|
-
</testcase>
|
|
290
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on _bulk_docs HTTPFatalError" time="0.011">
|
|
291
|
-
</testcase>
|
|
292
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on _bulk_docs HTTPFatalError from system database" time="0.039">
|
|
293
|
-
</testcase>
|
|
294
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on _bulk_docs HTTPFatalError large stream" time="0.02">
|
|
295
|
-
</testcase>
|
|
296
|
-
<testcase classname="test.#unit Fatal errors using API for restore" name="should terminate on multiple _bulk_docs HTTPFatalError" time="0.008">
|
|
297
|
-
</testcase>
|
|
298
|
-
</testsuite>
|
|
299
|
-
<testsuite name="#unit Fatal errors using CLI for backup" tests="10" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:13" time="4.264">
|
|
300
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate when DB does not exist" time="0.716">
|
|
301
|
-
<system-out><![CDATA[Backup process close 10 null
|
|
302
|
-
]]></system-out>
|
|
303
|
-
</testcase>
|
|
304
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on BulkGetError" time="0.419">
|
|
305
|
-
<system-out><![CDATA[Backup process close 50 null
|
|
306
|
-
]]></system-out>
|
|
307
|
-
</testcase>
|
|
308
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on Unauthorized existence check" time="0.387">
|
|
309
|
-
<system-out><![CDATA[Backup process close 11 null
|
|
310
|
-
]]></system-out>
|
|
311
|
-
</testcase>
|
|
312
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on Forbidden no _reader" time="0.362">
|
|
313
|
-
<system-out><![CDATA[Backup process close 12 null
|
|
314
|
-
]]></system-out>
|
|
315
|
-
</testcase>
|
|
316
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on _bulk_get HTTPFatalError" time="0.401">
|
|
317
|
-
<system-out><![CDATA[Backup process close 40 null
|
|
318
|
-
]]></system-out>
|
|
319
|
-
</testcase>
|
|
320
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on NoLogFileName" time="0.415">
|
|
321
|
-
<system-out><![CDATA[Backup process close 20 null
|
|
322
|
-
]]></system-out>
|
|
323
|
-
</testcase>
|
|
324
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on LogDoesNotExist" time="0.333">
|
|
325
|
-
<system-out><![CDATA[Backup process close 21 null
|
|
326
|
-
]]></system-out>
|
|
327
|
-
</testcase>
|
|
328
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on IncompleteChangesInLogFile" time="0.361">
|
|
329
|
-
<system-out><![CDATA[Backup process close 22 null
|
|
330
|
-
]]></system-out>
|
|
331
|
-
</testcase>
|
|
332
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on _changes HTTPFatalError" time="0.444">
|
|
333
|
-
<system-out><![CDATA[Backup process close 40 null
|
|
334
|
-
]]></system-out>
|
|
335
|
-
</testcase>
|
|
336
|
-
<testcase classname="test.#unit Fatal errors using CLI for backup" name="should terminate on SpoolChangesError" time="0.411">
|
|
337
|
-
<system-out><![CDATA[Backup process close 30 null
|
|
338
|
-
]]></system-out>
|
|
339
|
-
</testcase>
|
|
340
|
-
</testsuite>
|
|
341
|
-
<testsuite name="#unit Fatal errors using CLI for restore" tests="9" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:17" time="3.386">
|
|
342
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on Unauthorized db existence check" time="0.327">
|
|
343
|
-
</testcase>
|
|
344
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on Forbidden no _writer" time="0.364">
|
|
345
|
-
</testcase>
|
|
346
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on RestoreDatabaseNotFound" time="0.367">
|
|
347
|
-
</testcase>
|
|
348
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on notEmptyDBErr when database is not empty" time="0.395">
|
|
349
|
-
</testcase>
|
|
350
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on notEmptyDBErr when database is not new" time="0.349">
|
|
351
|
-
</testcase>
|
|
352
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on _bulk_docs HTTPFatalError" time="0.355">
|
|
353
|
-
</testcase>
|
|
354
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on _bulk_docs HTTPFatalError from system database" time="0.432">
|
|
355
|
-
</testcase>
|
|
356
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on _bulk_docs HTTPFatalError large stream" time="0.388">
|
|
357
|
-
</testcase>
|
|
358
|
-
<testcase classname="test.#unit Fatal errors using CLI for restore" name="should terminate on multiple _bulk_docs HTTPFatalError" time="0.399">
|
|
359
|
-
</testcase>
|
|
360
|
-
</testsuite>
|
|
361
|
-
<testsuite name="#unit Fetching batches from a log file" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="0.007">
|
|
362
|
-
<testcase classname="test.#unit Fetching batches from a log file" name="should fetch multiple batches correctly" time="0.003">
|
|
363
|
-
</testcase>
|
|
364
|
-
</testsuite>
|
|
365
|
-
<testsuite name="#unit Fetching summary from the log file" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="0.004">
|
|
366
|
-
<testcase classname="test.#unit Fetching summary from the log file" name="should fetch a summary correctly" time="0.002">
|
|
367
|
-
</testcase>
|
|
368
|
-
</testsuite>
|
|
369
|
-
<testsuite name="#unit Default parameters Backup command-line" tests="23" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="0.054">
|
|
370
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_URL env variable if the --url backup command-line parameter is missing" time="0.013">
|
|
371
|
-
</testcase>
|
|
372
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_DATABASE env variable if the --db backup command-line parameter is missing" time="0.001">
|
|
373
|
-
</testcase>
|
|
374
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_BUFFER_SIZE env variable if the --buffer-size backup command-line parameter is missing" time="0.001">
|
|
375
|
-
</testcase>
|
|
376
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_PARALLELISM env variable if the --parallelism backup command-line parameter is missing" time="0.001">
|
|
377
|
-
</testcase>
|
|
378
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout backup command-line parameter is missing" time="0.001">
|
|
379
|
-
</testcase>
|
|
380
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key backup command-line parameter is missing" time="0.001">
|
|
381
|
-
</testcase>
|
|
382
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_LOG env variable if the --log backup command-line parameter is missing" time="0.001">
|
|
383
|
-
</testcase>
|
|
384
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_RESUME env variable if the --resume backup command-line parameter is missing" time="0.001">
|
|
385
|
-
</testcase>
|
|
386
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_OUTPUT env variable if the --output backup command-line parameter is missing" time="0.001">
|
|
387
|
-
</testcase>
|
|
388
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_MODE env variable if the --mode backup command-line parameter is missing" time="0.001">
|
|
389
|
-
</testcase>
|
|
390
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_QUIET env variable if the --quiet backup command-line parameter is missing" time="0.001">
|
|
391
|
-
</testcase>
|
|
392
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --url command-line parameter" time="0.001">
|
|
393
|
-
</testcase>
|
|
394
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --db command-line parameter" time="0.001">
|
|
395
|
-
</testcase>
|
|
396
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --buffer-size command-line parameter" time="0.001">
|
|
397
|
-
</testcase>
|
|
398
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --parallelism command-line parameter" time="0">
|
|
399
|
-
</testcase>
|
|
400
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --request-timeout command-line parameter" time="0.001">
|
|
401
|
-
</testcase>
|
|
402
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --iam-api-key command-line parameter" time="0">
|
|
403
|
-
</testcase>
|
|
404
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --log command-line parameter" time="0.001">
|
|
405
|
-
</testcase>
|
|
406
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --resume command-line parameter" time="0.001">
|
|
407
|
-
</testcase>
|
|
408
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --output command-line parameter" time="0.001">
|
|
409
|
-
</testcase>
|
|
410
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --mode full command-line parameter" time="0.001">
|
|
411
|
-
</testcase>
|
|
412
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --mode shallow command-line parameter" time="0.001">
|
|
413
|
-
</testcase>
|
|
414
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --quiet command-line parameter" time="0.001">
|
|
415
|
-
</testcase>
|
|
416
|
-
</testsuite>
|
|
417
|
-
<testsuite name="#unit Default parameters Restore command-line" tests="14" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="0.017">
|
|
418
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_URL env variable if the --url restore command-line parameter is missing" time="0">
|
|
419
|
-
</testcase>
|
|
420
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_DATABASE env variable if the --db restore command-line parameter is missing" time="0.001">
|
|
421
|
-
</testcase>
|
|
422
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_BUFFER_SIZE env variable if the --buffer-size restore command-line parameter is missing" time="0.001">
|
|
423
|
-
</testcase>
|
|
424
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_PARALLELISM env variable if the --parallelism restore command-line parameter is missing" time="0.001">
|
|
425
|
-
</testcase>
|
|
426
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout restore command-line parameter is missing" time="0.001">
|
|
427
|
-
</testcase>
|
|
428
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key restore command-line parameter is missing" time="0.001">
|
|
429
|
-
</testcase>
|
|
430
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_QUIET env variable if the --quiet restorer command-line parameter is missing" time="0.001">
|
|
431
|
-
</testcase>
|
|
432
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --url command-line parameter" time="0.001">
|
|
433
|
-
</testcase>
|
|
434
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --db command-line parameter" time="0.001">
|
|
435
|
-
</testcase>
|
|
436
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --buffer-size command-line parameter" time="0.001">
|
|
437
|
-
</testcase>
|
|
438
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --parallelism command-line parameter" time="0">
|
|
439
|
-
</testcase>
|
|
440
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --request-timeout command-line parameter" time="0">
|
|
441
|
-
</testcase>
|
|
442
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --iam-api-key command-line parameter" time="0">
|
|
443
|
-
</testcase>
|
|
444
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --quiet command-line parameter" time="0">
|
|
445
|
-
</testcase>
|
|
446
|
-
</testsuite>
|
|
447
|
-
<testsuite name="#unit Check request headers" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="0.004">
|
|
448
|
-
<testcase classname="test.#unit Check request headers" name="should have a couchbackup user-agent" time="0.004">
|
|
449
|
-
</testcase>
|
|
450
|
-
</testsuite>
|
|
451
|
-
<testsuite name="#unit Check request response error callback" tests="8" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:21" time="10.592">
|
|
452
|
-
<testcase classname="test.#unit Check request response error callback" name="should not callback with error for 200 response" time="0.003">
|
|
453
|
-
</testcase>
|
|
454
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 500 responses" time="2.017">
|
|
455
|
-
</testcase>
|
|
456
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 POST 503 responses" time="2.017">
|
|
457
|
-
</testcase>
|
|
458
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 429 responses" time="2.015">
|
|
459
|
-
</testcase>
|
|
460
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with fatal error for 404 response" time="0.004">
|
|
461
|
-
</testcase>
|
|
462
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with same error for no status code error response" time="2.013">
|
|
463
|
-
</testcase>
|
|
464
|
-
<testcase classname="test.#unit Check request response error callback" name="should retry request if HTTP request gets timed out" time="0.508">
|
|
465
|
-
</testcase>
|
|
466
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error code ESOCKETTIMEDOUT if 3 HTTP requests gets timed out" time="2.012">
|
|
467
|
-
</testcase>
|
|
468
|
-
</testsuite>
|
|
469
|
-
<testsuite name="#unit Check request response error callback #unit Check credentials" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:32" time="0.017">
|
|
470
|
-
<testcase classname="test.#unit Check request response error callback #unit Check credentials" name="should properly decode username and password" time="0.016">
|
|
471
|
-
</testcase>
|
|
472
|
-
</testsuite>
|
|
473
|
-
<testsuite name="#unit Perform backup using shallow backup" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:32" time="0.556">
|
|
474
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should perform a shallow backup" time="0.016">
|
|
475
|
-
</testcase>
|
|
476
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should perform a shallow backup with transient error" time="0.523">
|
|
477
|
-
</testcase>
|
|
478
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should fail to perform a shallow backup on fatal error" time="0.015">
|
|
479
|
-
</testcase>
|
|
480
|
-
</testsuite>
|
|
481
|
-
<testsuite name="#unit Check spool changes" tests="4" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:32" time="15.421">
|
|
482
|
-
<testcase classname="test.#unit Check spool changes" name="should terminate on request error" time="2.012">
|
|
483
|
-
</testcase>
|
|
484
|
-
<testcase classname="test.#unit Check spool changes" name="should terminate on bad HTTP status code response" time="2.013">
|
|
485
|
-
</testcase>
|
|
486
|
-
<testcase classname="test.#unit Check spool changes" name="should keep collecting changes" time="1.989">
|
|
487
|
-
</testcase>
|
|
488
|
-
<testcase classname="test.#unit Check spool changes" name="should keep collecting sparse changes" time="9.364">
|
|
489
|
-
</testcase>
|
|
490
|
-
</testsuite>
|
|
491
|
-
<testsuite name="Longer spool changes checks" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:42:48" time="53.309">
|
|
492
|
-
<testcase classname="test.Longer spool changes checks" name="#slow should keep collecting changes (25M)" time="48.888">
|
|
493
|
-
</testcase>
|
|
494
|
-
</testsuite>
|
|
495
|
-
<testsuite name="#unit Check database restore writer" tests="6" errors="0" failures="0" skipped="0" timestamp="2023-04-24T09:43:41" time="4.116">
|
|
496
|
-
<testcase classname="test.#unit Check database restore writer" name="should complete successfully" time="0.024">
|
|
497
|
-
</testcase>
|
|
498
|
-
<testcase classname="test.#unit Check database restore writer" name="should terminate on a fatal error" time="0.006">
|
|
499
|
-
</testcase>
|
|
500
|
-
<testcase classname="test.#unit Check database restore writer" name="should retry on transient errors" time="2.037">
|
|
501
|
-
</testcase>
|
|
502
|
-
<testcase classname="test.#unit Check database restore writer" name="should fail after 3 transient errors" time="2.016">
|
|
503
|
-
</testcase>
|
|
504
|
-
<testcase classname="test.#unit Check database restore writer" name="should restore shallow backups without rev info successfully" time="0.021">
|
|
505
|
-
</testcase>
|
|
506
|
-
<testcase classname="test.#unit Check database restore writer" name="should get a batch error for non-empty array response with new_edits false" time="0.007">
|
|
507
|
-
</testcase>
|
|
508
|
-
</testsuite>
|
|
509
|
-
</testsuites>
|
|
1
|
+
// Copyright © 2017, 2018 IBM Corp. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// Small script which backs up a Cloudant or CouchDB database to an S3
|
|
16
|
+
// bucket via a stream rather than on-disk file.
|
|
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
|
+
|
|
21
|
+
'use strict';
|
|
22
|
+
|
|
23
|
+
const stream = require('stream');
|
|
24
|
+
const url = require('url');
|
|
25
|
+
|
|
26
|
+
const AWS = require('aws-sdk');
|
|
27
|
+
const couchbackup = require('@cloudant/couchbackup');
|
|
28
|
+
const debug = require('debug')('s3-backup');
|
|
29
|
+
const VError = require('verror').VError;
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
Main function, run from base of file.
|
|
33
|
+
*/
|
|
34
|
+
function main() {
|
|
35
|
+
const argv = require('yargs')
|
|
36
|
+
.usage('Usage: $0 [options]')
|
|
37
|
+
.example('$0 -s https://user:pass@host/db -b <bucket>', 'Backup db to bucket')
|
|
38
|
+
.options({
|
|
39
|
+
source: { alias: 's', nargs: 1, demandOption: true, describe: 'Source database URL' },
|
|
40
|
+
bucket: { alias: 'b', nargs: 1, demandOption: true, describe: 'Destination bucket' },
|
|
41
|
+
prefix: { alias: 'p', nargs: 1, describe: 'Prefix for backup object key', default: 'couchbackup' },
|
|
42
|
+
s3url: { nargs: 1, describe: 'S3 endpoint URL' },
|
|
43
|
+
awsprofile: { nargs: 1, describe: 'The profile section to use in the ~/.aws/credentials file', default: 'default' }
|
|
44
|
+
})
|
|
45
|
+
.help('h').alias('h', 'help')
|
|
46
|
+
.epilog('Copyright (C) IBM 2017')
|
|
47
|
+
.argv;
|
|
48
|
+
|
|
49
|
+
const sourceUrl = argv.source;
|
|
50
|
+
const backupName = new url.URL(sourceUrl).pathname.split('/').filter(function(x) { return x; }).join('-');
|
|
51
|
+
const backupBucket = argv.bucket;
|
|
52
|
+
const backupKeyPrefix = `${argv.prefix}-${backupName}`;
|
|
53
|
+
const shallow = argv.shallow;
|
|
54
|
+
|
|
55
|
+
const backupKey = `${backupKeyPrefix}-${new Date().toISOString()}`;
|
|
56
|
+
|
|
57
|
+
const s3Endpoint = argv.s3url;
|
|
58
|
+
const awsProfile = argv.awsprofile;
|
|
59
|
+
|
|
60
|
+
// Creds are from ~/.aws/credentials, environment etc. (see S3 docs).
|
|
61
|
+
const awsOpts = {
|
|
62
|
+
signatureVersion: 'v4',
|
|
63
|
+
credentials: new AWS.SharedIniFileCredentials({ profile: awsProfile })
|
|
64
|
+
};
|
|
65
|
+
if (typeof s3Endpoint !== 'undefined') {
|
|
66
|
+
awsOpts.endpoint = new AWS.Endpoint(s3Endpoint);
|
|
67
|
+
}
|
|
68
|
+
const s3 = new AWS.S3(awsOpts);
|
|
69
|
+
|
|
70
|
+
debug(`Creating a new backup of ${s(sourceUrl)} at ${backupBucket}/${backupKey}...`);
|
|
71
|
+
bucketAccessible(s3, backupBucket)
|
|
72
|
+
.then(() => {
|
|
73
|
+
return backupToS3(sourceUrl, s3, backupBucket, backupKey, shallow);
|
|
74
|
+
})
|
|
75
|
+
.then(() => {
|
|
76
|
+
debug('done.');
|
|
77
|
+
})
|
|
78
|
+
.catch((reason) => {
|
|
79
|
+
debug(`Error: ${reason}`);
|
|
80
|
+
process.exit(1);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Return a promise that resolves if the bucket is available and
|
|
86
|
+
* rejects if not.
|
|
87
|
+
*
|
|
88
|
+
* @param {any} s3 S3 client object
|
|
89
|
+
* @param {any} bucketName Bucket name
|
|
90
|
+
* @returns Promise
|
|
91
|
+
*/
|
|
92
|
+
function bucketAccessible(s3, bucketName) {
|
|
93
|
+
return new Promise(function(resolve, reject) {
|
|
94
|
+
const params = {
|
|
95
|
+
Bucket: bucketName
|
|
96
|
+
};
|
|
97
|
+
s3.headBucket(params, function(err, data) {
|
|
98
|
+
if (err) {
|
|
99
|
+
reject(new VError(err, 'S3 bucket not accessible'));
|
|
100
|
+
} else {
|
|
101
|
+
resolve();
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Backup directly from Cloudant to an object store object via a stream.
|
|
109
|
+
*
|
|
110
|
+
* @param {any} sourceUrl URL of database
|
|
111
|
+
* @param {any} s3Client Object store client
|
|
112
|
+
* @param {any} s3Bucket Backup destination bucket
|
|
113
|
+
* @param {any} s3Key Backup destination key name (shouldn't exist)
|
|
114
|
+
* @param {any} shallow Whether to use the couchbackup `shallow` mode
|
|
115
|
+
* @returns Promise
|
|
116
|
+
*/
|
|
117
|
+
function backupToS3(sourceUrl, s3Client, s3Bucket, s3Key, shallow) {
|
|
118
|
+
return new Promise((resolve, reject) => {
|
|
119
|
+
debug(`Setting up S3 upload to ${s3Bucket}/${s3Key}`);
|
|
120
|
+
|
|
121
|
+
// A pass through stream that has couchbackup's output
|
|
122
|
+
// written to it and it then read by the S3 upload client.
|
|
123
|
+
// It has a 64MB highwater mark to allow for fairly
|
|
124
|
+
// uneven network connectivity.
|
|
125
|
+
const streamToUpload = new stream.PassThrough({ highWaterMark: 67108864 });
|
|
126
|
+
|
|
127
|
+
// Set up S3 upload.
|
|
128
|
+
const params = {
|
|
129
|
+
Bucket: s3Bucket,
|
|
130
|
+
Key: s3Key,
|
|
131
|
+
Body: streamToUpload
|
|
132
|
+
};
|
|
133
|
+
s3Client.upload(params, function(err, data) {
|
|
134
|
+
debug('Object store upload done');
|
|
135
|
+
if (err) {
|
|
136
|
+
debug(err);
|
|
137
|
+
reject(new VError(err, 'Object store upload failed'));
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
debug('Object store upload succeeded');
|
|
141
|
+
debug(data);
|
|
142
|
+
resolve();
|
|
143
|
+
}).httpUploadProgress = (progress) => {
|
|
144
|
+
debug(`Object store upload progress: ${progress}`);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
debug(`Starting streaming data from ${s(sourceUrl)}`);
|
|
148
|
+
couchbackup.backup(
|
|
149
|
+
sourceUrl,
|
|
150
|
+
streamToUpload,
|
|
151
|
+
(err, obj) => {
|
|
152
|
+
if (err) {
|
|
153
|
+
debug(err);
|
|
154
|
+
reject(new VError(err, 'CouchBackup failed with an error'));
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
debug(`Download from ${s(sourceUrl)} complete.`);
|
|
158
|
+
streamToUpload.end(); // must call end() to complete upload.
|
|
159
|
+
// resolve() is called by the upload
|
|
160
|
+
}
|
|
161
|
+
);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Remove creds from a URL, e.g., before logging
|
|
167
|
+
*
|
|
168
|
+
* @param {string} url URL to safen
|
|
169
|
+
*/
|
|
170
|
+
function s(originalUrl) {
|
|
171
|
+
const parts = new url.URL(originalUrl);
|
|
172
|
+
return url.format(parts, { auth: false });
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
main();
|