feat(admin-ui): allow users to install Agama Lab community projects from Admin UI #1862
feat(admin-ui): allow users to install Agama Lab community projects from Admin UI #1862
Conversation
|
|
This PR is on hold. It can be addressed once the APIs are available . Issue raised for API development: |
|
duttarnab
left a comment
There was a problem hiding this comment.
Please see inline comments
| 'Content-Type': 'application/zip', | ||
| } | ||
| }) | ||
| axios.post('/api/v1/agama-deployment/' + name, file, { |
There was a problem hiding this comment.
we should use jans-config-api client for calling apis.
There was a problem hiding this comment.
@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.
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
|







closes 1846