Skip to content

Commit 03bf32b

Browse files
committed
fix: remove RHT url and simplify env var definition in examples
1 parent 0a1a2b3 commit 03bf32b

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
* Backend URL Configuration:
4141
* The client requires the backend URL to be configured through environment variable: `TRUSTIFY_DA_BACKEND_URL=https://backend.url` (required)
4242
* The application will fail to start if this environment variable is not set
43-
* For development scenarios, you may use: `https://exhort.stage.devshift.net`
4443

4544
### OpenAPI Specifications
4645

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -620,20 +620,22 @@ The application will fail to start if this environment variable is not set.
620620
#### Examples
621621

622622
```shell
623+
export TRUSTIFY_DA_BACKEND_URL=https://your-backend.url
624+
623625
# Stack analysis with JSON output (default)
624-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/pom.xml
626+
java -jar trustify-da-java-client-cli.jar stack /path/to/pom.xml
625627

626628
# Stack analysis with summary
627-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/package.json --summary
629+
java -jar trustify-da-java-client-cli.jar stack /path/to/package.json --summary
628630

629631
# Stack analysis with HTML output
630-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/build.gradle --html
632+
java -jar trustify-da-java-client-cli.jar stack /path/to/build.gradle --html
631633

632634
# Component analysis with JSON output (default)
633-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar component /path/to/requirements.txt
635+
java -jar trustify-da-java-client-cli.jar component /path/to/requirements.txt
634636

635637
# Component analysis with summary
636-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar component /path/to/go.mod --summary
638+
java -jar trustify-da-java-client-cli.jar component /path/to/go.mod --summary
637639

638640
# Show help
639641
java -jar trustify-da-java-client-cli.jar --help

src/main/resources/cli_help.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ ENVIRONMENT VARIABLES:
2424
TRUSTIFY_DA_BACKEND_URL Backend URL for the Trustify Dependency Analytics service (required)
2525

2626
EXAMPLES:
27-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/pom.xml
28-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/package.json --summary
29-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar stack /path/to/build.gradle --html
30-
TRUSTIFY_DA_BACKEND_URL=https://backend.url java -jar trustify-da-java-client-cli.jar component /path/to/requirements.txt
27+
export TRUSTIFY_DA_BACKEND_URL=https://your-backend.url
28+
29+
java -jar trustify-da-java-client-cli.jar stack /path/to/pom.xml
30+
java -jar trustify-da-java-client-cli.jar stack /path/to/package.json --summary
31+
java -jar trustify-da-java-client-cli.jar stack /path/to/build.gradle --html
32+
java -jar trustify-da-java-client-cli.jar component /path/to/requirements.txt

0 commit comments

Comments
 (0)