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:
defiQUG
2025-12-12 18:01:35 -08:00
parent e01131efaf
commit 9daf1fd378
968 changed files with 160890 additions and 1092 deletions

View File

@@ -10,7 +10,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client/fake"
ctrl "sigs.k8s.io/controller-runtime"
proxmoxv1alpha1 "github.com/yourorg/crossplane-provider-proxmox/apis/v1alpha1"
proxmoxv1alpha1 "github.com/sankofa/crossplane-provider-proxmox/apis/v1alpha1"
)
func TestProxmoxVMReconciler_Reconcile(t *testing.T) {
@@ -36,9 +36,9 @@ func TestProxmoxVMReconciler_Reconcile(t *testing.T) {
Storage: "local-lvm",
Network: "vmbr0",
Image: "ubuntu-22.04-cloud",
Site: "us-east-1",
Site: "us-sfvalley",
},
ProviderConfigReference: proxmoxv1alpha1.ProviderConfigReference{
ProviderConfigReference: &proxmoxv1alpha1.ProviderConfigReference{
Name: "test-provider-config",
},
},
@@ -88,8 +88,13 @@ func TestProxmoxVMReconciler_getCredentials(t *testing.T) {
Name: "test-config",
},
Spec: proxmoxv1alpha1.ProviderConfigSpec{
Credentials: proxmoxv1alpha1.ProviderCredentials{
Source: proxmoxv1alpha1.CredentialsSourceSecret,
Credentials: proxmoxv1alpha1.CredentialsSource{
Source: "Secret",
SecretRef: &proxmoxv1alpha1.SecretKeySelector{
Name: "test-secret",
Namespace: "default",
Key: "username",
},
},
},
},