Developers often have the need to create Templates in bulk and to configure them. A tool is needed that abstracts the complexity of the GRAccess toolkit but is more [flexible] than Object CSV import/export functionality.
In addition to this there is also a need for a text-based configuration import and export functionality that can be utilised by Git repositories to facilitate version control.
The intent is for a user to be able to have 2 experiences:
-
A simple import export capability that allows a user to quickly create or modify a template with:
Attribute names
Attribute types
Attribute values
Attribute Description
Attribute Engineering Unit
-
A full-blown Import/Export facility:
-
The ability optionally configure features and their parameters e.g.,
History
IO
Alarming
Statistics
etc.
-
The ability to link content to the template:
Graphics
External Content
Layouts
The abilitiy to optionally create/modify Wizards - this could be done in a supplementary text file
The workflow should allow
Export existing Templates to a text based configuration file (e.g. CSV, XML, or JSON)
Create/Modify Templates in bulk by importing a text based configuration file (e.g. CSV, XML, or JSON)
-
The following Template features should be supported:
Attributes
Wizards
Scripts
-
Linking Content
Graphics
External Content
Layouts
This method should either align easily with the existing CSV import/export to create instances or augment it
The Graphic Import/Export API can be utilised to allow creating graphics directly on templates
In an ideal world, the combined export will result in a file or set of files that could be stored in a git repository (on-premises or in a cloud repository such as GitHub) and that could be used to monitor and manage changes