Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 1015:9a1a3080ad98
Bring user specific meta data service to life.
flys-artifacts/trunk@2461 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 03 Aug 2011 16:40:04 +0000 |
parents | 66473e72d321 |
children | ff7b81cf9999 |
comparison
equal
deleted
inserted
replaced
1014:66473e72d321 | 1015:9a1a3080ad98 |
---|---|
1 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 Bring user specific meta data service to life. | |
4 | |
5 * doc/conf/conf.xml: There are now two templates to configure: | |
6 The system template (only the data from the backend) and the | |
7 user template (the datcage db and the backend db), | |
8 | |
9 * doc/conf/meta-data-template.xml: Deleted. | |
10 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it! | |
11 * doc/conf/meta-data-system.xml: New. The system template. | |
12 | |
13 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java: | |
14 Deleted. | |
15 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
16 New. The logic to fill the templates. | |
17 | |
18 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
19 Adjusted to follow the new call signatures. | |
20 | |
21 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
22 Refactored. Removed the old code and only leave the new service. Following | |
23 XPaths are evaluated on the incomming document: | |
24 | |
25 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional. | |
26 Used to fill the template enviroment. | |
27 "art:meta/art:user-id/@value" The UUID of the user. Optional. | |
28 If given the user specific template is filled. | |
29 "/art:meta/art:outs/@value" The list of outs used to recommend for the | |
30 various outputs. | |
31 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more | |
32 filters to the templating. | |
33 | |
34 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
35 Change to follow the new recommendations semantics. | |
36 | |
37 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
38 Added symbolic constants to distinguish "user" and "system" db connections. | |
39 | |
1 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | 40 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> |
2 | 41 |
3 * doc/conf/conf.xml: | 42 * doc/conf/conf.xml: |
4 Cosmetics, let comments start with a capital and end on a full stop, | 43 Cosmetics, let comments start with a capital and end on a full stop, |
5 removed incorrect comment. | 44 removed incorrect comment. |