@ossy/deployment-tools 0.0.32 → 0.0.33
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 +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/deployment-queue-client.ts +9 -6
package/dist/index.js
CHANGED
|
@@ -48010,10 +48010,12 @@ class DeploymentQueueClient {
|
|
|
48010
48010
|
logInfo({ message: '[DeploymentQueueClient] Starting deployment sequence' });
|
|
48011
48011
|
return DeploymentQueueClient.createAwsSqsClient(deploymentPlatform)
|
|
48012
48012
|
.then(sqsClient => {
|
|
48013
|
-
const
|
|
48013
|
+
const sendMessageParams = {
|
|
48014
48014
|
QueueUrl: deploymentPlatform.awsDeploymentSqsArn,
|
|
48015
48015
|
MessageBody: JSON.stringify(deploymentRequest)
|
|
48016
|
-
}
|
|
48016
|
+
};
|
|
48017
|
+
logDebug({ message: '[DeploymentQueueClient] SendMessageCommand params', data: sendMessageParams });
|
|
48018
|
+
const command = new dist_cjs.SendMessageCommand(sendMessageParams);
|
|
48017
48019
|
return sqsClient.send(command)
|
|
48018
48020
|
.then(() => logInfo({ message: '[DeploymentQueueClient] Deployment request sent' }))
|
|
48019
48021
|
.catch(error => logError({ message: '[DeploymentQueueClient] Could not send deployment request', error }));
|