Project

General

Profile

Revision 5f3efd0e

ID5f3efd0eb42e522ee613872715c821753a1d6004
Parent 2b7ff891
Child 8b607fc9

Added by Andreas Kohlbecker almost 4 years ago

fix #6227 solvig LIE in DerivedUnitFacade webservice

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/DerivedUnitFacadeController.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;
......
34 32
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
35 33
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
36 34
import eu.etaxonomy.cdm.remote.editor.UUIDPropertyEditor;
35
import io.swagger.annotations.Api;
37 36

  
38 37
/**
39 38
 * @author a.kohlbecker
......
111 110

  
112 111
// TODO
113 112
    //@RequestMapping(method = RequestMethod.GET, value = "{uuid}/collectingareas")
114
        @RequestMapping(
115
            value = {"collectingareas"},
116
            method = RequestMethod.GET)
113
    @RequestMapping(
114
        value = {"collectingareas"},
115
        method = RequestMethod.GET)
117 116
    public Object doGetCollectingAreas(
118 117
            @PathVariable("uuid") UUID occurrenceUuid,
119 118
            HttpServletRequest request,
......
122 121
        logger.info("doGetCollectingAreas() - " + request.getRequestURI());
123 122
        DerivedUnitFacade duf = newFacadeFrom(occurrenceUuid,
124 123
                response,
125
                Arrays.asList(new String []{"ecology"}));
124
                Arrays.asList(new String []{"collectingAreas"}));
126 125
        return duf.getCollectingAreas();
127 126
    }
128 127

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)