jfudickar / json2puml Goto Github PK
View Code? Open in Web Editor NEWGenerate PlantUML files based on JSON files.
License: GNU General Public License v3.0
Generate PlantUML files based on JSON files.
License: GNU General Public License v3.0
UI: Change the taskbar icon progress when the run fails
When a run fails e.g. because of missing data the progress bar in the taskbar icon stops at this posssition.
It would be better to signal an error in this moment.
UI: The curl file list is not filled when the converter stops in the middle
This could happen, when a mandatory file could not be found. But then it would helpfull to see the details in the curl file list
curl -X POST http://localhost:8080/api/inputlistfile -d @acrmparameter.json -v -o inputlistfile.json
leads to
JSON2PUML Server
HTTP 404: [EMVCException] Not Found
Validate at runtime that the curl parameters defined for the script are valid against the definitions.
When they are not valid a corresponding error should be displayed / returned via service
This would allow a configuration that the id or the name paramter must be entered.
This parameter object could be used for example in combination with dynamic inputparameters to add additional inputfilter to the url based on the curlparameters
Example: Having a global curl paramater "customernumber". Only when the parameter is filled the filter condition ?customer==${customernumber} should be added.
Commandlineparameter /outputformat is not correctly reflected in log messages
/outputformat:svg,png is stated as
Current Configuration
Option default
OutputPath <job>\<group>\<file>
OutputFormats png,svg,pdf,puml,json,log,zip,filelist
but is executed correctly. Only the log message is wrong.
ServiceInformationResponse: Typo : inoutlistFiles, should be inputlistFiles
Most formats are missing, definition as enum would be helpfull
For an initial installation it would be helpful when a new base configuration file would be installed (when there is not an existing one).
This configuration file should then be added to the registry (by activating an installation option)
There is no error message when the parameter file is not found
The UI does not show any progress while the curl commands are executed.
At some places to many blanks are put into the json outputs
"objectProperties": {
"attributeProperties": {
Having a "." in a curl parameter and using the parameter as part of a file name leads to problems with the generated files.
When the curl parameter was not translated then the . can be identified as extension separator.
This should allow to configure a separate property in an object which is an reference to an other object when the object is on main level.
List all initial curl variables which are defined at commandline or parameter file level at the beginning of the execution
This would enable
a short and fast heartbeat for kubernetes or similar functionalites
Support the text replacement with environment variables in the following attributes of the inputlist:
The configuration parameter "javaRuntimeParameter" is no longer taken into account when calling the plantuml conversion.
It should be added to the command line.
Pressing the button does not start the convert process
The validation of a subobject values, which is identified as characteristic, is not based on the configured proerty names of this characteristic.
The attributes "outputFormats", "generateSummary", "generateDetails" are not required for these operations and will be ignored.
The configuration should allow:
"c:\json2puml\samples\swapi\definition.json",
"c:\json2puml\samples\spacex\definition.json",
and
"c:\json2puml\samples\swapi\"
When the mandatory attribute on the single file record is true it should also be checked that in the minimum one record is returned. Emply lists should also be seen as failed.
When wildcards are used it may sometimes helpfull to remove objects from this wildcard list.
Example:
"attributeProperties": {
"operation": "replace",
"list": [
"id",
"*name",
"status"
]
},
New Version:
"attributeProperties": {
"operation": "replace",
"list": [
"id",
"*name",
"-Firstname",
"status"
]
},
"-Firstname" removes the allowed propertynames from the "*name" filter.
In the full mode an empty object like
"relatedAppliedBillingRate" : {
}
can lead to an empty object in the result.
This would allow to call different instances of the service program one one computer, without modifying the configuration file
The following code is added multiple times to the beginning of the plantuml file
hide stereotype
hide empty member
'left to right direction
'skinparam linetype polyline
'skinparam linetype ortho
skinparam HeaderFontSize 18
skinparam FooterFontSize 18
UI:Show the name of the execution log file in the UI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.