Add dp client #3
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 a comprehensive overhaul to the CI/CD pipeline and project documentation, with a strong emphasis on supporting robust component testing and clarifying the separation of deliverables. The changes add a reusable GitHub Actions workflow for component tests, update the Dockerfile to use a startup script, and improve documentation for both the main project and the
dp-clientclient. Additionally, thedp-clientpackage is refactored for clearer imports and versioning.CI/CD and Testing Improvements
.github/workflows/component_tests.yml), which runs server and database in containers, waits for readiness, installsdp-client, and executes tests. This enables isolated, reliable component testing in CI..github/workflows/ci_cd.yml), ensuring component tests run automatically after building the server image.build_and_install_dp_client.shscript for installing the client, replacing the previous OpenAPI client install script.Containerization
start_server_in_container.sh) for running the server, improving maintainability and flexibility.Documentation and Project Structure
README.mdto provide a project overview, clarify the separation of server, client, and test client, document requirements files, and explain CI/CD flows and release strategy.dp-client/README.mddescribing its architecture, usage, configuration, requirements, and best practices for release and repository separation.dp-client Package Refactoring
dp-clientimports indp_client/__init__.pyanddp_client/api/__init__.pyfor clearer API exposure and added dynamic version detection for the package. [1] [2]