From 4521b50e2088a748cc49eb3ec4a9bb23218149d2 Mon Sep 17 00:00:00 2001 From: Tom Van Besien Date: Fri, 17 Nov 2023 15:47:28 +0100 Subject: [PATCH] swap order --- e2e-test/README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/e2e-test/README.md b/e2e-test/README.md index 54aa914..0fca065 100644 --- a/e2e-test/README.md +++ b/e2e-test/README.md @@ -354,7 +354,22 @@ Sample output: } ``` -### 7. Negotiate a contract +### 8. Start the workbench with the LdesClient + +```bash + docker compose up ldio-workbench -d +``` + +Wait for the workbench to start up properly logging "Started Application": +```bash +docker logs --tail 1000 -f $(docker ps -q --filter "name=ldio-workbench$") +``` + +By now you should see a new info log line stating that the pipeline is waiting for a token. +The client will wait for a valid token before it starts consuming the LDES. +To get a token, we need to negotiate a contract and start a transfer. + +### 8. Negotiate a contract In order to request any data, a contract gets negotiated, and an agreement is resulting has to be negotiated between providers and consumers. @@ -411,21 +426,6 @@ Sample output: } ``` -### 8. Start the workbench with the LdesClient - -```bash - docker compose up ldio-workbench -d -``` - -Wait for the workbench to start up properly logging "Started Application": -```bash -docker logs --tail 1000 -f $(docker ps -q --filter "name=ldio-workbench$") -``` - -By now you should see a new info log line stating that the pipeline is waiting for a token. -The client will wait for a valid token before it starts consuming the LDES. -To get a token, we need to negotiate a contract and start a transfer. - ### 9. Getting the contract agreement id After calling the endpoint for initiating a contract negotiation, we get a UUID as the response.