-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dimitar Dimitrov <[email protected]>
- Loading branch information
1 parent
a5b8d9e
commit 1bd244b
Showing
51 changed files
with
5,115 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
models/com.bosch.iot.suite.edge.update-Action-1.0.0.type/COPYRIGHT.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (C) 2023 Bosch.IO GmbH |
15 changes: 15 additions & 0 deletions
15
models/com.bosch.iot.suite.edge.update-Action-1.0.0.type/model.datatype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
vortolang 1.0 | ||
namespace com.bosch.iot.suite.edge.update | ||
version 1.0.0 | ||
displayname "Action" | ||
description "Represents an action that is performed during an update procedure" | ||
|
||
using com.bosch.iot.suite.edge.update.Component ; 1.0.0 | ||
using com.bosch.iot.suite.edge.update.ActionStatusType ; 1.0.0 | ||
|
||
entity Action { | ||
component as Component | ||
status as ActionStatusType | ||
progress as int | ||
message as string | ||
} |
281 changes: 281 additions & 0 deletions
281
models/com.bosch.iot.suite.edge.update-Action-1.0.0.type/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,281 @@ | ||
{ | ||
"root" : { | ||
"name" : "Action", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:Action:1.0.0" | ||
}, | ||
"models" : { | ||
"com.bosch.iot.suite.edge.update:Action:1.0.0" : { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"vortolang" : "1.0", | ||
"id" : { | ||
"name" : "Action", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:Action:1.0.0" | ||
}, | ||
"type" : "Datatype", | ||
"displayName" : "Action", | ||
"description" : "Represents an action that is performed during an update procedure", | ||
"category" : null, | ||
"fileName" : "Action.type", | ||
"modelType" : "EntityModel", | ||
"references" : [ { | ||
"name" : "Component", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:Component:1.0.0" | ||
}, { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} ], | ||
"properties" : [ { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "component", | ||
"description" : null, | ||
"type" : { | ||
"name" : "Component", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:Component:1.0.0" | ||
}, | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : false | ||
}, { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "status", | ||
"description" : null, | ||
"type" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
}, | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : false | ||
}, { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "progress", | ||
"description" : null, | ||
"type" : "INT", | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : true | ||
}, { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "message", | ||
"description" : null, | ||
"type" : "STRING", | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : true | ||
} ], | ||
"superType" : null | ||
}, | ||
"com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" : { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"vortolang" : "1.0", | ||
"id" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
}, | ||
"type" : "Datatype", | ||
"displayName" : "ActionStatusType", | ||
"description" : "Represents the possible status values for an update action", | ||
"category" : null, | ||
"fileName" : "ActionStatusType.type", | ||
"modelType" : "EnumModel", | ||
"references" : [ ], | ||
"literals" : [ { | ||
"name" : "IDENTIFIED", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "DOWNLOADING", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "DOWNLOAD_FAILURE", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "DOWNLOAD_SUCCESS", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "UPDATING", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "UPDATE_FAILURE", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "UPDATE_SUCCESS", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "REMOVING", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "REMOVAL_FAILURE", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "REMOVAL_SUCCESS", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "ACTIVATING", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "ACTIVATION_FAILURE", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
}, { | ||
"name" : "ACTIVATION_SUCCESS", | ||
"description" : null, | ||
"parent" : { | ||
"name" : "ActionStatusType", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:ActionStatusType:1.0.0" | ||
} | ||
} ] | ||
}, | ||
"com.bosch.iot.suite.edge.update:Component:1.0.0" : { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"vortolang" : "1.0", | ||
"id" : { | ||
"name" : "Component", | ||
"namespace" : "com.bosch.iot.suite.edge.update", | ||
"version" : "1.0.0", | ||
"prettyFormat" : "com.bosch.iot.suite.edge.update:Component:1.0.0" | ||
}, | ||
"type" : "Datatype", | ||
"displayName" : "Component", | ||
"description" : "Represents a desired state component", | ||
"category" : null, | ||
"fileName" : "Component.type", | ||
"modelType" : "EntityModel", | ||
"references" : [ ], | ||
"properties" : [ { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "id", | ||
"description" : null, | ||
"type" : "STRING", | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : true | ||
}, { | ||
"targetPlatformKey" : null, | ||
"stereotypes" : [ ], | ||
"mappingReference" : null, | ||
"mandatory" : true, | ||
"name" : "version", | ||
"description" : null, | ||
"type" : "STRING", | ||
"constraints" : [ ], | ||
"attributes" : [ ], | ||
"multiple" : false, | ||
"primitive" : true | ||
} ], | ||
"superType" : null | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
models/com.bosch.iot.suite.edge.update-ActionStatusType-1.0.0.type/COPYRIGHT.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (C) 2023 Bosch.IO GmbH |
21 changes: 21 additions & 0 deletions
21
models/com.bosch.iot.suite.edge.update-ActionStatusType-1.0.0.type/model.datatype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
vortolang 1.0 | ||
namespace com.bosch.iot.suite.edge.update | ||
version 1.0.0 | ||
displayname "ActionStatusType" | ||
description "Represents the possible status values for an update action" | ||
|
||
enum ActionStatusType { | ||
IDENTIFIED, | ||
DOWNLOADING, | ||
DOWNLOAD_FAILURE, | ||
DOWNLOAD_SUCCESS, | ||
UPDATING, | ||
UPDATE_FAILURE, | ||
UPDATE_SUCCESS, | ||
REMOVING, | ||
REMOVAL_FAILURE, | ||
REMOVAL_SUCCESS, | ||
ACTIVATING, | ||
ACTIVATION_FAILURE, | ||
ACTIVATION_SUCCESS | ||
} |
Oops, something went wrong.