usy_support_metamodelgeneratorg01
v0.3.0
Published
This tool generates and updates metamodel for uuBt. It has been tested only with uuAwsc.
Readme
This tool generates and updates metamodel for uuBt. It has been tested only with uuAwsc.
Features
- generate metamodel schemaVersion 1.0.0 from profiles.json
- generate metamodel schemaVersion 2.0.0 from profiles.json
- update existing metamodel schemaVersion 1.0.0
How to install and update ?
npm install --registry "https://repo.plus4u.net/repository/npm/" -g usy_support_metamodelgeneratorg01
How to use ?
Read help : metamodel-generatorg01 --help
First generation
- Generates new metamodel from profile.json
metamodel-generatorg01 -p profiles.json -m metamodel-1.0.json - Fill required information into generated metamodel.
- code, name, desc
- defaultPermissionMatrix
- Update metamodel from profile.json (to reflect filled code)
metamodel-generatorg01 -p profiles.json -m metamodel-1.0.json - Your metamodel is ready.
Update command profiles
- Updates existing metamodel from profile.json
metamodel-generatorg01 -p profiles.json -m metamodel-1.0.json
Add new profile in to profiles.json
- Add profile to metamodel (sections profileList and defaultPermissionMatrix)
- Updates existing metamodel from profile.json
metamodel-generatorg01 -p profiles.json -m metamodel-1.0.json
Changelog
0.3.0
- Add support for metamodel schema 2.0
- uuBt commands for visual identification added to the template (#3)
0.2.4
- Bugfix: Outdated uuAwsc BT cmds in template fix (#2)
0.2.3
- add support for uuAppServer 5.x
0.2.2
- add
disableImplicitPermissionsandenabledExplicitTypeListto all profiles during first generation - remove support for schemaVersion 0.1.0
0.2.1
- fix documentation chapter First generation
0.2.0
- generate metamodel schemaVersion 1.0.0
- update metamodel schemaVersion 1.0.0 and 0.1.0
- works with profiles.json from old and new appserver
0.1.3
- generate metamodel schemaVersion 0.1.0
- update metamodel schemaVersion 0.1.0
