Skip to content

Commit 9139cfa

Browse files
committed
updated demo data
1 parent bebec23 commit 9139cfa

2 files changed

Lines changed: 105 additions & 92 deletions

File tree

public/data/a1.json

Lines changed: 56 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"description": "A sample project for testing",
55
"active": true,
66
"priority": 5,
7+
"status": "beta",
78
"config": {
89
"debug": true,
910
"timeout": 5000,
1011
"retries": 3,
12+
"maxConnections": 50,
1113
"logging": {
1214
"level": "info",
1315
"format": "json",
@@ -35,24 +37,35 @@
3537
"pool": {
3638
"min": 2,
3739
"max": 10
38-
}
40+
},
41+
"ssl": false,
42+
"backup": true
43+
},
44+
"legacy": {
45+
"enabled": true,
46+
"endpoints": ["/v1", "/v2"]
3947
}
4048
},
4149
"users": [
42-
{"id": 1, "name": "Alice", "role": "admin", "active": true, "email": "alice@example.com"},
43-
{"id": 2, "name": "Bob", "role": "user", "active": true, "email": "bob@example.com"},
44-
{"id": 3, "name": "Carol", "role": "editor", "active": true, "email": "carol@example.com"}
50+
{"id": 1, "name": "Alice", "role": "admin", "active": true, "email": "alice@example.com", "verified": false},
51+
{"id": 2, "name": "Bob", "role": "user", "active": true, "email": "bob@example.com", "verified": false},
52+
{"id": 3, "name": "Carol", "role": "editor", "active": true, "email": "carol@example.com", "verified": true}
4553
],
4654
"teams": {
4755
"engineering": {
4856
"lead": "Alice",
49-
"members": ["Bob", "Carol", "Dave"],
57+
"members": ["Bob", "Carol"],
5058
"projects": ["api", "frontend", "mobile"]
5159
},
5260
"design": {
5361
"lead": "Eve",
5462
"members": ["Frank", "Grace"],
5563
"projects": ["ui-kit", "branding"]
64+
},
65+
"beta": {
66+
"lead": "Frank",
67+
"members": ["Grace"],
68+
"projects": ["experimental"]
5669
}
5770
},
5871
"permissions": {
@@ -85,31 +98,43 @@
8598
"performance": {
8699
"avgLatency": 120,
87100
"p99Latency": 450,
88-
"uptime": 99.9
101+
"uptime": 99.9,
102+
"errorRate": 0.05,
103+
"throughput": 1000
104+
},
105+
"cache": {
106+
"hits": 80000,
107+
"misses": 20000,
108+
"hitRate": 0.8
89109
}
90110
},
91111
"integrations": {
92112
"slack": {
93113
"enabled": true,
94-
"channel": "#alerts",
114+
"channel": "#dev-alerts",
95115
"events": ["error", "warning"]
96116
},
97117
"github": {
98118
"enabled": true,
99119
"repo": "org/project",
100120
"branch": "main"
121+
},
122+
"jira": {
123+
"enabled": true,
124+
"project": "PROJ",
125+
"board": "sprint"
101126
}
102127
},
103-
"deprecated": {
104-
"oldApi": true,
105-
"legacyAuth": true
106-
},
107128
"limits": {
108129
"maxFileSize": "50MB",
109-
"maxRequests": 10000,
130+
"maxRequests": 5000,
110131
"quotas": {
111132
"storage": "100GB",
112133
"bandwidth": "1TB"
134+
},
135+
"rateLimit": {
136+
"tier1": 500,
137+
"tier2": 2000
113138
}
114139
},
115140
"notifications": {
@@ -120,8 +145,10 @@
120145
},
121146
"schedule": {
122147
"backup": "0 0 * * *",
123-
"cleanup": "0 3 * * 0",
124-
"reports": "0 9 * * 1"
148+
"cleanup": "0 2 * * 0",
149+
"reports": "0 9 * * 1",
150+
"sync": "0 */4 * * *",
151+
"maintenance": "0 1 * * 0"
125152
},
126153
"experiments": {
127154
"darkMode": {
@@ -131,6 +158,20 @@
131158
"newCheckout": {
132159
"enabled": true,
133160
"percentage": 25
161+
},
162+
"betaFeatures": {
163+
"enabled": false,
164+
"percentage": 0
134165
}
135-
}
166+
},
167+
"deprecated": {
168+
"oldApi": true,
169+
"legacyAuth": false
170+
},
171+
"maintenance": {
172+
"mode": false,
173+
"message": "Scheduled maintenance on Sunday",
174+
"startTime": "2024-01-21T02:00:00Z"
175+
},
176+
"changelog": "v1.0.0: Initial release with core features"
136177
}

public/data/a2.json

