@cumulus/integration-tests 18.5.0 → 18.5.2
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 +2360 -1092
- package/index.js +5 -5
- package/package.json +12 -12
package/index.js
CHANGED
|
@@ -142,7 +142,7 @@ async function getExecutionStatus(executionArn) {
|
|
|
142
142
|
const { status } = await StepFunctions.describeExecution({ executionArn });
|
|
143
143
|
return status;
|
|
144
144
|
} catch (error) {
|
|
145
|
-
if (error
|
|
145
|
+
if (error instanceof StepFunctions.ExecutionDoesNotExist) return 'STARTING';
|
|
146
146
|
throw error;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -285,11 +285,11 @@ const getProviderHost = ({ host }) => process.env.PROVIDER_HOST || host;
|
|
|
285
285
|
* @returns {number} provider port
|
|
286
286
|
*/
|
|
287
287
|
function getProviderPort({ protocol, port }) {
|
|
288
|
-
if (
|
|
289
|
-
|
|
288
|
+
if (['ftp', 'http', 'https', 'sftp'].includes(protocol)) {
|
|
289
|
+
const envName = `PROVIDER_${protocol.toUpperCase()}_PORT`;
|
|
290
|
+
return Number(process.env[envName]) || port;
|
|
290
291
|
}
|
|
291
|
-
|
|
292
|
-
return Number(process.env.PROVIDER_HTTP_PORT) || port;
|
|
292
|
+
return port;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/integration-tests",
|
|
3
|
-
"version": "18.5.
|
|
3
|
+
"version": "18.5.2",
|
|
4
4
|
"description": "Integration tests",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cumulus-test": "./bin/cli.js"
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@aws-sdk/client-lambda": "^3.621.0",
|
|
34
|
-
"@cumulus/api": "18.5.
|
|
35
|
-
"@cumulus/api-client": "18.5.
|
|
36
|
-
"@cumulus/aws-client": "18.5.
|
|
37
|
-
"@cumulus/cmr-client": "18.5.
|
|
38
|
-
"@cumulus/cmrjs": "18.5.
|
|
39
|
-
"@cumulus/common": "18.5.
|
|
40
|
-
"@cumulus/launchpad-auth": "18.5.
|
|
41
|
-
"@cumulus/logger": "18.5.
|
|
42
|
-
"@cumulus/message": "18.5.
|
|
43
|
-
"@cumulus/oauth-client": "18.5.
|
|
34
|
+
"@cumulus/api": "18.5.2",
|
|
35
|
+
"@cumulus/api-client": "18.5.2",
|
|
36
|
+
"@cumulus/aws-client": "18.5.2",
|
|
37
|
+
"@cumulus/cmr-client": "18.5.2",
|
|
38
|
+
"@cumulus/cmrjs": "18.5.2",
|
|
39
|
+
"@cumulus/common": "18.5.2",
|
|
40
|
+
"@cumulus/launchpad-auth": "18.5.2",
|
|
41
|
+
"@cumulus/logger": "18.5.2",
|
|
42
|
+
"@cumulus/message": "18.5.2",
|
|
43
|
+
"@cumulus/oauth-client": "18.5.2",
|
|
44
44
|
"base-64": "^0.1.0",
|
|
45
45
|
"commander": "^2.15.0",
|
|
46
46
|
"dotenv": "^8.2.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"uuid": "^3.2.1",
|
|
58
58
|
"xml2js": "0.5.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "615196ec606ceb95334198cabbfb215d2fe71d66"
|
|
61
61
|
}
|