Skip to content

Commit 1ff9a86

Browse files
Copilothotlong
andcommitted
fix: replace new Date() with ISO 8601 strings in identity test files
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6df1c78 commit 1ff9a86

35 files changed

Lines changed: 321 additions & 185 deletions

packages/spec/json-schema/data/DriverCapabilities.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@
5454
"items": {
5555
"type": "string",
5656
"enum": [
57-
"read-uncommitted",
58-
"read-committed",
59-
"repeatable-read",
60-
"serializable"
61-
]
57+
"read_uncommitted",
58+
"read_committed",
59+
"repeatable_read",
60+
"serializable",
61+
"snapshot"
62+
],
63+
"description": "Transaction isolation levels (snake_case standard)"
6264
},
63-
"description": "Supported transaction isolation levels"
65+
"description": "Supported isolation levels"
6466
},
6567
"queryFilters": {
6668
"type": "boolean",

packages/spec/json-schema/data/DriverConfig.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@
7373
"items": {
7474
"type": "string",
7575
"enum": [
76-
"read-uncommitted",
77-
"read-committed",
78-
"repeatable-read",
79-
"serializable"
80-
]
76+
"read_uncommitted",
77+
"read_committed",
78+
"repeatable_read",
79+
"serializable",
80+
"snapshot"
81+
],
82+
"description": "Transaction isolation levels (snake_case standard)"
8183
},
82-
"description": "Supported transaction isolation levels"
84+
"description": "Supported isolation levels"
8385
},
8486
"queryFilters": {
8587
"type": "boolean",

packages/spec/json-schema/data/DriverInterface.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@
6565
"items": {
6666
"type": "string",
6767
"enum": [
68-
"read-uncommitted",
69-
"read-committed",
70-
"repeatable-read",
71-
"serializable"
72-
]
68+
"read_uncommitted",
69+
"read_committed",
70+
"repeatable_read",
71+
"serializable",
72+
"snapshot"
73+
],
74+
"description": "Transaction isolation levels (snake_case standard)"
7375
},
74-
"description": "Supported transaction isolation levels"
76+
"description": "Supported isolation levels"
7577
},
7678
"queryFilters": {
7779
"type": "boolean",

packages/spec/json-schema/data/NoSQLDriverConfig.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@
6666
"items": {
6767
"type": "string",
6868
"enum": [
69-
"read-uncommitted",
70-
"read-committed",
71-
"repeatable-read",
72-
"serializable"
73-
]
69+
"read_uncommitted",
70+
"read_committed",
71+
"repeatable_read",
72+
"serializable",
73+
"snapshot"
74+
],
75+
"description": "Transaction isolation levels (snake_case standard)"
7476
},
75-
"description": "Supported transaction isolation levels"
77+
"description": "Supported isolation levels"
7678
},
7779
"queryFilters": {
7880
"type": "boolean",

packages/spec/json-schema/data/SQLDriverConfig.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@
6666
"items": {
6767
"type": "string",
6868
"enum": [
69-
"read-uncommitted",
70-
"read-committed",
71-
"repeatable-read",
72-
"serializable"
73-
]
69+
"read_uncommitted",
70+
"read_committed",
71+
"repeatable_read",
72+
"serializable",
73+
"snapshot"
74+
],
75+
"description": "Transaction isolation levels (snake_case standard)"
7476
},
75-
"description": "Supported transaction isolation levels"
77+
"description": "Supported isolation levels"
7678
},
7779
"queryFilters": {
7880
"type": "boolean",

packages/spec/json-schema/hub/Feature.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"counter",
2323
"gauge"
2424
],
25+
"description": "License metric type",
2526
"default": "boolean"
2627
},
2728
"unit": {

packages/spec/json-schema/hub/MetricType.json renamed to packages/spec/json-schema/hub/LicenseMetricType.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2-
"$ref": "#/definitions/MetricType",
2+
"$ref": "#/definitions/LicenseMetricType",
33
"definitions": {
4-
"MetricType": {
4+
"LicenseMetricType": {
55
"type": "string",
66
"enum": [
77
"boolean",
88
"counter",
99
"gauge"
10-
]
10+
],
11+
"description": "License metric type"
1112
}
1213
},
1314
"$schema": "http://json-schema.org/draft-07/schema#"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$ref": "#/definitions/AggregationFunctionEnum",
3+
"definitions": {
4+
"AggregationFunctionEnum": {
5+
"type": "string",
6+
"enum": [
7+
"count",
8+
"sum",
9+
"avg",
10+
"min",
11+
"max",
12+
"count_distinct",
13+
"percentile",
14+
"median",
15+
"stddev",
16+
"variance"
17+
],
18+
"description": "Standard aggregation functions"
19+
}
20+
},
21+
"$schema": "http://json-schema.org/draft-07/schema#"
22+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$ref": "#/definitions/CacheStrategyEnum",
3+
"definitions": {
4+
"CacheStrategyEnum": {
5+
"type": "string",
6+
"enum": [
7+
"lru",
8+
"lfu",
9+
"ttl",
10+
"fifo"
11+
],
12+
"description": "Cache eviction strategy"
13+
}
14+
},
15+
"$schema": "http://json-schema.org/draft-07/schema#"
16+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$ref": "#/definitions/IsolationLevelEnum",
3+
"definitions": {
4+
"IsolationLevelEnum": {
5+
"type": "string",
6+
"enum": [
7+
"read_uncommitted",
8+
"read_committed",
9+
"repeatable_read",
10+
"serializable",
11+
"snapshot"
12+
],
13+
"description": "Transaction isolation levels (snake_case standard)"
14+
}
15+
},
16+
"$schema": "http://json-schema.org/draft-07/schema#"
17+
}

0 commit comments

Comments
 (0)