Project

General

Profile

Revision 36d909f8

ID36d909f843d9be3f10b1e60d321dbf136dcacff2
Parent 4ce3ad94
Child 348e8500

Added by Andreas Müller over 1 year ago

ref #6794 adapt FeatureTreeController property path to new FeatureNode structure

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/FeatureTreeController.java
21 21
/**
22 22
 * @author n.hoffmann
23 23
 * @since Aug 6, 2010
24
 * @version 1.0
25 24
 */
26 25
@Controller
27 26
@Api("featureTree")
28 27
@RequestMapping(value = {"/featureTree/{uuid}"})
29 28
public class FeatureTreeController extends AbstractIdentifiableController<FeatureTree, IFeatureTreeService> {
30 29
    @SuppressWarnings("unused")
31
    private static final Logger logger = Logger
32
            .getLogger(FeatureTreeController.class);
30
    private static final Logger logger = Logger.getLogger(FeatureTreeController.class);
33 31

  
34 32
    @Override
35 33
    @Autowired
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/FeatureTreePortalController.java
8 8
*/
9 9
package eu.etaxonomy.cdm.remote.controller;
10 10

  
11
import io.swagger.annotations.Api;
12

  
13 11
import java.io.IOException;
14 12
import java.util.ArrayList;
15 13
import java.util.Arrays;
......
27 25
import org.springframework.web.bind.annotation.RequestMethod;
28 26

  
29 27
import eu.etaxonomy.cdm.model.description.FeatureTree;
28
import io.swagger.annotations.Api;
30 29

  
31 30
/**
32 31
 * @author a.kohlbecker
......
51 50
    public FeatureTreePortalController() {
52 51
        setInitializationStrategy(FEATURETREE_INIT_STRATEGY);
53 52

  
54
        featuretreeNodeInitStrategy = new ArrayList<String>(2);
55
//        featuretreeNodeInitStrategy.add("representations");
56
        featuretreeNodeInitStrategy.add("feature.representations");
53
        featuretreeNodeInitStrategy = new ArrayList<>(2);
54
        featuretreeNodeInitStrategy.add("term.representations");
57 55
    }
58 56

  
59 57
    @Override

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)