| 1 | # EndToEnd Transfer Test |
| 2 | |
| 3 | This tests verifies some complete scenarios of contract negotiation and data transfer between a consumer and a provider. |
| 4 | |
| 5 | ## Modules detail |
| 6 | |
| 7 | * [control-plane](./control-plane): it's responsible for handling the contract negotiation phase using in-memory persistence |
| 8 | * [data-plane](./data-plane): it handles the data transfer phase acting as a proxy |
| 9 | * [runner](./runner): it contains the test implementation |
| 10 | |
| 11 | ## Postgresql |
| 12 | |
| 13 | To run the `EndToEndTransferPostgresqlTest` you need to spin the postgresql container: |
| 14 | |
| 15 | ```shell |
| 16 | docker run --rm --name edc-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres |
| 17 | ``` |
| 18 | |
| 19 | ## CosmosDB |
| 20 | |
| 21 | Check the instructions about how to run a local cosmos-emulator instance in the [azure-test README](../../extensions/azure/azure-test/README.md) |
| 22 | |
| 23 | ## Kafka Transfer tests |
| 24 | |
| 25 | To run the `KafkaTransferTest` you need to spin a kafka cluster first: |
| 26 | |
| 27 | ```shell |
| 28 | docker run -p 9092:9092 -d bashj79/kafka-kraft |
| 29 | ``` |