Skip to content
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

Add repository action button #4066

Closed
exalate-issue-sync bot opened this issue Aug 12, 2024 · 2 comments
Closed

Add repository action button #4066

exalate-issue-sync bot opened this issue Aug 12, 2024 · 2 comments
Assignees
Labels
group/frontend Issue related to the frontend (React) type/feature New feature or request

Comments

@exalate-issue-sync
Copy link

h3. As a user

I want to be able to trigger certain actions on a repository
So that I can request a resync of a repository or a request to validate the repository credentials

h3. Description

The repository form doesn’t provide a way to trigger actions

 

h3. Acceptance Criteria

When an action button is selected on a repository. Then the current user should be able to select an action to run. Either to validate credentials ([https://opsmill.atlassian.net/browse/IFC-55|https://opsmill.atlassian.net/browse/IFC-55|smart-link] ) or to resync a repository ([https://opsmill.atlassian.net/browse/IFC-6|https://opsmill.atlassian.net/browse/IFC-6|smart-link] )

 

Copy link
Author

ogenstad commented: This is now possible in the background using two mutations:

  • InfrahubRepositoryConnectivity - Validates connectivity and authentication to a repository, this is an RPC call and can return a success and optional error message
  • InfrahubRepositoryProcess - Triggers the reimport of objects using the latest commit. As it’s a longer action it doesn’t provide an immediate response but for now the status will show up in the Task Log

@ogenstad ogenstad added this to the Infrahub - 0.16 milestone Aug 12, 2024
@ogenstad ogenstad added type/feature New feature or request group/frontend Issue related to the frontend (React) labels Aug 12, 2024
@exalate-issue-sync exalate-issue-sync bot added the state/planned This issue is planned to be worked on in an upcoming release. label Aug 12, 2024
@bilalabbad bilalabbad self-assigned this Aug 16, 2024
@bilalabbad
Copy link
Contributor

feature is merged.

@exalate-issue-sync exalate-issue-sync bot removed the state/planned This issue is planned to be worked on in an upcoming release. label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/frontend Issue related to the frontend (React) type/feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants