-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes as highlighted during meeting on 2024/10/15
We agreed to introduce an NcRestoreMode type with 2 options called: - Rebuild - Modify These are used used in ValidateSetPropertiesByPath and SetPropertiesByPath to describe which restore mode the client wishes to perform as part of the request. For a "Rebuild" restore even readonly properties can be used as information for constructing/reconstructing objects. We felt in this mode it's still important to capture if blocks are dynamic with respect to their members (if they allow their members to be added/removed) and to capture if objects can be reconstructed. For this we want to expose a new boolean field called "isRebuildable" in NcObjectPropertiesHolder. The property traits concept is being removed: - the NcPropertyTrait type - NcPropertyValueHolder: traits - ValidateSetPropertiesByPath(... propertyTraits) - SetPropertiesByPath(... propertyTraits) The NcRestoreValidationStatus: Excluded option needs to be removed as it was only pertinent to filtering performed as part of the property traits interaction.
- Loading branch information
1 parent
9af2ac3
commit 8588f7f
Showing
7 changed files
with
48 additions
and
78 deletions.
There are no files selected for viewing
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
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
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
38 changes: 0 additions & 38 deletions
38
device-configuration/models/datatypes/NcPropertyTrait.json
This file was deleted.
Oops, something went wrong.
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
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,18 @@ | ||
{ | ||
"description": "Restore mode enumeration", | ||
"name": "NcRestoreMode", | ||
"type": 3, | ||
"items": [ | ||
{ | ||
"description": "Restore mode is Modify", | ||
"name": "Modify", | ||
"value": 0 | ||
}, | ||
{ | ||
"description": "Restore mode is Rebuild", | ||
"name": "Rebuild", | ||
"value": 1 | ||
} | ||
], | ||
"constraints": null | ||
} |
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