Lines changed: 49 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,41 @@
11
{
22
"name": "Project Alpha",
33
"version": "2.0.0",
4-
"description": "An updated sample project with new features",
4+
"description": "A sample project for testing",
55
"active": true,
6-
"priority": 8,
7-
"status": "released",
6+
"priority": 5,
87
"config": {
98
"debug": false,
109
"timeout": 10000,
1110
"retries": 5,
1211
"logging": {
1312
"level": "warn",
14-
"format": "structured",
15-
"outputs": ["console", "file", "cloud"],
13+
"format": "json",
14+
"outputs": ["console", "file"],
1615
"rotation": {
1716
"enabled": true,
18-
"maxSize": "50MB",
19-
"maxFiles": 10,
20-
"compress": true
17+
"maxSize": "10MB",
18+
"maxFiles": 5
2119
}
2220
},
2321
"features": {
2422
"auth": true,
2523
"cache": true,
2624
"analytics": true,
27-
"notifications": true,
2825
"rateLimit": {
2926
"enabled": true,
30-
"requests": 500,
31-
"window": "1m",
32-
"burstLimit": 50
27+
"requests": 100,
28+
"window": "1m"
3329
}
3430
},
3531
"database": {
3632
"host": "db.production.internal",
3733
"port": 5432,
38-
"name": "app_db_v2",
34+
"name": "app_db",
3935
"pool": {
40-
"min": 5,
41-
"max": 50,
42-
"idleTimeout": 30000
43-
},
44-
"replicas": ["replica-1", "replica-2"]
36+
"min": 2,
37+
"max": 10
38+
}
4539
},
4640
"redis": {
4741
"host": "redis.internal",
@@ -50,79 +44,68 @@
5044
}
5145
},
5246
"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"}
5751
],
5852
"teams": {
5953
"engineering": {
6054
"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"]
6357
},
6458
"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"]
7362
}
7463
},
7564
"permissions": {
76-
"superadmin": ["read", "write", "delete", "manage", "audit"],
7765
"admin": ["read", "write", "delete", "manage"],
78-
"editor": ["read", "write", "comment"],
79-
"user": ["read", "comment"]
66+
"editor": ["read", "write"],
67+
"user": ["read"]
8068
},
8169
"metadata": {
8270
"created": "2024-01-15",
8371
"updated": "2024-06-15",
84-
"author": "alice",
85-
"tags": ["production", "stable", "v2", "featured"],
72+
"author": "system",
73+
"tags": ["production", "stable"],
8674
"environment": "production",
8775
"region": "us-east-1"
8876
},
8977
"history": [
9078
{"action": "create", "timestamp": "2024-01-15T10:00:00Z", "user": "admin"},
9179
{"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"}
9481
],
9582
"stats": {
9683
"requests": {
97-
"total": 500000,
98-
"success": 485000,
99-
"failed": 15000,
100-
"cached": 250000
84+
"total": 150000,
85+
"success": 142500,
86+
"failed": 7500
10187
},
10288
"users": {
103-
"total": 2500,
104-
"active": 2100,
105-
"new": 150,
106-
"premium": 500
89+
"total": 750,
90+
"active": 675,
91+
"new": 50
10792
},
10893
"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
11397
}
11498
},
11599
"integrations": {
116100
"slack": {
117101
"enabled": true,
118-
"channel": "#production-alerts",
102+
"channel": "#alerts",
119103
"events": ["error", "warning", "deployment"]
120104
},
121105
"github": {
122106
"enabled": true,
123-
"repo": "org/project-v2",
124-
"branch": "main",
125-
"actions": true
107+
"repo": "org/project",
108+
"branch": "main"
126109
},
127110
"datadog": {
128111
"enabled": true,
@@ -131,52 +114,41 @@
131114
}
132115
},
133116
"limits": {
134-
"maxFileSize": "100MB",
135-
"maxRequests": 50000,
117+
"maxFileSize": "50MB",
118+
"maxRequests": 20000,
136119
"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"
145122
}
146123
},
147124
"notifications": {
148125
"email": true,
149126
"sms": true,
150127
"push": true,
151-
"webhook": true,
152-
"channels": ["email", "push", "sms", "webhook"]
128+
"channels": ["email", "push", "sms"]
153129
},
154130
"schedule": {
155131
"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"
159134
},
160135
"experiments": {
161136
"darkMode": {
162137
"enabled": true,
163-
"percentage": 100
138+
"percentage": 50
164139
},
165140
"newCheckout": {
166141
"enabled": true,
167-
"percentage": 100,
168-
"graduated": true
142+
"percentage": 75
169143
},
170144
"aiAssistant": {
171145
"enabled": true,
172-
"percentage": 10,
173-
"models": ["gpt-4", "claude"]
146+
"percentage": 10
174147
}
175148
},
176149
"compliance": {
177150
"gdpr": true,
178151
"soc2": true,
179152
"hipaa": false
180-
},
181-
"changelog": "v2.0.0: Major update with performance improvements, new integrations, and enhanced security"
153+
}
182154
}

0 commit comments

Comments
 (0)