-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(admin-ui): allow users to install Agama Lab community projects from Admin UI #1862
Conversation
Quality Gate failed for 'flex_admin_ui'Failed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
This PR is on hold. It can be addressed once the APIs are available . Issue raised for API development: |
Quality Gate passed for 'flex_linux_setup'Issues Measures |
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.
Please see inline comments
'Content-Type': 'application/zip', | ||
} | ||
}) | ||
axios.post('/api/v1/agama-deployment/' + name, file, { |
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.
we should use jans-config-api client for calling apis.
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.
@duttarnab Yes, we could, but I encountered an error with the jans-config-api because we are using a file. That's why we are opting for Axios instead for some methods.
import { | ||
getAgamaRepository, | ||
getAgamaRepositoryFile, | ||
} from "../../redux/features/agamaSlice"; |
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.
we should use alias here for example: https://github.com/GluuFederation/flex/blob/main/admin-ui/plugins/auth-server/components/Agama/AgamaListPage.js#L28C32-L28C66
Quality Gate passed for 'flex_admin_ui'Issues Measures |
closes 1846