Files
smom-dbis-138/Makefile.integration

52 lines
1.5 KiB
Makefile
Raw Permalink Normal View History

# Makefile for Integration Tasks
# Firefly, Cacti, and Tokenization Service
.PHONY: deploy-firefly deploy-cacti deploy-tokenization setup-integration test-connectors
# Deploy Firefly
deploy-firefly:
@echo "Deploying Hyperledger Firefly..."
./scripts/deployment/deploy-firefly.sh
# Deploy Cacti
deploy-cacti:
@echo "Deploying Hyperledger Cacti..."
./scripts/deployment/deploy-cacti.sh
# Deploy Tokenization Service
deploy-tokenization:
@echo "Deploying Financial Tokenization Service..."
./scripts/deployment/deploy-tokenization-service.sh
# Setup Integration
setup-integration:
@echo "Setting up Firefly-Cacti integration..."
./scripts/integration/setup-firefly-cacti.sh
# Test Connectors
test-connectors:
@echo "Testing connectors..."
./scripts/integration/test-connectors.sh
# Deploy All
deploy-all: deploy-firefly deploy-cacti deploy-tokenization setup-integration
# Clean
clean:
@echo "Cleaning up..."
kubectl delete namespace firefly --ignore-not-found=true
kubectl delete namespace cacti --ignore-not-found=true
kubectl delete deployment financial-tokenization-service -n besu-network --ignore-not-found=true
# Status
status:
@echo "Firefly Status:"
@kubectl get pods -n firefly || echo "Firefly namespace not found"
@echo ""
@echo "Cacti Status:"
@kubectl get pods -n cacti || echo "Cacti namespace not found"
@echo ""
@echo "Tokenization Service Status:"
@kubectl get pods -n besu-network -l app=financial-tokenization-service || echo "Tokenization service not found"