Skip to content

Commit fd723d3

Browse files
committed
improve Postman instructions in DEVELOPMENT.md
Signed-off-by: Nora Blomaard <[email protected]>
1 parent 2900282 commit fd723d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/compas-open-scd/DEVELOPMENT.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A Docker Image `compas_keycloak` is created that can be started using the follow
9292

9393
```shell
9494
docker run --rm --name compas_keycloak \
95-
-p 8089:8080
95+
-p 8089:8080 \
9696
-d compas_keycloak:latest
9797
```
9898

@@ -101,11 +101,12 @@ There are now 3 users available to be used, `scl-data-editor`, `scl-data-reader`
101101

102102
### Postman
103103

104-
To make a call to the CoMPAS Backend Service work in CoMPAS OpenSCD we need to import an environment and authorisation
105-
collection. These files can be found in [CoMPAS Deployment Repository](https://github.com/com-pas/compas-deployment)
106-
in the directory `postman` (`auth.collection.json` and `local.environment.json`).
104+
To make a call to the CoMPAS Backend Service work in CoMPAS OpenSCD we need to import an environment and authorisation collection. These files can be found in [CoMPAS Deployment Repository](https://github.com/com-pas/compas-deployment) in the directory `postman` (`auth.collection.json` and `local.environment.json`).
105+
1. Open Postman, click the Collections tab and and import `auth.collection.json`.
106+
2. Click the Environments tab and import `local.environment.json`.
107+
3. In the imported collection, Select the imported environment (local).
107108

108-
In the authorisation collection there are called for the 3 users known within the Demo KeyCloak instance.
109+
In the authorisation collection there are calls for the 3 users known within the Demo KeyCloak instance.
109110
If one of these calls are executed you can switch to the tab `Visualize`. There is a button to copy the bearer to the
110111
clipboard. This will also be done automatically when switching to the tab (label becomes `Copied!`).
111112
The value of the clipboard can be copied in ModHeader Extension as Authorization Header.

0 commit comments

Comments
 (0)