-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review technical debt in repo and make plan for nearterm enhancements #63
Comments
@sgnn7 Jake is covering the feature review for this project, but asked to get help on the tech debt review. Can you weigh in on that? It's fine with me if @JakeQuilty gets to a point where his piece is "done" and the card moves back to "ready" until you're ready to pull it - it's unusual to do it this way, but it doesn't make sense to me to split this card into two (lmk if you disagree, though) |
Review this repo and document items in the following categories with links to filed issues. In addition, document succinctly whether this integration works with Conjur OSS / DAP and what methods are supported. Supported flowsNote which flows are supported, and next to each that is supported note the method name. We can use this to improve the README documentation.
MethodsCreate a Conjur Instance
Set/Retrieve Secrets:
Improvements to release processRepo documentation improvements
In the sample policy the host is labeled as: - !policy
id: <POLICY_ID>
body:
- !host
id: <NAME_OF_HOST> But later on the guide says: The MacOS path to the JRE_HOME in the last step is Test suite improvements (in particular, tests to add to alert us early to breakages)The test suite is difficult to improve without just adding more tech debt. The tests are all integration tests that take a long time to run. These aren't too flexible to write either, because you need API keys for the users. Since there is no way to retrieve an API key in the API you have to get them from the test.sh script and then set them as environment variables and then get them from inside the API. The repo could really benefit from unit tests, but all of the methods and classes are so linked together that there's not really any room write a unit test. I think the test suite just needs redone after a major overhaul to core of the project that would allow for testing. Repo standard maintenance tasksEnhancement requests to considerAdding policy handling (#68) BugsI got this error when running the Maven build with JDK 13 and 14:
|
@izgeri I updated the master comment here with my findings too. Moving to review column. |
Review this repo and document items in the following categories with links to filed issues.
In addition, document succinctly whether this integration works with Conjur OSS / DAP and what methods are supported.
Supported flows
Note which flows are supported, and next to each that is supported note the method name. We can use this to improve the README documentation.
conjur list
)Methods
Create a Conjur Instance
Conjur()
Create a Conjur instance that uses credentials from the system properties
Conjur(String username, String password)
username - username for the Conjur identity to authenticate as
password - password or api key for the Conjur identity to authenticate as
Conjur(String username, String password, String authnUrl)
username - username for the Conjur identity to authenticate as
password - password or api key for the Conjur identity to authenticate as
authnUrl - the conjur authentication url
Conjur(Token token)
token - the conjur authorization token to use
Conjur(Credentials credentials)
credentials - the conjur identity to authenticate as
Set/Retrieve Secrets:
conjur.variables().retrieveSecret(variableID)
conjur.variables().addSecret(variableID)
Notice:
Improvements to release process
mvn
repo and manual installation is a painRepo documentation improvements
Test suite improvements
The test suite is difficult to improve without just adding more tech debt. The tests are all integration tests that take a long time to run.
Unit tests
This codebase has 0 unit tests which are critical for quick cycles and high quality of the codebase. Codebase needs a lot more modularization to serve as a good base for unit tests.
Integration tests
Slow and old - these can probably be improved
Repo standard maintenance tasks
Enhancement requests to consider
Note: Includes items from sections above this one
Bugs
N/A (@sgnn7)
The text was updated successfully, but these errors were encountered: