Skip to content

Commit ba92aa6

Browse files
committed
Syncing from exchange-api
1 parent d8668d3 commit ba92aa6

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

docs/exchange-api/docs/QuickStart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ copyright: Contributors to the Open Horizon project
33
years: 2025
44
title: Exchange API Server
55
description: Quick start
6-
lastupdated: 2025-05-03
6+
lastupdated: 2025-06-03
77
nav_order: 3
88
parent: Management Hub
99
layout: page
@@ -22,7 +22,7 @@ local development and debugging environment.
2222

2323
## Dependencies
2424

25-
* [Java 17](https://www.java.com/en/)
25+
* [Java 21](https://www.java.com/en/)
2626
* [SBT](https://www.scala-sbt.org/)
2727
* [PostgreSQL](https://www.postgresql.org/)
2828

@@ -39,11 +39,11 @@ sudo passwd new_user
3939
usermod -aG sudo new_user
4040
```
4141

42-
### Install Java 17
42+
### Install Java 21
4343

4444
```bash
4545
sudo apt-get update
46-
sudo apt install openjdk-17-jdk -y
46+
sudo apt install openjdk-21-jdk -y
4747
```
4848

4949
### Install SBT

docs/exchange-api/docs/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ copyright: Contributors to the Open Horizon project
33
years: 2022 - 2025
44
title: Exchange API Server
55
description: Open Horizon Exchange API Documentation
6-
lastupdated: 2025-05-03
6+
lastupdated: 2025-06-03
77
nav_order: 3
88
parent: Management Hub
99
layout: page
@@ -243,13 +243,9 @@ To build an exchange container with code that is targeted for a git branch:
243243
244244
### Putting Hashed Password in config.json
245245
246-
The exchange root user password is set via the environment variable `EXCHANGE_ROOT_PW`. But the password doesn't need to be clear text. You can hash the password with:
246+
The exchange root user password is set via the environment variable `EXCHANGE_ROOT_PW`.
247247
248-
```bash
249-
curl -sS -X POST -H "Authorization:Basic $HZN_ORG_ID/$HZN_EXCHANGE_USER_AUTH" -H "Content-Type: application/json" -d '{ "password": "PUT-PW-HERE" }' $HZN_EXCHANGE_URL/admin/hashpw | jq
250-
```
251-
252-
And then set the environment variable `export EXCHANGE_ROOT_PW=hashedrootuserpassword` and restart the Exchange.
248+
And then set the environment variable `export EXCHANGE_ROOT_PW=rootuserpassword` and restart the Exchange.
253249
254250
### Disabling Root User
255251

0 commit comments

Comments
 (0)