File tree 1 file changed +26
-42
lines changed
1 file changed +26
-42
lines changed Original file line number Diff line number Diff line change 5
5
"type" : " object" ,
6
6
"title" : " roadrunner-temporal" ,
7
7
"additionalProperties" : false ,
8
- "required" : [
9
- " address"
10
- ],
11
8
"properties" : {
12
9
"address" : {
13
- "description" : " Address of the Temporal server." ,
10
+ "description" : " Address of the Temporal server. Defaults to localhost:7233 if not provided. " ,
14
11
"type" : " string" ,
15
- "default" : " 127.0.0.1 :7233" ,
12
+ "default" : " localhost :7233" ,
16
13
"minLength" : 1
17
14
},
18
15
"cache_size" : {
26
23
"default" : " default"
27
24
},
28
25
"metrics" : {
29
- "type" : " object" ,
30
- "description" : " Temporal metrics." ,
31
- "required" : [
32
- " driver"
33
- ],
34
- "properties" : {
35
- "driver" : {
36
- "description" : " Metrics driver to use." ,
37
- "type" : " string" ,
38
- "enum" : [
39
- " prometheus" ,
40
- " statsd"
41
- ],
42
- "default" : " prometheus"
43
- }
44
- },
45
- "if" : {
46
- "properties" : {
47
- "driver" : {
48
- "const" : " prometheus"
49
- }
50
- }
51
- },
52
- "then" : {
53
- "properties" : {
54
- "prometheus" : {
55
- "$ref" : " #/$defs/Prometheus"
56
- }
57
- }
58
- },
59
- "else" : {
60
- "if" : {
26
+ "oneOf" : [
27
+ {
28
+ "type" : " object" ,
29
+ "additionalProperties" : false ,
61
30
"properties" : {
62
31
"driver" : {
63
- "const" : " statsd"
32
+ "description" : " The Prometheus driver." ,
33
+ "type" : " string" ,
34
+ "enum" : [
35
+ " prometheus"
36
+ ]
37
+ },
38
+ "prometheus" : {
39
+ "$ref" : " #/$defs/Prometheus"
64
40
}
65
41
}
66
42
},
67
- "then" : {
43
+ {
44
+ "type" : " object" ,
45
+ "additionalProperties" : false ,
68
46
"properties" : {
47
+ "driver" : {
48
+ "description" : " The Statsd driver." ,
49
+ "type" : " string" ,
50
+ "enum" : [
51
+ " statsd"
52
+ ]
53
+ },
69
54
"statsd" : {
70
55
"$ref" : " #/$defs/Statsd"
71
56
}
72
57
}
73
- },
74
- "else" : false
75
- }
58
+ }
59
+ ]
76
60
},
77
61
"activities" : {
78
62
"$ref" : " https://raw.githubusercontent.com/roadrunner-server/pool/refs/heads/master/schema.json"
You can’t perform that action at this time.
0 commit comments