-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Realtime screen uses entity role #5435
Signed-off-by: ClementBouvierN <clement.bouvierneveu@rte-france.com>
- Loading branch information
1 parent
97b93a9
commit b12eb03
Showing
19 changed files
with
186 additions
and
260 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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,72 @@ | ||
// Copyright (c) 2023 RTE (http://www.rte-france.com) | ||
// See AUTHORS.txt | ||
// This document is subject to the terms of the Creative Commons Attribution 4.0 International license. | ||
// If a copy of the license was not distributed with this | ||
// file, You can obtain one at https://creativecommons.org/licenses/by/4.0/. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
= Migration Guide from release 4.1.0 to release 4.2.0 | ||
|
||
|
||
== Configuration files of the realtime users screen | ||
|
||
Previously, to configure this screen, the json file had to fit the following structure : | ||
|
||
[source,json] | ||
---- | ||
{ | ||
"realTimeScreens": [ | ||
{ | ||
"screenName": <Name of the screen>, | ||
"screenColumns": [ | ||
{ | ||
"entitiesGroups": [ | ||
{ | ||
"name": <Name of a group of entities>, | ||
"entities": [ | ||
<entity1 id>, | ||
<entity2 id> | ||
] | ||
}, | ||
{ | ||
"name": <Name of another group of entities>, | ||
"entities": [ | ||
<entity3 id>, | ||
<entity4 id> | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
---- | ||
|
||
Now entities shouldn't be grouped in the configuration file anymore. Instead entities are grouped by a shared parent entity. The configuration file needs to be changed to the following structure: | ||
|
||
[source,json] | ||
---- | ||
{ | ||
"realTimeScreens": [ | ||
{ | ||
"screenName": <Name of the screen>, | ||
"screenColumns": [ | ||
{ | ||
"entitiesGroups": [ | ||
{ | ||
"id": <parent entity 1 id>, | ||
}, | ||
{ | ||
"id": <parent entity 2 id>, | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
---- | ||
|
||
|
||
With this parent entity 1 and parent entity 2 need to be declared and the name of the parent entities will be the name of the group. |
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
Oops, something went wrong.