Skip to content

Cover project resource CRUD and template task lifecycle - #41

Open
dantro86 wants to merge 2 commits into
mainfrom
codex/project-resource-crud
Open

dantro86 wants to merge 2 commits into
mainfrom
codex/project-resource-crud

Conversation

@dantro86

Copy link
Copy Markdown
Collaborator

Adds independent API lifecycle coverage for project access keys, repositories, inventories, and templates. Each scenario checks persisted updates, explicitly deletes its resource, and verifies both HTTP 404 on subsequent reads and absence from the collection.

Separate task scenarios verify that an updated template executes the new playbook with its saved --check argument, recent tasks are returned newest first, and one stop_all_tasks request stops two simultaneously running executions. The existing access-key security test also checks that original and rotated credentials remain absent from task output.

Resource-specific typed fixtures and project/template preconditions keep each test independent. Domain steps expose the additional GET/PUT/DELETE operations; cleanup accepts already-deleted resources while explicit delete assertions still require HTTP 204.

Validation:

  • All 8 affected integration tests passed on core-sqlite-local, using the Semaphore develop image built from 232bfb242b1eeda93717098d46283a7582279f0a.
  • ./gradlew spotlessApply qualityGate passed.
  • git diff --check passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant