Skip to content

Commit 0030f44

Browse files
authored
App manifest v3 (#95)
* adapt appManifests * adapt sdk version
1 parent 7ad9e5c commit 0030f44

File tree

10 files changed

+357
-187
lines changed

10 files changed

+357
-187
lines changed
Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
1-
[
2-
{
3-
"name": "array-datatype",
4-
"vehicleModel": {
5-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
6-
"datapoints": [
7-
{
8-
"path": "Vehicle.Powertrain.FuelSystem.SupportedFuel",
9-
"required": "true",
10-
"access": "read"
1+
{
2+
"manifestVersion": "v3",
3+
"name": "array-datatype",
4+
"interfaces": [
5+
{
6+
"type": "vehicle-signal-interface",
7+
"config": {
8+
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9+
"datapoints": {
10+
"required": [
11+
{
12+
"path": "Vehicle.Powertrain.FuelSystem.SupportedFuel",
13+
"optional": "false",
14+
"access": "read"
15+
}
16+
]
1117
}
12-
]
18+
}
1319
},
14-
"runtime": [
15-
"grpc://sdv.databroker.v1.Broker/Subscribe"
16-
]
17-
}
18-
]
20+
{
21+
"type": "grpc-interface",
22+
"config": {
23+
"src": "https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/proto/sdv/databroker/v1/broker.proto",
24+
"required": {
25+
"methods": [
26+
"Subscribe"
27+
]
28+
}
29+
}
30+
}
31+
]
32+
}

examples/atomic-set/AppManifest.json

Lines changed: 47 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,49 @@
1-
[
2-
{
3-
"name": "atomic-set",
4-
"vehicleModel": {
5-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
6-
"datapoints": [
7-
{
8-
"path": "Vehicle.Cabin.Seat.Row1.Pos1.Position",
9-
"required": "true",
10-
"access": "write"
11-
},
12-
{
13-
"path": "Vehicle.Cabin.Seat.Row1.Pos2.Position",
14-
"required": "true",
15-
"access": "write"
1+
{
2+
"manifestVersion": "v3",
3+
"name": "atomic-set",
4+
"interfaces": [
5+
{
6+
"type": "vehicle-signal-interface",
7+
"config": {
8+
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9+
"datapoints": {
10+
"required": [
11+
{
12+
"path": "Vehicle.Cabin.Seat.Row1.Pos1.Position",
13+
"optional": "false",
14+
"access": "write"
15+
},
16+
{
17+
"path": "Vehicle.Cabin.Seat.Row1.Pos2.Position",
18+
"optional": "false",
19+
"access": "write"
20+
}
21+
]
1622
}
17-
]
23+
}
1824
},
19-
"runtime": [
20-
"grpc://sdv.databroker.v1.Broker/Subscribe",
21-
"grpc://sdv.databroker.v1.Broker/SetDatapoints",
22-
"mqtt"
23-
]
24-
}
25-
]
25+
{
26+
"type": "grpc-interface",
27+
"config": {
28+
"src": "https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/proto/sdv/databroker/v1/broker.proto",
29+
"required": {
30+
"methods": [
31+
"SetDatapoints",
32+
"Subscribe"
33+
]
34+
}
35+
}
36+
},
37+
{
38+
"type": "pubsub",
39+
"config": {
40+
"reads": [
41+
"vehicleapp/setValue/request"
42+
],
43+
"writes": [
44+
"vehicleapp/setValue/response",
45+
]
46+
}
47+
}
48+
]
49+
}
Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,50 @@
1-
[
2-
{
3-
"name": "datapoint-set",
4-
"vehicleModel": {
5-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
6-
"datapoints": [
7-
{
8-
"path": "Vehicle.Cabin.Seat.Row1.Pos1.IsBelted",
9-
"required": "true",
10-
"access": "write"
11-
},
12-
{
13-
"path": "Vehicle.Cabin.Seat.Row1.Pos1.Position",
14-
"required": "true",
15-
"access": "write"
1+
{
2+
"manifestVersion": "v3",
3+
"name": "datapoint-set",
4+
"interfaces": [
5+
{
6+
"type": "vehicle-signal-interface",
7+
"config": {
8+
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9+
"datapoints": {
10+
"required": [
11+
{
12+
"path": "Vehicle.Cabin.Seat.Row1.Pos1.IsBelted",
13+
"optional": "false",
14+
"access": "write"
15+
},
16+
{
17+
"path": "Vehicle.Cabin.Seat.Row1.Pos1.Position",
18+
"optional": "false",
19+
"access": "write"
20+
}
21+
]
1622
}
17-
]
23+
}
1824
},
19-
"runtime": [
20-
"grpc://sdv.databroker.v1.Broker/Subscribe",
21-
"grpc://sdv.databroker.v1.Broker/SetDatapoints",
22-
"mqtt"
23-
]
24-
}
25-
]
25+
{
26+
"type": "grpc-interface",
27+
"config": {
28+
"src": "https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/proto/sdv/databroker/v1/broker.proto",
29+
"required": {
30+
"methods": [
31+
"SetDatapoints",
32+
"Subscribe"
33+
]
34+
}
35+
}
36+
},
37+
{
38+
"type": "pubsub",
39+
"config": {
40+
"reads": [
41+
"vehicleapp/setValue/request",
42+
"vehicleapp/setSensor/request"
43+
],
44+
"writes": [
45+
"vehicleapp/setValue/response",
46+
]
47+
}
48+
}
49+
]
50+
}

examples/dog-mode/AppManifest.json

Lines changed: 67 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,69 @@
1-
[
2-
{
3-
"name": "dogmode",
4-
"vehicleModel": {
5-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
6-
"datapoints": [
7-
{
8-
"path": "Vehicle.Cabin.AmbientAirTemperature",
9-
"required": "true",
10-
"access": "read"
11-
},
12-
{
13-
"path": "Vehicle.Cabin.DogMode",
14-
"required": "true",
15-
"access": "read"
16-
},
17-
{
18-
"path": "Vehicle.Cabin.DogModeTemperature",
19-
"required": "true",
20-
"access": "read"
21-
},
22-
{
23-
"path": "Vehicle.Powertrain.Battery.StateOfCharge.Current",
24-
"required": "true",
25-
"access": "read"
1+
{
2+
"manifestVersion": "v3",
3+
"name": "dogmode",
4+
"interfaces": [
5+
{
6+
"type": "vehicle-signal-interface",
7+
"config": {
8+
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9+
"datapoints": {
10+
"required": [
11+
{
12+
"path": "Vehicle.Cabin.AmbientAirTemperature",
13+
"optional": "false",
14+
"access": "read"
15+
},
16+
{
17+
"path": "Vehicle.Cabin.DogMode",
18+
"optional": "false",
19+
"access": "read"
20+
},
21+
{
22+
"path": "Vehicle.Cabin.DogModeTemperature",
23+
"optional": "false",
24+
"access": "read"
25+
},
26+
{
27+
"path": "Vehicle.Powertrain.Battery.StateOfCharge.Current",
28+
"optional": "false",
29+
"access": "read"
30+
}
31+
]
2632
}
27-
]
33+
}
2834
},
29-
"runtime": [
30-
"grpc://sdv.databroker.v1.Broker/Subscribe",
31-
"grpc://sdv.edge.comfort.hvac.v1.Hvac/SetAcStatus",
32-
"grpc://sdv.edge.comfort.hvac.v1.Hvac/SetTemperature",
33-
"mqtt"
34-
]
35-
}
36-
]
35+
{
36+
"type": "grpc-interface",
37+
"config": {
38+
"src": "https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/proto/sdv/databroker/v1/broker.proto",
39+
"required": {
40+
"methods": [
41+
"Subscribe"
42+
]
43+
}
44+
}
45+
},
46+
{
47+
"type": "grpc-interface",
48+
"config": {
49+
"src": "https://github.com/eclipse/kuksa.val.services/blob/main/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
50+
"required": {
51+
"methods": [
52+
"SetAcStatus",
53+
"SetTemperature"
54+
]
55+
}
56+
}
57+
},
58+
{
59+
"type": "pubsub",
60+
"config": {
61+
"writes": [
62+
"dogmode/ambientAirTemperature",
63+
"dogmode/stateOfCharge",
64+
"dogmode/display"
65+
]
66+
}
67+
}
68+
]
69+
}
Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,50 @@
1-
[
2-
{
3-
"name": "dynamic-rule",
4-
"vehicleModel": {
5-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
6-
"datapoints": [
7-
{
8-
"path": "Vehicle.Speed",
9-
"required": "true",
10-
"access": "read"
11-
},
12-
{
13-
"path": "Vehicle.ADAS.ABS.IsEnabled",
14-
"required": "true",
15-
"access": "read"
16-
},
17-
{
18-
"path": "Vehicle.ADAS.ABS.IsEngaged",
19-
"required": "true",
20-
"access": "read"
1+
{
2+
"manifestVersion": "v3",
3+
"name": "dynamic-rule",
4+
"interfaces": [
5+
{
6+
"type": "vehicle-signal-interface",
7+
"config": {
8+
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9+
"datapoints": {
10+
"required": [
11+
{
12+
"path": "Vehicle.Speed",
13+
"optional": "false",
14+
"access": "read"
15+
},
16+
{
17+
"path": "Vehicle.ADAS.ABS.IsEnabled",
18+
"optional": "false",
19+
"access": "read"
20+
},
21+
{
22+
"path": "Vehicle.ADAS.ABS.IsEngaged",
23+
"optional": "false",
24+
"access": "read"
25+
}
26+
]
2127
}
22-
]
28+
}
2329
},
24-
"runtime": [
25-
"grpc://sdv.databroker.v1.Broker/Subscribe",
26-
"mqtt"
27-
]
28-
}
29-
]
30+
{
31+
"type": "grpc-interface",
32+
"config": {
33+
"src": "https://github.com/eclipse/kuksa.val/blob/master/kuksa_databroker/proto/sdv/databroker/v1/broker.proto",
34+
"required": {
35+
"methods": [
36+
"Subscribe"
37+
]
38+
}
39+
}
40+
},
41+
{
42+
"type": "pubsub",
43+
"config": {
44+
"reads": [
45+
"speedlimitwarner/setLimit/request"
46+
]
47+
}
48+
}
49+
]
50+
}

0 commit comments

Comments
 (0)