Apply Composer changes: comprehensive API updates, migrations, middleware, and infrastructure improvements
- Add comprehensive database migrations (001-024) for schema evolution - Enhance API schema with expanded type definitions and resolvers - Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth - Implement new services: AI optimization, billing, blockchain, compliance, marketplace - Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage) - Update Crossplane provider with enhanced VM management capabilities - Add comprehensive test suite for API endpoints and services - Update frontend components with improved GraphQL subscriptions and real-time updates - Enhance security configurations and headers (CSP, CORS, etc.) - Update documentation and configuration files - Add new CI/CD workflows and validation scripts - Implement design system improvements and UI enhancements
This commit is contained in:
70
templates/blockchain/hyperledger-besu.ptf
Normal file
70
templates/blockchain/hyperledger-besu.ptf
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"name": "Hyperledger Besu Network",
|
||||
"description": "Deploys a Hyperledger Besu blockchain network",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "networkName",
|
||||
"type": "string",
|
||||
"description": "Name of the blockchain network",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"name": "validatorCount",
|
||||
"type": "number",
|
||||
"description": "Number of validator nodes",
|
||||
"default": 3,
|
||||
"validation": {
|
||||
"min": 1,
|
||||
"max": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "consensus",
|
||||
"type": "string",
|
||||
"description": "Consensus algorithm",
|
||||
"default": "IBFT2",
|
||||
"validation": {
|
||||
"enum": ["IBFT2", "QBFT", "Clique"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"type": "kubernetes_namespace",
|
||||
"name": "besu_namespace",
|
||||
"properties": {
|
||||
"name": "${networkName}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "kubernetes_deployment",
|
||||
"name": "besu_validator",
|
||||
"dependsOn": ["kubernetes_namespace.besu_namespace"],
|
||||
"properties": {
|
||||
"name": "besu-validator",
|
||||
"namespace": "${networkName}",
|
||||
"replicas": "${validatorCount}",
|
||||
"image": "hyperledger/besu:latest",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8545,
|
||||
"name": "rpc"
|
||||
},
|
||||
{
|
||||
"containerPort": 8546,
|
||||
"name": "ws"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "rpc_endpoint",
|
||||
"description": "RPC endpoint URL",
|
||||
"value": "http://besu-validator.${networkName}.svc.cluster.local:8545"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user