Skip to main content

LocalStack Extension: eventstudio

Project description

LocalStack EventStudio

Visual UI to develop and debug event driven AWS services

You need a LocalStack Pro license to install and use extension and activate it via the variable LOCALSTACK_AUTH_TOKEN either in localstack config file or as an environment variable.

Install extension to LocalStack

You can either add EXTENSION_AUTO_INSTALL="git+https://github.com/localstack/localstack-extension-event-studio/" to your localstack config file or run the following command:

localstack extensions install "git+https://<personal-private-access-token>@github.com/localstack/localstack-extension-event-studio/#egg=eventstudio"

Run the extension from the docker container via the following command:

PROVIDER_OVERRIDE_EVENTS=v2 EXTRA_CORS_ALLOWED_ORIGINS=* localstack start

you can see the extension running at https://localhost.localstack.cloud:4566/_extension/eventstudio/events directly or via the LocalStack Web App under https://app.localstack.cloud/inst/default/extensions/manage

Install local development version

First you need to create the .env.development.local file in the root of the project based on the .env.example file.

To install the extension into localstack in developer mode, you will need Python 3.11, and create a virtual environment in the extensions project, example using virtualenv:

virtualenv -p python3.11 .venv
source .venv/bin/activate

You will also need to install yarn as package manager if you haven't already, with corepack enabled. Furthermore you need to have localstack and localstack-pro correctly set up in their respective source folders. In the newly generated project, simply run

make install-dev

To check that the extension is installed correctly, you can run the following command:

make list-extension

You can then start LocalStack with EXTENSION_DEV_MODE=1 to load all enabled extensions:

make start-extension

which is equivalent to:

EXTENSION_DEV_MODE=1 PROVIDER_OVERRIDE_EVENTS=v2 EXTRA_CORS_ALLOWED_ORIGINS=* localstack start

to access the frontend via the React dev server, you can run:

make start-frontend

You can access the frontend served from the extension directly under https://localhost.localstack.cloud:4566/_extension/eventstudio/events or via the React dev server under http://localhost:3000/.

Deploying sample application

The default sample application used for development and testing:

make deploy-test-stack && make put-event

Second sample application:

cd samples/fintech_demo
cdklocal bootstrap
cdklocal deploy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file localstack_extension_event_studio-0.0.1.dev1.tar.gz.

File metadata

File hashes

Hashes for localstack_extension_event_studio-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 0cf5e273fb935bbdec7d2494a91ebfed657e4a4ea02f228ee47c5fa92e719b6f
MD5 5b8417e24270f354b15ee73f4e0e35b8
BLAKE2b-256 0af9c852e183825ddf58b70a7dee4d4bf47845a49112e43dfd3059314cd55f0f

See more details on using hashes here.

File details

Details for the file localstack_extension_event_studio-0.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for localstack_extension_event_studio-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef23f352892879c4833ff35ab10ca9ba301d7c68f4ce660cfc9aeefd7428fdd5
MD5 da1e256956775a86a7a721807bcdb8ca
BLAKE2b-256 1d4fed968f6d31dd944f6e0955b4c2cb7f9ab92fc1f9f53eff85ee1650cae613

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page