From e48566f336c1199e75c995e27f3cf319b13fc7c8 Mon Sep 17 00:00:00 2001 From: Andrea Marchini Date: Wed, 10 Jul 2024 13:12:25 +0200 Subject: [PATCH 1/2] feat: environment file for HTTP Client plugin (IntelliJ) --- deployment/postman/http-client.env.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 deployment/postman/http-client.env.json diff --git a/deployment/postman/http-client.env.json b/deployment/postman/http-client.env.json new file mode 100644 index 00000000..0550d19b --- /dev/null +++ b/deployment/postman/http-client.env.json @@ -0,0 +1,9 @@ +{ + "Local": { + "CS_URL": "http://localhost:7082", + "HOST": "http://localhost:8081", + "PARTICIPANT_ID": "super-user", + "CATALOG_URL": "http://localhost:8084", + "DID": "did:web:super-user" + } +} From 5c8e4eda89919e81876529b6d5f469d63f3b9cec Mon Sep 17 00:00:00 2001 From: Andrea Marchini Date: Wed, 10 Jul 2024 16:48:55 +0200 Subject: [PATCH 2/2] Update README.md docs: updated README.md with note about HTTP Client and Import from Postman collection for IntelliJ local launch --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 012f4ccd..b6f4f60a 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,10 @@ connector-to-connector communication to fail. All REST requests made from the script are available in the [Postman collection](./deployment/postman/MVD.postman_collection.json). +With the [HTTP Client](https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html) +and [Import from Postman Collections](https://plugins.jetbrains.com/plugin/22438-import-from-postman-collections) +plugins, the Postman collection can be imported and then executed by means of the +[environment file](./deployment/postman/http-client.env.json), selecting the "Local" environment. ## Running the Demo (Kubernetes)