File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
639641java -jar trustify-da-java-client-cli.jar --help
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ ENVIRONMENT VARIABLES:
2424 TRUSTIFY_DA_BACKEND_URL Backend URL for the Trustify Dependency Analytics service (required)
2525
2626EXAMPLES:
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
You can’t perform that action at this time.
0 commit comments