Skip to content

Commit 86fdbda

Browse files
committed
# **json2puml v2.2.8.104** - 29.08.2023
## ALL Editions ### New Feature - The legend is enhanced with the number of json records of every input file - A new property "curlParameter" is added to the Globalconfigruation. This allows to define global curl parameters.
1 parent 9083118 commit 86fdbda

15 files changed

+187
-294
lines changed

configuration/json2pumlconfiguration.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"baseOutputPath": "e:\\Delphi\\Projects\\json2puml\\runtime\\output\\",
44
"outputPath": "<job>\\<group>\\<file>",
55
"curlAuthenticationFileName": "e:\\Delphi\\Projects\\json2puml\\configuration\\json2pumlcurlauthentication.json",
6+
"curlParameter": [
7+
{
8+
"${json2puml_apigee_url}": "http://jens.com"
9+
}
10+
],
611
"curlPassThroughHeader": [
712
"traceid",
813
"x-b3-traceid"

documentation/changelog.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
# **json2puml v2.2.8.104** - 29.08.2023
2+
## ALL Editions
3+
### New Feature
4+
- The legend is enhanced with the number of json records of every input file
5+
- A new property "curlParameter" is added to the Globalconfigruation. This allows to define global curl parameters.
6+
7+
# **json2puml v2.2.7.103** - 21.08.2023
8+
## Service Edition
9+
### Changed Feature
10+
- Hide Get /api/heartbeat messages in the log files
11+
112
# **json2puml v2.2.6.102** - 17.08.2023
213
## All Editions
314
### Changed Feature
415
- Fixed behaviour after memory leak fix
516

6-
## Service Editions
17+
## Service Edition
718
### Changed Feature
819
- No additional log files are created in a log folder of the binary
920

@@ -31,16 +42,16 @@
3142
### Changed Feature
3243
- Improved error handling when plantuml fails to generate the output files
3344

34-
## Service Editions
45+
## Service Edition
3546
### Changed Feature
36-
- The service returns now a HTTP300 when the result file was not generated
47+
- The service returns now a HTTP500 when the result file was not generated
3748

3849
# **json2puml v2.2.5.97** - 10.08.2023
3950
## All Editions
4051
### Changed Feature
4152
- the mandatory flag is now ignored when the file has not been fetched because of a not valid executevalidation rule
4253

43-
## Service Editions
54+
## Service Edition
4455
### Changed Feature
4556
- The error list are not correct generated
4657

@@ -53,7 +64,7 @@
5364
- The "$" character is now replaced in all file and path names with a "_" to be more linux compatible
5465
- Changed default order of the inputlist.input properties when storing a input list file
5566

56-
## Service Editions
67+
## Service Edition
5768
### New Feature
5869
- New operation get /errormessage to receive a list of all implemented error messages.
5970

@@ -77,7 +88,7 @@
7788
### Changed Feature
7889
- Log handling Improved
7990

80-
## Service Editions
91+
## Service Edition
8192
### New Feature
8293
- For failed service calls now a structured error message is returned, which contains the list of all errors which have lead to the server error
8394
Each error has a unique error code, an error message and an optional description
@@ -94,7 +105,7 @@
94105
### Changed Feature
95106
- Fixed plantuml generation for table fields when the content contains a \n for a fixed newline
96107

97-
## Service Editions
108+
## Service Edition
98109
### New Feature
99110
- Additional information into the get /serviceinformation result set
100111

@@ -104,26 +115,26 @@
104115
- Fixed protocol handling of boolean command line parameters
105116
- Improved/fixed initialisation of the logger classes
106117

107-
## Service Editions
118+
## Service Edition
108119
### New Feature
109120
- For calculating the Plantuml information shown in the get /serviceinformation now also the globalconfiguration.javaRuntimeParameter will be used
110121

111122
# **json2puml v2.2.2.86** - 03.08.2023
112-
## Service Editions
123+
## Service Edition
113124
### New Feature
114125
- New api operation get /heartbeat which returns service version information
115126
### Changed Feature
116127
- Additional information into the get /serviceinformation result set
117128

118129
# **json2puml v2.2.1.85** - 02.08.2023
119-
## Service Editions
130+
## Service Edition
120131
### Changed Feature
121132
- Optimized protocol handling
122133
- Additional information into the get /serviceinformation result set
123134
- Improved handling of fetching data for the get /serviceinformation result set
124135

125136
# **json2puml v2.2.0.84** - 01.08.2023
126-
## Service Editions
137+
## Service Edition
127138
### New Feature
128139
- New command line parameter -serviceport added which allows to override the configured port used by the service application
129140
- The globalconfiguration.serviceport can now be defined via environment variable using the curl variable format in the config file
50 KB
Binary file not shown.
-19.1 KB
Binary file not shown.

documentation/models/globalconfigurationfile/globalconfigurationfile.puml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ skinparam class {
1010
BackgroundColor #FCF2E3
1111
}
1212

13+
class CurlParameter {
14+
name : String
15+
value : String
16+
}
17+
1318
class GlobalConfiguration <<Pivot>>{
1419
additionalServiceInformation : String
1520
baseOutputPath : String
1621
outputPath : String
1722
curlAuthenticationFileName : String
23+
curlParameter : Array of CurlParameter
1824
curlPassThroughHeader : Array of String
1925
curlSpanIdHeader : String
2026
curlTraceIdHeader : String
@@ -29,5 +35,5 @@ class GlobalConfiguration <<Pivot>>{
2935
servicePort : Integer
3036
}
3137

32-
38+
GlobalConfiguration::curlParameter --> "0..*" CurlParameter
3339
@enduml

source/json2puml.dproj

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -99,39 +99,39 @@
9999
<DCC_UsePackage>DBXSqliteDriver;IndyIPCommon;RESTComponents;bindcompdbx;DBXInterBaseDriver;vcl;IndyIPServer;vclactnband;vclFireDAC;IndySystem;bindcompvclsmp;tethering;svnui;bindcompvclwinx;dsnapcon;FireDACADSDriver;FireDACMSAccDriver;fmxFireDAC;vclimg;madBasic_;Jcl;FireDAC;vcltouch;vcldb;bindcompfmx;svn;FireDACSqliteDriver;FireDACPgDriver;inetdb;soaprtl;DbxCommonDriver;fmx;FireDACIBDriver;fmxdae;xmlrtl;soapmidas;vcledge;fmxobj;vclwinx;rtl;DbxClientDriver;CustomIPTransport;vcldsnap;dbexpress;IndyCore;vclx;bindcomp;appanalytics;dsnap;FireDACCommon;IndyIPClient;bindcompvcl;RESTBackendComponents;VCLRESTComponents;soapserver;dbxcds;VclSmp;adortl;JclDeveloperTools;JclVcl;vclie;bindengine;DBXMySQLDriver;CloudService;dsnapxml;FireDACMySQLDriver;dbrtl;IndyProtocols;inetdbxpress;FireDACCommonODBC;FireDACCommonDriver;JclContainers;inet;fmxase;$(DCC_UsePackage)</DCC_UsePackage>
100100
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
101101
<BT_BuildType>Debug</BT_BuildType>
102-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
102+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
103103
<VerInfo_Locale>1033</VerInfo_Locale>
104104
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
105105
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
106106
<Manifest_File>(None)</Manifest_File>
107-
<VerInfo_Build>102</VerInfo_Build>
107+
<VerInfo_Build>104</VerInfo_Build>
108108
<Debugger_RunParams> /parameterfile:samples\acrmcurlparameter.json /debug /wait</Debugger_RunParams>
109109
<Debugger_CWD>e:\Delphi\Projects\json2puml\</Debugger_CWD>
110110
<UWP_DelphiLogo44>..\documentation\icons\json2puml_icon.png</UWP_DelphiLogo44>
111111
<UWP_DelphiLogo150>..\documentation\icons\json2puml_icon.png</UWP_DelphiLogo150>
112112
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
113113
<VerInfo_MajorVer>2</VerInfo_MajorVer>
114114
<VerInfo_MinorVer>2</VerInfo_MinorVer>
115-
<VerInfo_Release>6</VerInfo_Release>
115+
<VerInfo_Release>8</VerInfo_Release>
116116
</PropertyGroup>
117117
<PropertyGroup Condition="'$(Base_Win64)'!=''">
118118
<DCC_UsePackage>DBXSqliteDriver;IndyIPCommon;RESTComponents;bindcompdbx;DBXInterBaseDriver;vcl;IndyIPServer;vclactnband;vclFireDAC;IndySystem;bindcompvclsmp;tethering;bindcompvclwinx;dsnapcon;FireDACADSDriver;FireDACMSAccDriver;fmxFireDAC;vclimg;FireDAC;vcltouch;vcldb;bindcompfmx;FireDACSqliteDriver;FireDACPgDriver;inetdb;soaprtl;DbxCommonDriver;fmx;FireDACIBDriver;fmxdae;xmlrtl;soapmidas;vcledge;fmxobj;vclwinx;rtl;DbxClientDriver;CustomIPTransport;vcldsnap;dbexpress;IndyCore;vclx;bindcomp;appanalytics;dsnap;FireDACCommon;IndyIPClient;bindcompvcl;RESTBackendComponents;VCLRESTComponents;soapserver;dbxcds;VclSmp;adortl;vclie;bindengine;DBXMySQLDriver;CloudService;dsnapxml;FireDACMySQLDriver;dbrtl;IndyProtocols;inetdbxpress;FireDACCommonODBC;FireDACCommonDriver;inet;fmxase;$(DCC_UsePackage)</DCC_UsePackage>
119119
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
120120
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
121121
<BT_BuildType>Debug</BT_BuildType>
122-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
122+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
123123
<VerInfo_Locale>1033</VerInfo_Locale>
124124
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
125125
<Manifest_File>(None)</Manifest_File>
126-
<VerInfo_Build>102</VerInfo_Build>
126+
<VerInfo_Build>104</VerInfo_Build>
127127
<Debugger_RunParams> /parameterfile:samples\acrmcurlparameter.json /debug /wait</Debugger_RunParams>
128128
<Debugger_CWD>e:\Delphi\Projects\json2puml\</Debugger_CWD>
129129
<UWP_DelphiLogo44>..\documentation\icons\json2puml_icon.png</UWP_DelphiLogo44>
130130
<UWP_DelphiLogo150>..\documentation\icons\json2puml_icon.png</UWP_DelphiLogo150>
131131
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
132132
<VerInfo_MajorVer>2</VerInfo_MajorVer>
133133
<VerInfo_MinorVer>2</VerInfo_MinorVer>
134-
<VerInfo_Release>6</VerInfo_Release>
134+
<VerInfo_Release>8</VerInfo_Release>
135135
</PropertyGroup>
136136
<PropertyGroup Condition="'$(Cfg_1)'!=''">
137137
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
@@ -151,25 +151,25 @@
151151
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
152152
<VerInfo_Locale>1033</VerInfo_Locale>
153153
<Manifest_File>(Ohne)</Manifest_File>
154-
<VerInfo_Build>102</VerInfo_Build>
154+
<VerInfo_Build>104</VerInfo_Build>
155155
<Debugger_CWD>e:\Delphi\Projects\json2puml\</Debugger_CWD>
156156
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
157-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
157+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
158158
<VerInfo_MajorVer>2</VerInfo_MajorVer>
159159
<VerInfo_MinorVer>2</VerInfo_MinorVer>
160-
<VerInfo_Release>6</VerInfo_Release>
160+
<VerInfo_Release>8</VerInfo_Release>
161161
<DCC_MapFile>3</DCC_MapFile>
162162
</PropertyGroup>
163163
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
164164
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
165165
<VerInfo_Locale>1033</VerInfo_Locale>
166166
<Manifest_File>(None)</Manifest_File>
167-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
168-
<VerInfo_Build>102</VerInfo_Build>
167+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
168+
<VerInfo_Build>104</VerInfo_Build>
169169
<Debugger_RunParams> /parameterfile:docker\json2puml\src\json2puml\sample\tmfparameter.json /debug /wait</Debugger_RunParams>
170170
<VerInfo_MajorVer>2</VerInfo_MajorVer>
171171
<VerInfo_MinorVer>2</VerInfo_MinorVer>
172-
<VerInfo_Release>6</VerInfo_Release>
172+
<VerInfo_Release>8</VerInfo_Release>
173173
</PropertyGroup>
174174
<PropertyGroup Condition="'$(Cfg_2)'!=''">
175175
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
@@ -178,21 +178,21 @@
178178
<DCC_DebugInformation>0</DCC_DebugInformation>
179179
</PropertyGroup>
180180
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
181-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
182-
<VerInfo_Build>102</VerInfo_Build>
181+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
182+
<VerInfo_Build>104</VerInfo_Build>
183183
<VerInfo_MajorVer>2</VerInfo_MajorVer>
184184
<VerInfo_MinorVer>2</VerInfo_MinorVer>
185-
<VerInfo_Release>6</VerInfo_Release>
185+
<VerInfo_Release>8</VerInfo_Release>
186186
</PropertyGroup>
187187
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
188-
<VerInfo_Build>102</VerInfo_Build>
188+
<VerInfo_Build>104</VerInfo_Build>
189189
<Debugger_CWD>e:\Delphi\Projects\json2puml\</Debugger_CWD>
190190
<VerInfo_MajorVer>2</VerInfo_MajorVer>
191191
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
192192
<VerInfo_Locale>1033</VerInfo_Locale>
193-
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.6.102;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
193+
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) Command Line;FileVersion=2.2.8.104;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=2.0;CompanyName=SWE Jens Fudickar;LegalCopyright=(c) by Jens Fudickar in 2023</VerInfo_Keys>
194194
<VerInfo_MinorVer>2</VerInfo_MinorVer>
195-
<VerInfo_Release>6</VerInfo_Release>
195+
<VerInfo_Release>8</VerInfo_Release>
196196
</PropertyGroup>
197197
<ItemGroup>
198198
<DelphiCompile Include="$(MainSource)">

source/json2puml.res

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)