End to end test utilizing Mock API, Airnode feed and signed API.
-
Copy the Airnode feed secrets. Run
cp airnode-feed/secrets.example.env airnode-feed/secrets.env
. If you are using Docker Desktop, you need to change the URL inairnode-feed/secrets.env
fromlocalhost
tohost.docker.internal
, because Airnode feed is running inside a Docker container. -
Build the latest Docker images. Run
pnpm run docker:build
from the monorepo root. The e2e flow uses the docker images. -
This module contains services (or configurations) that are integrated together. Specifically:
airnode-feed
- Contains the configuration for the Airnode feed service.signed-api
- Contains the configuration for the signed API service.data-provider-api.ts
- Contains the configuration for the data provider API service (mocked express server).user.ts
- Contains the configuration for the user service (infinite fetch from signed API).
You are free to modify the configurations to test different scenarios.
-
There are
start:<some-service>
scripts to start the services. It is recommended to start each service in a separate terminal and in this order:pnpm run start:data-provider-api
pnpm run start:signed-api
pnpm run start:airnode-feed
pnpm run start:user