-
Notifications
You must be signed in to change notification settings - Fork 76
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
fix(docs): refresh agama lab quick start guide with respect to the latest Agama Lab version #10426
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs changes, lots of links point to private assets.
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
docs/janssen-server/developer/agama/quick-start-using-agama-lab.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to test this project. | ||
|
||
- [Install Jans Tarp browser plug-in](https://github.com/JanssenProject/jans/tree/main/demos/jans-tarp#installation-in-browser) | ||
- Follow [these instructions]() to test using the Janssen Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blank link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still blank link
![image](../../../assets/agama-login.png) | ||
- Upon entering a valid user-name and password, the tarp should present a page | ||
with access token. | ||
![image](../../../assets/successful-tarp-auth-screen.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: ossdhaval <[email protected]>
DryRun Security SummaryThere are no code changes or files modified in the provided text, so no summary or review can be generated. Expand for full summarySummary: There are no code changes provided in the input, so I don't have any specific code changes to review or summarize. As an application security engineer, I would typically review any code changes in a pull request to ensure they do not introduce any security vulnerabilities or unintended consequences. Without any code changes to analyze, I don't have any specific security-related observations to provide. However, I'm ready to review any future code changes that may be submitted. Files Changed: There are no files changed in the provided input. Code AnalysisWe ran |
330f0c1
to
8b3fb2c
Compare
8b3fb2c
to
bbf379c
Compare
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
Signed-off-by: ossdhaval <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some errors are still not fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The arguments here are still wrong. #10426 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"String type" should be unchecked
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is correct. The option selected should be "Flow finished with an error" with a description. Like so:
"Flow finished with a variable" is used when you want to return a predefined variable. "false" is not a variable. Technically Finish false
is correct according to Agama syntax, but it is better to use descriptive option
// Create new CdiUtil object | ||
cdiUtil = Call io.jans.service.cdi.uti.CdUtil#bean authService | ||
// Empty result object | ||
authResult = "{}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still incorrect
// Validate username and password | ||
authResult.success = Call cdiUtil#authenticate creds.username creds.password | ||
// Keep the username if the user needs to retry authentication | ||
authResult.uid = "creds.username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
authResult.uid = "creds.username" | |
authResult.uid = creds.username |
authResult.success = Call cdiUtil#authenticate creds.username creds.password | ||
// Keep the username if the user needs to retry authentication | ||
authResult.uid = "creds.username" | ||
When authResult.uid is true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When authResult.uid is true | |
When authResult.success is true |
to test this project. | ||
|
||
- [Install Jans Tarp browser plug-in](https://github.com/JanssenProject/jans/tree/main/demos/jans-tarp#installation-in-browser) | ||
- Follow [these instructions]() to test using the Janssen Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still blank link
|
||
To use the flow for authentication in the Janssen Server, the flow needs to be released. Agama Lab | ||
releases the flow and the related artifacts (like template) in the form of a `.gama` file in the GitHub repository. | ||
At this point we have all the components of an Agama project ready, and they are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the screenshot shows, all Agama stuff should be on the main branch to create a release. So there should be instructions added to make a PR from agama-lab-policy-designer
branch to default branch.
Signed-off-by: ossdhaval <[email protected]>
Prepare
Description
Target issue
closes #issue-number-here
Implementation Details
Test and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:
to indicate documentation changes or if the below checklist is not selected.