Merge branch 'release/5.0.0'
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / TermPortalController.java
1 /**
2 * Copyright (C) 2016 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.cdm.remote.controller;
10
11 import java.util.Arrays;
12 import java.util.List;
13
14 import org.springframework.stereotype.Controller;
15 import org.springframework.web.bind.annotation.RequestMapping;
16
17 import io.swagger.annotations.Api;
18
19 /**
20 * @author a.kohlbecker
21 * @since Dec 1, 2016
22 *
23 */
24 @Controller
25 @Api("portal_term")
26 @RequestMapping(value = {"/portal/term/{uuid}"})
27 public class TermPortalController extends TermController {
28
29 private static final List<String> DEFAULT_INIT_STRATEGY = Arrays.asList(new String []{
30 "$",
31 "vocabulary",
32 "countries" // NamedArea.countries
33 });
34
35 public TermPortalController() {
36 setInitializationStrategy(DEFAULT_INIT_STRATEGY);
37 }
38
39
40
41
42 }