Skip to content

Add datacontracts test command#1

Merged
simonharrer merged 1 commit intomainfrom
feature/datacontract-test-command
Apr 8, 2026
Merged

Add datacontracts test command#1
simonharrer merged 1 commit intomainfrom
feature/datacontract-test-command

Conversation

@simonharrer
Copy link
Copy Markdown
Contributor

Summary

  • New CLI command entropy-data datacontracts test <id> [--server <name>]
  • Calls POST /api/datacontracts/{id}/test (new endpoint from entropy-data PR)
  • Always outputs JSON, 30-minute timeout for long-running tests
  • New post_action_json method on EntropyDataClient for POST actions returning JSON

Test plan

  • Run entropy-data datacontracts test <id> against a configured instance
  • Run entropy-data datacontracts test <id> --server <name> with server filter
  • Verify error handling for missing data contract / unconfigured tests

New CLI command: entropy-data datacontracts test <id> [--server <name>]
Calls POST /api/datacontracts/{id}/test, outputs JSON, 30min timeout.
@simonharrer simonharrer merged commit 3177e47 into main Apr 8, 2026
4 checks passed
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