Add test script and docker setup #11
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces major improvements to project documentation, testing infrastructure, and configuration for local development. The most significant change is a complete rewrite and expansion of the
Readme.md
, which now provides detailed usage instructions, feature descriptions, and guidance for both CLI and library usage. Additionally, new scripts and configuration files have been added to streamline local testing and development, including Docker Compose setup for all required services and automated test orchestration. There are also enhancements to the JSON schema for admin tools and minor dependency handling improvements.Documentation and Developer Experience:
Readme.md
to provide detailed feature overview, installation instructions, usage examples, CLI and library guidance, testing/development workflow, and community/contribution information.Testing and Local Development Infrastructure:
run-tests.sh
script to automate setup of Docker-based Dataverse infrastructure, wait for service readiness, fetch environment variables, and run tests, supporting both full suite and targeted test execution.docker/docker-compose-base.yml
for orchestrating all required services (Dataverse, Postgres, Solr, SMTP, Keycloak, LocalStack, etc.) for local development and testing, with appropriate environment variables and health checks.local-test.env
to centralize environment variable configuration for Docker Compose and tests.conf/localstack/init-s3.sh
to initialize S3 bucket in LocalStack for testing S3 storage integration.Schema and Dependency Improvements:
models/admin/tools/tool-response.json
to provide stricter validation and richer structure for tool parameters, allowed API calls, and requirements, improving clarity and correctness of admin tool integration.src/lib.rs
to include a conditional import forlibdbus-sys
to resolve Linux keyring dependency warnings.