mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
switch content of ICA and ICB in test data (exept for managedexternally value)
This commit is contained in:
parent
9543f041d3
commit
1540029aae
1 changed files with 15 additions and 15 deletions
|
@ -92,21 +92,6 @@ var propertiesA = json.RawMessage(`{"prop1" : "a nice prop"}`)
|
||||||
var propertiesB = json.RawMessage(`{"prop1" : "not so nice"}`)
|
var propertiesB = json.RawMessage(`{"prop1" : "not so nice"}`)
|
||||||
|
|
||||||
var ICA = database.InfrastructureComponent{
|
var ICA = database.InfrastructureComponent{
|
||||||
UUID: "4854af30-325f-44a5-ad59-b67b2597de68",
|
|
||||||
WebsocketURL: "xxx.yyy.zzz.aaa",
|
|
||||||
Type: "DPsim",
|
|
||||||
Category: "Simulator",
|
|
||||||
Name: "Test DPsim Simulator",
|
|
||||||
Uptime: 0,
|
|
||||||
State: "running",
|
|
||||||
Location: "ACS Laboratory",
|
|
||||||
Description: "This is a test description",
|
|
||||||
//StateUpdateAt: time.Now().Format(time.RFC1123),
|
|
||||||
StartParameterScheme: postgres.Jsonb{propertiesA},
|
|
||||||
ManagedExternally: false,
|
|
||||||
}
|
|
||||||
|
|
||||||
var ICB = database.InfrastructureComponent{
|
|
||||||
UUID: "7be0322d-354e-431e-84bd-ae4c9633138b",
|
UUID: "7be0322d-354e-431e-84bd-ae4c9633138b",
|
||||||
WebsocketURL: "https://villas-new.k8s.eonerc.rwth-aachen.de/ws/ws_sig",
|
WebsocketURL: "https://villas-new.k8s.eonerc.rwth-aachen.de/ws/ws_sig",
|
||||||
APIURL: "https://villas-new.k8s.eonerc.rwth-aachen.de/ws/api",
|
APIURL: "https://villas-new.k8s.eonerc.rwth-aachen.de/ws/api",
|
||||||
|
@ -118,6 +103,21 @@ var ICB = database.InfrastructureComponent{
|
||||||
Location: "k8s",
|
Location: "k8s",
|
||||||
Description: "A signal generator for testing purposes",
|
Description: "A signal generator for testing purposes",
|
||||||
//StateUpdateAt: time.Now().Format(time.RFC1123),
|
//StateUpdateAt: time.Now().Format(time.RFC1123),
|
||||||
|
StartParameterScheme: postgres.Jsonb{propertiesA},
|
||||||
|
ManagedExternally: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
var ICB = database.InfrastructureComponent{
|
||||||
|
UUID: "4854af30-325f-44a5-ad59-b67b2597de68",
|
||||||
|
WebsocketURL: "xxx.yyy.zzz.aaa",
|
||||||
|
Type: "DPsim",
|
||||||
|
Category: "Simulator",
|
||||||
|
Name: "Test DPsim Simulator",
|
||||||
|
Uptime: 0,
|
||||||
|
State: "running",
|
||||||
|
Location: "ACS Laboratory",
|
||||||
|
Description: "This is a test description",
|
||||||
|
//StateUpdateAt: time.Now().Format(time.RFC1123),
|
||||||
StartParameterScheme: postgres.Jsonb{propertiesB},
|
StartParameterScheme: postgres.Jsonb{propertiesB},
|
||||||
ManagedExternally: true,
|
ManagedExternally: true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue