You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2026/09/02 19:50:48 UTC

[PR] AWS EventBridge: replace last localstack usage with motoserver/moto [pekko-connectors]

pjfanning opened a new pull request, #1902:
URL: https://github.com/apache/pekko-connectors/pull/1902

   ### Motivation
   The `amazoneventbridge` docker-compose service is the last LocalStack usage in the repo (now that #1901 moved the aws-spi tests to dynamodb-local/goaws), pinned to `localstack/localstack:0.10.7` from 2020. Newer LocalStack releases require an auth token (#1517), so the pin is a dead end.
   
   ### Modification
   Switch the service to `motoserver/moto:5.2.3` (actively maintained, Apache-2.0). Moto's server mode implements the EventBridge `events` API; the aws-event-bridge tests only exercise `PutEvents`, which moto supports. Moto listens on container port 5000, so the mapping becomes `4587:5000` and the tests' `http://localhost:4587` endpoint is unchanged; the LocalStack-specific `SERVICES`/`DEBUG` environment is dropped.
   
   ### Result
   The EventBridge integration tests run against a maintained mock, and the repo no longer depends on LocalStack anywhere.
   
   ### Tests
   - `docker compose config` validates.
   - The `connectors (aws-event-bridge)` CI job starts this service (`docker compose up -d amazoneventbridge`) and runs the EventBridge suite against it.
   
   ### References
   Refs #1517


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] AWS EventBridge: replace last localstack usage with motoserver/moto [pekko-connectors]

Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #1902:
URL: https://github.com/apache/pekko-connectors/pull/1902


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org