Skip to content

feat: Spacecat task processor lambda#1

Merged
tkotthakota-adobe merged 35 commits into
mainfrom
SITES-30108-step-functions-poc
Jul 8, 2025
Merged

feat: Spacecat task processor lambda#1
tkotthakota-adobe merged 35 commits into
mainfrom
SITES-30108-step-functions-poc

Conversation

@tkotthakota-adobe

@tkotthakota-adobe tkotthakota-adobe commented Jun 11, 2025

Copy link
Copy Markdown
Collaborator

Create Spacecat task processor lambda as SQS consumer to receive messages (type, payload) via defined SQS queue. Based on the type, right task handler is invoked to fulfill the task. Slack context can be passed in the message to get the task response after completion.

https://jira.corp.adobe.com/browse/SITES-32832
https://wiki.corp.adobe.com/display/AEMSites/Spacecat+Onboard+Automation

Test result on slack channel:

image

Comment thread README.md Outdated
Comment thread src/audit-status-processor/handler.js Outdated
Comment thread src/demo-url/handler.js Outdated
Comment thread src/demo-url/handler.js Outdated
Comment thread src/index-local.js Outdated
Comment thread src/index.js Outdated
Comment thread src/support/s3-client.js Outdated
Comment thread src/support/sqs.js Outdated
@github-actions

github-actions Bot commented Jun 13, 2025

Copy link
Copy Markdown

This PR will trigger a patch release when merged.

Comment thread .eslintrc.cjs Outdated
Comment thread CONTRIBUTING.md Outdated
Comment thread src/tasks/opportunity-status-processor/handler.js Outdated
Comment thread src/tasks/demo-url-processor/handler.js Outdated
Comment thread src/tasks/demo-url-processor/handler.js Outdated
Comment thread src/tasks/disable-import-audit-processor/handler.js
Comment thread src/tasks/disable-import-audit-processor/handler.js
Comment thread src/tasks/opportunity-status-processor/handler.js Outdated
Comment thread src/tasks/opportunity-status-processor/handler.js
Comment thread test/index.test.js Outdated

@rpapani rpapani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please incorporate the provided feedback, rest looks good 👍

@tkotthakota-adobe

Copy link
Copy Markdown
Collaborator Author

@rpapani addressed review comments.

  1. Under the secret name: /helix-deploy/spacecat-services/task-manager/latest below keys are added on dev. Same need to be added in prod:
    IMS_ORG_TENANT_ID_MAPPINGS
    SLACK_BOT_TOKEN
    SLACK_SIGNING_SECRET
    SLACK_TOKEN_WORKSPACE_INTERNAL
    SLACK_OPS_CHANNEL_WORKSPACE_INTERNAL
    SLACK_TOKEN_ADOBE_INTERNAL

  2. We also need to add lambda trigger on prod env.

Comment thread package.json
Comment thread src/tasks/demo-url-processor/handler.js Outdated
Comment thread src/tasks/opportunity-status-processor/handler.js Outdated
@tkotthakota-adobe tkotthakota-adobe merged commit fda7068 into main Jul 8, 2025
7 checks passed
@tkotthakota-adobe tkotthakota-adobe deleted the SITES-30108-step-functions-poc branch July 8, 2025 21:37
solaris007 pushed a commit that referenced this pull request Jul 8, 2025
# 1.0.0 (2025-07-08)

### Features

* Spacecat task processor lambda ([#1](#1)) ([fda7068](fda7068))
@solaris007

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants