@cumulus/move-granules 22.0.0 → 22.1.0
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/dist/index.js +27 -4
- package/dist/lambda.zip +0 -0
- package/dist/schemas/config.json +1 -2
- package/index.js +0 -1
- package/package.json +11 -11
- package/schemas/config.json +1 -2
package/dist/lambda.zip
CHANGED
|
Binary file
|
package/dist/schemas/config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"bucket",
|
|
7
|
-
"distribution_endpoint",
|
|
8
7
|
"collection",
|
|
9
8
|
"buckets"
|
|
10
9
|
],
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
},
|
|
36
35
|
"distribution_endpoint": {
|
|
37
36
|
"type": "string",
|
|
38
|
-
"description": "The api distribution endpoint"
|
|
37
|
+
"description": "The api distribution endpoint. No longer consumed by this task; URL construction occurs in update-granules-cmr-metadata-file-links."
|
|
39
38
|
},
|
|
40
39
|
"collection": {
|
|
41
40
|
"type": "object",
|
package/index.js
CHANGED
|
@@ -556,7 +556,6 @@ async function moveFilesForAllGranules({
|
|
|
556
556
|
* @param {object} event.config - the config object
|
|
557
557
|
* @param {string} event.config.bucket - AWS S3 bucket that contains the granule files
|
|
558
558
|
* @param {object} event.config.buckets - Buckets config
|
|
559
|
-
* @param {string} event.config.distribution_endpoint - distribution endpoint for the api
|
|
560
559
|
* @param {Collection} event.config.collection - collection configuration
|
|
561
560
|
* @param {boolean} [event.config.moveStagedFiles=true] - set to false to skip moving files
|
|
562
561
|
* @param {number} [event.config.s3MultipartChunksizeMb] - S3 multipart upload chunk size in MB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/move-granules",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.1.0",
|
|
4
4
|
"description": "Move granule files from staging to final location",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"author": "Cumulus Authors",
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@cumulus/api-client": "22.
|
|
45
|
-
"@cumulus/aws-client": "22.
|
|
46
|
-
"@cumulus/cmrjs": "22.
|
|
47
|
-
"@cumulus/common": "22.
|
|
44
|
+
"@cumulus/api-client": "22.1.0",
|
|
45
|
+
"@cumulus/aws-client": "22.1.0",
|
|
46
|
+
"@cumulus/cmrjs": "22.1.0",
|
|
47
|
+
"@cumulus/common": "22.1.0",
|
|
48
48
|
"@cumulus/cumulus-message-adapter-js": "2.4.0",
|
|
49
|
-
"@cumulus/distribution-utils": "22.
|
|
50
|
-
"@cumulus/errors": "22.
|
|
51
|
-
"@cumulus/ingest": "22.
|
|
52
|
-
"@cumulus/message": "22.
|
|
49
|
+
"@cumulus/distribution-utils": "22.1.0",
|
|
50
|
+
"@cumulus/errors": "22.1.0",
|
|
51
|
+
"@cumulus/ingest": "22.1.0",
|
|
52
|
+
"@cumulus/message": "22.1.0",
|
|
53
53
|
"lodash": "^4.18.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@cumulus/schemas": "22.
|
|
56
|
+
"@cumulus/schemas": "22.1.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "c5403e8246211e435a8d01884017b22c62201aaf"
|
|
59
59
|
}
|
package/schemas/config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"bucket",
|
|
7
|
-
"distribution_endpoint",
|
|
8
7
|
"collection",
|
|
9
8
|
"buckets"
|
|
10
9
|
],
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
},
|
|
36
35
|
"distribution_endpoint": {
|
|
37
36
|
"type": "string",
|
|
38
|
-
"description": "The api distribution endpoint"
|
|
37
|
+
"description": "The api distribution endpoint. No longer consumed by this task; URL construction occurs in update-granules-cmr-metadata-file-links."
|
|
39
38
|
},
|
|
40
39
|
"collection": {
|
|
41
40
|
"type": "object",
|