Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 462:ebf049a1eb53
merged flys-artifacts/2.3.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:11 +0200 |
parents | 714611965f2b |
children | 7391c79669f3 |
comparison
equal
deleted
inserted
replaced
441:c4c8137e8f0e | 462:ebf049a1eb53 |
---|---|
1 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
2 | |
3 Tagged RELEASE 2.3.1 | |
4 | |
5 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
6 | |
7 * Changes: Prepared changes for the upcoming release. | |
8 | |
9 2011-05-20 Hans Plum <hans@intevation.de> | |
10 | |
11 * NEWS: | |
12 Hint to Release 2.3.1. For further information look into module | |
13 flys-client/NEWS | |
14 | |
15 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
16 | |
17 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues): | |
18 Increment kms array size by one to take the end of range, too. | |
19 | |
20 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
21 | |
22 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
23 Sort by rows (should not be necessary). | |
24 | |
25 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
26 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem | |
27 that some kms were not found. | |
28 | |
29 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
30 | |
31 flys/issue66 | |
32 | |
33 * src/main/resources/messages_en.properties: Fixed broken template. | |
34 | |
35 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
36 | |
37 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
38 Set the name of the computed discharge curve objects. | |
39 | |
40 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
41 The curves of this chart will now have names that consist of the word | |
42 'Discharge Curve', the river name and the kilometer that has been used | |
43 for the computation. | |
44 | |
45 * src/main/resources/messages.properties, | |
46 src/main/resources/messages_de_DE.properties, | |
47 src/main/resources/messages_en.properties, | |
48 src/main/resources/messages_de.properties: Added i18n strings for the | |
49 computed discharge curves. | |
50 | |
51 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
52 | |
53 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
54 Added convenience method isQ() to determine if we are | |
55 doing Q calculations. | |
56 | |
57 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
58 Reintroduced titles for the "W for unausgeglichene Abfluesse". | |
59 | |
60 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
61 | |
62 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
63 The curves will now have names that consist of the gauge name and its | |
64 valid time range. | |
65 | |
66 * src/main/resources/messages.properties, | |
67 src/main/resources/messages_de_DE.properties, | |
68 src/main/resources/messages_en.properties, | |
69 src/main/resources/messages_de.properties: Added i18n strings for the | |
70 discharge curves. | |
71 | |
72 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
73 | |
74 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
75 Removed dead code. | |
76 | |
77 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
78 | |
79 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
80 Use the correct method to generate kms. | |
81 | |
82 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
83 Added some logging to test the map in debug mode. | |
84 | |
85 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
86 | |
87 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
88 Made getExplodedValues static. | |
89 | |
90 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
91 Use new logic to calculate "W für ungleichwertige Abfluesse". | |
92 Not working, yet. | |
93 | |
94 * ChangeLog: Fixed former entry. | |
95 | |
96 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
97 | |
98 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge | |
99 longitudinal sections. | |
100 | |
101 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the | |
102 names of the discharge longitudinal section computation results. | |
103 | |
104 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
105 The W/Q curves in the chart will now have names. | |
106 | |
107 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
108 The WstWriter is filled with column names in an own method. So, we are | |
109 able to override this process in subclasses. | |
110 | |
111 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
112 Adapted the column names for the WST export. | |
113 | |
114 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
115 | |
116 Work on flys/issue69 | |
117 | |
118 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
119 Use new logic to calculate "Wasserstand/Wasserspiegellage". | |
120 Compared to desktop FLYS are the results are structurally right | |
121 but a bit off in the positions after the decimal points. | |
122 Maybe a result of the interpolation? Need to debug this. | |
123 | |
124 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
125 | |
126 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
127 W and Q curves will now have names based on the defined W or Q values | |
128 for the waterlevel computation. | |
129 | |
130 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
131 | |
132 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
133 New. This object is used to give objects a name. | |
134 | |
135 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit | |
136 from NamedObject now. Because we need to display names for those objects | |
137 in different places. | |
138 | |
139 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms | |
140 objects returned by a waterlevel computation will now have names. | |
141 | |
142 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
143 Insert the column names for the WSTs into the WstWriter. | |
144 | |
145 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column | |
146 names are written into the head of the WSTs now. | |
147 | |
148 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
149 | |
150 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This | |
151 class is used to store the W/Q values of a specific kilometer of a WST. | |
152 | |
153 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer | |
154 that creates WSTs. | |
155 | |
156 TODO: The header of the WSTs is not finished. The Q descriptions are | |
157 missing. | |
158 | |
159 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
160 Enabled WST exports. | |
161 | |
162 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels. | |
163 | |
164 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
165 | |
166 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class | |
167 supports functions to retrieve formatters for specific types of data | |
168 used in FLYS. | |
169 | |
170 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
171 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
172 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
173 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
174 Removed the formatter declaration - the whole formatter stuff is done in | |
175 Formatter now. | |
176 | |
177 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
178 | |
179 ISSUE-72 | |
180 | |
181 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
182 Repaired broken XPath expressions to extract start and end kilometer. | |
183 | |
184 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
185 | |
186 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
187 Removed the Hibernate loading stuff. | |
188 | |
189 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
190 New. The Hibernate loading. | |
191 | |
192 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
193 Use the WstValueTableFactory for loading now. | |
194 | |
195 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
196 | |
197 Tagged RELEASE 0.1 aka Version 2.3.0 | |
198 | |
199 2011-05-16 Hans Plum <hans@intevation.de> | |
200 | |
201 * NEWS: | |
202 New. Giving some user specific perspective to new functionality and | |
203 changes. This file references releases dates only; details can be find | |
204 in the client module at flys-client. | |
205 | |
206 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
207 | |
208 First step to calculate "W fuer ungleichwertige Abfluesse" correctly. | |
209 flys/issue55 | |
210 | |
211 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
212 New. Remaps "gleichwertige" Q values to the corresponding | |
213 "ungleichwertige" Q values depending on km. | |
214 | |
215 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
216 Remap the Q values "ungleichwertig" depending on the | |
217 "gleichwertige" ones. | |
218 | |
219 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
220 | |
221 First step to fix flys/issue69 | |
222 | |
223 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
224 New code path to implement the calculation of "Wasserstand/Wasspiegellage" | |
225 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code. | |
226 | |
227 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
228 | |
229 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes | |
230 file to get to know about the changes of the version numbers. | |
231 | |
232 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
233 | |
234 ISSUE-37 | |
235 | |
236 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This | |
237 state would be happy if there is a UI provider called "river_panel". | |
238 | |
239 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
240 | |
241 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
242 methods that return the requested chart size as integer array [width, | |
243 height]. The requested size is read from the incomding request document. | |
244 | |
245 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size | |
246 of a chart is no longer static. The requested size is fetched using | |
247 ChartGenerator.getSize(). | |
248 | |
249 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
250 | |
251 ISSUE-52 | |
252 | |
253 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
254 The X-Axis of such a chart is inverted, if the head of the river is not | |
255 at kilometer 0. This type of charts always have the head of the river at | |
256 the left side. | |
257 | |
258 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
259 | |
260 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
261 Make incoming XML symmetric to DistanceInfoService. | |
262 | |
263 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
264 | |
265 ISSUE-47 | |
266 | |
267 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
268 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
269 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
270 Adjusted temporarily the color of the W, Q and corrected W curves to | |
271 distinguish each other. | |
272 | |
273 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
274 | |
275 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
276 Adjusted the plot of xy charts - the gridlines are displayed now. | |
277 | |
278 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
279 | |
280 ISSUE-53 | |
281 | |
282 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
283 Added a method that returns the preferred locale based on the available | |
284 locales of the server and the desired locales of the request (CallMeta). | |
285 | |
286 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
287 method that creates a number formatter with minimum and maximum digits. | |
288 | |
289 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
290 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
291 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
292 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
293 Formatted the number values of the CSV exports. | |
294 | |
295 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
296 | |
297 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java: | |
298 New. A data structure that enables us to save a data triple: a range | |
299 that consist of lower and upper double value and a set of values that | |
300 belong to this range. | |
301 | |
302 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
303 Implemented the validation of W/Q values. | |
304 | |
305 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
306 | |
307 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New | |
308 method to retrieve i18n messages based on keys. | |
309 | |
310 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
311 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
312 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
313 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
314 Added headers for CSV exports. | |
315 | |
316 * src/main/resources/messages.properties, | |
317 src/main/resources/messages_de_DE.properties, | |
318 src/main/resources/messages_en.properties, | |
319 src/main/resources/messages_de.properties: Added new i18n strings for | |
320 CSV headers. | |
321 | |
322 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
323 | |
324 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
325 Fetches river name from incoming XML document. If no river is given all | |
326 infos about all rivers are listed. | |
327 | |
328 * src/main/resources/metadata/template.xml: Templates honors the 'river' | |
329 parameter. | |
330 | |
331 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
332 Extended to pass parameters to the templating. Added support for | |
333 type conversion. | |
334 | |
335 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
336 Take parameters as an initial stack frame. | |
337 | |
338 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java: | |
339 New. Converts types off stacked variables. | |
340 | |
341 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
342 | |
343 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
344 method to add subtitles to charts. The implementation in this class does | |
345 not add any subtitle. Concrete subclasses may override this method to | |
346 add some. | |
347 | |
348 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
349 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
350 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
351 Add subtitles to charts. | |
352 | |
353 * src/main/resources/messages.properties, | |
354 src/main/resources/messages_de_DE.properties, | |
355 src/main/resources/messages_en.properties, | |
356 src/main/resources/messages_de.properties: Added i18n templates for | |
357 compound messages (chart subtitles). | |
358 | |
359 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
360 | |
361 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
362 Added new methods to retrieve translated compound messages. | |
363 | |
364 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
365 | |
366 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
367 method to set the master artifact that should be used for some special | |
368 operations. | |
369 | |
370 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
371 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
372 Implement the setMasterArtifact() method of the interface. | |
373 | |
374 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
375 Call OutGenerator.setMasterArtifact(). | |
376 | |
377 NOTE: The determination of the master artifact needs to be implemented! | |
378 | |
379 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
380 | |
381 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
382 hard coded dev code that defined a WQ mode. | |
383 | |
384 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
385 | |
386 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
387 Stripped ugly extra whitespace from output introduced by | |
388 templating. | |
389 | |
390 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
391 | |
392 * src/main/resources/metadata/template.xml: Added forgotten | |
393 columns of fixation WSTs. | |
394 | |
395 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
396 | |
397 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
398 method to retrieve i18n strings. | |
399 | |
400 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
401 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
402 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
403 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
404 Enabled i18n support for chart title and axes labels. | |
405 | |
406 * src/main/resources/messages.properties, | |
407 src/main/resources/messages_de_DE.properties, | |
408 src/main/resources/messages_en.properties, | |
409 src/main/resources/messages_de.properties: Added i18n strings for the | |
410 chart types above. | |
411 | |
412 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
413 | |
414 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
415 New. This OutGenerator exports the data of a discharge longitudinal | |
416 section computation. | |
417 | |
418 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter. | |
419 | |
420 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the | |
421 discharge_longitudinal_section state. | |
422 | |
423 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
424 | |
425 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
426 Added code to make back jump correction work with both | |
427 potential flow directions. | |
428 | |
429 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
430 | |
431 * src/main/resources/metadata/template.xml: | |
432 Added data cage configuration for 'Längsschnitt'. | |
433 | |
434 2011-05-06 Ingo Weinzierl <ingo@intevation.de> | |
435 | |
436 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge | |
437 longitudinal sections. | |
438 | |
439 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A | |
440 derived dataset to store W/Q values with corrected Ws for a kilometer | |
441 range. | |
442 | |
443 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new | |
444 methods and a new constructor to initialize this data object with a | |
445 predefined set of values. | |
446 | |
447 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
448 methods to retrieve the W/Q values for the 'discharge longitudinal | |
449 section' computation. | |
450 | |
451 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New | |
452 methods to retrieve and compute data used for the 'discharge | |
453 longitudinal section' computation. | |
454 | |
455 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
456 | |
457 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
458 Bugfix: just write the ranges of gauges into the DESCRIBE if the | |
459 'wq_values' data item is required. | |
460 | |
461 * src/main/resources/messages.properties, | |
462 src/main/resources/messages_de_DE.properties, | |
463 src/main/resources/messages_en.properties, | |
464 src/main/resources/messages_de.properties: Added i18n messages used in | |
465 the DESCRIBE of the WQAdapted state. | |
466 | |
467 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
468 | |
469 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
470 Changed the title of the y-axis (now 'W [NN+m]'). | |
471 | |
472 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
473 | |
474 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the | |
475 output state for creating 'discharge longitudinal section' charts. | |
476 | |
477 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
478 method that returns all gauges of the selected river based on a the | |
479 given kilometer range. | |
480 | |
481 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New. | |
482 This state creates a set of elements for the DESCRIBE that consist of a | |
483 tuple of kilometer values. The number of elements depend on the number | |
484 of gauges intersected by the given kilometer range. | |
485 | |
486 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
487 New. This state is the output state that is reached after the 'discharge | |
488 longitudinal section' computation has been chosen. | |
489 | |
490 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
491 | |
492 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default | |
493 step width between two kilometers added - if no step width is given, | |
494 this default width is used. | |
495 | |
496 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
497 | |
498 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
499 Fixed a potential NullPointerException if there is just a single | |
500 kilometer given to create a longitudinal section. | |
501 | |
502 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
503 | |
504 * pom.xml: Added http://repository.jboss.org/maven2 repo | |
505 to fix flys/issue30 | |
506 | |
507 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
508 | |
509 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
510 To make diagram generation possible ws are now generated from qs | |
511 because they are many ws having different qs. | |
512 | |
513 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
514 | |
515 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
516 Fetch the WQ data from WINFO artifact and write those values into the | |
517 CSV export. | |
518 | |
519 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
520 | |
521 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
522 methods to compute and retrieve the data for discharge curves (computed). | |
523 | |
524 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
525 Fetch the computed discharge curve data from WINFOArtifact and add the | |
526 values into the JFreeChart dataset. | |
527 | |
528 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
529 | |
530 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable | |
531 the WINFO artifact for computing discharge curves. | |
532 | |
533 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge | |
534 curves and exports for its data. | |
535 | |
536 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
537 New. This state is reached if the user chose the computed discharge | |
538 curve. | |
539 | |
540 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
541 New. This is only a stub implementation at the moment. This | |
542 OutGenerator should create computed discharge curves later. It extends | |
543 the DischargeCurveGenerator which should do the same stuff for discharge | |
544 curves for gauges. | |
545 | |
546 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
547 New. This is only a stub implementation at the moment. This OutGenerator | |
548 should create the exports of the discharge curve computation. | |
549 | |
550 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
551 | |
552 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration | |
553 curve state (CSV export). | |
554 | |
555 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve | |
556 computations. | |
557 | |
558 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New. | |
559 This abstract OutGenerator represents the base class for exporting | |
560 computed data. Currently, the CSV export is supported. | |
561 | |
562 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved | |
563 the most code to export to CSV into the AbstractExporter. | |
564 | |
565 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
566 New. This exporter exports the computed data of a duration computation. | |
567 | |
568 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
569 | |
570 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
571 Modified a wrong debug statement which would confuse the user. | |
572 | |
573 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
574 | |
575 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel | |
576 state (CSV export). | |
577 | |
578 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels. | |
579 | |
580 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New. | |
581 This OutGenerator exports the data of a waterlevel computation. Note: | |
582 It is necessary to specify the desired facet (e.g. | |
583 'waterlevel_export.csv'). | |
584 | |
585 * pom.xml: Added a dependency to OpenCSV. | |
586 | |
587 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
588 | |
589 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
590 Introduced an "export" output target. If the target is "export", a | |
591 facet (read from the incoming xml document) is a necessary parameter | |
592 that determines which facets are written to the output. | |
593 | |
594 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
595 | |
596 * src/main/resources/messages_en.properties: Bugfix: replaced german | |
597 string (copy & paste mistake). | |
598 | |
599 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
600 | |
601 * src/main/resources/messages.properties, | |
602 src/main/resources/messages_de_DE.properties, | |
603 src/main/resources/messages_en.properties, | |
604 src/main/resources/messages_de.properties: Added new i18n strings for | |
605 for the location selection. | |
606 | |
607 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
608 | |
609 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
610 New. An OutGenerator for creating duration curves. | |
611 | |
612 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A | |
613 model class to store necessary data for creating W and Q facets of a | |
614 duration curve. This model stores W, Q and Days. | |
615 | |
616 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
617 Added a function to retrieve tuples of (day, q) based on a given gauge - | |
618 these tuples are necessary for creating duration curves. | |
619 | |
620 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
621 methods to compute and retrieve the data necessary for creating duration | |
622 curves. | |
623 | |
624 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
625 Bugfix: improved the access to the location array (avoid | |
626 NullPointerException). | |
627 | |
628 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves. | |
629 | |
630 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
631 | |
632 * contrib/visualize-transitions.xsl: State quoting was done wrong. | |
633 | |
634 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
635 | |
636 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the | |
637 final state for creating duration curves. | |
638 | |
639 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
640 New. This state should be reached to just insert an array of locations. | |
641 | |
642 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java: | |
643 New. This state is reached if the duration curve calculation is | |
644 selected. | |
645 | |
646 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted | |
647 getDistance() so that it takes care on inserted locations - not just | |
648 inserted ranges. | |
649 | |
650 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
651 | |
652 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
653 Flush/persist caches at program exists. | |
654 | |
655 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
656 Commented out too eloquent debug output. | |
657 | |
658 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
659 | |
660 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
661 Uses the methods of FLYSArtifact to retrieve the necessary information | |
662 rivername and selected distance. | |
663 | |
664 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
665 | |
666 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
667 Added interpolateW method to take reference to result ws array | |
668 as an argument to avoid expensive array allocations in km iterating | |
669 loops. | |
670 | |
671 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
672 Added a constructor to create backing trove datastructure | |
673 with the right capacity. | |
674 | |
675 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
676 Move allocation of result ws out of km loop. | |
677 | |
678 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
679 | |
680 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ | |
681 selection state. Those items are necessary to store the information | |
682 about the selected mode (range/single selection) and the values of the | |
683 single selection. | |
684 | |
685 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If | |
686 there is no value for a data item, this item is not written into the | |
687 static DESCRIBE part. | |
688 | |
689 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
690 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
691 Renamed the method to validate upper and lower values. | |
692 | |
693 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
694 state can now handle values inserted in the single selection. Therefore, | |
695 new validate methods has been added. | |
696 | |
697 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
698 methods getWs() and getWs() take care on the values inserted in the | |
699 single insert mode of the client which enables the user to insert single | |
700 W and Q. | |
701 | |
702 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
703 | |
704 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
705 Repaired getQForW() by calculating indices on right dimension. | |
706 | |
707 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
708 | |
709 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
710 methods for retrieving selected W values (getWs()). | |
711 | |
712 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
713 method for retrieving waterlevel data takes care on selected Ws, now. | |
714 The selected Ws are transformed using the DischargeTables.getQForW() | |
715 into Q values. | |
716 | |
717 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
718 | |
719 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
720 Removed an unused parameter 'result' of getQForW(). | |
721 | |
722 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
723 | |
724 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed | |
725 the getDataset() method and replaced it with a addDataset() method. | |
726 On this way, concrete subclasses of this OutGenerator can have multiple | |
727 datasets (e.g. different datasets for W and Q). This abstract method is | |
728 called after the chart generation is finished. | |
729 | |
730 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
731 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
732 Both classes implement the addDataset() method. The | |
733 LongitudinalSectionGenerator has already multiple datasets for W and Q. | |
734 Both are added to the chart - both have an own range axis. | |
735 | |
736 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
737 | |
738 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
739 Use the cache for the wst value table if configured. | |
740 | |
741 * doc/conf/cache.xml: Choose a more precise name for the | |
742 wst value table cache. | |
743 | |
744 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
745 | |
746 * pom.xml: Added dependency to Ehcache. Apache 2.0 license. | |
747 | |
748 * doc/conf/conf.xml: Added configuration of ehcache. | |
749 | |
750 * doc/conf/cache.xml: New. Cache configurations. | |
751 | |
752 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
753 New. Factory to access caches. | |
754 | |
755 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
756 | |
757 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
758 Forgot to add. | |
759 | |
760 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
761 New. Given a database connection and a XML template it generates | |
762 an output with meta data about the database. | |
763 | |
764 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
765 New. Holds prepared statements optimized to be run in the stack of | |
766 contextes. | |
767 | |
768 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
769 New. Model to hold a hierarchical scope of variables. | |
770 | |
771 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
772 New. Stores data set fetched from a sql select to be iterated in | |
773 a context. | |
774 | |
775 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
776 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
777 Removed superfluous imports. | |
778 | |
779 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
780 | |
781 * doc/conf/conf.xml: Added meta data service. | |
782 | |
783 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
784 Stub for the meta data service. | |
785 | |
786 * src/main/resources/metadata/template.xml: Initial template for | |
787 the meta data service. | |
788 | |
789 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
790 | |
791 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
792 Bugfix: Now, curves for Q values are drawn into a longitudinal section | |
793 chart as well. Therefore, it was necessary to change the datastructure | |
794 of the inner class ThemeList that stores all themes included in a chart | |
795 in an ordered list (stored in a java.util.Vector now). | |
796 | |
797 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
798 | |
799 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An | |
800 abstract base class for ChartGenerators that create XY charts. | |
801 | |
802 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
803 Sourced the generate() method out to the XYChartGenerator. | |
804 | |
805 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
806 Implemented the methods to add W and Q facets to the chart. | |
807 | |
808 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
809 | |
810 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved | |
811 the calculation of the step with for ranges. | |
812 | |
813 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
814 | |
815 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a | |
816 method that returns the number of elements stored in the data pool. | |
817 | |
818 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
819 | |
820 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
821 Added a get() method which takes destination array as an | |
822 argument. | |
823 | |
824 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
825 | |
826 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the | |
827 data structure to store w, q and kms values from List<Double> to | |
828 TDoubleArrayList which stores native double values instead of big | |
829 Double values. | |
830 | |
831 * pom.xml: Added the GNU Trove dependency. | |
832 | |
833 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
834 | |
835 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the | |
836 name a the requested facet to doOut(). Concrete generators should just | |
837 create output for this facet now. | |
838 | |
839 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
840 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
841 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
842 Adapted the method signature of doOut(). | |
843 | |
844 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
845 Adapted the method call of OutGenerator.doOut(). | |
846 | |
847 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
848 | |
849 * doc/conf/themes.xml: Added mappings for the facets | |
850 longitudinal.section.w and longitudinal.section.q. | |
851 | |
852 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
853 | |
854 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some | |
855 methods to retrieve necessary information for computing the data of a | |
856 waterlevel. | |
857 | |
858 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
859 methods to compute and retrieve the data of a waterlevel computation. | |
860 | |
861 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
862 | |
863 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This | |
864 model class represents a pool of data triples that consist of W, Q and | |
865 Kms information. This class might be used to compute data for creating | |
866 longitudinal section curves (which are based on those W, Q and Kms | |
867 values). | |
868 | |
869 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
870 | |
871 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
872 Bugfix: Removed endless loop and a bug while iterating over Hibernate | |
873 results. | |
874 | |
875 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
876 | |
877 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
878 New. An OutGenerator that creates longitudinal section curves. | |
879 | |
880 NOTE: This is just the stub - the out creation needs to be implemented! | |
881 | |
882 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator. | |
883 | |
884 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
885 | |
886 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section. | |
887 | |
888 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
889 | |
890 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New. | |
891 This state should be reached if the 'calc.surface.curve' calculation | |
892 method has been chosen. | |
893 | |
894 * doc/conf/artifacts/winfo.xml: Modified a transition and added the | |
895 WaterlevelState. This state is reached if the 'calc.surface.curve' | |
896 calculation method has been chosen. It currently has 1 output - a | |
897 longitudinal section that is not implemented yet! | |
898 | |
899 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
900 | |
901 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java: | |
902 New. This transition is valid if the a data object of the current | |
903 artifact equals/notequals a configured value in the transition model. | |
904 | |
905 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
906 | |
907 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
908 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes: | |
909 - Adapted the parameters of the isStateReachable() call - added the | |
910 artifact and the current state. | |
911 - Append the outputs of a current state if the state is filled with | |
912 valid data. | |
913 | |
914 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
915 | |
916 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
917 Added the missing init() method that has been introduced in the | |
918 interface some commits ealier. | |
919 | |
920 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
921 Call init() after a Transition has been created. | |
922 | |
923 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
924 | |
925 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
926 Bugfix: Introduced a <art:outputs> node in the attribute document of a | |
927 Collection that contains further <art:output> nodes - instead of having | |
928 multiple <art:output> nodes at toplevel of the document. | |
929 | |
930 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
931 Adapted the XPath to retrieve the outputs in the attribute document of a | |
932 Collection. | |
933 | |
934 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
935 | |
936 * contrib/visualize-transitions.xsl: Added to create a | |
937 Graphviz digraph out of the config.xml. Usage: | |
938 | |
939 $ xsltproc --stringparam base-dir ../doc/conf/ \ | |
940 contrib/visualize-transitions.xsl \ | |
941 doc/conf/conf.xml > transitions.dot | |
942 | |
943 $ dot -Tsvg -o transitions.svg transitions.dot | |
944 | |
945 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
946 | |
947 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
948 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
949 If no data has been inserted so far, an IllegalArgumentException is | |
950 thrown. | |
951 | |
952 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
953 | |
954 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:: | |
955 A lot of new methods to retrieve the theme of a facet - used while | |
956 creating the output of a facet/artifact. If a facet has no theme yet, it | |
957 is initialized. | |
958 | |
959 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
960 | |
961 * src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
962 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed | |
963 useless imports. | |
964 | |
965 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
966 | |
967 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An | |
968 abstract OutGenerator that might be used to create chart output. Some | |
969 basic things that are equal in all charts should be done here! | |
970 | |
971 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
972 This OutGenerator no longer implements the OutGenerator directly, but it | |
973 extends the ChartGenerator now. | |
974 | |
975 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
976 | |
977 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
978 Restructured the out() operation of a collection: Now, we collect a list | |
979 of artifacts/facets and use this for the OutGenerator. Its doOut() | |
980 method gets the attribute of an artifact - the position and the active | |
981 state is managed by the Collection itself. | |
982 | |
983 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
984 | |
985 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New. | |
986 a specialized facet that stores information about its position and its | |
987 state (active/inactive) in an output of a collection. | |
988 | |
989 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New. | |
990 This parser takes the attributes (XML) of a collection and extracts the | |
991 contained outputs with its facets. The result is a Map<String, Output>. | |
992 | |
993 * src/main/java/de/intevation/flys/collections/OutputParser.java: New. | |
994 This parser is used to query the artifact's DESCRIBE and to extract the | |
995 supported outputs. The result is a Map<String, Output>. | |
996 | |
997 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New. | |
998 This writer merges the outputs contained in an attribute of a collection | |
999 with the outputs of a collection's artifacts. | |
1000 | |
1001 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1002 The attributes of a collection are written into its DESCRIBE document | |
1003 now. The OutputParser and AttributeParser are used to read the supported | |
1004 attributes by the collection and its artifacts - the AttributeWriter is | |
1005 used to merge both attributes and create a final attribute document. | |
1006 | |
1007 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
1008 | |
1009 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java, | |
1010 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1011 The facet-2-theme mappings are initialized at startup and stored in the | |
1012 FLYSContext. | |
1013 | |
1014 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a | |
1015 function that retrieves a theme from FLYSContext based on its name. | |
1016 | |
1017 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1018 | |
1019 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1020 Corrected a silly c&p mistake. | |
1021 | |
1022 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1023 | |
1024 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
1025 | |
1026 Implementation of the "Ruecksprungkorrektur" to be done in | |
1027 "W fuer angepassten Abflusslaengschnitt". | |
1028 | |
1029 All tests show the expected results. In some corner cases the | |
1030 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur" | |
1031 has some definition shortcomings: | |
1032 | |
1033 a - What should happend when you cannot find point 2 because | |
1034 you cannot step back one quarter from point 3 because there | |
1035 is no data there any more (river too short in this direction)? | |
1036 The implemented algorithm raises point 3' only to an | |
1037 according factor. E.g. If you can step back the whole quarter | |
1038 distance the elevation is the full quarter. If you can | |
1039 step back only the half of the quarter the elevation is | |
1040 only an eighth. | |
1041 | |
1042 b - If the water heights between point 2 and 3 are constant then | |
1043 the algorithm will produce a spline interpolation that | |
1044 lowers those values. Is this intended? | |
1045 | |
1046 For real data the back jumps are expected to be more in the middle | |
1047 of the distance ranges so the corner cases are maybe not so | |
1048 important. | |
1049 | |
1050 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1051 Removed superfluous import. | |
1052 | |
1053 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
1054 | |
1055 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug | |
1056 code that has been commited by accident. | |
1057 | |
1058 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
1059 | |
1060 * doc/conf/themes.xml: New. A first small theme configuration. | |
1061 | |
1062 * doc/conf/conf.xml: Added a link to the theme configuration. | |
1063 | |
1064 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
1065 Defined a key that is used to store a themes map in the FLYSContext. | |
1066 | |
1067 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1068 The theme configuration is read at startup and the themes are stores in | |
1069 the FLYSContext. | |
1070 | |
1071 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
1072 | |
1073 * src/main/java/de/intevation/flys/themes/Theme.java, | |
1074 src/main/java/de/intevation/flys/themes/DefaultTheme.java: | |
1075 New. The interface and its default implementation that represents themes | |
1076 used to style charts and maps. | |
1077 | |
1078 * src/main/java/de/intevation/flys/themes/ThemeField.java, | |
1079 src/main/java/de/intevation/flys/themes/DefaultThemeField.java: | |
1080 New. The interface and its default implementation that represents fields | |
1081 in themes. A theme might be "Lines" and one of its field might be | |
1082 "Color" or "Size". | |
1083 | |
1084 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory | |
1085 that creates new themes based on a theme configuration. | |
1086 | |
1087 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1088 | |
1089 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1090 Implementation of "Abflusskurve/Abflusstafel" calculation. | |
1091 | |
1092 Added method interpolateWQ() which takes an km and results in a | |
1093 tuple of two double arrays containing the w/q values interpolated | |
1094 between the surrounding w/q values of the table. | |
1095 w values are interpolated linear, q values with a cubic spline. | |
1096 | |
1097 Drawing w over q gives you the discharge table at the given km. | |
1098 | |
1099 !!! This code needs testing !!! | |
1100 | |
1101 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1102 | |
1103 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) | |
1104 | |
1105 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1106 | |
1107 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1108 Fix problem when sorting by q (copied w instead of q). | |
1109 | |
1110 2011-04-20 Ingo Weinzierl <ingo@intevation.de> | |
1111 | |
1112 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1113 Fixed broken HQL statement. | |
1114 | |
1115 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1116 | |
1117 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1118 add a method interpolateW() which takes an array of | |
1119 q values and returns an equal sized array of w values. | |
1120 This is essentially the "Wasserstand/Wasserspiegellagen" calculation | |
1121 of desktop FLYS. | |
1122 | |
1123 If you want to do a calculation with given w values you have | |
1124 to convert the w values with DischargeTables.getQForW() first. | |
1125 | |
1126 !!! This code needs heavy testing !!! | |
1127 | |
1128 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1129 | |
1130 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1131 We need a getQForW() method and not getWForQ() because when | |
1132 doing a "Wasserstand/Wasserspiegellagen" calculation with given | |
1133 w values these values need to be translated to q values with | |
1134 the master discharge table. | |
1135 | |
1136 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1137 | |
1138 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1139 Sorting of q values was done wrong. | |
1140 | |
1141 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
1142 | |
1143 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1144 Ordered the list of annotations returned by this factory based on its | |
1145 range. | |
1146 | |
1147 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
1148 | |
1149 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
1150 New. This service returns an XML document that includes the main values | |
1151 of a gauge based on a river name, a start and an end point. | |
1152 | |
1153 * doc/conf/conf.xml: Registered the MainValuesService. | |
1154 | |
1155 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
1156 | |
1157 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
1158 A factory that provides methods to return MainValues. | |
1159 | |
1160 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1161 | |
1162 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1163 Added static method getWForQ() to interpolate a w value for | |
1164 a given q value based on a given discharge table. | |
1165 | |
1166 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1167 | |
1168 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1169 Added convenience constructors/methods to ease the access to the master | |
1170 discharge table of a gauge. | |
1171 | |
1172 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1173 | |
1174 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1175 Moved the query complexity into view 'wst_value_table' and | |
1176 used this instead. | |
1177 | |
1178 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1179 | |
1180 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1181 Fetches w/q value tables from the backend. TODO: Move this | |
1182 to the backend and use a view. | |
1183 | |
1184 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1185 | |
1186 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
1187 the error key that is thrown if no input data was found so that the key | |
1188 is usable for GWT's i18n mechanism. | |
1189 | |
1190 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1191 | |
1192 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1193 The inserted river is validated now (overrides validate() of | |
1194 DefaultState). | |
1195 | |
1196 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1197 | |
1198 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1199 The inserted calculation method is validated now (overrides validate() | |
1200 of DefaultState). | |
1201 | |
1202 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1203 | |
1204 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1205 The input data of feed() are validated using the DefaultStates | |
1206 validate() method. | |
1207 | |
1208 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1209 New method validate() that needs to be overidden by concrete subclasses. | |
1210 It should return true, if the data of the State is fine, otherwise it | |
1211 should raise an exception. | |
1212 | |
1213 NOTE: The exceptions are not translated in the server but in the client! | |
1214 | |
1215 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New. | |
1216 This abstract class exists to provide some methods for handling ranges. | |
1217 Currently, there is a method that validates a given range based on | |
1218 min/max values. | |
1219 | |
1220 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1221 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1222 Implemented input data validation for ranges. | |
1223 | |
1224 NOTE: The input validation of concrete values has not been implemented | |
1225 yet! | |
1226 | |
1227 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1228 | |
1229 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1230 Removed debug code that has been commited by accident :-/ | |
1231 | |
1232 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1233 | |
1234 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
1235 getGauge() method returns the first gauge based on the given start and | |
1236 end point of the river. | |
1237 | |
1238 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1239 Fixed potential bugs: if no gauge could be determined, the default | |
1240 values for W and Q are the minimum and maximum double values. | |
1241 | |
1242 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1243 | |
1244 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills | |
1245 the DESCRIBE with default values for W and Q. | |
1246 | |
1247 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1248 | |
1249 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
1250 New. Returns Wst object - based on a river. | |
1251 | |
1252 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1253 | |
1254 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now | |
1255 provides some methods that return some basic objects inserted while | |
1256 parameterization: River, Gauge and so on. | |
1257 | |
1258 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1259 | |
1260 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
1261 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1262 Bugfix: Repaired broken imports of the SessionHolder. | |
1263 | |
1264 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1265 | |
1266 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1267 Moved this class to flys-backend. | |
1268 | |
1269 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1270 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
1271 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
1272 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java, | |
1273 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1274 Adapted imports of the SessionHolder. | |
1275 | |
1276 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1277 | |
1278 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
1279 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1280 Acquire/release sessions in services to avoid db connection leaks. | |
1281 | |
1282 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1283 | |
1284 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1285 Changed some method signatures - added a reference to the owner | |
1286 Artifact. | |
1287 | |
1288 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1289 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
1290 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1291 Modified method signatures based on the changes in DefaultState. | |
1292 | |
1293 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
1294 Added default values to the dynamic part of DESCRIBE. | |
1295 | |
1296 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1297 | |
1298 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1299 Added a function that returns a River object based on a given river | |
1300 name. | |
1301 | |
1302 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1303 | |
1304 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1305 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
1306 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
1307 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1308 Static methods are using the SessionHolder, too. | |
1309 | |
1310 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1311 | |
1312 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1313 Added the setup() method that has been added to the interface | |
1314 description in the last commits. | |
1315 | |
1316 * doc/conf/conf.xml: Registered the SessionCallContextListener as | |
1317 CallContext.Listener. | |
1318 | |
1319 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1320 | |
1321 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1322 Bugfix: Call correct method to retrieve an instance of | |
1323 SessionFactoryProvider. | |
1324 | |
1325 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1326 | |
1327 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1328 New. Contains thread local session holder for hibernate sessions. | |
1329 | |
1330 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1331 Uses session from SessionHolder. | |
1332 | |
1333 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1334 Interacts with SessionHolder now. | |
1335 | |
1336 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
1337 Removed superfluous import. | |
1338 | |
1339 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1340 | |
1341 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1342 Implementation of a CallContext.Listener to open/close Hibernate | |
1343 Sessions for each request. | |
1344 | |
1345 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1346 | |
1347 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1348 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1349 Some modifications related to the last commit - modification of the | |
1350 describe() signature of a State. | |
1351 | |
1352 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1353 | |
1354 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: | |
1355 Removed. We do not need a state to select a gauge - the selection takes | |
1356 place by choosing a start and an end point. | |
1357 | |
1358 2011-04-13 Ingo Weinzierl <ingo@intevation.de> | |
1359 | |
1360 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1361 Bugfix: added missing label node to root node and a namespace to the | |
1362 data node. | |
1363 | |
1364 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
1365 | |
1366 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1367 The name of the artifact 'winfo' is written into the DESCRIBE document | |
1368 now. We need this to have a proper way to distinguish between different | |
1369 artifacts in the UI. | |
1370 | |
1371 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
1372 | |
1373 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: | |
1374 States are filled with data before they describe themself. | |
1375 | |
1376 2011-04-11 Ingo Weinzierl <ingo@intevation.de> | |
1377 | |
1378 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1379 New. A factory that returns the annotations of a specific river. | |
1380 | |
1381 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
1382 New. This service provides a document that contains information about | |
1383 distances of a river. | |
1384 | |
1385 * doc/conf/conf.xml: Registered the DistanceInfoService. | |
1386 | |
1387 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1388 | |
1389 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1390 This collection overrides the out() operation now. The incoming request | |
1391 document is read and the related OutGenerator is used to create the | |
1392 output. | |
1393 | |
1394 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
1395 the code to create discharge curves. It has moved to the | |
1396 DischargeCurveGenerator which now does this work. | |
1397 | |
1398 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1399 | |
1400 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The | |
1401 generate() method throws an IOException now. | |
1402 | |
1403 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
1404 New. This OutGenerator creates discharge curves. | |
1405 | |
1406 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1407 | |
1408 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
1409 the visibility of the getData() method. It's now public, because the | |
1410 OutGenerator needs an artifact's data. | |
1411 | |
1412 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1413 | |
1414 * src/**/*.java: Removed trailing whitespace. | |
1415 | |
1416 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1417 | |
1418 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1419 Make project compilable again by | |
1420 commenting out a not existing XMLDebug reference. | |
1421 | |
1422 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
1423 | |
1424 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1425 Added code to parse the configured OutGenerators and to save them (in a | |
1426 map) in the FLYSContext. | |
1427 | |
1428 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
1429 Added a key that is used to save the OutGenerators Map in the context. | |
1430 | |
1431 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
1432 | |
1433 * src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
1434 New. This interface is used to generator different types of output. | |
1435 ArtifactCollections will make use of this interface to create a | |
1436 collected output of all its artifacts. | |
1437 | |
1438 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1439 | |
1440 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1441 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase | |
1442 operations instead. | |
1443 | |
1444 * TODO: Removed 'remove Backend reference' TODO. | |
1445 | |
1446 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1447 | |
1448 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the | |
1449 discharge curve output mode. This output now provides three facets - W, | |
1450 Q and the curve itself. | |
1451 | |
1452 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1453 | |
1454 Tagged RELEASE 0.1 | |
1455 | |
1456 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1457 | |
1458 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
1459 artifact configuration. | |
1460 | |
1461 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
1462 | |
1463 * src/main/resources/messages_de_DE.properties, | |
1464 src/main/resources/messages_de.properties: Changed a german string. | |
1465 | |
1466 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
1467 | |
1468 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1469 Modified the available calculation modes and its order in the DESCRIBE | |
1470 document. | |
1471 | |
1472 * src/main/resources/messages.properties, | |
1473 src/main/resources/messages_de_DE.properties, | |
1474 src/main/resources/messages_en.properties, | |
1475 src/main/resources/messages_de.properties: Adapted the names of | |
1476 calculation modes. | |
1477 | |
1478 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1479 | |
1480 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1481 Added the hash code of an artifact to the artifact part of the | |
1482 collection's DESCRIBE document. | |
1483 | |
1484 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1485 | |
1486 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
1487 the background color of discharge curves to white. | |
1488 | |
1489 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1490 | |
1491 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1492 Cache the scale, too. Otherwise two calls to getValues() with | |
1493 different arguments will result in the same output. | |
1494 | |
1495 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1496 | |
1497 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1498 Introduced a 'scale' parameter in the getValues() method. | |
1499 | |
1500 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
1501 the out() operation with code that draws a discharge table of one or | |
1502 more gauges specified by the given range in entered in a previous state. | |
1503 | |
1504 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1505 | |
1506 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
1507 New. A helper class to exports charts. | |
1508 | |
1509 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
1510 | |
1511 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1512 | |
1513 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
1514 Fixed swap of operands. | |
1515 | |
1516 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1517 | |
1518 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
1519 New. Load gauges for a river and filter them for given | |
1520 ranges. | |
1521 | |
1522 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1523 | |
1524 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1525 Store data in a double [][] instead of interleaved double [] | |
1526 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
1527 | |
1528 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
1529 | |
1530 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
1531 the Backend reference from FLYSArtifactCollection. | |
1532 | |
1533 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
1534 | |
1535 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1536 Added missing artifact namespace of an attribute in the DESCRIBE | |
1537 document. | |
1538 | |
1539 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
1540 | |
1541 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1542 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
1543 implement FLYS specific describe() and out() operations. | |
1544 | |
1545 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
1546 DefaultArtifactCollection for this application. | |
1547 | |
1548 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1549 | |
1550 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1551 New. Fetches values of discharge tables in form of packed | |
1552 w/q double arrays for given gauges. | |
1553 | |
1554 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1555 Removed needless import. | |
1556 | |
1557 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
1558 | |
1559 * src/main/resources/messages_de_DE.properties: Added a german resource | |
1560 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
1561 Resources class is not able to find a 'de_DE' bundle and throws an | |
1562 exception. This is really strange, because it should use the 'de' bundle | |
1563 in that case, but it doesn't. | |
1564 | |
1565 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
1566 | |
1567 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
1568 some code to append the output modes of previous states to the DESCRIBE | |
1569 document. | |
1570 | |
1571 TODO: Determine if the current state is already filled with data and | |
1572 append its output modes as well! | |
1573 | |
1574 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
1575 | |
1576 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
1577 an output mode 'discharge_table'. | |
1578 | |
1579 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1580 | |
1581 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1582 Write human readable strings as label attribute into the DESCRIBE | |
1583 output. Those labels are used to be displayed in the GUI. | |
1584 | |
1585 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1586 | |
1587 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1588 Added some further calculation types. | |
1589 | |
1590 * src/main/resources/messages.properties, | |
1591 src/main/resources/messages_en.properties, | |
1592 src/main/resources/messages_de.properties: Added i18n strings for the | |
1593 calculation types | |
1594 | |
1595 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1596 | |
1597 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1598 Implemented the step-back part of the advance() operation. | |
1599 | |
1600 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1601 | |
1602 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
1603 | |
1604 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1605 | |
1606 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
1607 location/distance and w/q. | |
1608 | |
1609 * src/main/resources/messages.properties, | |
1610 src/main/resources/messages_en.properties, | |
1611 src/main/resources/messages_de.properties: New string for the | |
1612 location/distance and w/q input states. | |
1613 | |
1614 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1615 | |
1616 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1617 New. A state for the W/Q input of the WINFO parameterization. | |
1618 | |
1619 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1620 | |
1621 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1622 Append an attribute 'uiprovider' to the dynamic UI node. | |
1623 | |
1624 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
1625 New. A state for the location/distance selection of the WINFO | |
1626 parameterization. | |
1627 | |
1628 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1629 | |
1630 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1631 Added a new method getUIProvider() that might be overriden by concreted | |
1632 subclasses that should be rendered with a specific UIProvider. | |
1633 | |
1634 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1635 | |
1636 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1637 The static UI part is created by the previous states now. This makes it | |
1638 possible to group the data objects (which is necessary to group the | |
1639 objects in the ui). | |
1640 | |
1641 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1642 Added a describeStatic() method that creates a node that contains the | |
1643 data of that state. | |
1644 | |
1645 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1646 | |
1647 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1648 Removed TODO: the document contains the rivers provided by the backend | |
1649 now. | |
1650 | |
1651 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1652 | |
1653 * pom.xml: Added dependency to flys backend. | |
1654 | |
1655 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
1656 Removed. We are using the backend model now. | |
1657 | |
1658 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1659 Fetches the rivers from the backend. | |
1660 | |
1661 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1662 Import fixes. | |
1663 | |
1664 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1665 | |
1666 * doc/conf/conf.xml: Added section for database backend configuration. | |
1667 | |
1668 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1669 | |
1670 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1671 Fixed build error coming from different import of XMLUtils. | |
1672 | |
1673 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1674 | |
1675 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1676 Appended the missing label node that contains the human readable name of | |
1677 the data item. | |
1678 | |
1679 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1680 | |
1681 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1682 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1683 I18N of strings for the DESCRIBE document. | |
1684 | |
1685 * src/main/resources/messages.properties, | |
1686 src/main/resources/messages_en.properties, | |
1687 src/main/resources/messages_de.properties: I18N strings for the | |
1688 calculcation mode state. | |
1689 | |
1690 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1691 | |
1692 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
1693 | |
1694 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
1695 the artifact regarding the changes of the last commit. The states | |
1696 describe() method creates the dynamic UI node - the artifact needs to | |
1697 apply this node. | |
1698 | |
1699 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1700 New. The state for choosing the calculation mode. | |
1701 | |
1702 * src/main/resources/messages.properties, | |
1703 src/main/resources/messages_en.properties, | |
1704 src/main/resources/messages_de.properties: Added i18n strings for the | |
1705 calculation mode state. | |
1706 | |
1707 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1708 | |
1709 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1710 New. This is the base state for the FLYS application. It provides a | |
1711 method that creates the dynamic ui node for the DESCRIBE. | |
1712 | |
1713 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1714 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
1715 classes extend the abstract base class DefaultState. | |
1716 | |
1717 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1718 | |
1719 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
1720 New. This class retrieves the i18n strings from a ResourceBundle. | |
1721 | |
1722 * src/main/resources/messages.properties, | |
1723 src/main/resources/messages_en.properties, | |
1724 src/main/resources/messages_de.properties: Resource files for german and | |
1725 english translation. | |
1726 | |
1727 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1728 | |
1729 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
1730 the data that have been inserted in former states into the static node | |
1731 of the DESCRIBE. | |
1732 | |
1733 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1734 | |
1735 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
1736 operations feed() and advance() return the description of the artifact | |
1737 using the describe() operation. This avoids additional server round trips | |
1738 in the client - the clients gets to know about the new state of the | |
1739 artifact immediately. | |
1740 | |
1741 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1742 | |
1743 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1744 Implemented a part (step forward) of the advance operation. | |
1745 | |
1746 * TODO: Implement Step-Back in advance operation. | |
1747 | |
1748 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1749 | |
1750 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1751 Implemented the abstract method getName(). It returns the constant | |
1752 'winfo' string. | |
1753 | |
1754 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1755 Implemented the feed action. The data of an incoming feed() operation is | |
1756 stored in StateData objects that are saved in a map in the artifact. | |
1757 | |
1758 NOTE: There is no input validation and no i18n of error messages (see | |
1759 TODO). | |
1760 | |
1761 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1762 | |
1763 * TODO: This file contains some open points that need to be done. | |
1764 | |
1765 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1766 | |
1767 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
1768 artifact serves as the default artifact for the FLYS application. | |
1769 | |
1770 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
1771 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
1772 change: we don't store the State objects itself in the artifact, but | |
1773 just the identifier of those. This makes the artifact smaller and more | |
1774 compatible agains previous versions of the software. | |
1775 | |
1776 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
1777 | |
1778 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1779 New. This service will retrieve a list of provided rivers. | |
1780 | |
1781 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
1782 | |
1783 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
1784 | |
1785 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
1786 the factories part of the configuration. | |
1787 | |
1788 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
1789 | |
1790 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1791 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
1792 attribute. | |
1793 | |
1794 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
1795 | |
1796 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
1797 RiverSelect state is called to create the UI part of the describe | |
1798 document. | |
1799 | |
1800 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1801 Implemented the dynamic UI part of describe(). The static part is not | |
1802 inserted into the describe document at the moment. We need a reference to | |
1803 the previous states for this. | |
1804 | |
1805 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
1806 | |
1807 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1808 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
1809 class that represents a river and its factory to create concrete river | |
1810 instances. | |
1811 NOTE: Currently, this is just a mockup. The factory just returns two | |
1812 static rivers "Mosel" and "Saar" without a connection to a backend. | |
1813 | |
1814 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1815 | |
1816 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
1817 input data of a state is initialized with empty StateData objects after | |
1818 the State has been created. | |
1819 | |
1820 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
1821 which now fits better to the class name of the implementation. | |
1822 | |
1823 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1824 | |
1825 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
1826 describe document returned by this artifact now contains the current state | |
1827 and the reachable states. | |
1828 | |
1829 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1830 | |
1831 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1832 The transitions are put into the TransitionEngine with the ID of the state | |
1833 - not longer with the artifact name. On this way, we are able to fetch | |
1834 just the transitions for a specific state, instead of all the transitions | |
1835 of an artifact. | |
1836 | |
1837 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1838 | |
1839 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
1840 returns the artifact's uuid and hash value. The whole implementation of | |
1841 describe() is still outstanding. | |
1842 | |
1843 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1844 | |
1845 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
1846 | |
1847 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
1848 useless methods, and improved the init process - the first state is set as | |
1849 the current state for this artifact. | |
1850 | |
1851 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1852 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
1853 The states are used in the first two steps of the WINFOArtifact. | |
1854 Currently, they just implement stubs of the necessary methods setup() and | |
1855 describe(). | |
1856 | |
1857 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1858 | |
1859 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
1860 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
1861 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
1862 Removed. These classes are placed in the artifact-database now. | |
1863 | |
1864 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
1865 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
1866 Adapted imports of Transition. | |
1867 | |
1868 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
1869 This factory should be used to create concrete State objects. | |
1870 | |
1871 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
1872 a constant key to store the StateEngine in the context. | |
1873 | |
1874 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1875 New method that initializes the states at application start. | |
1876 | |
1877 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
1878 | |
1879 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
1880 interface description of a state. | |
1881 | |
1882 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
1883 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
1884 New. The interface description and a default implementation of a | |
1885 transition. | |
1886 | |
1887 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
1888 New. The TransitionEngine stores all transitions for each artifact and | |
1889 should be used to determine, if an artifact can advance from one state to | |
1890 another. | |
1891 | |
1892 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
1893 New. Transitions should be created by using this class. | |
1894 | |
1895 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
1896 The Flys context. It currently defines keys to store important components | |
1897 in the context. | |
1898 | |
1899 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1900 New. The context factory initializes the basic components of the | |
1901 application. Currently, the TransitionEngine is created and all artifacts | |
1902 with its transitions are read from the global configuration and stored in | |
1903 the FLYSContext. | |
1904 | |
1905 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
1906 | |
1907 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
1908 DefaultTransition. | |
1909 | |
1910 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
1911 | |
1912 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
1913 | |
1914 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
1915 server. | |
1916 | |
1917 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
1918 WINFO artifact. | |
1919 | |
1920 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
1921 an artifact for a WINFO parameterization. | |
1922 | |
1923 * pom.xml: Set the source code version to 1.5. | |
1924 | |
1925 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1926 | |
1927 * src/**, pom.xml: Added initial maven project. | |
1928 * ChangeLog: new. |