Skip to content

Commit

Permalink
swap order
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomvbe committed Nov 17, 2023
1 parent b7f971f commit 4521b50
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions e2e-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 4521b50

Please sign in to comment.