Skip to content

chore: remove exhort_dev_mode and default endpoints and use value from environment variables or arguments#211

Merged
soul2zimate merged 2 commits into
guacsec:mainfrom
soul2zimate:dev_endpoint_main
Nov 18, 2025
Merged

chore: remove exhort_dev_mode and default endpoints and use value from environment variables or arguments#211
soul2zimate merged 2 commits into
guacsec:mainfrom
soul2zimate:dev_endpoint_main

Conversation

@soul2zimate

Copy link
Copy Markdown
Contributor

Description

chore: remove exhort_dev_mode and default endpoints and use value from environment variables or arguments

Related issue (if any): fixes #210

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

@soul2zimate
soul2zimate requested a review from ruromero November 18, 2025 08:13

@ruromero ruromero left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only 2 remarks. The implementation is correct.

  • Remove the backend-url from the cli arguments to match the JS functionality and only rely on env vars.
  • Remove the default value for prod. No default value should be set and it should fail when it's not set.

Comment thread src/main/java/io/github/guacsec/trustifyda/impl/ExhortApi.java Outdated
Comment thread src/main/java/io/github/guacsec/trustifyda/cli/App.java Outdated
@soul2zimate

Copy link
Copy Markdown
Contributor Author

Only 2 remarks. The implementation is correct.

* Remove the backend-url from the cli arguments to match the JS functionality and only rely on env vars.

* Remove the default value for prod. No default value should be set and it should fail when it's not set.

Thanks for the review and suggestion. I have updated the solution.

Comment thread CONTRIBUTING.md Outdated
Comment thread README.md Outdated
Comment thread src/main/resources/cli_help.txt Outdated
@soul2zimate
soul2zimate merged commit 2890a64 into guacsec:main Nov 18, 2025
6 of 39 checks passed
@soul2zimate
soul2zimate deleted the dev_endpoint_main branch November 18, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove default endpoints and use environment variables or arguments

2 participants