@@ -48,7 +48,7 @@ type Environment struct {
48
48
// SINCE RELAYS FOR A NODE IS STORED ON THE CHAIN IN A LIMITED SPACE
49
49
// PLEASE MAKE SURE THAT ANY ENV HAS NO MORE THAN FOUR RELAYS CONFIGURED
50
50
RelayURL []string
51
- ActivationURL string
51
+ ActivationURL [] string
52
52
GraphQL []string
53
53
54
54
// private vlan to join
@@ -108,14 +108,18 @@ var (
108
108
RunningMode : RunningDev ,
109
109
SubstrateURL : []string {
110
110
"wss://tfchain.dev.grid.tf/" ,
111
+ "wss://tfchain.02.dev.grid.tf" ,
111
112
},
112
113
RelayURL : []string {
113
114
"wss://relay.dev.grid.tf" ,
114
115
"wss://relay.02.dev.grid.tf" ,
115
116
},
116
- ActivationURL : "https://activation.dev.grid.tf/activation/activate" ,
117
- FlistURL : "redis://hub.grid.tf:9900" ,
118
- BinRepo : "tf-zos-v3-bins.dev" ,
117
+ ActivationURL : []string {
118
+ "https://activation.dev.grid.tf/activation/activate" ,
119
+ "https://activation.02.dev.grid.tf/activation/activate" ,
120
+ },
121
+ FlistURL : "redis://hub.grid.tf:9900" ,
122
+ BinRepo : "tf-zos-v3-bins.dev" ,
119
123
GraphQL : []string {
120
124
"https://graphql.dev.grid.tf/graphql" ,
121
125
"https://graphql.02.dev.grid.tf/graphql" ,
@@ -126,14 +130,18 @@ var (
126
130
RunningMode : RunningTest ,
127
131
SubstrateURL : []string {
128
132
"wss://tfchain.test.grid.tf/" ,
133
+ "wss://tfchain.02.test.grid.tf" ,
129
134
},
130
135
RelayURL : []string {
131
136
"wss://relay.test.grid.tf" ,
132
137
"wss://relay.02.test.grid.tf" ,
133
138
},
134
- ActivationURL : "https://activation.test.grid.tf/activation/activate" ,
135
- FlistURL : "redis://hub.grid.tf:9900" ,
136
- BinRepo : "tf-zos-v3-bins.test" ,
139
+ ActivationURL : []string {
140
+ "https://activation.test.grid.tf/activation/activate" ,
141
+ "https://activation.02.test.grid.tf/activation/activate" ,
142
+ },
143
+ FlistURL : "redis://hub.grid.tf:9900" ,
144
+ BinRepo : "tf-zos-v3-bins.test" ,
137
145
GraphQL : []string {
138
146
"https://graphql.test.grid.tf/graphql" ,
139
147
"https://graphql.02.test.grid.tf/graphql" ,
@@ -148,10 +156,14 @@ var (
148
156
},
149
157
RelayURL : []string {
150
158
"wss://relay.qa.grid.tf" ,
159
+ "wss://relay.02.qa.grid.tf" ,
151
160
},
152
- ActivationURL : "https://activation.qa.grid.tf/activation/activate" ,
153
- FlistURL : "redis://hub.grid.tf:9900" ,
154
- BinRepo : "tf-zos-v3-bins.qanet" ,
161
+ ActivationURL : []string {
162
+ "https://activation.qa.grid.tf/activation/activate" ,
163
+ "https://activation.02.qa.grid.tf/activation/activate" ,
164
+ },
165
+ FlistURL : "redis://hub.grid.tf:9900" ,
166
+ BinRepo : "tf-zos-v3-bins.qanet" ,
155
167
GraphQL : []string {
156
168
"https://graphql.qa.grid.tf/graphql" ,
157
169
"https://graphql.02.qa.grid.tf/graphql" ,
@@ -162,6 +174,7 @@ var (
162
174
RunningMode : RunningMain ,
163
175
SubstrateURL : []string {
164
176
"wss://tfchain.grid.tf/" ,
177
+ "wss://tfchain.02.grid.tf" ,
165
178
"wss://02.tfchain.grid.tf/" ,
166
179
"wss://03.tfchain.grid.tf/" ,
167
180
"wss://04.tfchain.grid.tf/" ,
@@ -170,9 +183,12 @@ var (
170
183
"wss://relay.grid.tf" ,
171
184
"wss://relay.02.grid.tf" ,
172
185
},
173
- ActivationURL : "https://activation.grid.tf/activation/activate" ,
174
- FlistURL : "redis://hub.grid.tf:9900" ,
175
- BinRepo : "tf-zos-v3-bins" ,
186
+ ActivationURL : []string {
187
+ "https://activation.grid.tf/activation/activate" ,
188
+ "https://activation.02.grid.tf/activation/activate" ,
189
+ },
190
+ FlistURL : "redis://hub.grid.tf:9900" ,
191
+ BinRepo : "tf-zos-v3-bins" ,
176
192
GraphQL : []string {
177
193
"https://graphql.grid.tf/graphql" ,
178
194
"https://graphql.02.grid.tf/graphql" ,
@@ -253,7 +269,7 @@ func getEnvironmentFromParams(params kernel.Params) (Environment, error) {
253
269
254
270
if activation , ok := params .Get ("activation" ); ok {
255
271
if len (activation ) > 0 {
256
- env .ActivationURL = activation [ len ( activation ) - 1 ]
272
+ env .ActivationURL = activation
257
273
}
258
274
}
259
275
0 commit comments