Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Add disable/enable endpoints for rulebooks/rulesets #293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsong-rh
Copy link
Contributor

@hsong-rh hsong-rh commented Dec 16, 2022

This PR adds four endpoints to enable and disable rulebooks and rulesets:
/api/rulesets/{ruleset_id}/enable
/api/rulesets/{ruleset_id}/disable
/api/rulebooks/{rulebook_id}/enable
/api/rulebooks/{rulebook_id}/disable

Changes in ansible-book side will be added later to handle enabled flag.

Resolves: AAP-6444, AAP-6445

@hsong-rh hsong-rh marked this pull request as draft December 16, 2022 20:21
@hsong-rh hsong-rh force-pushed the add_disable_rulebook branch from 9d2c52d to 68b4c61 Compare January 3, 2023 20:25
@hsong-rh hsong-rh force-pushed the add_disable_rulebook branch from 68b4c61 to 7df38d8 Compare January 3, 2023 20:27
@hsong-rh hsong-rh marked this pull request as ready for review January 3, 2023 20:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant