|
1 | 1 | { |
2 | 2 | "name": "Project Alpha", |
3 | 3 | "version": "2.0.0", |
4 | | - "description": "An updated sample project with new features", |
| 4 | + "description": "A sample project for testing", |
5 | 5 | "active": true, |
6 | | - "priority": 8, |
7 | | - "status": "released", |
| 6 | + "priority": 5, |
8 | 7 | "config": { |
9 | 8 | "debug": false, |
10 | 9 | "timeout": 10000, |
11 | 10 | "retries": 5, |
12 | 11 | "logging": { |
13 | 12 | "level": "warn", |
14 | | - "format": "structured", |
15 | | - "outputs": ["console", "file", "cloud"], |
| 13 | + "format": "json", |
| 14 | + "outputs": ["console", "file"], |
16 | 15 | "rotation": { |
17 | 16 | "enabled": true, |
18 | | - "maxSize": "50MB", |
19 | | - "maxFiles": 10, |
20 | | - "compress": true |
| 17 | + "maxSize": "10MB", |
| 18 | + "maxFiles": 5 |
21 | 19 | } |
22 | 20 | }, |
23 | 21 | "features": { |
24 | 22 | "auth": true, |
25 | 23 | "cache": true, |
26 | 24 | "analytics": true, |
27 | | - "notifications": true, |
28 | 25 | "rateLimit": { |
29 | 26 | "enabled": true, |
30 | | - "requests": 500, |
31 | | - "window": "1m", |
32 | | - "burstLimit": 50 |
| 27 | + "requests": 100, |
| 28 | + "window": "1m" |
33 | 29 | } |
34 | 30 | }, |
35 | 31 | "database": { |
36 | 32 | "host": "db.production.internal", |
37 | 33 | "port": 5432, |
38 | | - "name": "app_db_v2", |
| 34 | + "name": "app_db", |
39 | 35 | "pool": { |
40 | | - "min": 5, |
41 | | - "max": 50, |
42 | | - "idleTimeout": 30000 |
43 | | - }, |
44 | | - "replicas": ["replica-1", "replica-2"] |
| 36 | + "min": 2, |
| 37 | + "max": 10 |
| 38 | + } |
45 | 39 | }, |
46 | 40 | "redis": { |
47 | 41 | "host": "redis.internal", |
|
50 | 44 | } |
51 | 45 | }, |
52 | 46 | "users": [ |
53 | | - {"id": 1, "name": "Alice", "role": "superadmin", "active": true, "email": "alice@example.com", "verified": true}, |
54 | | - {"id": 2, "name": "Bob", "role": "user", "active": false, "email": "robert@example.com"}, |
55 | | - {"id": 4, "name": "Diana", "role": "admin", "active": true, "email": "diana@example.com"}, |
56 | | - {"id": 5, "name": "Eric", "role": "editor", "active": true, "email": "eric@example.com"} |
| 47 | + {"id": 1, "name": "Alice", "role": "admin", "active": true, "email": "alice@example.com"}, |
| 48 | + {"id": 2, "name": "Bob", "role": "user", "active": true, "email": "bob@example.com"}, |
| 49 | + {"id": 3, "name": "Carol", "role": "editor", "active": true, "email": "carol@example.com"}, |
| 50 | + {"id": 4, "name": "Diana", "role": "admin", "active": true, "email": "diana@example.com"} |
57 | 51 | ], |
58 | 52 | "teams": { |
59 | 53 | "engineering": { |
60 | 54 | "lead": "Alice", |
61 | | - "members": ["Bob", "Diana", "Eric", "Frank"], |
62 | | - "projects": ["api", "frontend", "mobile", "infrastructure"] |
| 55 | + "members": ["Bob", "Carol", "Dave", "Eric"], |
| 56 | + "projects": ["api", "frontend", "mobile", "backend"] |
63 | 57 | }, |
64 | 58 | "design": { |
65 | | - "lead": "Grace", |
66 | | - "members": ["Henry", "Ivy"], |
67 | | - "projects": ["ui-kit", "branding", "design-system"] |
68 | | - }, |
69 | | - "marketing": { |
70 | | - "lead": "Jack", |
71 | | - "members": ["Kate", "Leo"], |
72 | | - "projects": ["campaigns", "analytics"] |
| 59 | + "lead": "Eve", |
| 60 | + "members": ["Frank", "Grace"], |
| 61 | + "projects": ["ui-kit", "branding"] |
73 | 62 | } |
74 | 63 | }, |
75 | 64 | "permissions": { |
76 | | - "superadmin": ["read", "write", "delete", "manage", "audit"], |
77 | 65 | "admin": ["read", "write", "delete", "manage"], |
78 | | - "editor": ["read", "write", "comment"], |
79 | | - "user": ["read", "comment"] |
| 66 | + "editor": ["read", "write"], |
| 67 | + "user": ["read"] |
80 | 68 | }, |
81 | 69 | "metadata": { |
82 | 70 | "created": "2024-01-15", |
83 | 71 | "updated": "2024-06-15", |
84 | | - "author": "alice", |
85 | | - "tags": ["production", "stable", "v2", "featured"], |
| 72 | + "author": "system", |
| 73 | + "tags": ["production", "stable"], |
86 | 74 | "environment": "production", |
87 | 75 | "region": "us-east-1" |
88 | 76 | }, |
89 | 77 | "history": [ |
90 | 78 | {"action": "create", "timestamp": "2024-01-15T10:00:00Z", "user": "admin"}, |
91 | 79 | {"action": "update", "timestamp": "2024-01-20T14:30:00Z", "user": "alice"}, |
92 | | - {"action": "migrate", "timestamp": "2024-03-01T09:00:00Z", "user": "system"}, |
93 | | - {"action": "upgrade", "timestamp": "2024-06-15T12:00:00Z", "user": "alice", "notes": "Major version upgrade"} |
| 80 | + {"action": "update", "timestamp": "2024-06-15T12:00:00Z", "user": "alice"} |
94 | 81 | ], |
95 | 82 | "stats": { |
96 | 83 | "requests": { |
97 | | - "total": 500000, |
98 | | - "success": 485000, |
99 | | - "failed": 15000, |
100 | | - "cached": 250000 |
| 84 | + "total": 150000, |
| 85 | + "success": 142500, |
| 86 | + "failed": 7500 |
101 | 87 | }, |
102 | 88 | "users": { |
103 | | - "total": 2500, |
104 | | - "active": 2100, |
105 | | - "new": 150, |
106 | | - "premium": 500 |
| 89 | + "total": 750, |
| 90 | + "active": 675, |
| 91 | + "new": 50 |
107 | 92 | }, |
108 | 93 | "performance": { |
109 | | - "avgLatency": 85, |
110 | | - "p99Latency": 320, |
111 | | - "uptime": 99.99, |
112 | | - "errorRate": 0.03 |
| 94 | + "avgLatency": 100, |
| 95 | + "p99Latency": 400, |
| 96 | + "uptime": 99.95 |
113 | 97 | } |
114 | 98 | }, |
115 | 99 | "integrations": { |
116 | 100 | "slack": { |
117 | 101 | "enabled": true, |
118 | | - "channel": "#production-alerts", |
| 102 | + "channel": "#alerts", |
119 | 103 | "events": ["error", "warning", "deployment"] |
120 | 104 | }, |
121 | 105 | "github": { |
122 | 106 | "enabled": true, |
123 | | - "repo": "org/project-v2", |
124 | | - "branch": "main", |
125 | | - "actions": true |
| 107 | + "repo": "org/project", |
| 108 | + "branch": "main" |
126 | 109 | }, |
127 | 110 | "datadog": { |
128 | 111 | "enabled": true, |
|
131 | 114 | } |
132 | 115 | }, |
133 | 116 | "limits": { |
134 | | - "maxFileSize": "100MB", |
135 | | - "maxRequests": 50000, |
| 117 | + "maxFileSize": "50MB", |
| 118 | + "maxRequests": 20000, |
136 | 119 | "quotas": { |
137 | | - "storage": "500GB", |
138 | | - "bandwidth": "5TB", |
139 | | - "apiCalls": "1M" |
140 | | - }, |
141 | | - "rateLimit": { |
142 | | - "tier1": 1000, |
143 | | - "tier2": 5000, |
144 | | - "tier3": 20000 |
| 120 | + "storage": "100GB", |
| 121 | + "bandwidth": "1TB" |
145 | 122 | } |
146 | 123 | }, |
147 | 124 | "notifications": { |
148 | 125 | "email": true, |
149 | 126 | "sms": true, |
150 | 127 | "push": true, |
151 | | - "webhook": true, |
152 | | - "channels": ["email", "push", "sms", "webhook"] |
| 128 | + "channels": ["email", "push", "sms"] |
153 | 129 | }, |
154 | 130 | "schedule": { |
155 | 131 | "backup": "0 */6 * * *", |
156 | | - "cleanup": "0 3 * * *", |
157 | | - "reports": "0 9 * * 1", |
158 | | - "healthCheck": "*/5 * * * *" |
| 132 | + "cleanup": "0 3 * * 0", |
| 133 | + "reports": "0 9 * * 1" |
159 | 134 | }, |
160 | 135 | "experiments": { |
161 | 136 | "darkMode": { |
162 | 137 | "enabled": true, |
163 | | - "percentage": 100 |
| 138 | + "percentage": 50 |
164 | 139 | }, |
165 | 140 | "newCheckout": { |
166 | 141 | "enabled": true, |
167 | | - "percentage": 100, |
168 | | - "graduated": true |
| 142 | + "percentage": 75 |
169 | 143 | }, |
170 | 144 | "aiAssistant": { |
171 | 145 | "enabled": true, |
172 | | - "percentage": 10, |
173 | | - "models": ["gpt-4", "claude"] |
| 146 | + "percentage": 10 |
174 | 147 | } |
175 | 148 | }, |
176 | 149 | "compliance": { |
177 | 150 | "gdpr": true, |
178 | 151 | "soc2": true, |
179 | 152 | "hipaa": false |
180 | | - }, |
181 | | - "changelog": "v2.0.0: Major update with performance improvements, new integrations, and enhanced security" |
| 153 | + } |
182 | 154 | } |
0 commit comments