Skip to content

Conversation

@Song-Quan
Copy link
Collaborator

  • 更新所有 readme 文档
  • 新增 introduction 文档

Note:需要等待 Feat: benthos integration #11 合入

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a comprehensive documentation update for the LogChain system, adding a new introduction document and restructuring existing documentation to be more user-friendly and consistent. The update reorganizes README files across multiple modules with clearer structure, concise descriptions, and practical examples.

Key Changes:

  • Added new docs/introduction.md providing a high-level system overview, use cases, and integration options
  • Updated all service-level README files (cmd/*/README.md) to focus on development setup rather than exhaustive API documentation
  • Consolidated and restructured documentation in ingress/, ingestion/, query/, processing/, and blockchain/ modules
  • Removed obsolete files (config/CONFIG_GUIDE.md, blockchain/client/README.md, ingress/docker-compose.yml)
  • Fixed a JSON syntax error in scripts/test-ingestion-query-api.sh
  • Updated certificate paths in test scripts from regulatory-001 to member-001

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/test-ingestion-query-api.sh Fixed JSON syntax error - removed extra closing brace
scripts/test-consortium-audit-api.sh Updated client certificate paths from regulatory-001 to member-001
scripts/README.md New comprehensive script documentation with usage examples
query/README.md Restructured to focus on architecture, APIs, and key features
processing/README.md New documentation for batch processing worker logic
ingress/docker-compose.yml Removed - deployment now handled by root docker-compose.yml
ingress/README.md Major restructure with clearer sections and updated configuration
ingestion/service/README.md Reorganized to emphasize structure and batch processing
ingestion/adapters/README.md Improved organization with better examples and security practices
ingestion/README.md Simplified overview focusing on components and data flow
docs/introduction.md New file providing high-level system overview and use cases
docs/design.md Updated technical details about Nginx, authentication, and component descriptions
docs/chainmaker_deployment.md Simplified Rust version guidance and improved config instructions
config/README.md New configuration guide replacing CONFIG_GUIDE.md
config/CONFIG_GUIDE.md Removed - replaced by config/README.md
cmd/query/README.md Simplified to focus on development setup
cmd/ingestion/README.md Streamlined with emphasis on local development workflow
cmd/engine/README.md Restructured to focus on architecture and development setup
blockchain/client/README.md Removed - content consolidated into blockchain/README.md
blockchain/README.md New module overview with clearer structure
README.md Comprehensive rewrite with architecture diagram and quick start guide

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


- [Technical Architecture](design.md) - Detailed system design and specifications
- [Deployment Guide](chainmaker_deployment.md) - Self-hosted deployment instructions
- [GitHub Repository](https://github.com/your-org/logchain) - Source code and documentation
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub repository link uses a placeholder URL "https://github.com/your-org/logchain". This should be updated to the actual repository URL or removed if not applicable.

Suggested change
- [GitHub Repository](https://github.com/your-org/logchain) - Source code and documentation

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

### Direct API Integration
```bash
# Submit log via HTTPS
curl -X POST https://logchain.example.com/v1/logs \
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example domain "logchain.example.com" is used throughout the examples. While this is acceptable for documentation, consider adding a note indicating this is a placeholder that should be replaced with the actual deployment domain.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Song-Quan Song-Quan changed the base branch from feat/benthos-integration to main December 29, 2025 02:21
@Song-Quan Song-Quan requested a review from tongke6 December 29, 2025 02:21
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.

2 participants