Mercurial > dive4elements > gnv-client
changeset 121:6b9a07f758cf
Move resources to a place where maven puts them into final package.
Cleaned up changelog.
gnv-artifacts/trunk@191 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Oct 2009 11:04:52 +0000 |
parents | 5134266f00e7 |
children | c2c669ac6ecc |
files | gnv-artifacts/ChangeLog gnv-artifacts/Changelog gnv-artifacts/pom.xml gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages.properties gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_de.properties gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_de_DE.properties gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_en.properties gnv-artifacts/src/main/resources/lang/artifactMessages.properties gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties |
diffstat | 12 files changed, 998 insertions(+), 972 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv-artifacts/ChangeLog Tue Oct 06 11:04:52 2009 +0000 @@ -0,0 +1,831 @@ +2009-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/ressource/*.properties: + Deleted. + + * src/main/resources/lang/*.properties: Re-inserted here. Maven now + includes them in the jar package. + + * src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java: + Make code more robust. TODO: We need a better implementation here. + + * Changelog -> ChangeLog: To make eclipse happy. Unified changelog style. + + * pom.xml: xmllint-ed and set encoding of filtered resources to UTF-8 + +2009-10-06 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Bugfix in Query for getting Data for the Output. + Now the Values will be sorted Correcly. Timevalue + has been removed from the Query because it is not a + Parameter which could be choosen from the User. + Also dummies for XCOORD-Value and YCOORD-Value integrated so + that is now Possible to visualize the Profile + gnv/issue21 + +2009-10-05 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages*.properties Edited: + Added further Ressourec Values. + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileInstantaneousPointArtifact) Edited: + Changed ArtifactName to real FIS. + * src/test/ressources/timeseries_mesh/timeseries_step_01_feed.xml Edited: + Changed Product-Name from timeSeriesMesh to timeSeries to provide a General-Naming-Structure + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (setup) Edited, + src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java Edited, + src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Edited: + Added Configurationsupport for the Labeling Data. Now it is possible do define the + value-names in the Configurationfile. + * src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_03_feed.xml Edited, + src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_02_feed.xml Edited, + src/test/ressources/queries.properties Edited: + Changed the Queries for the VerticalProfileInstantaneusPoint to the FIS-Query Mode. + This Mode was send by Mr. Schulz-Ohlberg. + * src/test/ressources/conf.xml: + Changed the Workflow for the VerticalProfileInstantaneusPoint to the FIS-Query Mode. + This Mode was send by Mr. Schulz-Ohlberg. + Also Added the support for value-names to the Configuration of VerticalProfileInstantaneusPoint. + +2009-10-05 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_en.properties Renamed: + Renamed from artifactMessages_en_EN.properties to artifactMessages_en.properties to get a + propper support for PreferedLocale + * src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java (getRessource) Edited, + * src/test/java/de/intevation/gnv/artifacts/ressource/RessourceFactoryTestCase.java (setUp) Edited, + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited, + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createSelectBox) Edited: + Changed Method Signature from Locale to PreferedLocale[] to put all Useable Languages to + the RessourceFactory + +2009-10-02 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/ressource/RessourceFactoryTestCase.java Added: + TestCase for Testing the RessourceFactory + + * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages*.properties Added, + src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java Added: + Added Factory and Propertiesfiles for getting the localized Values + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited, + src/main/java/de/intevation/gnv/transition/profile/horizontal/NorthSouthEastWestTransition.java Edited, + src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, + src/main/java/de/intevation/gnv/transition/Transition.java Edited, + src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited, + src/main/java/de/intevation/gnv/transition/OutputTransition.java Edited, + src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, + src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java Edited, + src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileArtifact.java Edited, + src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + LanguageSupport Integrated + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (createCallContext) Edited: + Extracted Method and Put CallMeta with Language German to the CallContext. Otherwise + TestCase will produce NPEs. + * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Edited: + Added Real CallMeta to the Method for usage in Artifacts. Otherwise + TestCase will produce NPEs. + * src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_02_feed.xml Edited, + src/test/ressources/timeseries_mesh/timeseries_step_02_feed.xml Edited, + src/test/ressources/verticalprofile_mesh/verticalprofile_step_02_feed.xml Edited, + src/test/ressources/conf.xml Edited: + Changed som Identifiers for Localisation. + +2009-10-02 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/conf.xml Edited: + Added the Configuration of the Horizontal-Profile.Mesh. + Also Edited the Workflowq for HorizontalProfile-Instantaneouspoint and + Put three n ew FIS into the Configuration which represents HorizontalProfile-Instantaneouspoint. + * src/test/ressources/horizontalProfile_instantaneouspoint/*.xml Edited, + src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileInstantaneousPointArtifact) Edited: + Edited the Workflowlogic given by new Specification of the BSH. + * src/test/ressources/horizontalProfile_mesh/*.xml Added: + The Request for do an Workflow for an HorizontalProfile-Mesh + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileMeshPointArtifact) Edited: + Added TestCase for HorizontalProfiles of Type Mesh. + * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java (getMeta) Edited: + Added new Method which is defined in the implemented Interface. + * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: + Added the Validation of InputValues from Type AttributeName which should represent + an QueryValue of Type String which must not put into "'". + * src/main/java/de/intevation/gnv/transition/profile/horizontal/NorthSouthEastWestTransition.java Added: + Transition to provide the possibility of choosing the axis of an Grid that should be used. + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (dataMultiSelect) Edited: + Changed from private to protected so that this mMeber could be accessed by within extending Classes. + * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileMeshArtifact.java Added: + Class for the Representation of Horizontal Profiles for the Type Mesh. + * src/main/java/de/intevation/gnv/chart/HorizontalProfileChartFactory.java (HorizontalProfileChartFactory) Edited: + Changed PlotOrientation so that the Profile is displayed correctly. + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (advance) Edited: + Added Log-Message for better Workflowanalyzis. + +2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java, + src/main/java/de/intevation/gnv/utils/ArtifactFactoryUtilities.java, + src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java, + src/main/java/de/intevation/gnv/transition/MinMaxTransition.java, + src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java, + src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java: + Removed needless imports. + + * src/main/java/de/intevation/gnv/utils/InputValidator.java: + Import org.apache.commons.validator.GenericValidator instead of + absolute usage in methods. + +2009-09-30 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Added the Queries for HorizontalProfiles of InstantaneousPoints. + * src/test/ressources/conf.xml Edited: + Added the Configuration for HorizontalProfilArtifact for InstantaneousPoints + * src/test/ressources/horizontalProfile_instantaneouspoint/*.xml Added: + Added XML-Requests for the TestCase of HorizontalProfiles of InstantaneousPoints. + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileInstantaneousPointArtifact) Edited: + Added TestCase for HorizontalProfiles of InstantaneousPoints. + +2009-09-30 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: + Added the Validation for Double-Values. + * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (createChart) Edited: + The Name of the Method for generaing Charts has changed. + * src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java Added: + New outputTransition for HorizontalProfiles + * src/main/java/de/intevation/gnv/statistics/HorizontalProfileStatistics.java Added: + Class which calculates the Statistics for Horizontal Profiles. + * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileInstantaneousPointArtifact.java Added, + * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileArtifact.java Added: + Classes which represents HorizontalProfileArtifacts + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (plotOrientation) Edited: + Added Member for the representation of the Plotorientation to overwrite it in + extende Classes + Rename Method for generatim the Charts in a common Name. + * src/main/java/de/intevation/gnv/chart/HorizontalProfileChartFactory.java Added: + Class for drawing Horzontal Profiles + +2009-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/test/ressources/conf.xml: s@test/xml@text/xml@g + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (doNextStep) Edited: + Add Responsevalidation for feed-Requests. + * pom.xml Edited: + Add required Library ORO to the Dependencies which is required by Commons-Validator + to do matchRegexp Requests. + * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: + Add a Validator for the type Point + * src/test/ressources/conf.xml Edited: + Changed mesh_coordinate from type Integer to type Point + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (findValueTitle): + Key of KeyValueDescribeData is a String. So it is not nessessary to parse the + id into an Integer Value. + Also some NP-Access removed. + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: + Some Coderedundances refactored. + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Bug fixed: Mesh TimeSeries will now Handle Charts with multiple Depth-Values properly. + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/timeseries_mesh/*.xml Added : + TestCaseRequests for Timeseries FIS Mesh + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testTimeSeriesMeshArtifact) Edited: + Add Testcase for Timeseries Mesh + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (check4ExceptionReport) edited: + ExceptionTest for Responsdocuments added. + UnitTest will now fail if the Artifact delivers an ExceptionReport using the advance Request. + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileMeshArtifact) Edited: + Added TestCase for Vertical Profiles for Mesh + * src/test/ressources/verticalprofile_mesh/*.xml Added: + TestCaseRequests for VerticalProfile FIS Mesh + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: + Bugfix: Remove leading- and trailingwhitspaces from Date- and Integervalues + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileArtifact): + (testVerticalProfileInstantaneousPointArtifact) Edited: + Added Testcases for VerticalProfile and VerticalProfile Instantaneouspoint + * src/test/ressources/verticalprofile_instantaneouspoint/*.xml Added: + TestCaseRequests for VerticalProfile Instantaneouspoint + * src/test/ressources/verticalprofile/*.xml Added: + TestCaseRequests for VerticalProfile FIS Marnet + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Remove to_date from TimeSeries-Quueries becaus of Changes in the conf.xml-File + * src/test/ressources/conf.xml Edited: + Correct Types for min- and max-Values from Integer to Date + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testTimeSeriesArtifact) Edited: + Add CallContext to the Tests. + * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Add: + A CallContext used only in Junit-Tests + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * pom.xml Edited: + Added the dependency to Apache-Commons-Validator Version 1.3.1 which is + used for the InputValoue-validation. + * src/main/java/de/intevation/gnv/utils/InputValidator.java Added : + An InputValidator for Validating InputValues. + At this Moment only Integer, String and Date is supported. + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (putInputData) Edited: + Add the InputValidator to validate the incomming Values from the Clients. + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/ChartFactory.java (createTimeSeries) Edited: + Performanceimprovement: The Loop will be interrupted if the Pointer is bigger than the + last Pointer of the Value that must be visualised. + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * pom.xml Edited: + Added the Dependeny to the ehcache-Library + * src/test/ressources/ehcache.xml Added: + The ehcache-Configuration. + * src/test/ressources/conf.xml Edited: + Added the Link to the ehcache-Configuration. + * src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java (createArtifactContext) Edited: + Added the Initialisation of the CacheManager. + + * src/main/java/de/intevation/gnv/artifacts/cache/CacheFactory.java Added: + An Fractoryimplementation for the central access to the Cache. + + * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java (purifyResult) Edited, + * src/main/java/de/intevation/gnv/transition/SingleInputTransition.java (purifyResult) Edited, + * src/main/java/de/intevation/gnv/transition/Transition.java Edited, + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Signature of Methods purifyResults, advanced and feed Changed to put the uuid to the Transition + * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (createChart) Edited: + Methodsignatur of getChartResult change for putting the uuid of an Artifact into it + * src/main/java/de/intevation/gnv/transition/OutputTransition.java (out) Edited, + src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: + Method Signature Changed for putting the uuid of an Artifact to the Transition. + stored + * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: + removed the persitence of the Chartresults and put them into an Cache instance. + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (getStatisticsGenerator) Edited: + Extracted the Instantiation of the Statistics-object to an protected Methode + to make it possible that extending Classes could change it. + * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (getStatisticsGenerator) Edited: + Overwrite getStatisticsGenerator to instantiate the VerticalProfileStatistics- + * src/main/java/de/intevation/gnv/statistics/VerticalProfileStatistics.java Added: + Class for Calculating Statistics for VerticalProfiles- The Only thing whisch differs to + TimeSeriesStatists is that the XoordinateValue is an double and not an Date-Value + * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java (calculateXOrdinateValue) Edited: + Added the Methode calculateXOrdinateValue to this Class to switch is Values in extending Classes. + * src/main/java/de/intevation/gnv/statistics/Statistics.java (calculateStatistics) Edited: + Added methodsignature to Interface for usage in different Implementations of Statistics. + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java (calculateStatistics) Edited: + Bug fixed. Now all Values will be used to calculate the Statistics + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/conf.xml Edited : + Changed the Output-format of Statistics from text/plain to text/xml. + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Edited: + Moved the calculating-Methods from the Conmstructor to an separat Method. + Switched the ResultContainer from Array to Collection + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: + Added the Output-Variante for generating Statistics + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * pom.xml Edited: + Added Link to Apache-Commons-Math to get the required Classes for the calculation + of Statistics. + * src/main/java/de/intevation/gnv/statistics/exception/StatisticsException.java Added: + Specified ExceptionClass for the Statistics Part of the gnv-artifacts + * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Edited: + Remove compileErrors and switch to new Datastructure + +2009-09-28 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/statistics/Statistic.java Added , + src/main/java/de/intevation/gnv/statistics/Statistics.java Added , + src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Added: + Imported Statistics-Classes from old Project. Revision: 3101 Does not compile + +2009-09-25 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/conf.xml Edited: + Added with and height Inputparameter to each Chart-OutputMode. + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: + Added the usage of the Parameters revieved from the client for the ChartRendering + + * src/main/java/de/intevation/gnv/transition/DefaultInputValue.java (DefaultInputValue) (getDefaultValue) Edited , + src/main/java/de/intevation/gnv/transition/InputValue.java (getDefaultValue) Edited: + Added the Method getDefaultValue to the Interface for getting the + deafultvalue of an Parameter. + + * src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java Edited, + src/main/java/de/intevation/gnv/transition/OutputMode.java (getInputParameters) Edited: + Added the Method getInputParameters to the OutputMode for Handling the required Parameters + of an OutputMode. + + * src/main/java/de/intevation/gnv/transition/OutputTransition.java (out) Edited: + Put the InputParameter recived from the Client to the Methodsignature so that + they can be used during the outputprocessing. + + * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: + Read rquired Outputparameters from the Configuration + + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Added support for Parameters in OutputNode of Describe-Artifact + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * pom.xml Edited: + Added Library for CSV-Support + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: + Add support for CSV-Export + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (out) Edited: + Add Fag on Context for storing the Artifact status after out. + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createSuccessReport) Edited: + Added a centraL Method for creating an Successreoprt. + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, + src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited: + Add ResultReporting to the different Metshods of an Artifact + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Edited: + Obsolet TODOs removed + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, + src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, + src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: + Create Exception Report added + * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createExceptionReport) Edited: + Method for creating Exceptionreports added. + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Queries formatted so that they can be analysed and extended easier. + Some Bugs removed + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Edited, + src/main/java/de/intevation/gnv/chart/ChartLabels.java Edited, + src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: + Removed obsolet Parameters an Methods. + Use the ChartLable to put the DomainAxisLable into the Chart. + + * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: + Some more Loggingoutput integrated. + Some Performanceimprovements done. The ResultData will only be refreshed if + the InputValues has changed. + Some Refactoring Work done. Move some Members into from extending Classes + into this implementation. + * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Edited, + src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited: + Dummywerte für Diagrammgenerierung durch Echtwerte ersetzt. + Obsolete Übergabeparameter entfernt. + +2009-09-23 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Statements for InstantaneousPoint Vertical Profiles added + * src/test/ressources/conf.xml Edited: + Configuration for Vertikal Profiles for InstantaneousPoints added + * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileInstantaneousPointArtifact.java (VerticalProfileInstantaneousPointArtifact) Added: + New Artifact-Class Reperesenting Artifacts for InstantaneousPoints Creating VerticalProfiles added. + +2009-09-23 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (prepareInputData4DateDBQuery) Edited: + Bug Fixed, now all Inputvalues of String and Date will be put into the Query + +2009-09-23 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (createXYSeries) Edited: + Bug fixed. Now all Values will be Renderd to the Chart + * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileMeshArtifact.java Added: + Artifact-class for VerticalProfile Mesh added + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: + Support for StringQuieries and OracleDateQueries added + * src/test/ressources/queries.properties Edited: + Queries for VerticalProfile Mesh integrated + * src/test/ressources/conf.xml Edited: + Artifact for VerticalProfile Mesh integrated + +2009-09-22 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Added Queries for the Workfloe of collecting the + required Information to generate a vertical Profile + * src/test/ressources/conf.xml Edited: + Added the Configuration of the VerticalProfileArtifact + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (getCollection) Edited: + Some Codrefactoring done for reuse of Functionality in extended Classes. + * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Added: + Outputtransition for the Support of VerticalPropfiles + * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java (getKey), + src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java (getKey) Edietd, + src/main/java/de/intevation/gnv/transition/TransitionBase.java (purifyResult) Edited: + Change KEY-Attribute of KeyValueDescribeData from Integer to String for the required + Representation of Date-KeyValue-Pairs + * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java Added: + ArtifactClass for the representation of VerticalProfiles + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createSelectBox) Edited: + Added support for selected Products in static UI. + * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Added: + Factory for producing VerticalCharts added. + * src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: + Names of Getter for Columns Changed. + +2009-09-21 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/queries.properties Edited: + Queryie for TimeSeriesMesh added. + * src/test/ressources/conf.xml Edited: + New Artifact representing the TimeSeries-Mesh added to the Configuration. + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited: + Inputdata for the Chartgeneration will now be allocated by name and not by position in Transitionorder. + * src/main/java/de/intevation/gnv/transition/describedata/SingleValueDescribeData.java Added, + src/main/java/de/intevation/gnv/transition/describedata/DefaultSingleValueDescribeData.java Added, + src/main/java/de/intevation/gnv/transition/SingleInputTransition.java Added: + New Class for Representing a single Input Transition + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: + Added support of usage inputValues none or multiple times in Queries. + Added support for SingleInputTransitions in Describe-Output + * src/main/java/de/intevation/gnv/transition/InputValue.java Edited, + src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Edited: + An InputValue now is possible to use none or multiple times in Queries. + * src/main/java/de/intevation/gnv/timeseries/TimeSeriesMeshArtifact.java Added: + ArtifactClass for the Representation of an Mesh-Timeseries-Artifact + +2009-09-17 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/conf.xml Edited: + Database Cleanup Interval set to 5 minutes. + +2009-09-17 Tim Englich <tim.englich@intevation.de> + * src/test/ressources/conf.xml Edited: + Some structurechanges done. + + * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Edited: + Fixed Bug supporting UTF-8 Documents properly. + * src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Edited, + * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Edited, + Added Methods for setting and getting the selection-state of this objects. + + * src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java Edited, + src/main/java/de/intevation/gnv/transition/describedata/MinMaxDescribeData.java Edited: + Added setter for min an max-Values and getters an setters for minName and maxName + + * src/main/java/de/intevation/gnv/transition/describedata/NamedCollection.java Added, + src/main/java/de/intevation/gnv/transition/describedata/NamedArrayList.java Added: + Collection ans an Implementation of this Collection for Storing Name of the Collection and if + the Values in it are multiselectable. + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java : + Static UI-Support and valid SelectionStorage added. + I added also an imporvement of the multiselect Methods for Datasets + * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java Edited: + Storage of changed Values added + + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited: + Static UI Support Added + + +2009-09-16 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/conf.xml Edited, + src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited, + src/main/java/de/intevation/gnv/transition/InputValue.java (isMultiselect) Edited, + src/main/java/de/intevation/gnv/transition/InputData.java (concartValue) Edited, + src/main/java/de/intevation/gnv/transition/DefaultInputValue.java (isMultiselect) Edited, + src/main/java/de/intevation/gnv/transition/DefaultInputData.java (concartValue)Edited, + src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createUserInterface) Edited, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (parseInputData) Edited: + Added Multiselectsupport for InputValues + +2009-09-16 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (setup) Edited: + Bug Fixed because of Infrastructure Changes in the Artifact-Module + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: + Put only the last DescribeData to the UI-Output bnecause auf Renderingproblems in the Client + + * src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Edited, + src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java Edited, + src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Edited: + Made Interface Serializable, add UIDs to the Implementations of the Interface + +2009-09-15 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createUserInterface) Edited: + Integrate UI-Representation for Describe into the FISArtifact. + * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createXFormElement) Refactoring, + src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Refactoring: + Extract the Element-Creation of XForms Nodes into a Common Class to make them available for + other Classes which have to create XForm-Fragments + +2009-09-14 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/Transition.java Edited, + src/main/java/de/intevation/gnv/transition/InputData.java Edited, + src/main/java/de/intevation/gnv/transition/OutputMode.java Edited, + src/main/java/de/intevation/gnv/transition/InputValue.java Edited, + src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java Edited, + src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Edited, + src/main/java/de/intevation/gnv/transition/describedata/DescribeData.java Edited: + Make the Interfaces Serializable to make them usable in the Artifactdatabase + +2009-09-14 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, + src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited, + src/main/java/de/intevation/gnv/transition/OutputTransition.java Edited , + src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, + src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Refactoring Work depending on Infrastructurchanges in the Artifact-Module + +2009-09-10 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, + src/test/ressources/timeseries/timeseries_step_01_feed.xml Edited, + src/test/ressources/timeseries/timeseries_step_01_advance.xml Edited, + src/test/ressources/conf.xml Edited: + TestCase moced from TimeSeriesArtifact to FISArtifact. Used FIS: Marnet + +2009-09-10 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Added: + Utilities-Class for some XML-Stuff that is only for gnv-artifacts + + * src/main/java/de/intevation/gnv/utils/ArtifactFactoryUtilities.java Added: + Factory to Instantiiate an ArtifactFactory (TODO: Should be moved to Artifact-database) + + * src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java Added, + src/main/java/de/intevation/gnv/artifacts/fis/product/DefaultProduct.java Added: + Interfcaedefinition and Defaultimplementation for the Representation of the different + Products in an FIS. + + * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Added: + Artifact to Repersent an FIS. This Artifact is able to switch between different + SubArtifacts for handling the different Products of an FIS. + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Refactoring Work done because of changes in the artifact-modules + +2009-09-10 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, + src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited: + Refactoringwork done because of changes in the artifact-module + +2009-09-10 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: + src/test/ressources/conf.xml Renamed: + Project Structure changed in artifact-database. So we have to rename + the Testconfigurationfile in conf.xml. + + * src/test/ressources/results Added: + Integrated Folder for temporal storing Resultfiles of the TestCases + + * src/test/ressources/queries.properties Edited: + Further Queries for Testcases integrated + * src/test/ressources/timeseries/timeseries_step_05_out.xml Added, + src/test/ressources/timeseries/timeseries_step_05_feed.xml Added: + Integrated the last step of the TimeSeries-Workflow. + Now the TestCase is able to render Charts. + + * src/test/ressources/timeseries/timeseries_step_04_feed.xml Edited, + src/test/ressources/timeseries/timeseries_step_03_feed.xml Edited: + Names of the feed-Parametes changed to the Syntax of BSH-Spelling + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java: + Chart Rendering completed with some Fixes to do + * src/main/java/de/intevation/gnv/transition/TransitionBase.java: + Integrated usage of KeyValueDescibeData + * src/main/java/de/intevation/gnv/transition/OutputTransition.java (getOutputModes): + Errorhandling integrated + * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Refactored out-Method from Extending Class + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/exception/TechnicalChartException.java Added, + src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: + Refactoring of the ChartFactory so that it colud be use and it is possible to compile + this class. + + * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Added, + src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Added: + Added an new Representation of Describedata for Key Value Pairs using for the Parameter Lists + of the Transitions an put it into the Chartgeneration + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * pom.xml Edited: + Added JfreeChart Dependency to pom-file + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/chart/Insets.java Added, + src/main/java/de/intevation/gnv/chart/ChartStyle.java Added, + src/main/java/de/intevation/gnv/chart/ChartLabels.java Added, + src/main/java/de/intevation/gnv/chart/ChartFactory.java Added: + Insert Chart-Classes from OLD-Repository Revision: 3101 Does not compile + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Added: + The specifed OutputTransition for the Product TimeSeries. + + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Integration of the OutputModes in the DescriberesultDocument. + + * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Added, + src/main/java/de/intevation/gnv/transition/OutputTransition.java Added: + The Interface and the abstract Basicimplementation of an Transition which + can produce different outputs. + + * src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java Added, + src/main/java/de/intevation/gnv/transition/OutputMode.java Added: + Interfacestructur and Defaultimplementation for the Representation of the + Different OutputModes given in an Artifact. + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited: + Changed DateoutputFormat from German- to Anericanstyle + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/timeseries/timeseries_step_04_feed.xml Added, + * src/test/ressources/timeseries/timeseries_step_04_advance.xml Added: + Two more ArtifactCommands for the next Step in TimeSeriesArtifactTestCase + * src/test/ressources/queries.properties Edited: + New Queries for timeseries_timeinterval added. + Also use KEY ,VALUE, MIN and MAX as Identifiers for the different Columns. + * src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited, + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: + Modified the TimeseriesArtifact and added one further TransitionStep + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java , + * src/main/java/de/intevation/gnv/transition/describedata/MinMaxDescribeData.java, + * src/main/java/de/intevation/gnv/transition/describedata/DescribeData.java Added: + Interface Structure and Defaultimplementation for Representing DescribeData of an + Transition added. In this Way we are able to switch between different Renderingmethods + for descibe. + * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java Added: + Added MinMaxTransition for representing Min-/Max-Value Results in a Tansition + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: + Integrated Min- / MAX-Value Support for Describe. Also done some Refactoring Work + for easy creating Extensions of this Class. + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Userinterface Informations were integrated in the wrong Method. Now the + Informations are put into the ui-Node + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/timeseries/timeseries_step_01_advance.xml Edited, + src/test/ressources/timeseries/timeseries_step_01_feed.xml Edited, + src/test/ressources/timeseries/timeseries_step_02_advance.xml Added, + src/test/ressources/timeseries/timeseries_step_02_feed.xml Added, + src/test/ressources/timeseries/timeseries_step_03_advance.xml Added, + src/test/ressources/timeseries/timeseries_step_03_feed.xml Added, + src/test/ressources/GNVArtifactsTestCase_Configuration.xml: Edited, + src/test/ressources/queries.properties Added, + src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: + TestCase implemented until Choosing the TimeInetval of an TimeSeries + + One Entry is Missing + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, + src/main/java/de/intevation/gnv/transition/Transition.java Edited, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, + src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, + src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited, + src/test/ressources/timeseries/timeseries_step_01_feed.xml Added , + src/test/ressources/timeseries/timeseries_step_01_advance.xml Added : + Artifact.advance initial implementiert + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, + src/main/java/de/intevation/gnv/transition/DefaultInputData.java Added, + src/main/java/de/intevation/gnv/transition/InputData.java Added, + src/main/java/de/intevation/gnv/transition/exception/TransitionException.java Added, + src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, + src/main/java/de/intevation/gnv/transition/Transition.java Edited, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: + Funktionalität Feed initial bereitgestellt. + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java, + src/main/java/de/intevation/gnv/transition/TransitionBase.java, + src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Edited: + Required Inputelements integrated in BasicArtifact-Descibe-Output + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Added, + src/main/java/de/intevation/gnv/transition/InputValue.java Added, + src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, + src/main/java/de/intevation/gnv/transition/Transition.java Edited, + src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited: + Constructs for the required Inputvalues for an Transition created + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java, + * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java:, + * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: Edited + Added Output for Describe to the Artifactimplementation + +2009-09-08 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, + src/main/java/de/intevation/gnv/transition/Transition.java (getDescription), + src/main/java/de/intevation/gnv/transition/TransitionBase.java (setup), (getDescription): + Added Description to a Transition + +2009-09-07 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, + src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java: ADD + TestClass for GNV-Artifacts an TimeSeriesArtifacs + + * src/main/java/de/intevation/gnv/transition/TransitionFactory.java, + src/main/java/de/intevation/gnv/transition/TransitionBase.java, + src/main/java/de/intevation/gnv/transition/Transition.java, + src/main/java/de/intevation/gnv/transition/DefaultTransition.java: ADD + Transitionimplementation for handling the substeps of an Artifact Livecycle + + * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java: ADD + The Artifact for handling the TimeSeries + * src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java, + src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContext.java, + src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: + The Basic-Classes for providing GNC Artifacts. this Classes should be the Fundament + for the Implementation of Specialized Artifacts e.g. TimeSeries + * pom: Edited Projectreferences to the other GNV-Projects added + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/artifacts/ArtifactFactoryBase.java: + Implementation of the General ArtifactFactory + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * pom.xml: Created with maven and put the Moduledependencies into it + * target | .settings | .project | .classpath: Add to SVN-Ignore + * Changes | Changelog | NEWS | README | TODO: Added + * src/**: Added to the Project
--- a/gnv-artifacts/Changelog Tue Oct 06 10:58:47 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,818 +0,0 @@ -2009-10-06 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Bugfix in Query for getting Data for the Output. - Now the Values will be sorted Correcly. Timevalue - has been removed from the Query because it is not a - Parameter which could be choosen from the User. - Also dummies for XCOORD-Value and YCOORD-Value integrated so - that is now Possible to visualize the Profile - gnv/issue21 - -2009-10-05 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages*.properties Edited: - Added further Ressourec Values. - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileInstantaneousPointArtifact) Edited: - Changed ArtifactName to real FIS. - * src/test/ressources/timeseries_mesh/timeseries_step_01_feed.xml Edited: - Changed Product-Name from timeSeriesMesh to timeSeries to provide a General-Naming-Structure - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (setup) Edited, - src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java Edited, - src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Edited: - Added Configurationsupport for the Labeling Data. Now it is possible do define the - value-names in the Configurationfile. - * src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_03_feed.xml Edited, - src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_02_feed.xml Edited, - src/test/ressources/queries.properties Edited: - Changed the Queries for the VerticalProfileInstantaneusPoint to the FIS-Query Mode. - This Mode was send by Mr. Schulz-Ohlberg. - * src/test/ressources/conf.xml: - Changed the Workflow for the VerticalProfileInstantaneusPoint to the FIS-Query Mode. - This Mode was send by Mr. Schulz-Ohlberg. - Also Added the support for value-names to the Configuration of VerticalProfileInstantaneusPoint. - -2009-10-05 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_en.properties Renamed: - Renamed from artifactMessages_en_EN.properties to artifactMessages_en.properties to get a - propper support for PreferedLocale - * src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java (getRessource) Edited, - * src/test/java/de/intevation/gnv/artifacts/ressource/RessourceFactoryTestCase.java (setUp) Edited, - * src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited, - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createSelectBox) Edited: - Changed Method Signature from Locale to PreferedLocale[] to put all Useable Languages to - the RessourceFactory - -2009-10-02 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/ressource/RessourceFactoryTestCase.java Added: - TestCase for Testing the RessourceFactory - - * src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages*.properties Added, - src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java Added: - Added Factory and Propertiesfiles for getting the localized Values - - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited, - src/main/java/de/intevation/gnv/transition/profile/horizontal/NorthSouthEastWestTransition.java Edited, - src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, - src/main/java/de/intevation/gnv/transition/Transition.java Edited, - src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited, - src/main/java/de/intevation/gnv/transition/OutputTransition.java Edited, - src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, - src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java Edited, - src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileArtifact.java Edited, - src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - LanguageSupport Integrated - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (createCallContext) Edited: - Extracted Method and Put CallMeta with Language German to the CallContext. Otherwise - TestCase will produce NPEs. - * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Edited: - Added Real CallMeta to the Method for usage in Artifacts. Otherwise - TestCase will produce NPEs. - * src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_02_feed.xml Edited, - src/test/ressources/timeseries_mesh/timeseries_step_02_feed.xml Edited, - src/test/ressources/verticalprofile_mesh/verticalprofile_step_02_feed.xml Edited, - src/test/ressources/conf.xml Edited: - Changed som Identifiers for Localisation. - -2009-10-02 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/conf.xml Edited: - Added the Configuration of the Horizontal-Profile.Mesh. - Also Edited the Workflowq for HorizontalProfile-Instantaneouspoint and - Put three n ew FIS into the Configuration which represents HorizontalProfile-Instantaneouspoint. - * src/test/ressources/horizontalProfile_instantaneouspoint/*.xml Edited, - src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileInstantaneousPointArtifact) Edited: - Edited the Workflowlogic given by new Specification of the BSH. - * src/test/ressources/horizontalProfile_mesh/*.xml Added: - The Request for do an Workflow for an HorizontalProfile-Mesh - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileMeshPointArtifact) Edited: - Added TestCase for HorizontalProfiles of Type Mesh. - * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java (getMeta) Edited: - Added new Method which is defined in the implemented Interface. - * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: - Added the Validation of InputValues from Type AttributeName which should represent - an QueryValue of Type String which must not put into "'". - * src/main/java/de/intevation/gnv/transition/profile/horizontal/NorthSouthEastWestTransition.java Added: - Transition to provide the possibility of choosing the axis of an Grid that should be used. - * src/main/java/de/intevation/gnv/transition/TransitionBase.java (dataMultiSelect) Edited: - Changed from private to protected so that this mMeber could be accessed by within extending Classes. - * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileMeshArtifact.java Added: - Class for the Representation of Horizontal Profiles for the Type Mesh. - * src/main/java/de/intevation/gnv/chart/HorizontalProfileChartFactory.java (HorizontalProfileChartFactory) Edited: - Changed PlotOrientation so that the Profile is displayed correctly. - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (advance) Edited: - Added Log-Message for better Workflowanalyzis. - -2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java, - src/main/java/de/intevation/gnv/utils/ArtifactFactoryUtilities.java, - src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java, - src/main/java/de/intevation/gnv/transition/MinMaxTransition.java, - src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java, - src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java: - Removed needless imports. - - * src/main/java/de/intevation/gnv/utils/InputValidator.java: - Import org.apache.commons.validator.GenericValidator instead of - absolute usage in methods. - -2009-09-30 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Added the Queries for HorizontalProfiles of InstantaneousPoints. - * src/test/ressources/conf.xml Edited: - Added the Configuration for HorizontalProfilArtifact for InstantaneousPoints - * src/test/ressources/horizontalProfile_instantaneouspoint/*.xml Added: - Added XML-Requests for the TestCase of HorizontalProfiles of InstantaneousPoints. - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testHorizontalProfileInstantaneousPointArtifact) Edited: - Added TestCase for HorizontalProfiles of InstantaneousPoints. - -2009-09-30 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: - Added the Validation for Double-Values. - * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (createChart) Edited: - The Name of the Method for generaing Charts has changed. - * src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java Added: - New outputTransition for HorizontalProfiles - * src/main/java/de/intevation/gnv/statistics/HorizontalProfileStatistics.java Added: - Class which calculates the Statistics for Horizontal Profiles. - * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileInstantaneousPointArtifact.java Added, - * src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileArtifact.java Added: - Classes which represents HorizontalProfileArtifacts - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (plotOrientation) Edited: - Added Member for the representation of the Plotorientation to overwrite it in - extende Classes - Rename Method for generatim the Charts in a common Name. - * src/main/java/de/intevation/gnv/chart/HorizontalProfileChartFactory.java Added: - Class for drawing Horzontal Profiles - -2009-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> - - * src/test/ressources/conf.xml: s@test/xml@text/xml@g - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (doNextStep) Edited: - Add Responsevalidation for feed-Requests. - * pom.xml Edited: - Add required Library ORO to the Dependencies which is required by Commons-Validator - to do matchRegexp Requests. - * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: - Add a Validator for the type Point - * src/test/ressources/conf.xml Edited: - Changed mesh_coordinate from type Integer to type Point - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (findValueTitle): - Key of KeyValueDescribeData is a String. So it is not nessessary to parse the - id into an Integer Value. - Also some NP-Access removed. - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: - Some Coderedundances refactored. - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Bug fixed: Mesh TimeSeries will now Handle Charts with multiple Depth-Values properly. - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/timeseries_mesh/*.xml Added : - TestCaseRequests for Timeseries FIS Mesh - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testTimeSeriesMeshArtifact) Edited: - Add Testcase for Timeseries Mesh - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (check4ExceptionReport) edited: - ExceptionTest for Responsdocuments added. - UnitTest will now fail if the Artifact delivers an ExceptionReport using the advance Request. - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileMeshArtifact) Edited: - Added TestCase for Vertical Profiles for Mesh - * src/test/ressources/verticalprofile_mesh/*.xml Added: - TestCaseRequests for VerticalProfile FIS Mesh - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/utils/InputValidator.java (isInputValid) Edited: - Bugfix: Remove leading- and trailingwhitspaces from Date- and Integervalues - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testVerticalProfileArtifact): - (testVerticalProfileInstantaneousPointArtifact) Edited: - Added Testcases for VerticalProfile and VerticalProfile Instantaneouspoint - * src/test/ressources/verticalprofile_instantaneouspoint/*.xml Added: - TestCaseRequests for VerticalProfile Instantaneouspoint - * src/test/ressources/verticalprofile/*.xml Added: - TestCaseRequests for VerticalProfile FIS Marnet - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Remove to_date from TimeSeries-Quueries becaus of Changes in the conf.xml-File - * src/test/ressources/conf.xml Edited: - Correct Types for min- and max-Values from Integer to Date - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java (testTimeSeriesArtifact) Edited: - Add CallContext to the Tests. - * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Add: - A CallContext used only in Junit-Tests - -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * pom.xml Edited: - Added the dependency to Apache-Commons-Validator Version 1.3.1 which is - used for the InputValoue-validation. - * src/main/java/de/intevation/gnv/utils/InputValidator.java Added : - An InputValidator for Validating InputValues. - At this Moment only Integer, String and Date is supported. - * src/main/java/de/intevation/gnv/transition/TransitionBase.java (putInputData) Edited: - Add the InputValidator to validate the incomming Values from the Clients. - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/ChartFactory.java (createTimeSeries) Edited: - Performanceimprovement: The Loop will be interrupted if the Pointer is bigger than the - last Pointer of the Value that must be visualised. - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * pom.xml Edited: - Added the Dependeny to the ehcache-Library - * src/test/ressources/ehcache.xml Added: - The ehcache-Configuration. - * src/test/ressources/conf.xml Edited: - Added the Link to the ehcache-Configuration. - * src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java (createArtifactContext) Edited: - Added the Initialisation of the CacheManager. - - * src/main/java/de/intevation/gnv/artifacts/cache/CacheFactory.java Added: - An Fractoryimplementation for the central access to the Cache. - - * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java (purifyResult) Edited, - * src/main/java/de/intevation/gnv/transition/SingleInputTransition.java (purifyResult) Edited, - * src/main/java/de/intevation/gnv/transition/Transition.java Edited, - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Signature of Methods purifyResults, advanced and feed Changed to put the uuid to the Transition - * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (createChart) Edited: - Methodsignatur of getChartResult change for putting the uuid of an Artifact into it - * src/main/java/de/intevation/gnv/transition/OutputTransition.java (out) Edited, - src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: - Method Signature Changed for putting the uuid of an Artifact to the Transition. - stored - * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: - removed the persitence of the Chartresults and put them into an Cache instance. - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (getStatisticsGenerator) Edited: - Extracted the Instantiation of the Statistics-object to an protected Methode - to make it possible that extending Classes could change it. - * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java (getStatisticsGenerator) Edited: - Overwrite getStatisticsGenerator to instantiate the VerticalProfileStatistics- - * src/main/java/de/intevation/gnv/statistics/VerticalProfileStatistics.java Added: - Class for Calculating Statistics for VerticalProfiles- The Only thing whisch differs to - TimeSeriesStatists is that the XoordinateValue is an double and not an Date-Value - * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java (calculateXOrdinateValue) Edited: - Added the Methode calculateXOrdinateValue to this Class to switch is Values in extending Classes. - * src/main/java/de/intevation/gnv/statistics/Statistics.java (calculateStatistics) Edited: - Added methodsignature to Interface for usage in different Implementations of Statistics. - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java (calculateStatistics) Edited: - Bug fixed. Now all Values will be used to calculate the Statistics - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/conf.xml Edited : - Changed the Output-format of Statistics from text/plain to text/xml. - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Edited: - Moved the calculating-Methods from the Conmstructor to an separat Method. - Switched the ResultContainer from Array to Collection - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: - Added the Output-Variante for generating Statistics - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * pom.xml Edited: - Added Link to Apache-Commons-Math to get the required Classes for the calculation - of Statistics. - * src/main/java/de/intevation/gnv/statistics/exception/StatisticsException.java Added: - Specified ExceptionClass for the Statistics Part of the gnv-artifacts - * src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Edited: - Remove compileErrors and switch to new Datastructure - -2009-09-28 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/statistics/Statistic.java Added , - src/main/java/de/intevation/gnv/statistics/Statistics.java Added , - src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Added: - Imported Statistics-Classes from old Project. Revision: 3101 Does not compile - -2009-09-25 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/conf.xml Edited: - Added with and height Inputparameter to each Chart-OutputMode. - - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: - Added the usage of the Parameters revieved from the client for the ChartRendering - - * src/main/java/de/intevation/gnv/transition/DefaultInputValue.java (DefaultInputValue) (getDefaultValue) Edited , - src/main/java/de/intevation/gnv/transition/InputValue.java (getDefaultValue) Edited: - Added the Method getDefaultValue to the Interface for getting the - deafultvalue of an Parameter. - - * src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java Edited, - src/main/java/de/intevation/gnv/transition/OutputMode.java (getInputParameters) Edited: - Added the Method getInputParameters to the OutputMode for Handling the required Parameters - of an OutputMode. - - * src/main/java/de/intevation/gnv/transition/OutputTransition.java (out) Edited: - Put the InputParameter recived from the Client to the Methodsignature so that - they can be used during the outputprocessing. - - * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: - Read rquired Outputparameters from the Configuration - - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Added support for Parameters in OutputNode of Describe-Artifact - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * pom.xml Edited: - Added Library for CSV-Support - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (out) Edited: - Add support for CSV-Export - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (out) Edited: - Add Fag on Context for storing the Artifact status after out. - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createSuccessReport) Edited: - Added a centraL Method for creating an Successreoprt. - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, - src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited: - Add ResultReporting to the different Metshods of an Artifact - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Edited: - Obsolet TODOs removed - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, - src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, - src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: - Create Exception Report added - * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createExceptionReport) Edited: - Method for creating Exceptionreports added. - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Queries formatted so that they can be analysed and extended easier. - Some Bugs removed - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Edited, - src/main/java/de/intevation/gnv/chart/ChartLabels.java Edited, - src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: - Removed obsolet Parameters an Methods. - Use the ChartLable to put the DomainAxisLable into the Chart. - - * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Edited: - Some more Loggingoutput integrated. - Some Performanceimprovements done. The ResultData will only be refreshed if - the InputValues has changed. - Some Refactoring Work done. Move some Members into from extending Classes - into this implementation. - * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Edited, - src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited: - Dummywerte für Diagrammgenerierung durch Echtwerte ersetzt. - Obsolete Übergabeparameter entfernt. - -2009-09-23 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Statements for InstantaneousPoint Vertical Profiles added - * src/test/ressources/conf.xml Edited: - Configuration for Vertikal Profiles for InstantaneousPoints added - * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileInstantaneousPointArtifact.java (VerticalProfileInstantaneousPointArtifact) Added: - New Artifact-Class Reperesenting Artifacts for InstantaneousPoints Creating VerticalProfiles added. - -2009-09-23 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/TransitionBase.java (prepareInputData4DateDBQuery) Edited: - Bug Fixed, now all Inputvalues of String and Date will be put into the Query - -2009-09-23 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (createXYSeries) Edited: - Bug fixed. Now all Values will be Renderd to the Chart - * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileMeshArtifact.java Added: - Artifact-class for VerticalProfile Mesh added - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: - Support for StringQuieries and OracleDateQueries added - * src/test/ressources/queries.properties Edited: - Queries for VerticalProfile Mesh integrated - * src/test/ressources/conf.xml Edited: - Artifact for VerticalProfile Mesh integrated - -2009-09-22 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Added Queries for the Workfloe of collecting the - required Information to generate a vertical Profile - * src/test/ressources/conf.xml Edited: - Added the Configuration of the VerticalProfileArtifact - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java (getCollection) Edited: - Some Codrefactoring done for reuse of Functionality in extended Classes. - * src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java Added: - Outputtransition for the Support of VerticalPropfiles - * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java (getKey), - src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java (getKey) Edietd, - src/main/java/de/intevation/gnv/transition/TransitionBase.java (purifyResult) Edited: - Change KEY-Attribute of KeyValueDescribeData from Integer to String for the required - Representation of Date-KeyValue-Pairs - * src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java Added: - ArtifactClass for the representation of VerticalProfiles - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createSelectBox) Edited: - Added support for selected Products in static UI. - * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java Added: - Factory for producing VerticalCharts added. - * src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: - Names of Getter for Columns Changed. - -2009-09-21 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/queries.properties Edited: - Queryie for TimeSeriesMesh added. - * src/test/ressources/conf.xml Edited: - New Artifact representing the TimeSeries-Mesh added to the Configuration. - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited: - Inputdata for the Chartgeneration will now be allocated by name and not by position in Transitionorder. - * src/main/java/de/intevation/gnv/transition/describedata/SingleValueDescribeData.java Added, - src/main/java/de/intevation/gnv/transition/describedata/DefaultSingleValueDescribeData.java Added, - src/main/java/de/intevation/gnv/transition/SingleInputTransition.java Added: - New Class for Representing a single Input Transition - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: - Added support of usage inputValues none or multiple times in Queries. - Added support for SingleInputTransitions in Describe-Output - * src/main/java/de/intevation/gnv/transition/InputValue.java Edited, - src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Edited: - An InputValue now is possible to use none or multiple times in Queries. - * src/main/java/de/intevation/gnv/timeseries/TimeSeriesMeshArtifact.java Added: - ArtifactClass for the Representation of an Mesh-Timeseries-Artifact - -2009-09-17 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/conf.xml Edited: - Database Cleanup Interval set to 5 minutes. - -2009-09-17 Tim Englich <tim.englich@intevation.de> - * src/test/ressources/conf.xml Edited: - Some structurechanges done. - - * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Edited: - Fixed Bug supporting UTF-8 Documents properly. - * src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Edited, - * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Edited, - Added Methods for setting and getting the selection-state of this objects. - - * src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java Edited, - src/main/java/de/intevation/gnv/transition/describedata/MinMaxDescribeData.java Edited: - Added setter for min an max-Values and getters an setters for minName and maxName - - * src/main/java/de/intevation/gnv/transition/describedata/NamedCollection.java Added, - src/main/java/de/intevation/gnv/transition/describedata/NamedArrayList.java Added: - Collection ans an Implementation of this Collection for Storing Name of the Collection and if - the Values in it are multiselectable. - - * src/main/java/de/intevation/gnv/transition/TransitionBase.java : - Static UI-Support and valid SelectionStorage added. - I added also an imporvement of the multiselect Methods for Datasets - * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java Edited: - Storage of changed Values added - - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited: - Static UI Support Added - - -2009-09-16 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/conf.xml Edited, - src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited, - src/main/java/de/intevation/gnv/transition/InputValue.java (isMultiselect) Edited, - src/main/java/de/intevation/gnv/transition/InputData.java (concartValue) Edited, - src/main/java/de/intevation/gnv/transition/DefaultInputValue.java (isMultiselect) Edited, - src/main/java/de/intevation/gnv/transition/DefaultInputData.java (concartValue)Edited, - src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createUserInterface) Edited, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (parseInputData) Edited: - Added Multiselectsupport for InputValues - -2009-09-16 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java (setup) Edited: - Bug Fixed because of Infrastructure Changes in the Artifact-Module - - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: - Put only the last DescribeData to the UI-Output bnecause auf Renderingproblems in the Client - - * src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Edited, - src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java Edited, - src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Edited: - Made Interface Serializable, add UIDs to the Implementations of the Interface - -2009-09-15 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java (createUserInterface) Edited: - Integrate UI-Representation for Describe into the FISArtifact. - * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java (createXFormElement) Refactoring, - src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Refactoring: - Extract the Element-Creation of XForms Nodes into a Common Class to make them available for - other Classes which have to create XForm-Fragments - -2009-09-14 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/Transition.java Edited, - src/main/java/de/intevation/gnv/transition/InputData.java Edited, - src/main/java/de/intevation/gnv/transition/OutputMode.java Edited, - src/main/java/de/intevation/gnv/transition/InputValue.java Edited, - src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java Edited, - src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Edited, - src/main/java/de/intevation/gnv/transition/describedata/DescribeData.java Edited: - Make the Interfaces Serializable to make them usable in the Artifactdatabase - -2009-09-14 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, - src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Edited, - src/main/java/de/intevation/gnv/transition/OutputTransition.java Edited , - src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, - src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Edited, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Refactoring Work depending on Infrastructurchanges in the Artifact-Module - -2009-09-10 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, - src/test/ressources/timeseries/timeseries_step_01_feed.xml Edited, - src/test/ressources/timeseries/timeseries_step_01_advance.xml Edited, - src/test/ressources/conf.xml Edited: - TestCase moced from TimeSeriesArtifact to FISArtifact. Used FIS: Marnet - -2009-09-10 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Added: - Utilities-Class for some XML-Stuff that is only for gnv-artifacts - - * src/main/java/de/intevation/gnv/utils/ArtifactFactoryUtilities.java Added: - Factory to Instantiiate an ArtifactFactory (TODO: Should be moved to Artifact-database) - - * src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java Added, - src/main/java/de/intevation/gnv/artifacts/fis/product/DefaultProduct.java Added: - Interfcaedefinition and Defaultimplementation for the Representation of the different - Products in an FIS. - - * src/main/java/de/intevation/gnv/artifacts/fis/FISArtifact.java Added: - Artifact to Repersent an FIS. This Artifact is able to switch between different - SubArtifacts for handling the different Products of an FIS. - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Refactoring Work done because of changes in the artifact-modules - -2009-09-10 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, - src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited: - Refactoringwork done because of changes in the artifact-module - -2009-09-10 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: - src/test/ressources/conf.xml Renamed: - Project Structure changed in artifact-database. So we have to rename - the Testconfigurationfile in conf.xml. - - * src/test/ressources/results Added: - Integrated Folder for temporal storing Resultfiles of the TestCases - - * src/test/ressources/queries.properties Edited: - Further Queries for Testcases integrated - * src/test/ressources/timeseries/timeseries_step_05_out.xml Added, - src/test/ressources/timeseries/timeseries_step_05_feed.xml Added: - Integrated the last step of the TimeSeries-Workflow. - Now the TestCase is able to render Charts. - - * src/test/ressources/timeseries/timeseries_step_04_feed.xml Edited, - src/test/ressources/timeseries/timeseries_step_03_feed.xml Edited: - Names of the feed-Parametes changed to the Syntax of BSH-Spelling - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java: - Chart Rendering completed with some Fixes to do - * src/main/java/de/intevation/gnv/transition/TransitionBase.java: - Integrated usage of KeyValueDescibeData - * src/main/java/de/intevation/gnv/transition/OutputTransition.java (getOutputModes): - Errorhandling integrated - * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Refactored out-Method from Extending Class - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/exception/TechnicalChartException.java Added, - src/main/java/de/intevation/gnv/chart/ChartFactory.java Edited: - Refactoring of the ChartFactory so that it colud be use and it is possible to compile - this class. - - * src/main/java/de/intevation/gnv/transition/describedata/KeyValueDescibeData.java Added, - src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java Added: - Added an new Representation of Describedata for Key Value Pairs using for the Parameter Lists - of the Transitions an put it into the Chartgeneration - - - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * pom.xml Edited: - Added JfreeChart Dependency to pom-file - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/chart/Insets.java Added, - src/main/java/de/intevation/gnv/chart/ChartStyle.java Added, - src/main/java/de/intevation/gnv/chart/ChartLabels.java Added, - src/main/java/de/intevation/gnv/chart/ChartFactory.java Added: - Insert Chart-Classes from OLD-Repository Revision: 3101 Does not compile - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java Added: - The specifed OutputTransition for the Product TimeSeries. - - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Integration of the OutputModes in the DescriberesultDocument. - - * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Added, - src/main/java/de/intevation/gnv/transition/OutputTransition.java Added: - The Interface and the abstract Basicimplementation of an Transition which - can produce different outputs. - - * src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java Added, - src/main/java/de/intevation/gnv/transition/OutputMode.java Added: - Interfacestructur and Defaultimplementation for the Representation of the - Different OutputModes given in an Artifact. - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/TransitionBase.java (describe) Edited: - Changed DateoutputFormat from German- to Anericanstyle - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/timeseries/timeseries_step_04_feed.xml Added, - * src/test/ressources/timeseries/timeseries_step_04_advance.xml Added: - Two more ArtifactCommands for the next Step in TimeSeriesArtifactTestCase - * src/test/ressources/queries.properties Edited: - New Queries for timeseries_timeinterval added. - Also use KEY ,VALUE, MIN and MAX as Identifiers for the different Columns. - * src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited, - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: - Modified the TimeseriesArtifact and added one further TransitionStep - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java , - * src/main/java/de/intevation/gnv/transition/describedata/MinMaxDescribeData.java, - * src/main/java/de/intevation/gnv/transition/describedata/DescribeData.java Added: - Interface Structure and Defaultimplementation for Representing DescribeData of an - Transition added. In this Way we are able to switch between different Renderingmethods - for descibe. - * src/main/java/de/intevation/gnv/transition/MinMaxTransition.java Added: - Added MinMaxTransition for representing Min-/Max-Value Results in a Tansition - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited: - Integrated Min- / MAX-Value Support for Describe. Also done some Refactoring Work - for easy creating Extensions of this Class. - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Userinterface Informations were integrated in the wrong Method. Now the - Informations are put into the ui-Node - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/timeseries/timeseries_step_01_advance.xml Edited, - src/test/ressources/timeseries/timeseries_step_01_feed.xml Edited, - src/test/ressources/timeseries/timeseries_step_02_advance.xml Added, - src/test/ressources/timeseries/timeseries_step_02_feed.xml Added, - src/test/ressources/timeseries/timeseries_step_03_advance.xml Added, - src/test/ressources/timeseries/timeseries_step_03_feed.xml Added, - src/test/ressources/GNVArtifactsTestCase_Configuration.xml: Edited, - src/test/ressources/queries.properties Added, - src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited: - TestCase implemented until Choosing the TimeInetval of an TimeSeries - - One Entry is Missing - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, - src/main/java/de/intevation/gnv/transition/Transition.java Edited, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited, - src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Edited, - src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited, - src/test/ressources/timeseries/timeseries_step_01_feed.xml Added , - src/test/ressources/timeseries/timeseries_step_01_advance.xml Added : - Artifact.advance initial implementiert - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java Edited, - src/main/java/de/intevation/gnv/transition/DefaultInputData.java Added, - src/main/java/de/intevation/gnv/transition/InputData.java Added, - src/main/java/de/intevation/gnv/transition/exception/TransitionException.java Added, - src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, - src/main/java/de/intevation/gnv/transition/Transition.java Edited, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java Edited: - Funktionalität Feed initial bereitgestellt. - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java, - src/main/java/de/intevation/gnv/transition/TransitionBase.java, - src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Edited: - Required Inputelements integrated in BasicArtifact-Descibe-Output - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/transition/DefaultInputValue.java Added, - src/main/java/de/intevation/gnv/transition/InputValue.java Added, - src/main/java/de/intevation/gnv/transition/TransitionBase.java Edited, - src/main/java/de/intevation/gnv/transition/Transition.java Edited, - src/test/ressources/GNVArtifactsTestCase_Configuration.xml Edited: - Constructs for the required Inputvalues for an Transition created - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java, - * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java:, - * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: Edited - Added Output for Describe to the Artifactimplementation - -2009-09-08 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, - src/main/java/de/intevation/gnv/transition/Transition.java (getDescription), - src/main/java/de/intevation/gnv/transition/TransitionBase.java (setup), (getDescription): - Added Description to a Transition - -2009-09-07 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/GNVArtifactsTestCase_Configuration.xml, - src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java: ADD - TestClass for GNV-Artifacts an TimeSeriesArtifacs - - * src/main/java/de/intevation/gnv/transition/TransitionFactory.java, - src/main/java/de/intevation/gnv/transition/TransitionBase.java, - src/main/java/de/intevation/gnv/transition/Transition.java, - src/main/java/de/intevation/gnv/transition/DefaultTransition.java: ADD - Transitionimplementation for handling the substeps of an Artifact Livecycle - - * src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java: ADD - The Artifact for handling the TimeSeries - * src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java, - src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContext.java, - src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: - The Basic-Classes for providing GNC Artifacts. this Classes should be the Fundament - for the Implementation of Specialized Artifacts e.g. TimeSeries - * pom: Edited Projectreferences to the other GNV-Projects added - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/artifacts/ArtifactFactoryBase.java: - Implementation of the General ArtifactFactory - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * pom.xml: Created with maven and put the Moduledependencies into it - * target | .settings | .project | .classpath: Add to SVN-Ignore - * Changes | Changelog | NEWS | README | TODO: Added - * src/**: Added to the Project
--- a/gnv-artifacts/pom.xml Tue Oct 06 10:58:47 2009 +0000 +++ b/gnv-artifacts/pom.xml Tue Oct 06 11:04:52 2009 +0000 @@ -1,5 +1,5 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<?xml version="1.0"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.intevation.bsh.artifacts</groupId> <artifactId>gnv-artifacts</artifactId> @@ -7,34 +7,37 @@ <version>1.0-SNAPSHOT</version> <name>gnv-artifacts</name> <url>http://maven.apache.org</url> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <version>2.5.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.0.2</version> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - </plugins> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <version>2.5.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0.2</version> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + </plugins> </build> <dependencies> <dependency> - <groupId>de.intevation.bsh.artifact-database</groupId> - <artifactId>artifact-database</artifactId> - <version>1.0-SNAPSHOT</version> + <groupId>de.intevation.bsh.artifact-database</groupId> + <artifactId>artifact-database</artifactId> + <version>1.0-SNAPSHOT</version> </dependency> <dependency> - <groupId>de.intevation.bsh.geo-backend</groupId> - <artifactId>geo-backend</artifactId> - <version>1.0-SNAPSHOT</version> + <groupId>de.intevation.bsh.geo-backend</groupId> + <artifactId>geo-backend</artifactId> + <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>junit</groupId> @@ -53,9 +56,9 @@ <version>1.0.7</version> </dependency> <dependency> - <groupId>net.sf.opencsv</groupId> - <artifactId>opencsv</artifactId> - <version>2.0</version> + <groupId>net.sf.opencsv</groupId> + <artifactId>opencsv</artifactId> + <version>2.0</version> </dependency> <dependency> <groupId>commons-math</groupId> @@ -68,14 +71,14 @@ <version>1.6.2</version> </dependency> <dependency> - <groupId>commons-validator</groupId> - <artifactId>commons-validator</artifactId> - <version>1.3.1</version> + <groupId>commons-validator</groupId> + <artifactId>commons-validator</artifactId> + <version>1.3.1</version> </dependency> - <dependency> - <groupId>oro</groupId> - <artifactId>oro</artifactId> - <version>2.0.8</version> + <dependency> + <groupId>oro</groupId> + <artifactId>oro</artifactId> + <version>2.0.8</version> </dependency> </dependencies> </project>
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java Tue Oct 06 10:58:47 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java Tue Oct 06 11:04:52 2009 +0000 @@ -28,6 +28,7 @@ private static String RESSOURCE_BASE_ID = "artifact.ressource.dir"; private static String ressourceName = "artifactMessages"; + private static String DEFAULT_DIR = "lang"; private String ressourceDir = null; @@ -36,17 +37,14 @@ */ private RessourceFactory() { super(); - ressourceDir = System.getProperty(RESSOURCE_BASE_ID); - if (ressourceDir == null){ - ressourceDir = "de/intevation/gnv/artifacts/ressource"; - } + ressourceDir = System.getProperty(RESSOURCE_BASE_ID, DEFAULT_DIR); } /** * This Method provides an singleton Instance of this Class. * @return an singleton Instance of this Class */ - public static RessourceFactory getInstance(){ + public static synchronized RessourceFactory getInstance(){ if (instance == null){ instance = new RessourceFactory(); } @@ -60,12 +58,24 @@ * @param defaultValue the Value that should be returned. * @return the translated Value */ - public String getRessource(PreferredLocale[] preferredLocales, String key, String defaultValue){ - ResourceBundle rb = ResourceBundle.getBundle(ressourceDir+"/"+ressourceName, preferredLocales[0].getLocale()); + public String getRessource( + PreferredLocale [] preferredLocales, + String key, + String defaultValue + ) { + if (key == null || preferredLocales.length == 0) { + return defaultValue; + } + try { + ResourceBundle rb = ResourceBundle.getBundle( + ressourceDir + "/" + ressourceName, + preferredLocales[0].getLocale()); + return rb.getString(key); - } catch (Exception e) { - log.warn(e.getMessage()); + } + catch (MissingResourceException mre) { + log.warn(mre.getLocalizedMessage()); return defaultValue; } }
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages.properties Tue Oct 06 10:58:47 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -fis_marnet = Marnet -fis_imis = IMIS -fis_staun = STAUN -fis_modeldata = Modeldata -fis_delphin = Delphin -fis_thermosalinograph = Thermosalinograph -fis_chemusurvey = Chemusurvey -meshid= Mesh -product= Product -timeSeries= Timeseries -verticalProfile = Verticalprofile -horizontalProfile = Horizontalprofile -featureid = Object -mesh_coordinate = Coordinate Value (x y) -mesh_point = Meshpoint -measurementid = Measurement depth -parameterid = Parameter -minvalue = Minvalue -maxvalue = Maxvalue -dateid = Measurement date -vehicleid = Ship -cruiseid = Cruise -trackid = Track -seriesid = Series -surveyid = Survey Info -axisid = Axis -depthid = Depth \ No newline at end of file
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_de.properties Tue Oct 06 10:58:47 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -fis_marnet = Marnet -fis_imis = IMIS -fis_staun = STAUN -fis_modeldata = Modeldaten -fis_delphin = Delphin -fis_thermosalinograph = Thermosalinograph -fis_chemusurvey = Chemusurvey - -product= Produkt -timeSeries= Zeitserie -verticalProfile = Vertikalprofil -horizontalProfile = Horizontalprofil -featureid = Station -meshid= Netz -mesh_coordinate = Koordinaten Wert (x y) -mesh_point = Messpunkt -measurementid = Messtiefe -parameterid = Parameter -minvalue = Minimalwert -maxvalue = Maximalwert -dateid = Messdatum -vehicleid = Schiff -cruiseid = Reise -trackid = Track -seriesid = Serie -surveyid = Messinformation -axisid = Achse -depthid = Tiefe \ No newline at end of file
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_de_DE.properties Tue Oct 06 10:58:47 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -fis_marnet = Marnet -fis_imis = IMIS -fis_staun = STAUN -fis_modeldata = Modeldaten -fis_delphin = Delphin -fis_thermosalinograph = Thermosalinograph -fis_chemusurvey = Chemusurvey - -product= Produkt -timeSeries= Zeitserie -verticalProfile = Vertikalprofil -horizontalProfile = Horizontalprofil -featureid = Station -meshid= Netz -mesh_coordinate = Koordinaten Wert (x y) -mesh_point = Messpunkt -measurementid = Messtiefe -parameterid = Parameter -minvalue = Minimalwert -maxvalue = Maximalwert -dateid = Messdatum -vehicleid = Schiff -cruiseid = Reise -trackid = Track -seriesid = Serie -surveyid = Messinformation -axisid = Achse -depthid = Tiefe \ No newline at end of file
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/artifactMessages_en.properties Tue Oct 06 10:58:47 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -fis_marnet = Marnet -fis_imis = IMIS -fis_staun = STAUN -fis_modeldata = Modeldata -fis_delphin = Delphin -fis_thermosalinograph = Thermosalinograph -fis_chemusurvey = Chemusurvey -meshid= Mesh -product= Product -timeSeries= Timeseries -verticalProfile = Verticalprofile -horizontalProfile = Horizontalprofile -featureid = Object -mesh_coordinate = Coordinate Value (x y) -mesh_point = Meshpoint -measurementid = Measurement depth -parameterid = Parameter -minvalue = Minvalue -maxvalue = Maxvalue -dateid = Measurement date -vehicleid = Ship -cruiseid = Cruise -trackid = Track -seriesid = Series -surveyid = Survey Info -axisid = Axis -depthid = Depth \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages.properties Tue Oct 06 11:04:52 2009 +0000 @@ -0,0 +1,27 @@ +fis_marnet = Marnet +fis_imis = IMIS +fis_staun = STAUN +fis_modeldata = Modeldata +fis_delphin = Delphin +fis_thermosalinograph = Thermosalinograph +fis_chemusurvey = Chemusurvey +meshid= Mesh +product= Product +timeSeries= Timeseries +verticalProfile = Verticalprofile +horizontalProfile = Horizontalprofile +featureid = Object +mesh_coordinate = Coordinate Value (x y) +mesh_point = Meshpoint +measurementid = Measurement depth +parameterid = Parameter +minvalue = Minvalue +maxvalue = Maxvalue +dateid = Measurement date +vehicleid = Ship +cruiseid = Cruise +trackid = Track +seriesid = Series +surveyid = Survey Info +axisid = Axis +depthid = Depth \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties Tue Oct 06 11:04:52 2009 +0000 @@ -0,0 +1,28 @@ +fis_marnet = Marnet +fis_imis = IMIS +fis_staun = STAUN +fis_modeldata = Modeldaten +fis_delphin = Delphin +fis_thermosalinograph = Thermosalinograph +fis_chemusurvey = Chemusurvey + +product= Produkt +timeSeries= Zeitserie +verticalProfile = Vertikalprofil +horizontalProfile = Horizontalprofil +featureid = Station +meshid= Netz +mesh_coordinate = Koordinaten Wert (x y) +mesh_point = Messpunkt +measurementid = Messtiefe +parameterid = Parameter +minvalue = Minimalwert +maxvalue = Maximalwert +dateid = Messdatum +vehicleid = Schiff +cruiseid = Reise +trackid = Track +seriesid = Serie +surveyid = Messinformation +axisid = Achse +depthid = Tiefe \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties Tue Oct 06 11:04:52 2009 +0000 @@ -0,0 +1,28 @@ +fis_marnet = Marnet +fis_imis = IMIS +fis_staun = STAUN +fis_modeldata = Modeldaten +fis_delphin = Delphin +fis_thermosalinograph = Thermosalinograph +fis_chemusurvey = Chemusurvey + +product= Produkt +timeSeries= Zeitserie +verticalProfile = Vertikalprofil +horizontalProfile = Horizontalprofil +featureid = Station +meshid= Netz +mesh_coordinate = Koordinaten Wert (x y) +mesh_point = Messpunkt +measurementid = Messtiefe +parameterid = Parameter +minvalue = Minimalwert +maxvalue = Maximalwert +dateid = Messdatum +vehicleid = Schiff +cruiseid = Reise +trackid = Track +seriesid = Serie +surveyid = Messinformation +axisid = Achse +depthid = Tiefe \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties Tue Oct 06 11:04:52 2009 +0000 @@ -0,0 +1,27 @@ +fis_marnet = Marnet +fis_imis = IMIS +fis_staun = STAUN +fis_modeldata = Modeldata +fis_delphin = Delphin +fis_thermosalinograph = Thermosalinograph +fis_chemusurvey = Chemusurvey +meshid= Mesh +product= Product +timeSeries= Timeseries +verticalProfile = Verticalprofile +horizontalProfile = Horizontalprofile +featureid = Object +mesh_coordinate = Coordinate Value (x y) +mesh_point = Meshpoint +measurementid = Measurement depth +parameterid = Parameter +minvalue = Minvalue +maxvalue = Maxvalue +dateid = Measurement date +vehicleid = Ship +cruiseid = Cruise +trackid = Track +seriesid = Series +surveyid = Survey Info +axisid = Axis +depthid = Depth \ No newline at end of file