Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 160:27d3d0093993
merged flys-artifacts/0.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:07 +0200 |
parents | ea7bf9990973 |
children | 751da31d5677 |
comparison
equal
deleted
inserted
replaced
103:deaa50a8be82 | 160:27d3d0093993 |
---|---|
1 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
2 | |
3 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
4 artifact configuration. | |
5 | |
6 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
7 | |
8 * src/main/resources/messages_de_DE.properties, | |
9 src/main/resources/messages_de.properties: Changed a german string. | |
10 | |
11 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
12 | |
13 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
14 Modified the available calculation modes and its order in the DESCRIBE | |
15 document. | |
16 | |
17 * src/main/resources/messages.properties, | |
18 src/main/resources/messages_de_DE.properties, | |
19 src/main/resources/messages_en.properties, | |
20 src/main/resources/messages_de.properties: Adapted the names of | |
21 calculation modes. | |
22 | |
23 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
24 | |
25 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
26 Added the hash code of an artifact to the artifact part of the | |
27 collection's DESCRIBE document. | |
28 | |
29 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
30 | |
31 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
32 the background color of discharge curves to white. | |
33 | |
34 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
35 | |
36 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
37 Cache the scale, too. Otherwise two calls to getValues() with | |
38 different arguments will result in the same output. | |
39 | |
40 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
41 | |
42 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
43 Introduced a 'scale' parameter in the getValues() method. | |
44 | |
45 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
46 the out() operation with code that draws a discharge table of one or | |
47 more gauges specified by the given range in entered in a previous state. | |
48 | |
49 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
50 | |
51 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
52 New. A helper class to exports charts. | |
53 | |
54 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
55 | |
56 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
57 | |
58 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
59 Fixed swap of operands. | |
60 | |
61 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
62 | |
63 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
64 New. Load gauges for a river and filter them for given | |
65 ranges. | |
66 | |
67 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
68 | |
69 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
70 Store data in a double [][] instead of interleaved double [] | |
71 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
72 | |
73 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
74 | |
75 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
76 the Backend reference from FLYSArtifactCollection. | |
77 | |
78 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
79 | |
80 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
81 Added missing artifact namespace of an attribute in the DESCRIBE | |
82 document. | |
83 | |
84 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
85 | |
86 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
87 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
88 implement FLYS specific describe() and out() operations. | |
89 | |
90 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
91 DefaultArtifactCollection for this application. | |
92 | |
93 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
94 | |
95 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
96 New. Fetches values of discharge tables in form of packed | |
97 w/q double arrays for given gauges. | |
98 | |
99 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
100 Removed needless import. | |
101 | |
102 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
103 | |
104 * src/main/resources/messages_de_DE.properties: Added a german resource | |
105 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
106 Resources class is not able to find a 'de_DE' bundle and throws an | |
107 exception. This is really strange, because it should use the 'de' bundle | |
108 in that case, but it doesn't. | |
109 | |
110 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
111 | |
112 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
113 some code to append the output modes of previous states to the DESCRIBE | |
114 document. | |
115 | |
116 TODO: Determine if the current state is already filled with data and | |
117 append its output modes as well! | |
118 | |
119 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
120 | |
121 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
122 an output mode 'discharge_table'. | |
123 | |
124 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
125 | |
126 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
127 Write human readable strings as label attribute into the DESCRIBE | |
128 output. Those labels are used to be displayed in the GUI. | |
129 | |
130 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
131 | |
132 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
133 Added some further calculation types. | |
134 | |
135 * src/main/resources/messages.properties, | |
136 src/main/resources/messages_en.properties, | |
137 src/main/resources/messages_de.properties: Added i18n strings for the | |
138 calculation types | |
139 | |
140 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
141 | |
142 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
143 Implemented the step-back part of the advance() operation. | |
144 | |
145 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
146 | |
147 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
148 | |
149 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
150 | |
151 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
152 location/distance and w/q. | |
153 | |
154 * src/main/resources/messages.properties, | |
155 src/main/resources/messages_en.properties, | |
156 src/main/resources/messages_de.properties: New string for the | |
157 location/distance and w/q input states. | |
158 | |
159 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
160 | |
161 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
162 New. A state for the W/Q input of the WINFO parameterization. | |
163 | |
164 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
165 | |
166 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
167 Append an attribute 'uiprovider' to the dynamic UI node. | |
168 | |
169 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
170 New. A state for the location/distance selection of the WINFO | |
171 parameterization. | |
172 | |
173 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
174 | |
175 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
176 Added a new method getUIProvider() that might be overriden by concreted | |
177 subclasses that should be rendered with a specific UIProvider. | |
178 | |
179 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
180 | |
181 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
182 The static UI part is created by the previous states now. This makes it | |
183 possible to group the data objects (which is necessary to group the | |
184 objects in the ui). | |
185 | |
186 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
187 Added a describeStatic() method that creates a node that contains the | |
188 data of that state. | |
189 | |
190 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
191 | |
192 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
193 Removed TODO: the document contains the rivers provided by the backend | |
194 now. | |
195 | |
196 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
197 | |
198 * pom.xml: Added dependency to flys backend. | |
199 | |
200 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
201 Removed. We are using the backend model now. | |
202 | |
203 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
204 Fetches the rivers from the backend. | |
205 | |
206 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
207 Import fixes. | |
208 | |
209 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
210 | |
211 * doc/conf/conf.xml: Added section for database backend configuration. | |
212 | |
213 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
214 | |
215 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
216 Fixed build error coming from different import of XMLUtils. | |
217 | |
218 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
219 | |
220 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
221 Appended the missing label node that contains the human readable name of | |
222 the data item. | |
223 | |
224 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
225 | |
226 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
227 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
228 I18N of strings for the DESCRIBE document. | |
229 | |
230 * src/main/resources/messages.properties, | |
231 src/main/resources/messages_en.properties, | |
232 src/main/resources/messages_de.properties: I18N strings for the | |
233 calculcation mode state. | |
234 | |
235 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
236 | |
237 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
238 | |
239 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
240 the artifact regarding the changes of the last commit. The states | |
241 describe() method creates the dynamic UI node - the artifact needs to | |
242 apply this node. | |
243 | |
244 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
245 New. The state for choosing the calculation mode. | |
246 | |
247 * src/main/resources/messages.properties, | |
248 src/main/resources/messages_en.properties, | |
249 src/main/resources/messages_de.properties: Added i18n strings for the | |
250 calculation mode state. | |
251 | |
252 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
253 | |
254 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
255 New. This is the base state for the FLYS application. It provides a | |
256 method that creates the dynamic ui node for the DESCRIBE. | |
257 | |
258 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
259 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
260 classes extend the abstract base class DefaultState. | |
261 | |
262 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
263 | |
264 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
265 New. This class retrieves the i18n strings from a ResourceBundle. | |
266 | |
267 * src/main/resources/messages.properties, | |
268 src/main/resources/messages_en.properties, | |
269 src/main/resources/messages_de.properties: Resource files for german and | |
270 english translation. | |
271 | |
272 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
273 | |
274 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
275 the data that have been inserted in former states into the static node | |
276 of the DESCRIBE. | |
277 | |
278 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
279 | |
280 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
281 operations feed() and advance() return the description of the artifact | |
282 using the describe() operation. This avoids additional server round trips | |
283 in the client - the clients gets to know about the new state of the | |
284 artifact immediately. | |
285 | |
286 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
287 | |
288 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
289 Implemented a part (step forward) of the advance operation. | |
290 | |
291 * TODO: Implement Step-Back in advance operation. | |
292 | |
293 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
294 | |
295 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
296 Implemented the abstract method getName(). It returns the constant | |
297 'winfo' string. | |
298 | |
299 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
300 Implemented the feed action. The data of an incoming feed() operation is | |
301 stored in StateData objects that are saved in a map in the artifact. | |
302 | |
303 NOTE: There is no input validation and no i18n of error messages (see | |
304 TODO). | |
305 | |
306 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
307 | |
308 * TODO: This file contains some open points that need to be done. | |
309 | |
310 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
311 | |
312 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
313 artifact serves as the default artifact for the FLYS application. | |
314 | |
315 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
316 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
317 change: we don't store the State objects itself in the artifact, but | |
318 just the identifier of those. This makes the artifact smaller and more | |
319 compatible agains previous versions of the software. | |
320 | |
321 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
322 | |
323 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
324 New. This service will retrieve a list of provided rivers. | |
325 | |
326 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
327 | |
328 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
329 | |
330 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
331 the factories part of the configuration. | |
332 | |
333 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
334 | |
335 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
336 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
337 attribute. | |
338 | |
339 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
340 | |
341 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
342 RiverSelect state is called to create the UI part of the describe | |
343 document. | |
344 | |
345 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
346 Implemented the dynamic UI part of describe(). The static part is not | |
347 inserted into the describe document at the moment. We need a reference to | |
348 the previous states for this. | |
349 | |
350 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
351 | |
352 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
353 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
354 class that represents a river and its factory to create concrete river | |
355 instances. | |
356 NOTE: Currently, this is just a mockup. The factory just returns two | |
357 static rivers "Mosel" and "Saar" without a connection to a backend. | |
358 | |
359 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
360 | |
361 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
362 input data of a state is initialized with empty StateData objects after | |
363 the State has been created. | |
364 | |
365 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
366 which now fits better to the class name of the implementation. | |
367 | |
368 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
369 | |
370 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
371 describe document returned by this artifact now contains the current state | |
372 and the reachable states. | |
373 | |
374 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
375 | |
376 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
377 The transitions are put into the TransitionEngine with the ID of the state | |
378 - not longer with the artifact name. On this way, we are able to fetch | |
379 just the transitions for a specific state, instead of all the transitions | |
380 of an artifact. | |
381 | |
382 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
383 | |
384 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
385 returns the artifact's uuid and hash value. The whole implementation of | |
386 describe() is still outstanding. | |
387 | |
388 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
389 | |
390 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
391 | |
392 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
393 useless methods, and improved the init process - the first state is set as | |
394 the current state for this artifact. | |
395 | |
396 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
397 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
398 The states are used in the first two steps of the WINFOArtifact. | |
399 Currently, they just implement stubs of the necessary methods setup() and | |
400 describe(). | |
401 | |
402 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
403 | |
404 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
405 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
406 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
407 Removed. These classes are placed in the artifact-database now. | |
408 | |
409 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
410 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
411 Adapted imports of Transition. | |
412 | |
413 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
414 This factory should be used to create concrete State objects. | |
415 | |
416 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
417 a constant key to store the StateEngine in the context. | |
418 | |
419 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
420 New method that initializes the states at application start. | |
421 | |
422 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
423 | |
424 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
425 interface description of a state. | |
426 | |
427 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
428 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
429 New. The interface description and a default implementation of a | |
430 transition. | |
431 | |
432 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
433 New. The TransitionEngine stores all transitions for each artifact and | |
434 should be used to determine, if an artifact can advance from one state to | |
435 another. | |
436 | |
437 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
438 New. Transitions should be created by using this class. | |
439 | |
440 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
441 The Flys context. It currently defines keys to store important components | |
442 in the context. | |
443 | |
444 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
445 New. The context factory initializes the basic components of the | |
446 application. Currently, the TransitionEngine is created and all artifacts | |
447 with its transitions are read from the global configuration and stored in | |
448 the FLYSContext. | |
449 | |
450 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
451 | |
452 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
453 DefaultTransition. | |
454 | |
455 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
456 | |
457 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
458 | |
459 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
460 server. | |
461 | |
462 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
463 WINFO artifact. | |
464 | |
465 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
466 an artifact for a WINFO parameterization. | |
467 | |
468 * pom.xml: Set the source code version to 1.5. | |
469 | |
470 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
471 | |
472 * src/**, pom.xml: Added initial maven project. | |
473 * ChangeLog: new. |